KParts
part.h
Go to the documentation of this file.
34 inline Class##Private* d_func() { return reinterpret_cast<Class##Private *>(PartBase::d_ptr); } \
35 inline const Class##Private* d_func() const { return reinterpret_cast<const Class##Private *>(PartBase::d_ptr); } \
109 // TODO KDE5: merge the above two methods, using loadPlugins=true. Or better, remove loadPlugins
123 DoNotLoadPlugins = 0,
130 LoadPlugins = 1,
138 };
156 void loadPlugins(QObject *parent, KXMLGUIClient *parentGUIClient, const KComponentData &componentData);
464 QSharedDataPointer<OpenUrlArgumentsPrivate> d;
566 // TODO to avoid problems with the case where the loading fails, this could also be a openUrl() argument (heavy porting!).
567 // However we need to have setArguments in any case for updated made by the part, see e.g. KHTMLPart::openUrl.
The Browser Extension is an extension (yes, no kidding) to KParts::ReadOnlyPart, which allows a bette...
Definition: browserextension.h:321
This event is sent to a Part when its GUI has been activated or deactivated.
Definition: event.h:60
OpenUrlArguments is the set of arguments that specify how a URL should be opened by KParts::ReadOnlyP...
Definition: part.h:405
This event is sent by the part manager when the active part changes.
Definition: event.h:83
PluginLoadingMode
We have three different policies, whether to load new plugins or not.
Definition: part.h:119
The part manager is an object which knows about a collection of parts (even nested ones) and handles ...
Definition: partmanager.h:48
This event is sent when a part is selected or deselected.
Definition: event.h:104
void setWindowCaption(const QString &caption)
Emitted by the part, to set the caption of the window(s) hosting this part.
void setStatusBarText(const QString &text)
Emitted by the part, to set a text in the statusbar of the window(s) hosting this part.
void completed(bool pendingAction)
Same as the above signal except it indicates whether there is a pending action to be executed on a de...
void canceled(const QString &errMsg)
Emit this if loading is canceled by the user or by an error.
void urlChanged(const KUrl &url)
Emitted by the part when url() changes.
void sigQueryClose(bool *handled, bool *abortClosing)
set handled to true, if you don't want the default handling set abortClosing to true,...
KAction * save(const QObject *recvr, const char *slot, QObject *parent)
KAction * saveAs(const QObject *recvr, const char *slot, QObject *parent)
const KShortcut & reload()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.