Test for strverscmp so we work on musl.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-ssidmenu.h
index 75a27eb26f6588afb0df62adc7cf64c945033f26..74f115b5fa978acb46961d0fde4515cd8deb198c 100644 (file)
 class QRadioButton;
 class QLabel;
 class QProgressBar;
+class QWidgetAction;
+
+class DhcpcdWi;
 
 class DhcpcdSsidMenu : public QWidget
 {
        Q_OBJECT
 
 public:
-       DhcpcdSsidMenu(QWidget *parent, DHCPCD_IF *ifp, DHCPCD_WI_SCAN *scan);
+       DhcpcdSsidMenu(QWidget *parent, QWidgetAction *wa,
+           DhcpcdWi *wi, DHCPCD_WI_SCAN *scan);
        ~DhcpcdSsidMenu() {};
 
+       QWidgetAction *getWidgetAction();
+       DHCPCD_WI_SCAN *getScan();
+       void setScan(DHCPCD_WI_SCAN *scan);
+
 signals:
-       void selected(DHCPCD_IF *ifp, DHCPCD_WI_SCAN *scan);
+       void selected(DHCPCD_WI_SCAN *scan);
 
 private slots:
        bool eventFilter(QObject *obj, QEvent *event);
 
 private:
-       DHCPCD_IF *ifp;
+       QWidgetAction *wa;
+       DhcpcdWi *wi;
        DHCPCD_WI_SCAN *scan;
 
        QRadioButton *button;