Diffstat (limited to 'noncore/net/opietooth/manager/rfcommassigndialogimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/rfcommassigndialogimpl.h | 40 |
1 files changed, 25 insertions, 15 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 +1,11 @@ | |||
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 |
@@ -14,22 +24,22 @@ namespace OpieTooth { | |||
14 | class RfcommAssignDialog: public RfcommAssignDialogBase { | 24 | class RfcommAssignDialog: public RfcommAssignDialogBase { |
15 | 25 | Q_OBJECT | |
16 | Q_OBJECT | ||
17 | |||
18 | public: | 26 | public: |
27 | RfcommAssignDialog(QWidget* parent = 0, const char* name = 0, | ||
28 | bool modal = 0, WFlags fl = 0); | ||
29 | ~RfcommAssignDialog(); | ||
19 | 30 | ||
20 | RfcommAssignDialog( QWidget* parent = 0, const char* name = 0,bool modal = 0, WFlags fl = 0 ); | 31 | void loadConfig(); |
21 | ~RfcommAssignDialog(); | 32 | void saveConfig(); |
22 | |||
23 | void loadConfig(); | ||
24 | 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 | }; |