KDevelop API Documentation

ViewManager Class Reference

#include <viewmanager.h>

Inheritance diagram for ViewManager:

Inheritance graph
[legend]
Collaboration diagram for ViewManager:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotDocumentNew ()
void slotDocumentOpen ()
void slotDocumentClose ()

Public Member Functions

 ViewManager (QWidget *parent, DocManager *dm)
 ~ViewManager ()
void createView (KTextEditor::Document *doc)
void closeView (KTextEditor::View *view)

Private Attributes

QPtrList< KTextEditor::Viewviews
DocManagerdm

Constructor & Destructor Documentation

ViewManager::ViewManager QWidget parent,
DocManager dm
 

Definition at line 15 of file viewmanager.cpp.

References views.

ViewManager::~ViewManager  ) 
 

Definition at line 21 of file viewmanager.cpp.

References views.


Member Function Documentation

void ViewManager::closeView KTextEditor::View view  ) 
 

Definition at line 35 of file viewmanager.cpp.

Referenced by slotDocumentClose().

void ViewManager::createView KTextEditor::Document doc  ) 
 

Definition at line 26 of file viewmanager.cpp.

References KTextEditor::Document::createView(), and views.

Referenced by slotDocumentNew(), and slotDocumentOpen().

void ViewManager::slotDocumentClose  )  [slot]
 

Definition at line 60 of file viewmanager.cpp.

References closeView(), DocManager::deleteDoc(), dm, and KTextEditor::View::document().

void ViewManager::slotDocumentNew  )  [slot]
 

Definition at line 40 of file viewmanager.cpp.

References DocManager::createDoc(), createView(), and dm.

void ViewManager::slotDocumentOpen  )  [slot]
 

Definition at line 46 of file viewmanager.cpp.

References DocManager::createDoc(), createView(), dm, KFileDialog::getOpenURLs(), and KParts::ReadOnlyPart::openURL().


Member Data Documentation

DocManager* ViewManager::dm [private]
 

Definition at line 21 of file viewmanager.h.

Referenced by slotDocumentClose(), slotDocumentNew(), and slotDocumentOpen().

QPtrList<KTextEditor::View> ViewManager::views [private]
 

Definition at line 20 of file viewmanager.h.

Referenced by createView(), ViewManager(), and ~ViewManager().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:31:49 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003