equal
deleted
inserted
replaced
21 |
21 |
22 #ifndef SMFTRANSPORTMANAGER_H_ |
22 #ifndef SMFTRANSPORTMANAGER_H_ |
23 #define SMFTRANSPORTMANAGER_H_ |
23 #define SMFTRANSPORTMANAGER_H_ |
24 |
24 |
25 // Include files |
25 // Include files |
26 #include <smfserverglobal.h> |
26 #include "smfserverglobal.h" |
27 |
27 |
28 // Qt mobility classes |
28 // Qt mobility classes |
29 #include <qnetworkconfigmanager.h> |
29 #include <qnetworkconfigmanager.h> |
30 #include <qsysteminfo.h> |
30 #include <qsysteminfo.h> |
31 |
31 |
56 public slots: |
56 public slots: |
57 /** |
57 /** |
58 * Method to initialize the transport component before |
58 * Method to initialize the transport component before |
59 * executing a web query |
59 * executing a web query |
60 * @return SmfTransportInitializeResult |
60 * @return SmfTransportInitializeResult |
61 * @see smfglobal.h |
|
62 */ |
61 */ |
63 SmfTransportInitializeResult initializeTransport ( ); |
62 SmfTransportInitializeResult initializeTransport ( ); |
64 |
63 |
65 /* |
64 /* |
66 * This slot is called whenever a new network configuration is added to the system. |
65 * This slot is called whenever a new network configuration is added to the system. |
89 |
88 |
90 /* |
89 /* |
91 * Method that checks if the phone is in home network or in roaming. |
90 * Method that checks if the phone is in home network or in roaming. |
92 * @param aStatus [out] An output parameter indicating the current network |
91 * @param aStatus [out] An output parameter indicating the current network |
93 * status as SmfNetworkStatus |
92 * status as SmfNetworkStatus |
94 * @see smfglobal.h |
|
95 */ |
93 */ |
96 void getCurrentNetworkStatus ( SmfNetworkStatus &aStatus ); |
94 void getCurrentNetworkStatus ( SmfNetworkStatus &aStatus ); |
97 |
95 |
98 private: |
96 private: |
99 /** |
97 /** |
114 static SmfTransportManager* m_myInstance; |
112 static SmfTransportManager* m_myInstance; |
115 |
113 |
116 /* |
114 /* |
117 * Member variable - QNetworkConfigurationManager instance |
115 * Member variable - QNetworkConfigurationManager instance |
118 */ |
116 */ |
119 QNetworkConfigurationManager m_netwConfigMngr; |
117 QNetworkConfigurationManager *m_netwConfigMngr; |
120 |
118 |
121 /* |
119 /* |
122 * Member variable - QSystemNetworkInfo instance |
120 * Member variable - QSystemNetworkInfo instance |
123 */ |
121 */ |
124 QSystemNetworkInfo m_systemInfo; |
122 QSystemNetworkInfo *m_systemInfo; |
|
123 |
125 }; |
124 }; |
126 |
125 |
127 #endif /* SMFTRANSPORTMANAGER_H_ */ |
126 #endif /* SMFTRANSPORTMANAGER_H_ */ |