equal
deleted
inserted
replaced
101 Active = 0x000000e |
101 Active = 0x000000e |
102 }; |
102 }; |
103 |
103 |
104 Q_DECLARE_FLAGS(StateFlags, StateFlag) |
104 Q_DECLARE_FLAGS(StateFlags, StateFlag) |
105 |
105 |
|
106 #ifndef QT_MOBILITY_BEARER |
|
107 enum BearerType { |
|
108 BearerUnknown, |
|
109 BearerEthernet, |
|
110 BearerWLAN, |
|
111 Bearer2G, |
|
112 BearerCDMA2000, |
|
113 BearerWCDMA, |
|
114 BearerHSPA, |
|
115 BearerBluetooth, |
|
116 BearerWiMAX |
|
117 }; |
|
118 #endif |
|
119 |
106 StateFlags state() const; |
120 StateFlags state() const; |
107 Type type() const; |
121 Type type() const; |
108 Purpose purpose() const; |
122 Purpose purpose() const; |
|
123 |
|
124 #ifndef QT_MOBILITY_BEARER |
|
125 #ifdef QT_DEPRECATED |
|
126 // Required to maintain source compatibility with Qt Mobility. |
|
127 QT_DEPRECATED inline QString bearerName() const { return bearerTypeName(); } |
|
128 #endif |
|
129 BearerType bearerType() const; |
|
130 QString bearerTypeName() const; |
|
131 #else |
109 QString bearerName() const; |
132 QString bearerName() const; |
|
133 #endif |
|
134 |
110 QString identifier() const; |
135 QString identifier() const; |
111 bool isRoamingAvailable() const; |
136 bool isRoamingAvailable() const; |
112 QList<QNetworkConfiguration> children() const; |
137 QList<QNetworkConfiguration> children() const; |
113 |
138 |
114 QString name() const; |
139 QString name() const; |