• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeparts
 

tdeparts

  • KParts
  • DockMainWindow
Public Member Functions | Protected Slots | Protected Member Functions | List of all members
KParts::DockMainWindow Class Reference

#include <dockmainwindow.h>

Inheritance diagram for KParts::DockMainWindow:
KParts::PartBase

Public Member Functions

 DockMainWindow (TQWidget *parent=0L, const char *name=0L, WFlags f=(WFlags) WDestructiveClose)
 
virtual ~DockMainWindow ()
 
- Public Member Functions inherited from KParts::PartBase
 PartBase ()
 
virtual ~PartBase ()
 
void setPartObject (TQObject *object)
 
TQObject * partObject () const
 

Protected Slots

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

Protected Member Functions

virtual void createShellGUI (bool create=true)
 
- Protected Member Functions inherited from KParts::PartBase
virtual void setInstance (TDEInstance *instance)
 
virtual void setInstance (TDEInstance *instance, bool loadPlugins)
 
void loadPlugins (TQObject *parent, KXMLGUIClient *parentGUIClient, TDEInstance *instance)
 
void setPluginLoadingMode (PluginLoadingMode loadingMode)
 

Additional Inherited Members

- Protected Types inherited from KParts::PartBase
enum  PluginLoadingMode { DoNotLoadPlugins = 0, LoadPlugins = 1, LoadPluginsIfEnabled = 2 }
 

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

DockMainWindow::DockMainWindow ( TQWidget *  parent = 0L,
const char *  name = 0L,
WFlags  f = (WFlags)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)
protectedslot

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

Definition at line 73 of file dockmainwindow.cpp.

void DockMainWindow::slotSetStatusBarText ( const TQString &  text)
protectedvirtualslot

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

tdeparts

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

tdeparts

Skip menu "tdeparts"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeparts by doxygen 1.8.8
This website is maintained by Timothy Pearson.