summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscreensaver/kscreensaver.h
blob: fc2fd6503e0eaa8076d95e3e8f975cb7cb10dcde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
%{CPP_TEMPLATE}

#ifndef %{APPNAME}_H__
#define %{APPNAME}_H__

#include "kscreensaver.h"
#include "%{APPNAMELC}ui.h"

class %{APPNAME} : public KScreenSaver
{
    Q_OBJECT
  TQ_OBJECT
public:
    %{APPNAME}( WId drawable );
    virtual ~%{APPNAME}();
private:
    void readSettings();
    void blank();
};

class %{APPNAME}Setup : public %{APPNAME}UI
{
    Q_OBJECT
  TQ_OBJECT
public:
    %{APPNAME}Setup( TQWidget *parent = NULL, const char *name = NULL );

private slots:
    void slotOkPressed();
    void slotCancelPressed();

private:
    void readSettings();
    %{APPNAME} *saver;
};

#endif