summaryrefslogtreecommitdiffstats
path: root/src/urldlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:49 -0600
commit548395e018d377eaa8fede0fba271da8b6c49fc9 (patch)
tree6b6acd1baf1a63c2dfb1735461d8a1e2e20f8385 /src/urldlg.cpp
parentbb7be2361770a435b3e2e8ae2ac4250bf9810bb4 (diff)
downloadtdesvn-548395e018d377eaa8fede0fba271da8b6c49fc9.tar.gz
tdesvn-548395e018d377eaa8fede0fba271da8b6c49fc9.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bb7be2361770a435b3e2e8ae2ac4250bf9810bb4.
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 6e20b0e..c1ae158 100644
--- a/src/urldlg.cpp
+++ b/src/urldlg.cpp
@@ -20,7 +20,7 @@
#include "urldlg.h"
#include <kcombobox.h>
#include <kurlrequester.h>
-#include <layout.h>
+#include <tqlayout.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::fromLatin1("Open-repository settings") );
- int max = kc->readNumEntry( TQString::fromLatin1("Maximum history"), 15 );
+ KConfigGroupSaver ks( kc, TQString::tqfromLatin1("Open-repository settings") );
+ int max = kc->readNumEntry( TQString::tqfromLatin1("Maximum history"), 15 );
combo->setMaxCount( max );
- TQStringList list = kc->readListEntry( TQString::fromLatin1("History") );
+ TQStringList list = kc->readListEntry( TQString::tqfromLatin1("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,sizeHint().height()));
+ resize(TQSize(400,tqsizeHint().height()));
}
/*!
@@ -88,8 +88,8 @@ void UrlDlg::accept()
if (combo) {
combo->addToHistory(urlRequester_->url());
KConfig *kc = KGlobal::config();
- KConfigGroupSaver ks(kc, TQString::fromLatin1("Open-repository settings"));
- kc->writeEntry(TQString::fromLatin1("History"), combo->historyItems());
+ KConfigGroupSaver ks(kc, TQString::tqfromLatin1("Open-repository settings"));
+ kc->writeEntry(TQString::tqfromLatin1("History"), combo->historyItems());
kc->sync();
}
KDialogBase::accept();