summaryrefslogtreecommitdiffstats
path: root/knewstuff
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
commit56160bf4dfe503631ef6373367b281f081bab2b4 (patch)
tree7fcea2ffd9c3420af999c3dcad0ed032eef93956 /knewstuff
parent13281e2856a2ef43bbab78c5528470309c23aa77 (diff)
downloadtdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.tar.gz
tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
Diffstat (limited to 'knewstuff')
-rw-r--r--knewstuff/downloaddialog.cpp26
-rw-r--r--knewstuff/ghns.cpp4
-rw-r--r--knewstuff/knewstuffgeneric.cpp2
-rw-r--r--knewstuff/providerdialog.cpp2
-rw-r--r--knewstuff/testnewstuff.cpp4
-rw-r--r--knewstuff/uploaddialog.cpp2
6 files changed, 20 insertions, 20 deletions
diff --git a/knewstuff/downloaddialog.cpp b/knewstuff/downloaddialog.cpp
index b87ba5d74..cda530e86 100644
--- a/knewstuff/downloaddialog.cpp
+++ b/knewstuff/downloaddialog.cpp
@@ -36,11 +36,11 @@
#include <knewstuff/knewstuffgeneric.h>
#include <knewstuff/engine.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpushbutton.h>
#include <tqdom.h>
#include <tqlabel.h>
-#include <textbrowser.h>
+#include <tqtextbrowser.h>
#include <tqtabwidget.h>
#include <tqtimer.h> // hack
@@ -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];
diff --git a/knewstuff/ghns.cpp b/knewstuff/ghns.cpp
index cfc94cd40..90596da3d 100644
--- a/knewstuff/ghns.cpp
+++ b/knewstuff/ghns.cpp
@@ -20,9 +20,9 @@
*/
#include <iostream>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqlabel.h>
#include <kaboutdata.h>
diff --git a/knewstuff/knewstuffgeneric.cpp b/knewstuff/knewstuffgeneric.cpp
index c4249483c..8438e25ea 100644
--- a/knewstuff/knewstuffgeneric.cpp
+++ b/knewstuff/knewstuffgeneric.cpp
@@ -20,7 +20,7 @@
*/
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqdir.h>
#include <kdebug.h>
diff --git a/knewstuff/providerdialog.cpp b/knewstuff/providerdialog.cpp
index f87ba458e..a66258701 100644
--- a/knewstuff/providerdialog.cpp
+++ b/knewstuff/providerdialog.cpp
@@ -18,7 +18,7 @@
Boston, MA 02110-1301, USA.
*/
-#include <layout.h>
+#include <tqlayout.h>
#include <tqstring.h>
#include <tqlabel.h>
diff --git a/knewstuff/testnewstuff.cpp b/knewstuff/testnewstuff.cpp
index 84007f67d..b0c380c68 100644
--- a/knewstuff/testnewstuff.cpp
+++ b/knewstuff/testnewstuff.cpp
@@ -20,9 +20,9 @@
#include <iostream>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <kaboutdata.h>
#include <kapplication.h>
diff --git a/knewstuff/uploaddialog.cpp b/knewstuff/uploaddialog.cpp
index 28c454926..cecc67e32 100644
--- a/knewstuff/uploaddialog.cpp
+++ b/knewstuff/uploaddialog.cpp
@@ -20,7 +20,7 @@
#include <tqcombobox.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlineedit.h>
#include <tqspinbox.h>
#include <tqstring.h>