summaryrefslogtreecommitdiffstats
path: root/krdc/rdp/krdpview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krdc/rdp/krdpview.cpp')
-rw-r--r--krdc/rdp/krdpview.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/krdc/rdp/krdpview.cpp b/krdc/rdp/krdpview.cpp
index e20399df..5188489b 100644
--- a/krdc/rdp/krdpview.cpp
+++ b/krdc/rdp/krdpview.cpp
@@ -41,7 +41,7 @@
bool launch_Fullscreen_rdp = false;
bool rdpAppDataConfigured = false;
-extern KWallet::Wallet *wallet;
+extern TDEWallet::Wallet *wallet;
static KRdpView *krdpview;
@@ -165,7 +165,7 @@ bool KRdpView::editPreferences( HostPrefPtr host )
int hv = hp->height();
int cd = hp->colorDepth();
TQString kl = hp->layout();
- bool tdewallet = hp->useKWallet();
+ bool tdewallet = hp->useTDEWallet();
// show preferences dialog
KDialogBase *dlg = new KDialogBase( 0L, "dlg", true,
@@ -183,7 +183,7 @@ bool KRdpView::editPreferences( HostPrefPtr host )
prefs->setColorDepth(cd);
prefs->setKbLayout( keymap2int( kl ) );
prefs->setShowPrefs( true );
- prefs->setUseKWallet(tdewallet);
+ prefs->setUseTDEWallet(tdewallet);
if ( dlg->exec() == TQDialog::Rejected )
return false;
@@ -197,7 +197,7 @@ bool KRdpView::editPreferences( HostPrefPtr host )
hp->setHeight(hv);
hp->setColorDepth( prefs->colorDepth() );
hp->setLayout(kl);
- hp->setUseKWallet(prefs->useKWallet());
+ hp->setUseTDEWallet(prefs->useTDEWallet());
delete dlg;
return true;
@@ -207,7 +207,7 @@ bool KRdpView::editPreferences( HostPrefPtr host )
bool KRdpView::start()
{
SmartPtr<RdpHostPref> hp, rdpDefaults;
- bool useKWallet = false;
+ bool useTDEWallet = false;
TQWidget *desktop = TQT_TQWIDGET(TQApplication::desktop());
@@ -223,7 +223,7 @@ bool KRdpView::start()
hps->sync();
}
- useKWallet = hp->useKWallet();
+ useTDEWallet = hp->useTDEWallet();
}
m_container->show();
@@ -246,7 +246,7 @@ bool KRdpView::start()
*m_process << "-k" << hp->layout();
if(!m_user.isEmpty()) { *m_process << "-u" << m_user; }
- if(m_password.isEmpty() && useKWallet ) {
+ if(m_password.isEmpty() && useTDEWallet ) {
TQString krdc_folder = "KRDC-RDP";
// Bugfix: Check if wallet has been closed by an outside source
@@ -256,8 +256,8 @@ bool KRdpView::start()
// Do we need to open the wallet?
if ( !wallet ) {
- TQString walletName = KWallet::Wallet::NetworkWallet();
- wallet = KWallet::Wallet::openWallet(walletName);
+ TQString walletName = TDEWallet::Wallet::NetworkWallet();
+ wallet = TDEWallet::Wallet::openWallet(walletName);
}
if (wallet && wallet->isOpen()) {