part.h
This event is sent to a Part when its GUI has been activated or deactivated.
Definition event.h:55
This event is sent by the part manager when the active part changes.
Definition event.h:77
void loadPlugins(TQObject *parent, KXMLGUIClient *parentGUIClient, TDEInstance *instance)
Load the Plugins honoring the PluginLoadingMode.
Definition part.cpp:122
virtual void setInstance(TDEInstance *instance)
Set the instance ( TDEInstance) for this part.
Definition part.cpp:105
PluginLoadingMode
We have three different policies, whether to load new plugins or not.
Definition part.h:102
The part manager is an object which knows about a collection of parts (even nested ones) and handles ...
Definition partmanager.h:50
This event is sent when a part is selected or deselected.
Definition event.h:100
void setWindowCaption(const TQString &caption)
Emitted by the part, to set the caption of the window(s) hosting this part.
virtual void partSelectEvent(PartSelectEvent *event)
Convenience method which is called when the Part received a PartSelectEvent .
Definition part.cpp:248
virtual void embed(TQWidget *parentWidget)
Embed this part into a host widget.
Definition part.cpp:165
void setStatusBarText(const TQString &text)
Emited by the part, to set a text in the statusbar of the window(s) hosting this part.
virtual void guiActivateEvent(GUIActivateEvent *event)
Convenience method which is called when the Part received a GUIActivateEvent .
Definition part.cpp:252
virtual void partActivateEvent(PartActivateEvent *event)
Convenience method which is called when the Part received a PartActivateEvent .
Definition part.cpp:244
TQWidget * hostContainer(const TQString &containerName)
Convenience method for KXMLGUIFactory::container.
Definition part.cpp:256
PartManager * manager() const
Returns the part manager handling this part, if any (0L otherwise).
Definition part.cpp:181
virtual Part * hitTest(TQWidget *widget, const TQPoint &globalPos)
Returns the part (this, or a child part) at the given global position.
Definition part.cpp:186
A plugin is the way to add actions to an existing KParts application, or to a Part.
Definition plugin.h:50
bool isProgressInfoEnabled() const
Returns whether the part shows the progress info dialog used by internal TDEIO job.
Definition part.cpp:321
virtual bool openURL(const KURL &url)
Only reimplement openURL if you don't want the network transparency support to download from the url ...
Definition part.cpp:333
ReadOnlyPart(TQObject *parent=0, const char *name=0)
Constructor See also Part for the setXXX methods to call.
Definition part.cpp:304
void setProgressInfoEnabled(bool show)
Call this to turn off the progress info dialog used by the internal TDEIO job.
Definition part.cpp:316
void completed(bool pendingAction)
Same as the above signal except it indicates whether there is a pending action to be executed on a de...
bool m_bTemp
If true, m_file is a temporary file that needs to be deleted later.
Definition part.h:523
void canceled(const TQString &errMsg)
Emit this if loading is canceled by the user or by an error.
virtual void guiActivateEvent(GUIActivateEvent *event)
Reimplemented from Part, so that the window caption is set to the current url (decoded) when the part...
Definition part.cpp:415
TQString m_file
Local file - the only one the part implementation should deal with.
Definition part.h:519
virtual bool openFile()=0
If the part uses the standard implementation of openURL(), it must reimplement this,...
bool waitSaveComplete()
Waits for any pending upload job to finish and returns whether the last save() action was successful.
Definition part.cpp:685
void sigQueryClose(bool *handled, bool *abortClosing)
KXMLGUIClient()
virtual TDEInstance * instance() const
Trinity API Reference