summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/rfcpopup.h
authorkorovkin <korovkin>2006-03-19 14:58:21 (UTC)
committer korovkin <korovkin>2006-03-19 14:58:21 (UTC)
commit3de693f244170cb9424d841aef6a6d7175766fa3 (patch) (unidiff)
tree03450003b6ea810052b7e046a1a9cb375d01ebba /noncore/net/opietooth/manager/rfcpopup.h
parenta71b86fe8ca57753e8209786691b9c7a33d1c1c9 (diff)
downloadopie-3de693f244170cb9424d841aef6a6d7175766fa3.zip
opie-3de693f244170cb9424d841aef6a6d7175766fa3.tar.gz
opie-3de693f244170cb9424d841aef6a6d7175766fa3.tar.bz2
Added connection and disconnection.
Diffstat (limited to 'noncore/net/opietooth/manager/rfcpopup.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/rfcpopup.h9
1 files changed, 5 insertions, 4 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
9namespace OpieTooth { 9namespace 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 };