KDevelop API Documentation

parts/manager/viewmanager.h

Go to the documentation of this file.
00001 #ifndef __example1_h__ 00002 #define __example1_h__ 00003 00004 #include <qtabwidget.h> 00005 #include <ktexteditor.h> 00006 #include "docmanager.h" 00007 #include <qptrlist.h> 00008 00009 class ViewManager : public QTabWidget 00010 { 00011 Q_OBJECT 00012 public: 00013 ViewManager(QWidget *parent, DocManager *dm); 00014 ~ViewManager(); 00015 00016 void createView (KTextEditor::Document *doc); 00017 void closeView (KTextEditor::View *view); 00018 00019 private: 00020 QPtrList<KTextEditor::View> views; 00021 DocManager *dm; 00022 00023 public slots: 00024 void slotDocumentNew(); 00025 void slotDocumentOpen(); 00026 void slotDocumentClose(); 00027 }; 00028 00029 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:12 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003