• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

sublime

Sublime::ToolDocument

Sublime::ToolDocument Class Reference

#include <tooldocument.h>

Inheritance diagram for Sublime::ToolDocument:

Inheritance graph
[legend]

List of all members.


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

QWidget * Sublime::ToolDocument::createViewWidget ( QWidget *  parent = 0  )  [protected, virtual]

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:
  • tooldocument.h
  • tooldocument.cpp

sublime

Skip menu "sublime"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   duchain
  •   editor
  • outputview
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal