Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetooth_NN.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/bluetooth/bluetooth_NN.h | 57 |
1 files changed, 21 insertions, 36 deletions
diff --git a/noncore/settings/networksettings2/bluetooth/bluetooth_NN.h b/noncore/settings/networksettings2/bluetooth/bluetooth_NN.h index 2e5e1d2..4d6a3c1 100644 --- a/noncore/settings/networksettings2/bluetooth/bluetooth_NN.h +++ b/noncore/settings/networksettings2/bluetooth/bluetooth_NN.h | |||
@@ -6,33 +6,25 @@ | |||
6 | class ABluetoothBNEP; | 6 | class ABluetoothBNEP; |
7 | 7 | ||
8 | class BluetoothBNEPNetNode : public ANetNode { | 8 | class BluetoothBNEPNetNode : public ANetNode { |
9 | 9 | ||
10 | Q_OBJECT | 10 | Q_OBJECT |
11 | 11 | ||
12 | public: | 12 | public: |
13 | 13 | ||
14 | BluetoothBNEPNetNode(); | 14 | BluetoothBNEPNetNode(); |
15 | virtual ~BluetoothBNEPNetNode(); | 15 | virtual ~BluetoothBNEPNetNode(); |
16 | 16 | ||
17 | virtual const QString pixmapName() | 17 | virtual QString genNic( long ); |
18 | { return "Devices/bluetooth"; } | 18 | virtual long instanceCount( void ) |
19 | { return InstanceCount; } | ||
20 | virtual const QString pixmapName() | ||
21 | { return "Devices/bluetooth"; } | ||
19 | 22 | ||
20 | virtual const QString nodeDescription() ; | 23 | virtual const QString nodeDescription() ; |
21 | 24 | virtual ANetNodeInstance * createInstance( void ); | |
22 | virtual ANetNodeInstance * createInstance( void ); | 25 | virtual const char * provides( void ); |
23 | 26 | virtual const char ** needs( void ); | |
24 | virtual const char ** needs( void ); | ||
25 | virtual const char * provides( void ); | ||
26 | |||
27 | virtual bool generateProperFilesFor( ANetNodeInstance * NNI ); | ||
28 | virtual bool hasDataFor( const QString & S ); | ||
29 | virtual bool generateDeviceDataForCommonFile( | ||
30 | SystemFile & , long DevNr ); | ||
31 | |||
32 | virtual long instanceCount( void ) | ||
33 | { return InstanceCount; } | ||
34 | virtual QString genNic( long ); | ||
35 | 27 | ||
36 | private: | 28 | private: |
37 | 29 | ||
38 | virtual void setSpecificAttribute( QString & Attr, QString & Value ); | 30 | virtual void setSpecificAttribute( QString & Attr, QString & Value ); |
@@ -44,29 +36,22 @@ private: | |||
44 | }; | 36 | }; |
45 | 37 | ||
46 | class BluetoothRFCOMMNetNode : public ANetNode { | 38 | class BluetoothRFCOMMNetNode : public ANetNode { |
47 | 39 | ||
48 | Q_OBJECT | 40 | Q_OBJECT |
49 | 41 | ||
50 | public: | 42 | public: |
51 | 43 | ||
52 | BluetoothRFCOMMNetNode(); | 44 | BluetoothRFCOMMNetNode(); |
53 | virtual ~BluetoothRFCOMMNetNode(); | 45 | virtual ~BluetoothRFCOMMNetNode(); |
54 | |||
55 | virtual const QString pixmapName() | ||
56 | { return "Devices/bluetooth"; } | ||
57 | |||
58 | virtual const QString nodeDescription() ; | ||
59 | |||
60 | virtual ANetNodeInstance * createInstance( void ); | ||
61 | 46 | ||
62 | virtual const char ** needs( void ); | 47 | virtual const QString pixmapName() |
63 | virtual const char * provides( void ); | 48 | { return "Devices/bluetooth"; } |
64 | 49 | ||
65 | virtual bool generateProperFilesFor( ANetNodeInstance * NNI ); | 50 | virtual const QString nodeDescription() ; |
66 | virtual bool hasDataFor( const QString & S ); | 51 | virtual ANetNodeInstance * createInstance( void ); |
67 | virtual bool generateDeviceDataForCommonFile( | 52 | virtual const char ** needs( void ); |
68 | SystemFile & , long ); | 53 | virtual const char * provides( void ); |
69 | 54 | ||
70 | private: | 55 | private: |
71 | 56 | ||
72 | virtual void setSpecificAttribute( QString & Attr, QString & Value ); | 57 | virtual void setSpecificAttribute( QString & Attr, QString & Value ); |