summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kapp/apppref.h
blob: c20c8af3c281e8b9d4049aee4999e147730bd6f6 (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 *tqparent = 0);
};

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

#endif // ${APP_NAME_UC}PREF_H