Diffstat (limited to 'noncore/net/opietooth/manager/rfcpopup.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/rfcpopup.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/net/opietooth/manager/rfcpopup.h b/noncore/net/opietooth/manager/rfcpopup.h index 74b9117..a67e41e 100644 --- a/noncore/net/opietooth/manager/rfcpopup.h +++ b/noncore/net/opietooth/manager/rfcpopup.h | |||
@@ -1,12 +1,12 @@ | |||
1 | #ifndef RFCPOPUP_H | 1 | #ifndef RFCPOPUP_H |
2 | #define RFCPOPUP_H | 2 | #define RFCPOPUP_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 "btdeviceitem.h" | 7 | #include "btdeviceitem.h" |
8 | 8 | ||
9 | namespace OpieTooth { | 9 | namespace OpieTooth { |
10 | /** | 10 | /** |
11 | * A simple reference implementation for | 11 | * A simple reference implementation for |
12 | * the popup helper factory. | 12 | * the popup helper factory. |
@@ -15,22 +15,23 @@ namespace OpieTooth { | |||
15 | * slots. After the work is done everything must | 15 | * slots. After the work is done everything must |
16 | * be deleted. | 16 | * be deleted. |
17 | */ | 17 | */ |
18 | class RfcCommPopup : public QPopupMenu { | 18 | class RfcCommPopup : public QPopupMenu { |
19 | Q_OBJECT | 19 | Q_OBJECT |
20 | public: | 20 | public: |
21 | RfcCommPopup( OpieTooth::BTDeviceItem* ); | 21 | RfcCommPopup(const OpieTooth::Services&, OpieTooth::BTDeviceItem*); |
22 | ~RfcCommPopup(); | 22 | ~RfcCommPopup(); |
23 | 23 | ||
24 | |||
25 | private: | 24 | private: |
26 | QAction* m_con; | 25 | QAction* m_con; |
27 | QAction* m_dis; | 26 | QAction* m_dis; |
28 | QAction* m_bind; | 27 | QAction* m_bind; |
29 | QAction* m_bar; | 28 | QAction* m_bar; |
30 | OpieTooth::BTDeviceItem *m_item; | 29 | OpieTooth::BTDeviceItem *m_item; |
30 | Services m_service; | ||
31 | int procId; //Connection process number | ||
31 | private slots: | 32 | private slots: |
32 | void slotConnect(); | 33 | void slotConnect(); |
33 | void slotDisconnect(); | 34 | void slotDisconnect(); |
34 | void slotBind(); | 35 | void slotBind(); |
35 | void slotBar(); | 36 | void slotBar(); |
36 | }; | 37 | }; |