summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/tdecmodule/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/tdecmodule/module.h')
-rw-r--r--languages/cpp/app_templates/tdecmodule/module.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/tdecmodule/module.h b/languages/cpp/app_templates/tdecmodule/module.h
new file mode 100644
index 00000000..0e07a6e1
--- /dev/null
+++ b/languages/cpp/app_templates/tdecmodule/module.h
@@ -0,0 +1,33 @@
+%{H_TEMPLATE}
+
+#ifndef _%{APPNAMEUC}_H_
+#define _%{APPNAMEUC}_H_
+
+#include <tdecmodule.h>
+#include <kaboutdata.h>
+
+class %{APPNAME}: public TDECModule
+{
+ Q_OBJECT
+
+
+public:
+ %{APPNAME}( TQWidget *parent=0, const char *name=0, const TQStringList& = TQStringList() );
+ ~%{APPNAME}();
+
+ virtual void load();
+ virtual void save();
+ virtual void defaults();
+ virtual int buttons();
+ virtual TQString quickHelp() const;
+ virtual const TDEAboutData *aboutData()const
+ { return myAboutData; };
+
+public slots:
+ void configChanged();
+
+private:
+ TDEAboutData *myAboutData;
+};
+
+#endif