Fixes connection dialog focus problems in selectremotedlg
[irwi] / src / selectremotedlg.h
index dc4e77c..8433318 100644 (file)
@@ -17,6 +17,7 @@ class QNetworkReply;
 class QWidget;
 class QPushButton;
 class QLabel;
+class QShowEvent;
 
 class SelectRemoteDlg : public QDialog
 {
@@ -26,6 +27,9 @@ public:
     SelectRemoteDlg(QWidget *parent = 0);
     ~SelectRemoteDlg();
 
+public slots:
+    void refreshDB();
+
 private slots:
     void alphabetItemChanged(QListWidgetItem *current,
                              QListWidgetItem *previous);
@@ -36,6 +40,9 @@ private slots:
 signals:
     void remoteChanged(Remote);
 
+protected slots:
+    void showEvent(QShowEvent*);
+
 private:
     RemoteDBMgr remoteDBMgr;