summaryrefslogtreecommitdiffstats
path: root/knewstuff/downloaddialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
commit13281e2856a2ef43bbab78c5528470309c23aa77 (patch)
tree936bcf8145dc235004c73e9fb3d6b3dca9aa370b /knewstuff/downloaddialog.cpp
parente81c741bb2cf337a43524e75f22f7728ce17a343 (diff)
downloadtdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.tar.gz
tdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'knewstuff/downloaddialog.cpp')
-rw-r--r--knewstuff/downloaddialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/knewstuff/downloaddialog.cpp b/knewstuff/downloaddialog.cpp
index cda530e86..b87ba5d74 100644
--- a/knewstuff/downloaddialog.cpp
+++ b/knewstuff/downloaddialog.cpp
@@ -36,11 +36,11 @@
#include <knewstuff/knewstuffgeneric.h>
#include <knewstuff/engine.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpushbutton.h>
#include <tqdom.h>
#include <tqlabel.h>
-#include <tqtextbrowser.h>
+#include <textbrowser.h>
#include <tqtabwidget.h>
#include <tqtimer.h> // hack
@@ -182,9 +182,9 @@ void DownloadDialog::clear()
kdDebug() << "clear listviews in " << v << endl;
if(v)
{
- (*(v->tqat(0)))->clear();
- (*(v->tqat(1)))->clear();
- (*(v->tqat(2)))->clear();
+ (*(v->at(0)))->clear();
+ (*(v->at(1)))->clear();
+ (*(v->at(2)))->clear();
//delete (*it);
}
@@ -570,7 +570,7 @@ void DownloadDialog::install(Entry *e)
if(currentEntryItem() == m_entryitem)
{
TQPushButton *in;
- in = *(m_buttons[d->m_page]->tqat(0));
+ in = *(m_buttons[d->m_page]->at(0));
if(in) in->setEnabled(false);
}
@@ -625,8 +625,8 @@ void DownloadDialog::slotTab()
else
{
TQPushButton *de, *in;
- in = *(m_buttons[d->m_page]->tqat(0));
- de = *(m_buttons[d->m_page]->tqat(1));
+ in = *(m_buttons[d->m_page]->at(0));
+ de = *(m_buttons[d->m_page]->at(1));
if(in) in->setEnabled(false);
if(de) de->setEnabled(false);
@@ -705,8 +705,8 @@ void DownloadDialog::slotSelected()
else enabled = true;
TQPushButton *de, *in;
- in = *(m_buttons[d->m_page]->tqat(0));
- de = *(m_buttons[d->m_page]->tqat(1));
+ in = *(m_buttons[d->m_page]->at(0));
+ de = *(m_buttons[d->m_page]->at(1));
if(in) in->setEnabled(enabled);
if(de) de->setEnabled(true);
}
@@ -747,9 +747,9 @@ void DownloadDialog::slotPage(TQWidget *w)
d->m_page = w;
- lv_r = *(m_map[w]->tqat(0));
- lv_d = *(m_map[w]->tqat(1));
- lv_l = *(m_map[w]->tqat(2));
+ lv_r = *(m_map[w]->at(0));
+ lv_d = *(m_map[w]->at(1));
+ lv_l = *(m_map[w]->at(2));
p = m_providers[w];
m_rt = m_rts[w];