Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp b/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp new file mode 100644 index 0000000..7ec8288 --- a/dev/null +++ b/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp @@ -0,0 +1,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 ); +} |