summaryrefslogtreecommitdiffstats
path: root/src/preferencesdialog.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-08-31 12:43:36 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-08-31 12:43:36 -0500
commitf4cef261c339c76ea446f029ceca4268840f6385 (patch)
treebdee8c01ab9ab05bed197de0f2ee7c5b8e6b5ab9 /src/preferencesdialog.cpp
parentbf9b0a6e01381c327617b9d5ae0cfe17686d6b22 (diff)
downloadkvpnc-f4cef261c339c76ea446f029ceca4268840f6385.tar.gz
kvpnc-f4cef261c339c76ea446f029ceca4268840f6385.zip
Rename KWallet to TDEWallet.
Diffstat (limited to 'src/preferencesdialog.cpp')
-rw-r--r--src/preferencesdialog.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp
index 3e88a4b..69fcce2 100644
--- a/src/preferencesdialog.cpp
+++ b/src/preferencesdialog.cpp
@@ -466,7 +466,7 @@ PreferencesDialog::PreferencesDialog( TQWidget *parent, TQApplication *app, TQTe
ConnectOptionsWidget->SilentQuitcheckBox->setChecked( GlobalConfig->useSilentQuit );
GeneralOptionsWidget->DontQuitOnCloseEventCheckBox->setChecked( GlobalConfig->dontQuitOnCloseEvent );
GeneralOptionsWidget->HideOnStartupCheckBox->setChecked (GlobalConfig->hideMainWindow);
- GeneralOptionsWidget->useKwalletCheckBox->setChecked( GlobalConfig->useKwallet );
+ GeneralOptionsWidget->useTDEwalletCheckBox->setChecked( GlobalConfig->useTDEwallet );
ConfigDaemonOptionsWidget->ProgramsInPathcheckBox->setChecked( GlobalConfig->programsInPath );
DebugOptionsWidget->KeepConnectionFilesCheckBox->setChecked( GlobalConfig->holdGeneratedScripts );
LogOptionsWidget->InfoLogLabel->setPaletteBackgroundColor ( GlobalConfig->InfoLogColor );
@@ -961,7 +961,7 @@ void PreferencesDialog::setupGui()
lo = new TQVBoxLayout( GeneralFrame, 0, KDialog::spacingHint() );
GeneralOptionsWidget = new ConfigGeneralOptions( GeneralFrame );
lo->addWidget( GeneralOptionsWidget );
- connect(GeneralOptionsWidget->useKwalletCheckBox, TQT_SIGNAL(toggled(bool)),this, TQT_SLOT(useKwalletToggled(bool)));
+ connect(GeneralOptionsWidget->useTDEwalletCheckBox, TQT_SIGNAL(toggled(bool)),this, TQT_SLOT(useTDEwalletToggled(bool)));
// const TQObjectList *GeneralOptionsWidgetList = GeneralOptionsWidget->queryList( TQCHECKBOX_OBJECT_NAME_STRING );
// TQObjectListIt it( *GeneralOptionsWidgetList );
@@ -1652,7 +1652,7 @@ void PreferencesDialog::accept()
GlobalConfig->showDebugConsole = DebugOptionsWidget->showDebugCheck->isChecked();
GlobalConfig->useSilentQuit = ConnectOptionsWidget->SilentQuitcheckBox->isChecked();
GlobalConfig->dontQuitOnCloseEvent = GeneralOptionsWidget->DontQuitOnCloseEventCheckBox->isChecked();
- GlobalConfig->useKwallet = GeneralOptionsWidget->useKwalletCheckBox->isChecked();
+ GlobalConfig->useTDEwallet = GeneralOptionsWidget->useTDEwalletCheckBox->isChecked();
GlobalConfig->writeLogFile = DebugOptionsWidget->WriteLogCheck->isChecked();
GlobalConfig->KvpncDebugLevel = DebugOptionsWidget->spinKvpncDebugLevel->value();
GlobalConfig->RacoonDebugLevel = ConfigDaemonOptionsWidget->RacoonDebugLevelComboBox->currentText();
@@ -4473,7 +4473,7 @@ void PreferencesDialog::saveSessionClicked()
GlobalConfig->useSilentQuit = ConnectOptionsWidget->SilentQuitcheckBox->isChecked();
GlobalConfig->dontQuitOnCloseEvent = GeneralOptionsWidget->DontQuitOnCloseEventCheckBox->isChecked();
GlobalConfig->hideMainWindow = GeneralOptionsWidget->HideOnStartupCheckBox->isChecked ();
- GlobalConfig->useKwallet = GeneralOptionsWidget->useKwalletCheckBox->isChecked();
+ GlobalConfig->useTDEwallet = GeneralOptionsWidget->useTDEwalletCheckBox->isChecked();
GlobalConfig->programsInPath =ConfigDaemonOptionsWidget->ProgramsInPathcheckBox->isChecked();
GlobalConfig->holdGeneratedScripts = DebugOptionsWidget->KeepConnectionFilesCheckBox->isChecked();
GlobalConfig->InfoLogColor = LogOptionsWidget->InfoLogLabel->paletteBackgroundColor ();
@@ -7016,20 +7016,20 @@ void PreferencesDialog::natModeToggled( const TQString &)
}
}
-void PreferencesDialog::useKwalletToggled(bool)
+void PreferencesDialog::useTDEwalletToggled(bool)
{
- if (!GeneralOptionsWidget->useKwalletCheckBox->isChecked())
+ if (!GeneralOptionsWidget->useTDEwalletCheckBox->isChecked())
{
int result = KMessageBox::questionYesNo ( this, i18n ( "Do you really want disable the use of TDEWallet? KVpnc will save passwords and psk in config file if requested." ), i18n ( "Disable TDEWallet?" ) );
//LogOutput->append( "Result: "+ TQString().setNum(result) ) ;
if ( result == 2 || result == 4 ) // No or Cancel
{
- GeneralOptionsWidget->useKwalletCheckBox->setChecked(true);
- GlobalConfig->useKwallet=true;
+ GeneralOptionsWidget->useTDEwalletCheckBox->setChecked(true);
+ GlobalConfig->useTDEwallet=true;
}
if (result == 3) //Yes
- GlobalConfig->useKwallet=false;
+ GlobalConfig->useTDEwallet=false;
}
}