Ok Ok, sorry. I was just kidding(it is just a hakish method, as no public api exists) and the wiki article is not written by me. Proper symbian api(found in my old codes, don't know from where i got this) is:
Originally Posted by dahiya.vinod
Create this header:
include sysutil.lib in your mmp
// Normal startup reasons (100..149)
// Nothing set the (default value).
ESWNone = 100,
// Restore Factory Settings (Normal)
ESWRestoreFactorySet = 101,
// Language Switched
ESWLangSwitch = 102,
// Warranty transfer
ESWWarrantyTransfer = 103,
// Possibly needed for handling
// power off & charger connected use case.
ESWChargerConnected = 104,
// Restore Factory Settings (Deep)
ESWRestoreFactorySetDeep = 105
//wrapper class (hacked) to restart the system
IMPORT_C static TInt ShutdownAndRestart( const class TUid& aSource, TSWStartupReason aReason);
lsysutil in your qt pro file.
and use this code to reboot: