summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NNI.cpp
blob: 1743c1db7102615066738832d6141b7cb3465ae6 (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
#include "bluetoothBNEPedit.h"
#include "bluetoothBNEP_NNI.h"
#include "bluetooth_NN.h"

ABluetoothBNEP::ABluetoothBNEP( BluetoothBNEPNetNode * PNN ) : ANetNodeInstance( PNN ) {
    GUI = 0;
    RT = 0;
}

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

void ABluetoothBNEP::saveSpecificAttribute( QTextStream & ) {
}

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

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

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