author | korovkin <korovkin> | 2006-04-14 19:22:37 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-04-14 19:22:37 (UTC) |
commit | a1bcbe41d45924713c4ead9b25ac5518473c9ca9 (patch) (unidiff) | |
tree | 3683eb401dd2d7cde4a7af15e72ecf7463b7208e /noncore/net/opietooth/manager/bluebase.h | |
parent | bca53498f37ade8101611fecde82202e9ee1a55c (diff) | |
download | opie-a1bcbe41d45924713c4ead9b25ac5518473c9ca9.zip opie-a1bcbe41d45924713c4ead9b25ac5518473c9ca9.tar.gz opie-a1bcbe41d45924713c4ead9b25ac5518473c9ca9.tar.bz2 |
Added RFCOMM <-> serial line forwarding functionality.
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h index 48883d2..0128a88 100644 --- a/noncore/net/opietooth/manager/bluebase.h +++ b/noncore/net/opietooth/manager/bluebase.h | |||
@@ -8,24 +8,25 @@ | |||
8 | #include <qsplitter.h> | 8 | #include <qsplitter.h> |
9 | #include <qlist.h> | 9 | #include <qlist.h> |
10 | #include <qpixmap.h> | 10 | #include <qpixmap.h> |
11 | 11 | ||
12 | #include "bluetoothbase.h" | 12 | #include "bluetoothbase.h" |
13 | 13 | ||
14 | #include "btserviceitem.h" | 14 | #include "btserviceitem.h" |
15 | #include "btdeviceitem.h" | 15 | #include "btdeviceitem.h" |
16 | 16 | ||
17 | #include "popuphelper.h" | 17 | #include "popuphelper.h" |
18 | 18 | ||
19 | #include "bticonloader.h" | 19 | #include "bticonloader.h" |
20 | #include "forwarder.h" | ||
20 | 21 | ||
21 | #include <remotedevice.h> | 22 | #include <remotedevice.h> |
22 | #include <manager.h> | 23 | #include <manager.h> |
23 | 24 | ||
24 | class QVBox; | 25 | class QVBox; |
25 | class QHBoxLayout; | 26 | class QHBoxLayout; |
26 | class QGridLayout; | 27 | class QGridLayout; |
27 | class QFrame; | 28 | class QFrame; |
28 | class QLabel; | 29 | class QLabel; |
29 | class QPushButton; | 30 | class QPushButton; |
30 | class QTabWidget; | 31 | class QTabWidget; |
31 | class QCheckBox; | 32 | class QCheckBox; |
@@ -70,33 +71,36 @@ namespace OpieTooth { | |||
70 | QString m_deviceName; | 71 | QString m_deviceName; |
71 | QString m_defaultPasskey; | 72 | QString m_defaultPasskey; |
72 | bool m_useEncryption; | 73 | bool m_useEncryption; |
73 | bool m_enableAuthentification; | 74 | bool m_enableAuthentification; |
74 | bool m_enablePagescan; | 75 | bool m_enablePagescan; |
75 | bool m_enableInquiryscan; | 76 | bool m_enableInquiryscan; |
76 | 77 | ||
77 | QPixmap m_offPix; | 78 | QPixmap m_offPix; |
78 | QPixmap m_onPix; | 79 | QPixmap m_onPix; |
79 | QPixmap m_findPix; | 80 | QPixmap m_findPix; |
80 | 81 | ||
81 | BTIconLoader *m_iconLoader; | 82 | BTIconLoader *m_iconLoader; |
83 | SerialForwarder* forwarder; | ||
82 | 84 | ||
83 | private slots: | 85 | private slots: |
84 | void addSearchedDevices( const QValueList<RemoteDevice> &newDevices ); | 86 | void addSearchedDevices( const QValueList<RemoteDevice> &newDevices ); |
85 | void addServicesToDevices(); | 87 | void addServicesToDevices(); |
86 | void addServicesToDevice( BTDeviceItem *item ); | 88 | void addServicesToDevice( BTDeviceItem *item ); |
87 | void addServicesToDevice( const QString& device, Services::ValueList ); | 89 | void addServicesToDevice( const QString& device, Services::ValueList ); |
88 | void addConnectedDevices(); | 90 | void addConnectedDevices(); |
89 | void addConnectedDevices( ConnectionState::ValueList ); | 91 | void addConnectedDevices( ConnectionState::ValueList ); |
90 | void startServiceActionClicked( QListViewItem *item ); | 92 | void startServiceActionClicked( QListViewItem *item ); |
91 | void startServiceActionHold( QListViewItem *, const QPoint &, int ); | 93 | void startServiceActionHold( QListViewItem *, const QPoint &, int ); |
92 | void deviceActive( const QString& mac, bool connected ); | 94 | void deviceActive( const QString& mac, bool connected ); |
93 | void applyConfigChanges(); | 95 | void applyConfigChanges(); |
96 | void doForward(); | ||
97 | void forwardExit(Opie::Core::OProcess* proc); | ||
94 | void addSignalStrength(); | 98 | void addSignalStrength(); |
95 | void addSignalStrength( const QString& mac, const QString& strengh ); | 99 | void addSignalStrength( const QString& mac, const QString& strengh ); |
96 | void rfcommDialog(); | 100 | void rfcommDialog(); |
97 | 101 | ||
98 | }; | 102 | }; |
99 | 103 | ||
100 | } | 104 | } |
101 | 105 | ||
102 | #endif | 106 | #endif |