blob: 97371936af9fe4189934c462a5e26230a763f1d0 (
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 <qframe.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(QWidget *parent = 0);
};
class ${APP_NAME}PrefPageTwo : public QFrame
{
Q_OBJECT
public:
${APP_NAME}PrefPageTwo(QWidget *parent = 0);
};
#endif // ${APP_NAME_UC}PREF_H
|