author | korovkin <korovkin> | 2006-03-25 18:10:13 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-03-25 18:10:13 (UTC) |
commit | c4f82599db775f52c7e04cce09c7c45ecc89ccfd (patch) (unidiff) | |
tree | 81d48e5363a2135bb6820510ae7f5dee9999e8f2 /noncore/net/opietooth/manager/rfcommassigndialogitem.cpp | |
parent | da3c4a6231882bc56266162415a8d1a2a1bf0293 (diff) | |
download | opie-c4f82599db775f52c7e04cce09c7c45ecc89ccfd.zip opie-c4f82599db775f52c7e04cce09c7c45ecc89ccfd.tar.gz opie-c4f82599db775f52c7e04cce09c7c45ecc89ccfd.tar.bz2 |
Added RFCOMM binding table functionality.
Diffstat (limited to 'noncore/net/opietooth/manager/rfcommassigndialogitem.cpp') (more/less context) (show 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 | |||
@@ -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 | ||
8 | using namespace OpieTooth; | 9 | using 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 | ||
37 | bool RfcommDialogItem::isBind() { | ||
38 | return m_bind->isChecked(); | ||
39 | } | ||
40 | |||
36 | void RfcommDialogItem::setIdent( int ident ) { | 41 | void 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 | ||
58 | void RfcommDialogItem::setBind( bool dobind ) { | ||
59 | m_bind->setChecked( dobind ); | ||
60 | } | ||
53 | 61 | ||
62 | //eof | ||