author | korovkin <korovkin> | 2006-03-25 18:10:13 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-03-25 18:10:13 (UTC) |
commit | c4f82599db775f52c7e04cce09c7c45ecc89ccfd (patch) (unidiff) | |
tree | 81d48e5363a2135bb6820510ae7f5dee9999e8f2 /noncore/net/opietooth/manager/rfcommassigndialogimpl.h | |
parent | da3c4a6231882bc56266162415a8d1a2a1bf0293 (diff) | |
download | opie-c4f82599db775f52c7e04cce09c7c45ecc89ccfd.zip opie-c4f82599db775f52c7e04cce09c7c45ecc89ccfd.tar.gz opie-c4f82599db775f52c7e04cce09c7c45ecc89ccfd.tar.bz2 |
Added RFCOMM binding table functionality.
Diffstat (limited to 'noncore/net/opietooth/manager/rfcommassigndialogimpl.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/rfcommassigndialogimpl.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/noncore/net/opietooth/manager/rfcommassigndialogimpl.h b/noncore/net/opietooth/manager/rfcommassigndialogimpl.h index 9983632..12cde0e 100644 --- a/noncore/net/opietooth/manager/rfcommassigndialogimpl.h +++ b/noncore/net/opietooth/manager/rfcommassigndialogimpl.h | |||
@@ -1,6 +1,16 @@ | |||
1 | /* $Id$ */ | ||
2 | /* RFCOMM binding table edit dialog */ | ||
3 | /*************************************************************************** | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
1 | #ifndef RFCOMMASSIGN | 11 | #ifndef RFCOMMASSIGN |
2 | #define RFCOMMASSIGN | 12 | #define RFCOMMASSIGN |
3 | 13 | ||
4 | #include "rfcommassigndialogbase.h" | 14 | #include "rfcommassigndialogbase.h" |
5 | #include "rfcommassigndialogitem.h" | 15 | #include "rfcommassigndialogitem.h" |
6 | #include "rfcommconfhandler.h" | 16 | #include "rfcommconfhandler.h" |
@@ -9,31 +19,31 @@ | |||
9 | #include <qmap.h> | 19 | #include <qmap.h> |
10 | #include <qvbox.h> | 20 | #include <qvbox.h> |
11 | 21 | ||
12 | namespace OpieTooth { | 22 | namespace OpieTooth { |
13 | 23 | ||
14 | class RfcommAssignDialog: public RfcommAssignDialogBase { | 24 | class RfcommAssignDialog: public RfcommAssignDialogBase { |
15 | |||
16 | Q_OBJECT | 25 | Q_OBJECT |
17 | |||
18 | public: | 26 | public: |
19 | 27 | RfcommAssignDialog(QWidget* parent = 0, const char* name = 0, | |
20 | RfcommAssignDialog( QWidget* parent = 0, const char* name = 0,bool modal = 0, WFlags fl = 0 ); | 28 | bool modal = 0, WFlags fl = 0); |
21 | ~RfcommAssignDialog(); | 29 | ~RfcommAssignDialog(); |
22 | 30 | ||
23 | void loadConfig(); | 31 | void loadConfig(); |
24 | void saveConfig(); | 32 | void saveConfig(); |
25 | 33 | ||
26 | void newDevice( const QString & mac ); | 34 | void newDevice( const QString & mac, int channel ); |
27 | 35 | ||
28 | private: | 36 | private: |
29 | QScrollView *m_scrollView; | 37 | QScrollView *m_scrollView; |
30 | // how many rfcomm devices are possible | 38 | // how many rfcomm devices are possible |
31 | int m_range; | 39 | int m_range; |
32 | QMap< int, RfcommDialogItem* > m_itemList; | 40 | QMap< int, RfcommDialogItem* > m_itemList; |
33 | QVBox *m_box; | 41 | QVBox *m_box; |
34 | RfCommConfHandler *confHandler; | 42 | RfCommConfHandler *confHandler; |
43 | protected slots: | ||
44 | virtual void accept(); | ||
35 | }; | 45 | }; |
36 | 46 | ||
37 | } | 47 | } |
38 | 48 | ||
39 | #endif | 49 | #endif |