summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/rfcommassigndialogimpl.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/rfcommassigndialogimpl.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/rfcommassigndialogimpl.h20
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,3 +1,13 @@
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
@@ -12,18 +22,16 @@
12namespace OpieTooth { 22namespace 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;
@@ -32,6 +40,8 @@ namespace OpieTooth {
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}