diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:34:08 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:34:08 -0600 |
commit | bb7be2361770a435b3e2e8ae2ac4250bf9810bb4 (patch) | |
tree | 3dc3697661e497b5486191491da2ed4cc751b7fc /src/urldlg.cpp | |
parent | 40e169496670c40004f7386a23f7c03d9aeac3e0 (diff) | |
download | tdesvn-bb7be2361770a435b3e2e8ae2ac4250bf9810bb4.tar.gz tdesvn-bb7be2361770a435b3e2e8ae2ac4250bf9810bb4.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/urldlg.cpp')
-rw-r--r-- | src/urldlg.cpp | 14 |
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(); |