parts/appwizard/filepropspage.h
Go to the documentation of this file.00001 #ifndef FILEPROPSPAGE_H 00002 #define FILEPROPSPAGE_H 00003 #include "filepropspagebase.h" 00004 #include <qstring.h> 00005 #include <qptrlist.h> 00006 00007 00008 class ClassFileProp { 00009 public: 00010 QString m_classname; 00011 QString m_implfile; 00012 QString m_headerfile; 00013 QString m_baseclass; 00014 QString m_description; // rich text 00016 QString m_key; 00017 bool m_change_baseclass; 00018 }; 00019 00020 class FilePropsPage : public FilePropsPageBase 00021 { 00022 Q_OBJECT 00023 00024 public: 00025 FilePropsPage( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 00026 ~FilePropsPage(); 00027 void setClassFileProps(QPtrList<ClassFileProp> props,bool different_header_impl=true); 00028 QPtrList<ClassFileProp> getClassFileProps(); 00029 00030 public slots: 00031 void slotSelectionChanged(); 00032 virtual void slotClassnameChanged(const QString&); 00033 protected: 00034 00035 QPtrList<ClassFileProp>* m_props; 00036 bool m_different_header_impl; 00037 uint m_current_class; 00038 00039 }; 00040 00041 00042 #endif // FILEPROPSPAGE_H