summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/opietooth2/OTGateway.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/OTGateway.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings2/opietooth2/OTGateway.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/OTGateway.h b/noncore/settings/networksettings2/opietooth2/OTGateway.h
index 11c6b30..d0e42db 100644
--- a/noncore/settings/networksettings2/opietooth2/OTGateway.h
+++ b/noncore/settings/networksettings2/opietooth2/OTGateway.h
@@ -14,17 +14,17 @@ namespace Opietooth2 {
class OTDriverList;
class OTDriver;
class OTDevice;
class OTPeer;
class OTInquiry;
-class OTPANConnection;
+class OTPANNetworkSetup;
class OTLinkKey;
typedef QVector<OTPeer> PeerVector;
-typedef QVector<OTPANConnection> PANConnectionVector;
+typedef QVector<OTPANNetworkSetup> PANNetworkSetupVector;
typedef QArray<OTLinkKey> LinkKeyArray;
class OTLinkKey {
public :
@@ -40,17 +40,17 @@ public :
{ return From; }
OTDeviceAddress From;
OTDeviceAddress To;
};
-class OTPANConnection {
+class OTPANNetworkSetup {
public :
- OTPANConnection( const QString & Dev, const QString & CT ) {
+ OTPANNetworkSetup( const QString & Dev, const QString & CT ) {
Device = Dev;
ConnectedTo = CT;
}
QString Device;
QString ConnectedTo;
@@ -89,13 +89,13 @@ public :
OTDriverList & getDriverList()
{ return AllDrivers; }
OTDriver * driver( int nr )
{ return AllDrivers.count() == 0 ? 0 : AllDrivers[nr]; }
void updateDrivers();
- PANConnectionVector getPANConnections();
+ PANNetworkSetupVector getPANNetworkSetups();
// scan neighbourhood using device
void scanNeighbourhood( OTDriver * D = 0 );
void stopScanOfNeighbourhood(void );
void setScanWith( OTDriver * D = 0 )
{ ScanWith = (D) ? D :
@@ -170,13 +170,13 @@ protected :
void disconnectNotify( const char * Signal );
void timerEvent( QTimerEvent * );
private :
- void loadActiveConnections( void );
+ void loadActiveNetworkSetups( void );
void loadKnownPeers( void );
void saveKnownPeers( void );
bool isConnectedTo( int devid,
const OTDeviceAddress & Address );
void readLinkKeys();