summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kapp/apppref.h
blob: 5424df0e6f9f434a220a8b2a3bfdab27e0f73835 (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
38
39
40
echo "Creating $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}pref.h...";
cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}pref.h
#ifndef ${APP_NAME_UC}PREF_H
#define ${APP_NAME_UC}PREF_H

#include <kdialogbase.h>
#include <tqframe.h>

class ${APP_NAME}PrefPageOne;
class ${APP_NAME}PrefPageTwo;

class ${APP_NAME}Preferences : public KDialogBase
{
    Q_OBJECT
  TQ_OBJECT
public:
    ${APP_NAME}Preferences();

private:
    ${APP_NAME}PrefPageOne *m_pageOne;
    ${APP_NAME}PrefPageTwo *m_pageTwo;
};

class ${APP_NAME}PrefPageOne : public TQFrame
{
    Q_OBJECT
  TQ_OBJECT
public:
    ${APP_NAME}PrefPageOne(TQWidget *parent = 0);
};

class ${APP_NAME}PrefPageTwo : public TQFrame
{
    Q_OBJECT
  TQ_OBJECT
public:
    ${APP_NAME}PrefPageTwo(TQWidget *parent = 0);
};

#endif // ${APP_NAME_UC}PREF_H