summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp
blob: 7ec828862ba70921acb9eb28f99d833f61b32dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "bluetoothRFCOMMedit.h"
#include "bluetoothRFCOMM_NNI.h"
#include "bluetooth_NN.h"

ABluetoothRFCOMM::ABluetoothRFCOMM( BluetoothRFCOMMNetNode * PNN ) : ANetNodeInstance( PNN ) {
    GUI = 0;
    RT = 0;
}

void ABluetoothRFCOMM::setSpecificAttribute( QString & , QString & ) {
}

void ABluetoothRFCOMM::saveSpecificAttribute( QTextStream & ) {
}


QWidget * ABluetoothRFCOMM::edit( QWidget * parent ) {
    GUI = new BluetoothRFCOMMEdit( parent );
    GUI->showData( Data );
    return GUI;
}

QString ABluetoothRFCOMM::acceptable( void ) {
    return ( GUI ) ? GUI->acceptable( ) : QString();
}

void ABluetoothRFCOMM::commit( void ) {
    if( GUI->commit( Data ) )
      setModified( 1 );
}