Associated scans are displayed first in a bold font.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-wi.h
index fb52985a8837cf7a835c409264ee9f554cd205b6..88ce6de3fcd5dcaa633ba629815a05fc12530007 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef DHCPCD_WI_H
 #define DHCPCD_WI_H
 
+#include <QAction>
 #include <QObject>
 
 #include "dhcpcd.h"
@@ -68,7 +69,8 @@ private:
        QTimer *retryOpenTimer;
 
        QMenu *menu;
-       void createMenuItem(QMenu *menu, DHCPCD_WI_SCAN *scan);
+       void createMenuItem(QMenu *menu, DHCPCD_WI_SCAN *scan,
+           QAction *before = NULL);
        void createMenu1(QMenu *parent);
 };