summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/rfcommassigndialogitem.cpp
Side-by-side diff
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 @@
#include <qlineedit.h>
#include <qcombobox.h>
#include <qgroupbox.h>
+#include <qcheckbox.h>
using namespace OpieTooth;
@@ -33,6 +34,10 @@ QString RfcommDialogItem::comment() {
return m_commentLine->text();
}
+bool RfcommDialogItem::isBind() {
+ return m_bind->isChecked();
+}
+
void RfcommDialogItem::setIdent( int ident ) {
m_ident = ident;
m_identLabel->setTitle( QString( "rfcomm%1").arg( ident ) );
@@ -50,4 +55,8 @@ void RfcommDialogItem::setComment( const QString &comment ) {
m_commentLine->setText( comment );
}
+void RfcommDialogItem::setBind( bool dobind ) {
+ m_bind->setChecked( dobind );
+}
+//eof