libkdepim
Komposer::Editor Class Reference
Inheritance diagram for Komposer::Editor:

Detailed Description
Definition at line 38 of file editor.h.
Public Types | |
enum | TextType { Plain = 1 << 0, RichText = 1 << 1, HTML = 1 << 2 } |
Public Slots | |
virtual void | setText (const QString &txt)=0 |
virtual void | changeSignature (const QString &txt)=0 |
Public Member Functions | |
virtual | ~Editor () |
virtual QWidget * | widget ()=0 |
int | supportedTextFormats () const |
virtual QString | text () const =0 |
virtual void | select () |
virtual QStringList | configModules () const |
Protected Member Functions | |
Editor (QObject *parent, const char *name, const QStringList &args) |
Member Function Documentation
|
Changes currently used signature. If no signature is present a new one should be appened. Implemented in DefaultEditor. |
|
Reimplement this method and return a QStringList of all config modules your application part should offer via Komposer.
Note that the part and the module will have to take care for config syncing themselves. Usually
|
|
This function is called when the plugin is selected by the user before the widget of the KPart belonging to the plugin is raised.
Definition at line 44 of file editor.cpp. |
|
Sets the text of the opened editor. Most commonly used on replaying. If any text is present if will be deleted. Implemented in DefaultEditor. |
|
Returns the full text inside the editor.
Implemented in DefaultEditor. |
|
This is the magic function that all derivatives have to reimplement. It returns the actual editor component. Implemented in DefaultEditor. |
The documentation for this class was generated from the following files: