You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdesdk/kapptemplate/kapp/apppref.h

41 lines
786 B

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