![]() |
2010-04-26
, 09:38
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#2
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-04-26
, 12:21
|
Posts: 58 |
Thanked: 10 times |
Joined on Dec 2009
|
#3
|
![]() |
2010-04-27
, 10:52
|
Posts: 58 |
Thanked: 10 times |
Joined on Dec 2009
|
#4
|
![]() |
2010-04-27
, 10:57
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#5
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-04-27
, 11:10
|
Posts: 58 |
Thanked: 10 times |
Joined on Dec 2009
|
#6
|
Are you using Qt? I have no idea then, sorry. Qt probably has a connectivity wrapper somewhere; you could try using that, instead, if it exists.
Alternatively, just use QDBus. ICD2 emits signals and has methods for getting the current state etc.
I am developing an application for N900.
It requires an Internet connection to work.
The initial data is fetched from a web service.
So, on startup I need to check is there an internet connection.
If true continue loading the application, if not show the connections dialog (like in email application when you click send/recieve but no internet is connected).
Otherwise it will print errors in my comboboxes.
How to do this in Python?