summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/dunpopup.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/dunpopup.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/dunpopup.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/noncore/net/opietooth/manager/dunpopup.h b/noncore/net/opietooth/manager/dunpopup.h
index c070c56..6058b20 100644
--- a/noncore/net/opietooth/manager/dunpopup.h
+++ b/noncore/net/opietooth/manager/dunpopup.h
@@ -1,33 +1,32 @@
1#ifndef DUNPOPUP_H 1#ifndef DUNPOPUP_H
2#define DUNPOPUP_H 2#define DUNPOPUP_H
3 3
4#include <qpopupmenu.h> 4#include <qpopupmenu.h>
5#include <qaction.h> 5#include <qaction.h>
6 6#include <services.h>
7#include <startdunconnection.h>
8 7
9#include "btdeviceitem.h" 8#include "btdeviceitem.h"
10 9
11 10
12namespace OpieTooth { 11namespace OpieTooth {
13 12
14 class DunPopup : public QPopupMenu { 13 class DunPopup : public QPopupMenu {
15 14
16 Q_OBJECT 15 Q_OBJECT
17 16
18 public: 17 public:
19 DunPopup( OpieTooth::BTDeviceItem* ); 18 DunPopup(const OpieTooth::Services&, OpieTooth::BTDeviceItem* );
20 ~DunPopup(); 19 ~DunPopup();
21 20
22 private: 21 private:
23 QAction* m_push; 22 QAction* m_push;
24 OpieTooth::StartDunConnection* m_dunconnection; 23 OpieTooth::BTDeviceItem *m_item; //device item
25 OpieTooth::BTDeviceItem *m_item; 24 Services m_service; //device service (port)
26 private slots: 25 private slots:
27 void slotConnect(); 26 void slotConnect();
28 void slotDisconnect(); 27 void slotDisconnect();
29 void slotConnectAndConfig(); 28 void slotConnectAndConfig();
30 }; 29 };
31}; 30};
32 31
33#endif 32#endif