author | wimpie <wimpie> | 2004-04-02 18:30:55 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2004-04-02 18:30:55 (UTC) |
commit | 4ea2f227d3fb0d9591bb4f18555420ac47f3397d (patch) (unidiff) | |
tree | 4fdd216cf7af4a747e2ca71e35d15f3d9e646333 /noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp | |
parent | 5334b639c9f97793bcae4f50f7b47c7a2ada4e2f (diff) | |
download | opie-4ea2f227d3fb0d9591bb4f18555420ac47f3397d.zip opie-4ea2f227d3fb0d9591bb4f18555420ac47f3397d.tar.gz opie-4ea2f227d3fb0d9591bb4f18555420ac47f3397d.tar.bz2 |
first import of NS2 app
Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NNI.cpp') (more/less context) (show 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 @@ | |||
1 | #include "bluetoothRFCOMMedit.h" | ||
2 | #include "bluetoothRFCOMM_NNI.h" | ||
3 | #include "bluetooth_NN.h" | ||
4 | |||
5 | ABluetoothRFCOMM::ABluetoothRFCOMM( BluetoothRFCOMMNetNode * PNN ) : ANetNodeInstance( PNN ) { | ||
6 | GUI = 0; | ||
7 | RT = 0; | ||
8 | } | ||
9 | |||
10 | void ABluetoothRFCOMM::setSpecificAttribute( QString & , QString & ) { | ||
11 | } | ||
12 | |||
13 | void ABluetoothRFCOMM::saveSpecificAttribute( QTextStream & ) { | ||
14 | } | ||
15 | |||
16 | |||
17 | QWidget * ABluetoothRFCOMM::edit( QWidget * parent ) { | ||
18 | GUI = new BluetoothRFCOMMEdit( parent ); | ||
19 | GUI->showData( Data ); | ||
20 | return GUI; | ||
21 | } | ||
22 | |||
23 | QString ABluetoothRFCOMM::acceptable( void ) { | ||
24 | return ( GUI ) ? GUI->acceptable( ) : QString(); | ||
25 | } | ||
26 | |||
27 | void ABluetoothRFCOMM::commit( void ) { | ||
28 | if( GUI->commit( Data ) ) | ||
29 | setModified( 1 ); | ||
30 | } | ||