Complete rewrite. Does not work yet.
[irwi] / src / settingsdlg.h
index 90f3ae6..a8e0079 100644 (file)
@@ -5,26 +5,39 @@
 
 class QWidget;
 class QHBoxLayout;
+class QVBoxLayout;
 class QPushButton;
+class QLabel;
+class IEngine;
 
 class SettingsDlg : public QDialog
 {
     Q_OBJECT
 public:
-    SettingsDlg(QWidget *parent = 0);
+    SettingsDlg(QWidget *parent, IEngine *engine);
     ~SettingsDlg();
 
 public slots:
-    void updateRemoteName;
+    void updateRemoteName();
 
 private slots:
     void showAdvSettingsDlg();
     void showSelectRemoteDlg();
+    void showAboutDlg();
+    void setRating(int);
 
 private:
-    QHBoxLayout *layout;
+    IEngine *engine;
+    QVBoxLayout *layout;
+    QHBoxLayout *btnLayout;
+    QHBoxLayout *remoteNameLayout;
     QPushButton *advSettingsBtn;
     QPushButton *selectRemoteBtn;
+    QPushButton *rateUpBtn;
+    QPushButton *rateDownBtn;
+    QPushButton *aboutBtn;
+    QLabel *remoteNameLabel;
+    QLabel *ratingLabel;
 };
 
 #endif