libkdepim
DefaultEditor Class Reference
Inheritance diagram for DefaultEditor:

Detailed Description
Definition at line 34 of file defaulteditor.h.
Public Slots | |
virtual void | setText (const QString &txt) |
virtual void | changeSignature (const QString &txt) |
bool | open () |
bool | saveAs () |
bool | print () |
void | formatColor () |
void | checkSpelling () |
void | setAlignLeft (bool yes) |
void | setAlignRight (bool yes) |
void | setAlignCenter (bool yes) |
void | setAlignJustify (bool yes) |
Public Member Functions | |
DefaultEditor (QObject *parent, const char *name, const QStringList &args) | |
~DefaultEditor () | |
virtual QWidget * | widget () |
virtual QString | text () const |
Protected Slots | |
void | createActions (KActionCollection *ac) |
void | updateActions () |
void | updateFont () |
void | updateCharFmt () |
void | updateAligment () |
Member Function Documentation
|
Changes currently used signature. If no signature is present a new one should be appened. Implements Komposer::Editor. Definition at line 85 of file defaulteditor.cpp. |
|
Creates the part's actions in the part's action collection.
Definition at line 96 of file defaulteditor.cpp. |
|
Displays a color dialog and sets the text color to the selected value.
Definition at line 276 of file defaulteditor.cpp. |
|
Displays a file dialog and loads the selected file.
Definition at line 320 of file defaulteditor.cpp. |
|
Prints the current document.
Definition at line 356 of file defaulteditor.cpp. |
|
Displays a file dialog and saves to the selected file.
Definition at line 332 of file defaulteditor.cpp. |
|
Sets the text of the opened editor. Most commonly used on replaying. If any text is present if will be deleted. Implements Komposer::Editor. Definition at line 79 of file defaulteditor.cpp. |
|
Returns the full text inside the editor.
Implements Komposer::Editor. Definition at line 73 of file defaulteditor.cpp. |
|
This is the magic function that all derivatives have to reimplement. It returns the actual editor component. Implements Komposer::Editor. Definition at line 67 of file defaulteditor.cpp. |
The documentation for this class was generated from the following files: