KParts
mainwindow.cpp
Go to the documentation of this file.
virtual void configureToolbars()
void create(WId window, bool initializeWindow, bool destroyOldWindow)
virtual KActionCollection * actionCollection() const
void removeClient(KXMLGUIClient *client)
void showMessage(const QString &message, int timeout)
static QString locate(const char *type, const QString &filename, const KComponentData &cData=KGlobal::mainComponent())
void addClient(KXMLGUIClient *client)
void createGUI(KParts::Part *part)
Create the GUI (by merging the host's and the active part's) You must call this in order to see any G...
Definition: mainwindow.cpp:81
virtual const QMetaObject * metaObject() const
virtual void setXMLFile(const QString &file, bool merge=false, bool setXMLDoc=true)
KXMLGUIFactory * factory() const
virtual QString xmlFile() const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
KSharedConfigPtr config()
virtual KComponentData componentData() const
void setObjectName(const QString &name)
bool isEmpty() const
bool sendEvent(QObject *receiver, QEvent *event)
This event is sent to a Part when its GUI has been activated or deactivated.
Definition: event.h:59
virtual void setCaption(const QString &caption)
virtual KXMLGUIFactory * guiFactory()
const char * className() const
KStatusBar * statusBar()
virtual void slotSetStatusBarText(const QString &)
Called when the active part wants to change the statusbar message Reimplement if your mainwindow has ...
Definition: mainwindow.cpp:135
const KComponentData & mainComponent()
void loadPlugins(QObject *parent, KXMLGUIClient *parentGUIClient, const KComponentData &componentData)
Load the Plugins honoring the PluginLoadingMode.
Definition: part.cpp:156
typedef WindowFlags
virtual void createShellGUI(bool create=true)
Definition: mainwindow.cpp:140
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void saveNewToolbarConfig()
Rebuilds the GUI after KEditToolbar changed the toolbar layout.
Definition: mainwindow.cpp:173
bool isHelpMenuEnabled() const
MainWindow(QWidget *parent=0, Qt::WindowFlags f=KDE_DEFAULT_WINDOWFLAGS)
Constructor, same signature as KMainWindow.
Definition: mainwindow.cpp:61
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.