diff -r 40a3f856b14d -r 41a7f70b3818 phoneapp/phoneuiview2/tsrc/ut_phoneuiqtview/qsysteminfo.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phoneapp/phoneuiview2/tsrc/ut_phoneuiqtview/qsysteminfo.h Tue Aug 31 15:14:29 2010 +0300 @@ -0,0 +1,54 @@ +/* +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ +#ifndef QSYSTEMINFO_H +#define QSYSTEMINFO_H + +#include + +namespace QtMobility { + +} + +class QSystemNetworkInfo : public QObject +{ + Q_OBJECT + +public: + + enum NetworkMode { + UnknownMode=0, + GsmMode, + CdmaMode, + WcdmaMode, + WlanMode, + EthernetMode, + BluetoothMode, + WimaxMode + }; + + QSystemNetworkInfo (QObject *parent = 0); + virtual ~QSystemNetworkInfo () {}; + static QString networkName(QSystemNetworkInfo::NetworkMode mode); + +signals: + void networkNameChanged(QSystemNetworkInfo::NetworkMode,const QString &); + +private: + +}; + +#endif // QSYSTEMINFO_H