summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kapp/apppref.h
blob: a676c4c8ff97b1079159e65009e9ed0a4505cc9d (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
{
    TQ_OBJECT
  
public:
    ${APP_NAME}Preferences();

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

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

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

#endif // ${APP_NAME_UC}PREF_H