symbiansettingsgui.h 847 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef SYMBIANSETTINGSGUI_H
  2. #define SYMBIANSETTINGSGUI_H
  3. #include <QFileInfo>
  4. #include <QWidget>
  5. namespace Ui {
  6. class SymbianSettingsGui;
  7. }
  8. class SymbianSettingsGui : public QWidget {
  9. Q_OBJECT
  10. public:
  11. /**
  12. * Uses "Settings" class to load persisted settings and initialize
  13. * GUI elements.
  14. */
  15. SymbianSettingsGui(QWidget *parent = 0);
  16. ~SymbianSettingsGui();
  17. /**
  18. * Uses "Settings" class to persist settings. It does not check
  19. * for sanity of those, only persists them.
  20. */
  21. void saveSettings() const;
  22. private slots:
  23. void browseForBat();
  24. void browseForLog();
  25. private:
  26. QFileInfo getFileInfo(QString fileName);
  27. protected:
  28. void changeEvent(QEvent *e);
  29. private:
  30. Ui::SymbianSettingsGui *ui;
  31. };
  32. #endif // SYMBIANSETTINGSGUI_H