rcsymbiansettingsgui.h 906 B

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