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) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/rfcommassigndialogitem.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/rfcommassigndialogitem.cpp b/noncore/net/opietooth/manager/rfcommassigndialogitem.cpp
index 1e7130f..a41f304 100644
--- a/noncore/net/opietooth/manager/rfcommassigndialogitem.cpp
+++ b/noncore/net/opietooth/manager/rfcommassigndialogitem.cpp
@@ -1,54 +1,53 @@
#include "rfcommassigndialogitem.h"
#include <qlineedit.h>
#include <qcombobox.h>
-#include <qlabel.h>
#include <qgroupbox.h>
using namespace OpieTooth;
RfcommDialogItem::RfcommDialogItem( QWidget* parent, const char* name, WFlags fl )
: RfcommDialogItemBase( parent, name, fl ) {
}
RfcommDialogItem::~RfcommDialogItem() {
}
int RfcommDialogItem::ident() {
return m_ident;
}
QString RfcommDialogItem::mac() {
return m_macAddress->text();
}
int RfcommDialogItem::channel() {
return m_channelDropdown->currentItem();
}
QString RfcommDialogItem::comment() {
return m_commentLine->text();
}
void RfcommDialogItem::setIdent( int ident ) {
m_ident = ident;
m_identLabel->setTitle( QString( "rfcomm%1").arg( ident ) );
}
void RfcommDialogItem::setMac( const QString &mac ) {
m_macAddress->setText( mac );
}
void RfcommDialogItem::setChannel( int channel ) {
m_channelDropdown->setCurrentItem( channel );
}
void RfcommDialogItem::setComment( const QString &comment ) {
m_commentLine->setText( comment );
}