PDA

View Full Version : setting date and time



nighil
23rd January 2011, 07:58
Working to develop a administrative tool(works on gnome and kde) in Qt.Anyone with idea how to change ip address of system which has ubuntu OS. using a Qt application.I want to show also the existing ip address of the system

bothorsen
23rd January 2011, 09:28
You can get the list of IP addresses from the QNetworkInterface class.

Added after 4 minutes:

Whoops, forgot the other part.

There is no Qt way to modify network interfaces. You have to figure out the OS specific way to do it. In Ubuntu that means the NetworkManager.

nighil
24th January 2011, 16:32
I tried and succesfully developed the application to display ip address of the system.How can i develop a Qt application to change the ip address