summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NNI.cpp8
-rw-r--r--noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp8
2 files changed, 16 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NNI.cpp b/noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NNI.cpp
index 1743c1d..73312c6 100644
--- a/noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NNI.cpp
+++ b/noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NNI.cpp
@@ -1,29 +1,37 @@
1#include "bluetoothBNEPedit.h" 1#include "bluetoothBNEPedit.h"
2#include "bluetoothBNEP_NNI.h" 2#include "bluetoothBNEP_NNI.h"
3#include "bluetooth_NN.h" 3#include "bluetooth_NN.h"
4 4
5ABluetoothBNEP::ABluetoothBNEP( BluetoothBNEPNetNode * PNN ) : ANetNodeInstance( PNN ) { 5ABluetoothBNEP::ABluetoothBNEP( BluetoothBNEPNetNode * PNN ) : ANetNodeInstance( PNN ) {
6 GUI = 0; 6 GUI = 0;
7 RT = 0; 7 RT = 0;
8} 8}
9 9
10void ABluetoothBNEP::setSpecificAttribute( QString & , QString & ) { 10void ABluetoothBNEP::setSpecificAttribute( QString & , QString & ) {
11} 11}
12 12
13void ABluetoothBNEP::saveSpecificAttribute( QTextStream & ) { 13void ABluetoothBNEP::saveSpecificAttribute( QTextStream & ) {
14} 14}
15 15
16QWidget * ABluetoothBNEP::edit( QWidget * parent ) { 16QWidget * ABluetoothBNEP::edit( QWidget * parent ) {
17 GUI = new BluetoothBNEPEdit( parent ); 17 GUI = new BluetoothBNEPEdit( parent );
18 GUI->showData( Data ); 18 GUI->showData( Data );
19 return GUI; 19 return GUI;
20} 20}
21 21
22QString ABluetoothBNEP::acceptable( void ) { 22QString ABluetoothBNEP::acceptable( void ) {
23 return ( GUI ) ? GUI->acceptable( ) : QString(); 23 return ( GUI ) ? GUI->acceptable( ) : QString();
24} 24}
25 25
26void ABluetoothBNEP::commit( void ) { 26void ABluetoothBNEP::commit( void ) {
27 if( GUI && GUI->commit( Data ) ) 27 if( GUI && GUI->commit( Data ) )
28 setModified( 1 ); 28 setModified( 1 );
29} 29}
30
31bool ABluetoothBNEP::hasDataFor( const QString & ) {
32 return 0;
33}
34
35bool ABluetoothBNEP::generateDataForCommonFile( SystemFile & , long ){
36 return 0;
37}
diff --git a/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp b/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp
index 7ec8288..cff2639 100644
--- a/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp
+++ b/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp
@@ -1,30 +1,38 @@
1#include "bluetoothRFCOMMedit.h" 1#include "bluetoothRFCOMMedit.h"
2#include "bluetoothRFCOMM_NNI.h" 2#include "bluetoothRFCOMM_NNI.h"
3#include "bluetooth_NN.h" 3#include "bluetooth_NN.h"
4 4
5ABluetoothRFCOMM::ABluetoothRFCOMM( BluetoothRFCOMMNetNode * PNN ) : ANetNodeInstance( PNN ) { 5ABluetoothRFCOMM::ABluetoothRFCOMM( BluetoothRFCOMMNetNode * PNN ) : ANetNodeInstance( PNN ) {
6 GUI = 0; 6 GUI = 0;
7 RT = 0; 7 RT = 0;
8} 8}
9 9
10void ABluetoothRFCOMM::setSpecificAttribute( QString & , QString & ) { 10void ABluetoothRFCOMM::setSpecificAttribute( QString & , QString & ) {
11} 11}
12 12
13void ABluetoothRFCOMM::saveSpecificAttribute( QTextStream & ) { 13void ABluetoothRFCOMM::saveSpecificAttribute( QTextStream & ) {
14} 14}
15 15
16 16
17QWidget * ABluetoothRFCOMM::edit( QWidget * parent ) { 17QWidget * ABluetoothRFCOMM::edit( QWidget * parent ) {
18 GUI = new BluetoothRFCOMMEdit( parent ); 18 GUI = new BluetoothRFCOMMEdit( parent );
19 GUI->showData( Data ); 19 GUI->showData( Data );
20 return GUI; 20 return GUI;
21} 21}
22 22
23QString ABluetoothRFCOMM::acceptable( void ) { 23QString ABluetoothRFCOMM::acceptable( void ) {
24 return ( GUI ) ? GUI->acceptable( ) : QString(); 24 return ( GUI ) ? GUI->acceptable( ) : QString();
25} 25}
26 26
27void ABluetoothRFCOMM::commit( void ) { 27void ABluetoothRFCOMM::commit( void ) {
28 if( GUI->commit( Data ) ) 28 if( GUI->commit( Data ) )
29 setModified( 1 ); 29 setModified( 1 );
30} 30}
31
32bool ABluetoothRFCOMM::hasDataFor( const QString & ) {
33 return 0;
34}
35
36bool ABluetoothRFCOMM::generateDataForCommonFile( SystemFile & , long ){
37 return 0;
38}