summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/dunpopup.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/dunpopup.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/dunpopup.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/dunpopup.h b/noncore/net/opietooth/manager/dunpopup.h
new file mode 100644
index 0000000..c070c56
--- a/dev/null
+++ b/noncore/net/opietooth/manager/dunpopup.h
@@ -0,0 +1,33 @@
+#ifndef DUNPOPUP_H
+#define DUNPOPUP_H
+
+#include <qpopupmenu.h>
+#include <qaction.h>
+
+#include <startdunconnection.h>
+
+#include "btdeviceitem.h"
+
+
+namespace OpieTooth {
+
+ class DunPopup : public QPopupMenu {
+
+ Q_OBJECT
+
+ public:
+ DunPopup( OpieTooth::BTDeviceItem* );
+ ~DunPopup();
+
+ private:
+ QAction* m_push;
+ OpieTooth::StartDunConnection* m_dunconnection;
+ OpieTooth::BTDeviceItem *m_item;
+ private slots:
+ void slotConnect();
+ void slotDisconnect();
+ void slotConnectAndConfig();
+ };
+};
+
+#endif