sublime
Sublime::ToolDocument Class Reference
#include <tooldocument.h>
Inheritance diagram for Sublime::ToolDocument:

Detailed Description
Document to represent and manage widgets as toolviews.Definition at line 65 of file tooldocument.h.
Public Member Functions | |
| virtual QString | documentSpecifier () const |
| virtual QString | documentType () const |
| ToolDocument (const QString &title, Controller *controller, ToolFactory *factory) | |
Protected Member Functions | |
| virtual QWidget * | createViewWidget (QWidget *parent=0) |
| ToolFactory * | factory () const |
Constructor & Destructor Documentation
| Sublime::ToolDocument::ToolDocument | ( | const QString & | title, | |
| Controller * | controller, | |||
| ToolFactory * | factory | |||
| ) |
Initializes tool document with given factory.
Document takes ownership over the factory and deletes it together with itself
Definition at line 41 of file tooldocument.cpp.
Member Function Documentation
Reimplement this to create and return the new widget to display this document in the view.
This method is used by View class when it is asked for its widget.
Implements Sublime::Document.
Definition at line 58 of file tooldocument.cpp.
| QString Sublime::ToolDocument::documentSpecifier | ( | ) | const [virtual] |
- Returns:
- the specifics of this document which can be written to config.
Implements Sublime::Document.
Definition at line 68 of file tooldocument.cpp.
| QString Sublime::ToolDocument::documentType | ( | ) | const [virtual] |
- Returns:
- the type of document which can be written to config.
Implements Sublime::Document.
Definition at line 63 of file tooldocument.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference