|
|
|
@ -345,7 +345,7 @@ KVpnc::~KVpnc()
|
|
|
|
|
delete DisconnectAction;
|
|
|
|
|
delete ProfileManagerAction;
|
|
|
|
|
delete NewProfileWizardAction;
|
|
|
|
|
delete DonateAction;
|
|
|
|
|
// delete DonateAction;
|
|
|
|
|
delete ReportBugAction;
|
|
|
|
|
delete DebugconsoleAction;
|
|
|
|
|
delete ToolsInfoAction;
|
|
|
|
@ -385,7 +385,7 @@ void KVpnc::initAction()
|
|
|
|
|
DisconnectAction = new KAction ( i18n ( "&Disconnect" ), "disconnected", CTRL + Key_Down, this, TQT_SLOT ( disconnectClicked() ), actionCollection(), "serverDisconnect" );
|
|
|
|
|
ProfileManagerAction = new KAction ( i18n ( "&Manage Profiles" ), "view_detailed", CTRL + Key_M, this, TQT_SLOT ( showProfileManagerClicked() ), actionCollection(), "profileManager" );
|
|
|
|
|
NewProfileWizardAction = new KAction ( i18n ( "&new Profile (Wizard)" ), "wizard", CTRL + Key_W, this, TQT_SLOT ( showNewProfileWizardClicked() ), actionCollection(), "NewProfileWizard" );
|
|
|
|
|
DonateAction = new KAction ( i18n ( "&Support KVpnc..." ), "donate", CTRL + Key_D, this, TQT_SLOT ( donateClicked() ), actionCollection(), "donate" );
|
|
|
|
|
// DonateAction = new KAction ( i18n ( "&Support KVpnc..." ), "donate", CTRL + Key_D, this, TQT_SLOT ( donateClicked() ), actionCollection(), "donate" );
|
|
|
|
|
ReportBugAction = new KAction ( i18n ( "&Report a bug..." ), "bug", CTRL + Key_R, this, TQT_SLOT ( reportBugClicked() ), actionCollection(), "reportbug" );
|
|
|
|
|
DebugconsoleAction = new KToggleAction ( i18n ( "Toggle Debug &Console" ), "text_center", CTRL + Key_C, this, TQT_SLOT ( toggleDebugConsole() ), actionCollection(), "debugconsole" );
|
|
|
|
|
ToolsInfoAction = new KToggleAction ( i18n ( "Show &Tools Info" ), "info", CTRL + Key_I, this, TQT_SLOT ( toolsInfoClicked() ), actionCollection(), "toolsinfo" );
|
|
|
|
@ -11366,7 +11366,7 @@ void KVpnc::vpnTypesInfoClicked()
|
|
|
|
|
VpnTypesInfoAction->setChecked ( false );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KVpnc::donateClicked()
|
|
|
|
|
/*void KVpnc::donateClicked()
|
|
|
|
|
{
|
|
|
|
|
this->slotStatusMsg ( i18n ( "Calling KVpnc website..." ), ID_FLASH_MSG );
|
|
|
|
|
TQString donateurl = "http://home.gna.org/kvpnc/en/donate.html";
|
|
|
|
@ -11402,11 +11402,11 @@ void KVpnc::donateClicked()
|
|
|
|
|
DonateProcess=0L;
|
|
|
|
|
|
|
|
|
|
this->slotStatusMsg ( i18n ( "Ready." ), ID_STATUS_MSG );
|
|
|
|
|
}
|
|
|
|
|
}*/
|
|
|
|
|
|
|
|
|
|
void KVpnc::reportBugClicked()
|
|
|
|
|
{
|
|
|
|
|
TQString bugreporturl = "https://gna.org/bugs/?group=kvpnc";
|
|
|
|
|
TQString bugreporturl = "http://bugs.trinitydesktop.org";
|
|
|
|
|
TQString browser = TQString ( KConfigGroup ( KGlobal::config(), "General" ).readEntry ( "BrowserApplication" ) ).remove ( "!", "" );
|
|
|
|
|
|
|
|
|
|
if ( browser.isEmpty() )
|
|
|
|
|