summaryrefslogtreecommitdiffstats
path: root/parts/appwizard/filepropspage.h
diff options
context:
space:
mode:
Diffstat (limited to 'parts/appwizard/filepropspage.h')
-rw-r--r--parts/appwizard/filepropspage.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/parts/appwizard/filepropspage.h b/parts/appwizard/filepropspage.h
new file mode 100644
index 00000000..3435dfa2
--- /dev/null
+++ b/parts/appwizard/filepropspage.h
@@ -0,0 +1,42 @@
+#ifndef FILEPROPSPAGE_H
+#define FILEPROPSPAGE_H
+#include "filepropspagebase.h"
+#include <qstring.h>
+#include <qptrlist.h>
+
+
+class ClassFileProp {
+ public:
+ QString m_classname;
+ QString m_implfile;
+ QString m_headerfile;
+ QString m_baseclass;
+ QString m_description; // rich text
+ /** to idetify this object*/
+ QString m_key;
+ bool m_change_baseclass;
+};
+
+class FilePropsPage : public FilePropsPageBase
+{
+ Q_OBJECT
+
+public:
+ FilePropsPage( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
+ ~FilePropsPage();
+ void setClassFileProps(QPtrList<ClassFileProp> props,bool different_header_impl=true);
+ QPtrList<ClassFileProp> getClassFileProps();
+
+public slots:
+ void slotSelectionChanged();
+ virtual void slotClassnameChanged(const QString&);
+ protected:
+
+ QPtrList<ClassFileProp>* m_props;
+ bool m_different_header_impl;
+ uint m_current_class;
+
+};
+
+
+#endif // FILEPROPSPAGE_H