Make dhcpcd-online an optional component for split packages.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-ssidmenu.h
index a9c9ec1cb323cadb86b5b508f9602e8336770c20..74f115b5fa978acb46961d0fde4515cd8deb198c 100644 (file)
@@ -31,6 +31,7 @@
 class QRadioButton;
 class QLabel;
 class QProgressBar;
+class QWidgetAction;
 
 class DhcpcdWi;
 
@@ -39,9 +40,11 @@ class DhcpcdSsidMenu : public QWidget
        Q_OBJECT
 
 public:
-       DhcpcdSsidMenu(QWidget *parent, DhcpcdWi *wi, 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);
 
@@ -52,6 +55,7 @@ private slots:
        bool eventFilter(QObject *obj, QEvent *event);
 
 private:
+       QWidgetAction *wa;
        DhcpcdWi *wi;
        DHCPCD_WI_SCAN *scan;