diff options
author | Timothy Pearson <[email protected]> | 2013-01-26 13:18:13 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-26 13:18:13 -0600 |
commit | 2fb700f92bb787fab0845a63a541cd5640daa449 (patch) | |
tree | c6f769db55585dd47a9fd415a40ee8b86926f683 /languages/cpp/app_templates/tdescreensaver/tdescreensaver.h | |
parent | fd1d1e1064eb09ddbbd67d3597c39856f5c0bc76 (diff) | |
download | tdevelop-2fb700f92bb787fab0845a63a541cd5640daa449.tar.gz tdevelop-2fb700f92bb787fab0845a63a541cd5640daa449.zip |
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'languages/cpp/app_templates/tdescreensaver/tdescreensaver.h')
-rw-r--r-- | languages/cpp/app_templates/tdescreensaver/tdescreensaver.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/tdescreensaver/tdescreensaver.h b/languages/cpp/app_templates/tdescreensaver/tdescreensaver.h new file mode 100644 index 00000000..e066852a --- /dev/null +++ b/languages/cpp/app_templates/tdescreensaver/tdescreensaver.h @@ -0,0 +1,37 @@ +%{CPP_TEMPLATE} + +#ifndef %{APPNAME}_H__ +#define %{APPNAME}_H__ + +#include "tdescreensaver.h" +#include "%{APPNAMELC}ui.h" + +class %{APPNAME} : public KScreenSaver +{ + Q_OBJECT + +public: + %{APPNAME}( WId drawable ); + virtual ~%{APPNAME}(); +private: + void readSettings(); + void blank(); +}; + +class %{APPNAME}Setup : public %{APPNAME}UI +{ + Q_OBJECT + +public: + %{APPNAME}Setup( TQWidget *parent = NULL, const char *name = NULL ); + +private slots: + void slotOkPressed(); + void slotCancelPressed(); + +private: + void readSettings(); + %{APPNAME} *saver; +}; + +#endif |