summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/tdeapp/pref.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/tdeapp/pref.h')
-rw-r--r--languages/cpp/app_templates/tdeapp/pref.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/tdeapp/pref.h b/languages/cpp/app_templates/tdeapp/pref.h
new file mode 100644
index 00000000..b2aae436
--- /dev/null
+++ b/languages/cpp/app_templates/tdeapp/pref.h
@@ -0,0 +1,40 @@
+%{H_TEMPLATE}
+
+#ifndef _%{APPNAMEUC}PREF_H_
+#define _%{APPNAMEUC}PREF_H_
+
+#include <kdialogbase.h>
+#include <tqframe.h>
+
+class %{APPNAME}PrefPageOne;
+class %{APPNAME}PrefPageTwo;
+
+class %{APPNAME}Preferences : public KDialogBase
+{
+ Q_OBJECT
+
+public:
+ %{APPNAME}Preferences();
+
+private:
+ %{APPNAME}PrefPageOne *m_pageOne;
+ %{APPNAME}PrefPageTwo *m_pageTwo;
+};
+
+class %{APPNAME}PrefPageOne : public TQFrame
+{
+ Q_OBJECT
+
+public:
+ %{APPNAME}PrefPageOne(TQWidget *parent = 0);
+};
+
+class %{APPNAME}PrefPageTwo : public TQFrame
+{
+ Q_OBJECT
+
+public:
+ %{APPNAME}PrefPageTwo(TQWidget *parent = 0);
+};
+
+#endif // _%{APPNAMEUC}PREF_H_