summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscreensaver/kscreensaver.h
blob: a5d252a5e162393b92ec9a48020dfa5547ccbd7b (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
%{CPP_TEMPLATE}

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

#include "kscreensaver.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