summaryrefslogtreecommitdiffstats
path: root/src/urldlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/urldlg.cpp')
-rw-r--r--src/urldlg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/urldlg.cpp b/src/urldlg.cpp
index a88eaef..e7cc60d 100644
--- a/src/urldlg.cpp
+++ b/src/urldlg.cpp
@@ -54,8 +54,8 @@ void UrlDlg::init_dlg()
KHistoryCombo * combo = new KHistoryCombo(0,"history_combo");
combo->setDuplicatesEnabled(false);
- KConfig *kc = TDEGlobal::config();
- KConfigGroupSaver ks( kc, TQString::fromLatin1("Open-repository settings") );
+ TDEConfig *kc = TDEGlobal::config();
+ TDEConfigGroupSaver ks( kc, TQString::fromLatin1("Open-repository settings") );
int max = kc->readNumEntry( TQString::fromLatin1("Maximum history"), 15 );
combo->setMaxCount( max );
TQStringList list = kc->readListEntry( TQString::fromLatin1("History") );
@@ -87,8 +87,8 @@ void UrlDlg::accept()
KHistoryCombo *combo = static_cast<KHistoryCombo*>(urlRequester_->comboBox());
if (combo) {
combo->addToHistory(urlRequester_->url());
- KConfig *kc = TDEGlobal::config();
- KConfigGroupSaver ks(kc, TQString::fromLatin1("Open-repository settings"));
+ TDEConfig *kc = TDEGlobal::config();
+ TDEConfigGroupSaver ks(kc, TQString::fromLatin1("Open-repository settings"));
kc->writeEntry(TQString::fromLatin1("History"), combo->historyItems());
kc->sync();
}