Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KParts::DockMainWindow Class Reference

#include <dockmainwindow.h>

Inheritance diagram for KParts::DockMainWindow:

KDockMainWindow KParts::PartBase KMainWindow KXMLGUIClient KXMLGUIBuilder KXMLGUIClient List of all members.

Public Methods

 DockMainWindow (QWidget *parent=0L, const char *name=0L, WFlags f=WDestructiveClose)
virtual ~DockMainWindow ()

Protected Slots

void createGUI (KParts::Part *part)
virtual void slotSetStatusBarText (const QString &)

Detailed Description

A KPart-aware main window with ability for docking widgets, whose user interface is described in XML.

Inherit your main dock-window from this class and don't forget to call setXMLFile() in the inherited constructor.

It implements all internal interfaces in the case of a KDockMainWindow as host: the builder and servant interface (for menu merging).

Definition at line 47 of file dockmainwindow.h.


Constructor & Destructor Documentation

KParts::DockMainWindow::DockMainWindow QWidget *    parent = 0L,
const char *    name = 0L,
WFlags    f = WDestructiveClose
 

Constructor, same signature as KDockMainWindow.

virtual KParts::DockMainWindow::~DockMainWindow   [virtual]
 

Destructor.


Member Function Documentation

void KParts::DockMainWindow::createGUI KParts::Part   part [protected, slot]
 

Create the GUI (by merging the host's and the active part's)

Called on startup and whenever the active part changes For this you need to connect this slot to the KPartManager::activePartChanged() signal

Parameters:
part  The active part (set to 0L if no part).

virtual void KParts::DockMainWindow::slotSetStatusBarText const QString &    [protected, virtual, slot]
 

Called when the active part wants to change the statusbar message Reimplement if your dock-mainwindow has a complex statusbar (with several items)


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:36 2003 for kdelibs by doxygen1.2.18