Fixed mainwidget.cpp
[irwi] / src / settingsdlg.h
index 8807e02..aec925a 100644 (file)
@@ -2,9 +2,12 @@
 #define SETTINGSDLG_H
 
 #include <QDialog>
-#include <QString>
 
+class QWidget;
 class QHBoxLayout;
+class QVBoxLayout;
+class QPushButton;
+class QLabel;
 
 class SettingsDlg : public QDialog
 {
@@ -13,11 +16,22 @@ public:
     SettingsDlg(QWidget *parent = 0);
     ~SettingsDlg();
 
-    QString& getRemoteName();
+public slots:
+    void updateRemoteName();
+
+private slots:
+    void showAdvSettingsDlg();
+    void showSelectRemoteDlg();
+    void showAboutDlg();
 
 private:
-    QHBoxLayout *layout;
-    QString remoteName;
+    QVBoxLayout *layout;
+    QHBoxLayout *btnLayout;
+    QHBoxLayout *remoteNameLayout;
+    QPushButton *advSettingsBtn;
+    QPushButton *selectRemoteBtn;
+    QPushButton *aboutBtn;
+    QLabel *remoteNameLabel;
 };
 
 #endif