summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/rfcommassigndialogitem.cpp
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/rfcommassigndialogitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/rfcommassigndialogitem.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/rfcommassigndialogitem.cpp b/noncore/net/opietooth/manager/rfcommassigndialogitem.cpp
index a41f304..472b86c 100644
--- a/noncore/net/opietooth/manager/rfcommassigndialogitem.cpp
+++ b/noncore/net/opietooth/manager/rfcommassigndialogitem.cpp
@@ -4,6 +4,7 @@
4#include <qlineedit.h> 4#include <qlineedit.h>
5#include <qcombobox.h> 5#include <qcombobox.h>
6#include <qgroupbox.h> 6#include <qgroupbox.h>
7#include <qcheckbox.h>
7 8
8using namespace OpieTooth; 9using namespace OpieTooth;
9 10
@@ -33,6 +34,10 @@ QString RfcommDialogItem::comment() {
33 return m_commentLine->text(); 34 return m_commentLine->text();
34} 35}
35 36
37bool RfcommDialogItem::isBind() {
38 return m_bind->isChecked();
39}
40
36void RfcommDialogItem::setIdent( int ident ) { 41void RfcommDialogItem::setIdent( int ident ) {
37 m_ident = ident; 42 m_ident = ident;
38 m_identLabel->setTitle( QString( "rfcomm%1").arg( ident ) ); 43 m_identLabel->setTitle( QString( "rfcomm%1").arg( ident ) );
@@ -50,4 +55,8 @@ void RfcommDialogItem::setComment( const QString &comment ) {
50 m_commentLine->setText( comment ); 55 m_commentLine->setText( comment );
51} 56}
52 57
58void RfcommDialogItem::setBind( bool dobind ) {
59 m_bind->setChecked( dobind );
60}
53 61
62//eof