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

shell

KDevelop::PartDocument

KDevelop::PartDocument Class Reference

#include <partdocument.h>

Inheritance diagram for KDevelop::PartDocument:

Inheritance graph
[legend]

List of all members.


Detailed Description

The generic document which represents KParts.

This document is used by shell when more specific document classes are incapable of loading the url.

This document loads one KPart (read-only or read-write) per view and sets part widget to be a view widget.

Definition at line 42 of file partdocument.h.


Public Member Functions

virtual void activate (Sublime::View *activeView, KParts::MainWindow *mainWindow)
virtual bool close (DocumentSaveMode mode=Default)
virtual QWidget * createViewWidget (QWidget *parent=0)
virtual KTextEditor::Cursor cursorPosition () const
virtual bool isActive () const
virtual KMimeType::Ptr mimeType () const
 PartDocument (const KUrl &url, ICore *core)
virtual KParts::Part * partForView (QWidget *view) const
virtual void reload ()
virtual bool save (DocumentSaveMode mode=Default)
virtual void setCursorPosition (const KTextEditor::Cursor &cursor)
virtual void setTextSelection (const KTextEditor::Range &range)
void setUrl (const KUrl &newUrl)
virtual DocumentState state () const
virtual KTextEditor::Document * textDocument () const
virtual KUrl url () const

Member Function Documentation

bool KDevelop::PartDocument::close ( DocumentSaveMode  mode = Default  )  [virtual]

Todo:
test this

Definition at line 93 of file partdocument.cpp.


The documentation for this class was generated from the following files:
  • partdocument.h
  • partdocument.cpp

shell

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

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  •     interfaces
  • 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