diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:14:23 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:14:23 -0600 |
commit | 07a23b0645f0dd3d0a9ded1742cd1e6e202002fd (patch) | |
tree | e179ac375662d1571207c94b4dcc021ae53b367c /src/urldlg.cpp | |
parent | 773793eead2fea173ec9202ee938020592e86a02 (diff) | |
download | tdesvn-07a23b0645f0dd3d0a9ded1742cd1e6e202002fd.tar.gz tdesvn-07a23b0645f0dd3d0a9ded1742cd1e6e202002fd.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/urldlg.cpp')
-rw-r--r-- | src/urldlg.cpp | 8 |
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(); } |