docmanager.h
Go to the documentation of this file.00001 #ifndef __example2_h__ 00002 #define __example2_h__ 00003 00004 #include <qobject.h> 00005 00006 #include <ktexteditor.h> 00007 #include <qptrlist.h> 00008 #include <qstring.h> 00009 00010 class DocManager : public QObject 00011 { 00012 Q_OBJECT 00013 public: 00014 DocManager(); 00015 ~DocManager(); 00016 00017 KTextEditor::Document *createDoc (QString type); 00018 bool deleteDoc (KTextEditor::Document *doc); 00019 00020 private: 00021 QPtrList<KTextEditor::Document> docs; 00022 }; 00023 00024 #endif