summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/rfcommassigndialogimpl.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/rfcommassigndialogimpl.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/rfcommassigndialogimpl.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/rfcommassigndialogimpl.h b/noncore/net/opietooth/manager/rfcommassigndialogimpl.h
new file mode 100644
index 0000000..9983632
--- a/dev/null
+++ b/noncore/net/opietooth/manager/rfcommassigndialogimpl.h
@@ -0,0 +1,39 @@
+#ifndef RFCOMMASSIGN
+#define RFCOMMASSIGN
+
+#include "rfcommassigndialogbase.h"
+#include "rfcommassigndialogitem.h"
+#include "rfcommconfhandler.h"
+
+#include <qscrollview.h>
+#include <qmap.h>
+#include <qvbox.h>
+
+namespace OpieTooth {
+
+ class RfcommAssignDialog: public RfcommAssignDialogBase {
+
+ Q_OBJECT
+
+ public:
+
+ RfcommAssignDialog( QWidget* parent = 0, const char* name = 0,bool modal = 0, WFlags fl = 0 );
+ ~RfcommAssignDialog();
+
+ void loadConfig();
+ void saveConfig();
+
+ void newDevice( const QString & mac );
+
+ private:
+ QScrollView *m_scrollView;
+ // how many rfcomm devices are possible
+ int m_range;
+ QMap< int, RfcommDialogItem* > m_itemList;
+ QVBox *m_box;
+ RfCommConfHandler *confHandler;
+};
+
+}
+
+#endif