Komposer::Core Class Reference
This class provides the interface to the Komposer core for the editor. More...
#include <core.h>
Public Methods | |
Core (QWidget *parentWidget=0, const char *name=0) | |
virtual | ~Core () |
virtual void | selectEditor (Komposer::Editor *editor) |
virtual void | selectEditor (const QString &editor) |
virtual QPtrList< Komposer::Editor > | editorList () const |
KParts::ReadWritePart * | createPart (const char *libname) |
Protected Slots | |
void | slotActivePartChanged (KParts::Part *part) |
void | slotPreferences () |
void | slotQuit () |
Protected Methods | |
virtual void | initWidgets () |
void | loadSettings () |
void | saveSettings () |
void | loadEditors () |
void | unloadEditors () |
void | addEditor (Komposer::Editor *editor) |
void | addPart (KParts::Part *part) |
Detailed Description
This class provides the interface to the Komposer core for the editor.
Definition at line 42 of file core.h.
Member Function Documentation
|
Selects the given editor.
Definition at line 186 of file core.cpp. References QPtrList::find(), QWidgetStack::raiseWidget(), QWidget::setFocus(), and QWidget::show(). Referenced by selectEditor(). |
|
This is an overloaded member function. It behaves essentially like the above function. Definition at line 214 of file core.cpp. References QPtrList< Komposer::Editor >::count(), QPtrList< Komposer::Editor >::first(), QPtrList< Komposer::Editor >::next(), and selectEditor(). |
|
Returns the pointer list of available editors.
|
The documentation for this class was generated from the following files: