summaryrefslogtreecommitdiffstats
path: root/knewstuff/downloaddialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
commit374d939d8af431477ce2601815f0ba121b66871c (patch)
treead878478dcc0bedf51e3cffb2ed611ada422b290 /knewstuff/downloaddialog.cpp
parentf9279733bf71e446933b46f40cbe9c9b9f57b778 (diff)
downloadtdelibs-374d939d8af431477ce2601815f0ba121b66871c.tar.gz
tdelibs-374d939d8af431477ce2601815f0ba121b66871c.zip
Allow kdelibs to function correctly with TQt for Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knewstuff/downloaddialog.cpp')
-rw-r--r--knewstuff/downloaddialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/knewstuff/downloaddialog.cpp b/knewstuff/downloaddialog.cpp
index 521d13f24..40605f40d 100644
--- a/knewstuff/downloaddialog.cpp
+++ b/knewstuff/downloaddialog.cpp
@@ -182,9 +182,9 @@ void DownloadDialog::clear()
kdDebug() << "clear listviews in " << v << endl;
if(v)
{
- (*(v->at(0)))->clear();
- (*(v->at(1)))->clear();
- (*(v->at(2)))->clear();
+ (*(v->tqat(0)))->clear();
+ (*(v->tqat(1)))->clear();
+ (*(v->tqat(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]->at(0));
+ in = *(m_buttons[d->m_page]->tqat(0));
if(in) in->setEnabled(false);
}
@@ -625,8 +625,8 @@ void DownloadDialog::slotTab()
else
{
TQPushButton *de, *in;
- in = *(m_buttons[d->m_page]->at(0));
- de = *(m_buttons[d->m_page]->at(1));
+ in = *(m_buttons[d->m_page]->tqat(0));
+ de = *(m_buttons[d->m_page]->tqat(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]->at(0));
- de = *(m_buttons[d->m_page]->at(1));
+ in = *(m_buttons[d->m_page]->tqat(0));
+ de = *(m_buttons[d->m_page]->tqat(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]->at(0));
- lv_d = *(m_map[w]->at(1));
- lv_l = *(m_map[w]->at(2));
+ lv_r = *(m_map[w]->tqat(0));
+ lv_d = *(m_map[w]->tqat(1));
+ lv_l = *(m_map[w]->tqat(2));
p = m_providers[w];
m_rt = m_rts[w];