summaryrefslogtreecommitdiffstats
path: root/src/urldlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/urldlg.cpp')
-rw-r--r--src/urldlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/urldlg.cpp b/src/urldlg.cpp
index c1ae158..a58cf5d 100644
--- a/src/urldlg.cpp
+++ b/src/urldlg.cpp
@@ -55,10 +55,10 @@ void UrlDlg::init_dlg()
KHistoryCombo * combo = new KHistoryCombo(0,"history_combo");
combo->setDuplicatesEnabled(false);
KConfig *kc = KGlobal::config();
- KConfigGroupSaver ks( kc, TQString::tqfromLatin1("Open-repository settings") );
- int max = kc->readNumEntry( TQString::tqfromLatin1("Maximum history"), 15 );
+ KConfigGroupSaver ks( kc, TQString::fromLatin1("Open-repository settings") );
+ int max = kc->readNumEntry( TQString::fromLatin1("Maximum history"), 15 );
combo->setMaxCount( max );
- TQStringList list = kc->readListEntry( TQString::tqfromLatin1("History") );
+ TQStringList list = kc->readListEntry( TQString::fromLatin1("History") );
combo->setHistoryItems(list);
combo->setMinimumWidth(100);
combo->adjustSize();
@@ -76,7 +76,7 @@ void UrlDlg::init_dlg()
enableButton( KDialogBase::User1, false );
connect( this, TQT_SIGNAL(user1Clicked()), TQT_SLOT(slotClear()));
urlRequester_->adjustSize();
- resize(TQSize(400,tqsizeHint().height()));
+ resize(TQSize(400,sizeHint().height()));
}
/*!
@@ -88,8 +88,8 @@ void UrlDlg::accept()
if (combo) {
combo->addToHistory(urlRequester_->url());
KConfig *kc = KGlobal::config();
- KConfigGroupSaver ks(kc, TQString::tqfromLatin1("Open-repository settings"));
- kc->writeEntry(TQString::tqfromLatin1("History"), combo->historyItems());
+ KConfigGroupSaver ks(kc, TQString::fromLatin1("Open-repository settings"));
+ kc->writeEntry(TQString::fromLatin1("History"), combo->historyItems());
kc->sync();
}
KDialogBase::accept();