libkdepim Library API Documentation

Komposer::Core Class Reference

This class provides the interface to the Komposer core for the editor. More...

#include <core.h>

List of all members.

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

void Core::selectEditor Komposer::Editor *    editor [virtual]
 

Selects the given editor.

Parameters:
editor  and raises the associated part.

Definition at line 186 of file core.cpp.

References QPtrList::find(), QWidgetStack::raiseWidget(), QWidget::setFocus(), and QWidget::show().

Referenced by selectEditor().

void Core::selectEditor const QString   editor [virtual]
 

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().

virtual QPtrList<Komposer::Editor> Komposer::Core::editorList   const [inline, virtual]
 

Returns the pointer list of available editors.

Definition at line 63 of file core.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkdepim Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:36:32 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003