summaryrefslogtreecommitdiffstats
path: root/src/urldlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/urldlg.cpp')
-rw-r--r--src/urldlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/urldlg.cpp b/src/urldlg.cpp
index c1ae158..6e20b0e 100644
--- a/src/urldlg.cpp
+++ b/src/urldlg.cpp
@@ -20,7 +20,7 @@
#include "urldlg.h"
#include <kcombobox.h>
#include <kurlrequester.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kconfig.h>
#include <klocale.h>
#include <kglobal.h>
@@ -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();