summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-08-27 23:14:43 -0500
committerTimothy Pearson <[email protected]>2013-08-27 23:14:43 -0500
commite9cffd9b85189371a92e50a50c53d0c95d75d1dc (patch)
tree5bac4a5e54ace5bf888da742b35762040715ad95 /src
parent144b852f3ba80e8afa9ed1556ccfd51c5f6cd7e0 (diff)
downloadkvpnc-e9cffd9b85189371a92e50a50c53d0c95d75d1dc.tar.gz
kvpnc-e9cffd9b85189371a92e50a50c53d0c95d75d1dc.zip
Rename KWallet to TDEWallet
Diffstat (limited to 'src')
-rw-r--r--src/configgeneraloptions.ui2
-rw-r--r--src/enterpassworddialogbase.ui6
-rw-r--r--src/kvpnc.cpp4
-rw-r--r--src/kvpncconfig.cpp38
-rw-r--r--src/kvpncconfig.h2
-rw-r--r--src/newprofiledialogbase.ui4
-rw-r--r--src/newprofilewizardciscomanually.ui2
-rw-r--r--src/newprofilewizardpsk.ui2
-rw-r--r--src/newprofilewizarduser.ui4
-rw-r--r--src/preferencesdialog.cpp2
-rw-r--r--src/profilepskoptionsbase.ui2
-rw-r--r--src/profileuseroptionsbase.ui4
12 files changed, 36 insertions, 36 deletions
diff --git a/src/configgeneraloptions.ui b/src/configgeneraloptions.ui
index 1286932..8a18188 100644
--- a/src/configgeneraloptions.ui
+++ b/src/configgeneraloptions.ui
@@ -64,7 +64,7 @@
<string>Alt+W</string>
</property>
<property name="toolTip" stdset="0">
- <string>Use KWallet for secure store passwords</string>
+ <string>Use TDEWallet for secure store passwords</string>
</property>
<property name="whatsThis" stdset="0">
<string></string>
diff --git a/src/enterpassworddialogbase.ui b/src/enterpassworddialogbase.ui
index 21e0268..296d593 100644
--- a/src/enterpassworddialogbase.ui
+++ b/src/enterpassworddialogbase.ui
@@ -251,7 +251,7 @@
<string>Alt+U</string>
</property>
<property name="toolTip" stdset="0">
- <string>Save username, shared secret and password &lt;br&gt;in config file or in KWallet</string>
+ <string>Save username, shared secret and password &lt;br&gt;in config file or in TDEWallet</string>
</property>
</widget>
<widget class="TQCheckBox">
@@ -265,7 +265,7 @@
<string></string>
</property>
<property name="toolTip" stdset="0">
- <string>Save username, shared secret and password &lt;br&gt;in config file or in KWallet</string>
+ <string>Save username, shared secret and password &lt;br&gt;in config file or in TDEWallet</string>
</property>
</widget>
<widget class="TQCheckBox">
@@ -279,7 +279,7 @@
<string></string>
</property>
<property name="toolTip" stdset="0">
- <string>Save username, shared secret and password &lt;br&gt;in config file or in KWallet</string>
+ <string>Save username, shared secret and password &lt;br&gt;in config file or in TDEWallet</string>
</property>
</widget>
</vbox>
diff --git a/src/kvpnc.cpp b/src/kvpnc.cpp
index 2883723..48f9a15 100644
--- a/src/kvpnc.cpp
+++ b/src/kvpnc.cpp
@@ -11225,10 +11225,10 @@ void KVpnc::helpClicked()
// KMessageBox::information(0,extip,"ext ip" );
// /* passwords with tdewallet */
- // if (GlobalConfig->useKwallet && KWallet::Wallet::isEnabled())
+ // if (GlobalConfig->useKwallet && TDEWallet::Wallet::isEnabled())
// {
// // Open local wallet
- // GlobalConfig->wallet = KWallet::Wallet::openWallet(KWallet::Wallet::LocalWallet());
+ // GlobalConfig->wallet = TDEWallet::Wallet::openWallet(TDEWallet::Wallet::LocalWallet());
// if (GlobalConfig->wallet != 0)
// {
//
diff --git a/src/kvpncconfig.cpp b/src/kvpncconfig.cpp
index 25e8b41..63c5290 100644
--- a/src/kvpncconfig.cpp
+++ b/src/kvpncconfig.cpp
@@ -410,7 +410,7 @@ void KVpncConfig::saveOptions(bool saveOneProfile, TQString Profile)
config->writeEntry( "Mainwindow position y", parent->y() );
config->writeEntry("Openvpn management port", OpenvpnManagementPort );
//config->writeEntry( "ToolBar Settings" ,parent->toolBar( "mainToolBar" ));
- config->writeEntry("Use KWallet",useKwallet);
+ config->writeEntry("Use TDEWallet",useKwallet);
config->writeEntry("FeedbackMailSent",feedbackMailSent);
config->writeEntry("Do kill l2tpd if still running",doKillL2tpdIfStillRunning);
config->writeEntry("Do kill racoon if still running",doKillRacoonIfStillRunning);
@@ -426,21 +426,21 @@ void KVpncConfig::saveOptions(bool saveOneProfile, TQString Profile)
//appPointer->processEvents();
}
- if (useKwallet && KWallet::Wallet::isEnabled())
+ if (useKwallet && TDEWallet::Wallet::isEnabled())
config->writeEntry( "First use of Kwallet", false );
/* = user data = */
VpnAccountData *it;
if ( !AccountList->isEmpty() )
{
/* passwords with tdewallet */
- if ( useKwallet && KWallet::Wallet::isEnabled())
+ if ( useKwallet && TDEWallet::Wallet::isEnabled())
{
if (!skipKwalletStoring )
{
if (KvpncDebugLevel > 2)
appendLogEntry(i18n( "Wallet enabled and available, writing to wallet." ),debug);
// Open local wallet
- wallet = KWallet::Wallet::openWallet(KWallet::Wallet::LocalWallet());
+ wallet = TDEWallet::Wallet::openWallet(TDEWallet::Wallet::LocalWallet());
//appPointer->processEvents();
if (wallet != 0)
{
@@ -488,7 +488,7 @@ void KVpncConfig::saveOptions(bool saveOneProfile, TQString Profile)
config->writeEntry("Description",it->getDescription());
/* passwords with tdewallet */
- if ( useKwallet && KWallet::Wallet::isEnabled())
+ if ( useKwallet && TDEWallet::Wallet::isEnabled())
{
if (!skipKwalletStoring )
{
@@ -543,7 +543,7 @@ void KVpncConfig::saveOptions(bool saveOneProfile, TQString Profile)
// i18n( "KVpnc is unable to save %1 password securely in your wallet.<br>"
// "Do you want to save the password in the <b>unsafe</b> configuration file instead?" ).arg(i18n("user password")),
// i18n( "Unable to store secure %1" ).arg(i18n("user password")),
- // KGuiItem( i18n( "Store &Unsafe" ), TQString::fromLatin1( "unlock" ),TQString::fromLatin1( "KWalletFallbackToTDEConfig" ) ) ) == KMessageBox::Continue )
+ // KGuiItem( i18n( "Store &Unsafe" ), TQString::fromLatin1( "unlock" ),TQString::fromLatin1( "TDEWalletFallbackToTDEConfig" ) ) ) == KMessageBox::Continue )
// {
// config->writeEntry( "User password", it->getUserPassword() );
// }
@@ -560,7 +560,7 @@ void KVpncConfig::saveOptions(bool saveOneProfile, TQString Profile)
// i18n( "KVpnc is unable to save %1 password securely in your wallet.<br>"
// "Do you want to save the password in the <b>unsafe</b> configuration file instead?" ).arg(i18n("pre shared key")),
// i18n( "Unable to store secure %1" ).arg(i18n("pre shared key")),
- // KGuiItem( i18n( "Store &Unsafe" ), TQString::fromLatin1( "unlock" ),TQString::fromLatin1( "KWalletFallbackToTDEConfig" ) ) ) == KMessageBox::Continue )
+ // KGuiItem( i18n( "Store &Unsafe" ), TQString::fromLatin1( "unlock" ),TQString::fromLatin1( "TDEWalletFallbackToTDEConfig" ) ) ) == KMessageBox::Continue )
// {
// config->writeEntry( "Pre shared key", it->getPreSharedKey() );
// }
@@ -576,7 +576,7 @@ void KVpncConfig::saveOptions(bool saveOneProfile, TQString Profile)
// i18n( "KVpnc is unable to save %1 password securely in your wallet.<br>"
// "Do you want to save the password in the <b>unsafe</b> configuration file instead?" ).arg(i18n("preshared key password")),
// i18n( "Unable to store secure %1" ).arg(i18n("reshared key password")),
- // KGuiItem( i18n( "Store &Unsafe" ), TQString::fromLatin1( "unlock" ),TQString::fromLatin1( "KWalletFallbackToTDEConfig" ) ) ) == KMessageBox::Continue )
+ // KGuiItem( i18n( "Store &Unsafe" ), TQString::fromLatin1( "unlock" ),TQString::fromLatin1( "TDEWalletFallbackToTDEConfig" ) ) ) == KMessageBox::Continue )
// {
// config->writeEntry( "Pre shared key", it->getPreSharedKey() );
// }
@@ -591,7 +591,7 @@ void KVpncConfig::saveOptions(bool saveOneProfile, TQString Profile)
// i18n( "KVpnc is unable to save %1 password securely in your wallet.<br>"
// "Do you want to save the password in the <b>unsafe</b> configuration file instead?" ).arg(i18n("preshared key password")),
// i18n( "Unable to store secure %1" ).arg(i18n("reshared key password")),
- // KGuiItem( i18n( "Store &Unsafe" ), TQString::fromLatin1( "unlock" ),TQString::fromLatin1( "KWalletFallbackToTDEConfig" ) ) ) == KMessageBox::Continue )
+ // KGuiItem( i18n( "Store &Unsafe" ), TQString::fromLatin1( "unlock" ),TQString::fromLatin1( "TDEWalletFallbackToTDEConfig" ) ) ) == KMessageBox::Continue )
// {
// config->writeEntry( "Pre shared key", it->getPreSharedKey() );
// }
@@ -892,7 +892,7 @@ void KVpncConfig::saveOptions(bool saveOneProfile, TQString Profile)
// if ( !skipKwalletStoring && wallet != 0)
-// if (useKwallet && KWallet::Wallet::isEnabled())
+// if (useKwallet && TDEWallet::Wallet::isEnabled())
// if (wallet->isOpen())
// wallet->sync();
config->sync();
@@ -1036,7 +1036,7 @@ void KVpncConfig::loadOptions()
}
}
- useKwallet = config->readBoolEntry("Use KWallet", true);
+ useKwallet = config->readBoolEntry("Use TDEWallet", true);
firstUseOfKwallet = config->readBoolEntry( "First use of Kwallet", true );
feedbackMailSent = config->readBoolEntry("FeedbackMailSent",false);
doKillL2tpdIfStillRunning = config->readBoolEntry("Do kill l2tpd if still running",true);
@@ -1096,12 +1096,12 @@ void KVpncConfig::loadOptions()
TQString PreSharedKey ="";
/* passwords with tdewallet */
- if (useKwallet && KWallet::Wallet::isEnabled())
+ if (useKwallet && TDEWallet::Wallet::isEnabled())
{
if (KvpncDebugLevel > 2)
appendLogEntry(i18n( "Wallet enabled and available, reading passwords from wallet." ),debug);
// Open local wallet
- wallet = KWallet::Wallet::openWallet(KWallet::Wallet::LocalWallet());
+ wallet = TDEWallet::Wallet::openWallet(TDEWallet::Wallet::LocalWallet());
if (wallet != 0)
{
TQString walletname="kvpnc";
@@ -1156,7 +1156,7 @@ void KVpncConfig::loadOptions()
{
if (KvpncDebugLevel > 2)
{
- if (useKwallet && KWallet::Wallet::isEnabled() && firstUseOfKwallet)
+ if (useKwallet && TDEWallet::Wallet::isEnabled() && firstUseOfKwallet)
appendLogEntry(i18n( "Wallet enabled, available but first time, reading passwords from config file." ),debug);
else
appendLogEntry(i18n( "Wallet disabled or not available, reading passwords from config file." ),debug);
@@ -1743,7 +1743,7 @@ bool KVpncConfig::exportKvpncConfig(TQString filename)
ExportStream << "\t\t<option name=\"Openvpn management port\"" << " type=\"int\"" << ">" << int(OpenvpnManagementPort)<< "</option>\n";
ExportStream << "\t\t<option name=\"hideOnCloseInfo\"" << " type=\"bool\"" << ">" << int(hideOnCloseInfo)<< "</option>\n";
// ExportStream << "\t\t<option name=\"ToolBar Settings\"" << " type=\"bool\"" << ">" << parent->toolBar( "mainToolBar" )<< "</option>\n";
- ExportStream << "\t\t<option name=\"Use KWallet\"" << " type=\"bool\"" << ">" << int(useKwallet)<< "</option>\n";
+ ExportStream << "\t\t<option name=\"Use TDEWallet\"" << " type=\"bool\"" << ">" << int(useKwallet)<< "</option>\n";
ExportStream << "\t\t<option name=\"FeedbackMailSent\"" << " type=\"bool\"" << ">" << int(feedbackMailSent)<< "</option>\n";
ExportStream << "\t\t<option name=\"Do kill l2tpd if still running\"" << " type=\"bool\"" << ">" << int(doKillL2tpdIfStillRunning)<< "</option>\n";
ExportStream << "\t\t<option name=\"Do kill xl2tpd if still running\"" << " type=\"bool\"" << ">" << int(doKillXl2tpdIfStillRunning)<< "</option>\n";
@@ -2258,7 +2258,7 @@ bool KVpncConfig::importKvpncConfig(TQString filename, TQString& RetName, bool&
else if ( n1.toElement().tagName() == "Openvpn management port" ) { OpenvpnManagementPort = n1.toElement().text().toInt(); }
else if ( n1.toElement().tagName() == "hideOnCloseInfo" ) { hideOnCloseInfo = n1.toElement().text().toInt(); }
// else if (n1.toElement().tagName() == "ToolBar Settings") { parent->toolBar( "mainToolBar" ) = n1.toElement().text(); }
- else if ( n1.toElement().tagName() == "Use KWallet" ) { useKwallet = n1.toElement().text().toInt(); }
+ else if ( n1.toElement().tagName() == "Use TDEWallet" ) { useKwallet = n1.toElement().text().toInt(); }
else if ( n1.toElement().tagName() == "FeedbackMailSent" ) { feedbackMailSent = n1.toElement().text().toInt(); }
else if ( n1.toElement().tagName() == "Do kill l2tpd if still running" ) { doKillL2tpdIfStillRunning = n1.toElement().text().toInt(); }
else if ( n1.toElement().tagName() == "Do kill xl2tpd if still running" ) { doKillXl2tpdIfStillRunning = n1.toElement().text().toInt(); }
@@ -4344,7 +4344,7 @@ void KVpncConfig::removeEntry(TQString Name)
appPointer->processEvents();
- if (useKwallet && KWallet::Wallet::isEnabled())
+ if (useKwallet && TDEWallet::Wallet::isEnabled())
config->deleteEntry( "First use of Kwallet", false );
/* = user data = */
VpnAccountData *it;
@@ -4363,12 +4363,12 @@ void KVpncConfig::removeEntry(TQString Name)
config->setGroup( ProfileName );
/* passwords with tdewallet */
- if ( useKwallet && KWallet::Wallet::isEnabled())
+ if ( useKwallet && TDEWallet::Wallet::isEnabled())
{
// if (KvpncDebugLevel > 0)
// appendLogEntry(i18n( "Wallet enabled and available, writing to wallet." ),debug);
// // Open local wallet
- wallet = KWallet::Wallet::openWallet(KWallet::Wallet::LocalWallet());
+ wallet = TDEWallet::Wallet::openWallet(TDEWallet::Wallet::LocalWallet());
if (wallet != 0)
{
TQString walletname="kvpnc";
diff --git a/src/kvpncconfig.h b/src/kvpncconfig.h
index a2c2c00..37dd9f4 100644
--- a/src/kvpncconfig.h
+++ b/src/kvpncconfig.h
@@ -197,7 +197,7 @@ public:
TQFile logfile;
TQTextStream logFileStream;
TQTextEdit *LogOutput;
- KWallet::Wallet *wallet;
+ TDEWallet::Wallet *wallet;
TDEConfig* config; //< configuration data
TQPoint WindowPos;
diff --git a/src/newprofiledialogbase.ui b/src/newprofiledialogbase.ui
index 82e4429..6355a65 100644
--- a/src/newprofiledialogbase.ui
+++ b/src/newprofiledialogbase.ui
@@ -217,7 +217,7 @@
<string>Alt+S</string>
</property>
<property name="toolTip" stdset="0">
- <string>Save the user password in config file (or in KWallet if available)</string>
+ <string>Save the user password in config file (or in TDEWallet if available)</string>
</property>
</widget>
<widget class="TQLabel" row="7" column="0">
@@ -362,7 +362,7 @@
<string>Alt+G</string>
</property>
<property name="toolTip" stdset="0">
- <string>Save the group password in config file (or in KWallet if available)</string>
+ <string>Save the group password in config file (or in TDEWallet if available)</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
diff --git a/src/newprofilewizardciscomanually.ui b/src/newprofilewizardciscomanually.ui
index 4d24416..1afb9a3 100644
--- a/src/newprofilewizardciscomanually.ui
+++ b/src/newprofilewizardciscomanually.ui
@@ -72,7 +72,7 @@
<string>Alt+P</string>
</property>
<property name="toolTip" stdset="0">
- <string>Save the group password in config file (or in KWallet if available)</string>
+ <string>Save the group password in config file (or in TDEWallet if available)</string>
</property>
</widget>
<spacer row="3" column="2">
diff --git a/src/newprofilewizardpsk.ui b/src/newprofilewizardpsk.ui
index 1d918fd..7454b18 100644
--- a/src/newprofilewizardpsk.ui
+++ b/src/newprofilewizardpsk.ui
@@ -57,7 +57,7 @@
<string>Alt+V</string>
</property>
<property name="toolTip" stdset="0">
- <string>Save Pre-shared key in config file (or in KWallet if available)</string>
+ <string>Save Pre-shared key in config file (or in TDEWallet if available)</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0" rowspan="1" colspan="2">
diff --git a/src/newprofilewizarduser.ui b/src/newprofilewizarduser.ui
index b435e3d..cd466b9 100644
--- a/src/newprofilewizarduser.ui
+++ b/src/newprofilewizarduser.ui
@@ -173,7 +173,7 @@
<string>Alt+U</string>
</property>
<property name="toolTip" stdset="0">
- <string>Save user password in config file (or in KWallet if available)</string>
+ <string>Save user password in config file (or in TDEWallet if available)</string>
</property>
</widget>
<widget class="TQCheckBox">
@@ -187,7 +187,7 @@
<string>Alt+V</string>
</property>
<property name="toolTip" stdset="0">
- <string>Do not save the username in config nor KWallet</string>
+ <string>Do not save the username in config nor TDEWallet</string>
</property>
</widget>
</hbox>
diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp
index 1b6e191..3e88a4b 100644
--- a/src/preferencesdialog.cpp
+++ b/src/preferencesdialog.cpp
@@ -7021,7 +7021,7 @@ void PreferencesDialog::useKwalletToggled(bool)
if (!GeneralOptionsWidget->useKwalletCheckBox->isChecked())
{
- int result = KMessageBox::questionYesNo ( this, i18n ( "Do you really want disable the use of KWallet? KVpnc will save passwords and psk in config file if requested." ), i18n ( "Disable KWallet?" ) );
+ 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
{
diff --git a/src/profilepskoptionsbase.ui b/src/profilepskoptionsbase.ui
index 4323820..b4d5a24 100644
--- a/src/profilepskoptionsbase.ui
+++ b/src/profilepskoptionsbase.ui
@@ -227,7 +227,7 @@
<string>Alt+V</string>
</property>
<property name="toolTip" stdset="0">
- <string>Save Pre-shared key in config file (or in KWallet if available)</string>
+ <string>Save Pre-shared key in config file (or in TDEWallet if available)</string>
</property>
</widget>
<spacer row="0" column="5">
diff --git a/src/profileuseroptionsbase.ui b/src/profileuseroptionsbase.ui
index 58e9a0b..5136d96 100644
--- a/src/profileuseroptionsbase.ui
+++ b/src/profileuseroptionsbase.ui
@@ -137,7 +137,7 @@
<string></string>
</property>
<property name="toolTip" stdset="0">
- <string>Do not save the username in config nor KWallet</string>
+ <string>Do not save the username in config nor TDEWallet</string>
</property>
</widget>
<spacer row="3" column="0">
@@ -238,7 +238,7 @@
<string>Alt+U</string>
</property>
<property name="toolTip" stdset="0">
- <string>Save user password in config file (or in KWallet if available)</string>
+ <string>Save user password in config file (or in TDEWallet if available)</string>
</property>
</widget>
</grid>