summaryrefslogtreecommitdiffstats
path: root/knewstuff
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
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')
-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 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];
diff --git a/knewstuff/ghns.cpp b/knewstuff/ghns.cpp
index 90596da3d..cfc94cd40 100644
--- a/knewstuff/ghns.cpp
+++ b/knewstuff/ghns.cpp
@@ -20,9 +20,9 @@
*/
#include <iostream>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqlabel.h>
#include <kaboutdata.h>
diff --git a/knewstuff/knewstuffgeneric.cpp b/knewstuff/knewstuffgeneric.cpp
index 8438e25ea..c4249483c 100644
--- a/knewstuff/knewstuffgeneric.cpp
+++ b/knewstuff/knewstuffgeneric.cpp
@@ -20,7 +20,7 @@
*/
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqdir.h>
#include <kdebug.h>
diff --git a/knewstuff/providerdialog.cpp b/knewstuff/providerdialog.cpp
index a66258701..f87ba458e 100644
--- a/knewstuff/providerdialog.cpp
+++ b/knewstuff/providerdialog.cpp
@@ -18,7 +18,7 @@
Boston, MA 02110-1301, USA.
*/
-#include <tqlayout.h>
+#include <layout.h>
#include <tqstring.h>
#include <tqlabel.h>
diff --git a/knewstuff/testnewstuff.cpp b/knewstuff/testnewstuff.cpp
index b0c380c68..84007f67d 100644
--- a/knewstuff/testnewstuff.cpp
+++ b/knewstuff/testnewstuff.cpp
@@ -20,9 +20,9 @@
#include <iostream>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kaboutdata.h>
#include <kapplication.h>
diff --git a/knewstuff/uploaddialog.cpp b/knewstuff/uploaddialog.cpp
index cecc67e32..28c454926 100644
--- a/knewstuff/uploaddialog.cpp
+++ b/knewstuff/uploaddialog.cpp
@@ -20,7 +20,7 @@
#include <tqcombobox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlineedit.h>
#include <tqspinbox.h>
#include <tqstring.h>