equal
deleted
inserted
replaced
30 * Method to get the instance of SmfTransportManager class |
30 * Method to get the instance of SmfTransportManager class |
31 * @return The instance of SmfTransportManager class |
31 * @return The instance of SmfTransportManager class |
32 */ |
32 */ |
33 SmfTransportManager* SmfTransportManager::getInstance ( ) |
33 SmfTransportManager* SmfTransportManager::getInstance ( ) |
34 { |
34 { |
35 qDebug()<<"Inside SmfTransportManager::getInstance()"; |
|
36 if(NULL == m_myInstance) |
35 if(NULL == m_myInstance) |
37 m_myInstance = new SmfTransportManager( ); |
36 m_myInstance = new SmfTransportManager( ); |
38 return m_myInstance; |
37 return m_myInstance; |
39 } |
38 } |
40 |
39 |
42 * Constructor with default argument |
41 * Constructor with default argument |
43 * @param aParent The parent object |
42 * @param aParent The parent object |
44 */ |
43 */ |
45 SmfTransportManager::SmfTransportManager ( ) |
44 SmfTransportManager::SmfTransportManager ( ) |
46 { |
45 { |
47 qDebug()<<"Inside SmfTransportManager::SmfTransportManager()"; |
|
48 |
|
49 m_systemInfo = new QSystemNetworkInfo(this); |
46 m_systemInfo = new QSystemNetworkInfo(this); |
50 |
47 |
51 m_netwConfigMngr = new QNetworkConfigurationManager(this); |
48 m_netwConfigMngr = new QNetworkConfigurationManager(this); |
52 |
49 |
53 // Register for monitoring changes in IAPs (network configurations) |
50 // Register for monitoring changes in IAPs (network configurations) |