123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef MAEMO5SETTINGSGUI_H
- #define MAEMO5SETTINGSGUI_H
- class QFileInfo;
- #include <QList>
- #include <QString>
- #include <QWidget>
- namespace Ui {
- class Maemo5SettingsGui;
- }
- class Maemo5SettingsGui : public QWidget {
- Q_OBJECT
- public:
- Maemo5SettingsGui(const QList<QString> & licences,
- const QString & app,
- QWidget * parent = 0);
- ~Maemo5SettingsGui();
- /**
- * Uses "Settings" class to persist settings. It does not check
- * for sanity of those, only persists them.
- */
- void saveSettings() const;
- protected:
- void changeEvent(QEvent *e);
- private slots:
- void browseForBash();
- void browseForLog();
- void editLongDesc();
- private:
- QFileInfo getFileInfo(QString fileName);
- friend class Maemo5QtProjectGenerator;
- static QString bashPath();
- private:
- Ui::Maemo5SettingsGui * ui;
- const QString m_app;
- };
- #endif // MAEMO5SETTINGSGUI_H
|