• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kparts

KParts::DockMainWindow

KParts::DockMainWindow Class Reference

#include <dockmainwindow.h>

Inheritance diagram for KParts::DockMainWindow:

KDockMainWindow KParts::PartBase KMainWindow KXMLGUIClient QMainWindow KXMLGUIBuilder KXMLGUIClient

List of all members.


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.


Public Member Functions

 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 &)

Protected Member Functions

virtual void createShellGUI (bool create=true)

Constructor & Destructor Documentation

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

Constructor, same signature as KDockMainWindow.

Definition at line 61 of file dockmainwindow.cpp.

DockMainWindow::~DockMainWindow (  )  [virtual]

Destructor.

Definition at line 68 of file dockmainwindow.cpp.


Member Function Documentation

void 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 PartManager::activePartChanged() signal

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

Definition at line 73 of file dockmainwindow.cpp.

void DockMainWindow::slotSetStatusBarText ( const QString &  text  )  [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)

Definition at line 125 of file dockmainwindow.cpp.


The documentation for this class was generated from the following files:
  • dockmainwindow.h
  • dockmainwindow.cpp

kparts

Skip menu "kparts"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal