summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/tdecmodule/module.h
blob: 0e07a6e1983c3b8f9ccbe21cf79f33a62d72ae26 (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
%{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