summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qtopia4app/example.h
blob: 0b174641233ce4de1b480caa2cb4ae02382de07d (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

#ifndef %{APPNAMEUC}_H
#define %{APPNAMEUC}_H
#include "ui_%{APPNAMELC}base.h"

class %{APPNAME}Base : public TQWidget, public Ui_%{APPNAME}Base
{
public:
    %{APPNAME}Base( TQWidget *parent = 0, TQt::WFlags f = 0 );
    virtual ~%{APPNAME}Base();
};

class %{APPNAME} : public %{APPNAME}Base
{ 
    Q_OBJECT
  TQ_OBJECT
public:
    %{APPNAME}( TQWidget *parent = 0, TQt::WFlags f = 0 );
    virtual ~%{APPNAME}();

private slots:
    void goodBye();
};

#endif // %{APPNAMEUC}_H