Reserve space for the assoicated icon.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-qt.h
index efa1bf03c3db5385c77881dfdaf5574f320320f2..1a96c36e5e396291da6c6747ae7f0712668061ae 100644 (file)
@@ -56,8 +56,7 @@ public:
        DhcpcdQt();
        ~DhcpcdQt();
 
-       void closeAbout();
-
+       DHCPCD_CONNECTION *getConnection();
        static void dhcpcd_status_cb(DHCPCD_CONNECTION *con,
            const char *status, void *d);
        void statusCallback(const char *status);
@@ -71,7 +70,9 @@ public:
        void wpaStatusCallback(DHCPCD_WPA *wpa, const char *status);
 
        static QIcon getIcon(QString category, QString name);
+       QList<DhcpcdWi *> *getWis();
 
+       void closeAbout();
        void dialogClosed(QDialog *dialog);
 
 protected:
@@ -102,6 +103,7 @@ private:
        QDialog *about;
        QDialog *preferences;
 
+       void processScans(DhcpcdWi *wi, DHCPCD_WI_SCAN *scans);
        void addSsidMenu(QMenu *&menu, DHCPCD_IF *ifp, DhcpcdWi *&wi);
        void createSsidMenu();