• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

KDE3Support

  • KParts
  • DockMainWindow3
Public Member Functions | Protected Slots | Protected Member Functions
KParts::DockMainWindow3 Class Reference

#include <dockmainwindow3.h>

Inheritance diagram for KParts::DockMainWindow3:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DockMainWindow3 (QWidget *parent=0L, const char *name=0L, Qt::WFlags f=0)
virtual ~DockMainWindow3 ()

Protected Slots

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

Protected Member Functions

virtual void createShellGUI (bool create=true)

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 K3DockMainWindow3 as host: the builder and servant interface (for menu merging).

Definition at line 47 of file dockmainwindow3.h.


Constructor & Destructor Documentation

DockMainWindow3::DockMainWindow3 ( QWidget *  parent = 0L,
const char *  name = 0L,
Qt::WFlags  f = 0 
)

Constructor, same signature as K3DockMainWindow3.

Definition at line 60 of file dockmainwindow3.cpp.

DockMainWindow3::~DockMainWindow3 ( ) [virtual]

Destructor.

Definition at line 68 of file dockmainwindow3.cpp.


Member Function Documentation

void DockMainWindow3::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:
partThe active part (set to 0L if no part).

Definition at line 73 of file dockmainwindow3.cpp.

void DockMainWindow3::createShellGUI ( bool  create = true) [protected, virtual]

Definition at line 130 of file dockmainwindow3.cpp.

void DockMainWindow3::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 dockmainwindow3.cpp.


The documentation for this class was generated from the following files:
  • dockmainwindow3.h
  • dockmainwindow3.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 19:04:56 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDE3Support

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

kdelibs-4.8.3 API Reference

Skip menu "kdelibs-4.8.3 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal