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

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

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

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

#endif // ${APP_NAME_UC}PREF_H