Diffstat (limited to 'noncore/net/opietooth/manager/rfcommassigndialogitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/rfcommassigndialogitem.cpp | 9 |
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 @@ -1,12 +1,13 @@ #include "rfcommassigndialogitem.h" #include <qlineedit.h> #include <qcombobox.h> #include <qgroupbox.h> +#include <qcheckbox.h> using namespace OpieTooth; RfcommDialogItem::RfcommDialogItem( QWidget* parent, const char* name, WFlags fl ) : RfcommDialogItemBase( parent, name, fl ) { @@ -30,12 +31,16 @@ int RfcommDialogItem::channel() { } 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 ) ); } void RfcommDialogItem::setMac( const QString &mac ) { @@ -47,7 +52,11 @@ void RfcommDialogItem::setChannel( int channel ) { } void RfcommDialogItem::setComment( const QString &comment ) { m_commentLine->setText( comment ); } +void RfcommDialogItem::setBind( bool dobind ) { + m_bind->setChecked( dobind ); +} +//eof |