summaryrefslogtreecommitdiffstats
path: root/libtdepim/tests
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /libtdepim/tests
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'libtdepim/tests')
-rw-r--r--libtdepim/tests/test_kregexp.cpp4
-rw-r--r--libtdepim/tests/testdateedit.cpp6
-rw-r--r--libtdepim/tests/testutf7decoder.cpp2
-rw-r--r--libtdepim/tests/testutf7encoder.cpp2
-rw-r--r--libtdepim/tests/testutf7encoder2.cpp2
-rw-r--r--libtdepim/tests/testwizard.cpp2
6 files changed, 9 insertions, 9 deletions
diff --git a/libtdepim/tests/test_kregexp.cpp b/libtdepim/tests/test_kregexp.cpp
index a44e3be0f..511687d07 100644
--- a/libtdepim/tests/test_kregexp.cpp
+++ b/libtdepim/tests/test_kregexp.cpp
@@ -9,8 +9,8 @@ main()
// test for http://bugs.kde.org/show_bug.cgi?id=54886
KRegExp3 reg("^");
- TQString res = reg.replace(TQString::fromLatin1("Fun stuff"),
- TQString::fromLatin1("[fun] "));
+ TQString res = reg.replace(TQString::tqfromLatin1("Fun stuff"),
+ TQString::tqfromLatin1("[fun] "));
kdDebug() << res << endl;
}
diff --git a/libtdepim/tests/testdateedit.cpp b/libtdepim/tests/testdateedit.cpp
index a5f1ce7bf..46fabcfe1 100644
--- a/libtdepim/tests/testdateedit.cpp
+++ b/libtdepim/tests/testdateedit.cpp
@@ -19,7 +19,7 @@
Boston, MA 02110-1301, USA.
*/
-#include <layout.h>
+#include <tqlayout.h>
#include <kaboutdata.h>
#include <kapplication.h>
@@ -34,10 +34,10 @@
DateEdit::DateEdit( TQWidget *parent, const char *name )
: TQWidget( parent, name )
{
- TQVBoxLayout *layout = new TQVBoxLayout( this );
+ TQVBoxLayout *tqlayout = new TQVBoxLayout( this );
KDateEdit *edit = new KDateEdit( this );
- layout->addWidget( edit );
+ tqlayout->addWidget( edit );
connect( edit, TQT_SIGNAL( dateChanged( const TQDate& ) ),
this, TQT_SLOT( dateChanged( const TQDate& ) ) );
diff --git a/libtdepim/tests/testutf7decoder.cpp b/libtdepim/tests/testutf7decoder.cpp
index 9428c8f06..b13fb30c3 100644
--- a/libtdepim/tests/testutf7decoder.cpp
+++ b/libtdepim/tests/testutf7decoder.cpp
@@ -1,6 +1,6 @@
#include "qutf7codec.h"
#include "qutf7codec.cpp"
-#include <textstream.h>
+#include <tqtextstream.h>
#include <string.h>
#include <assert.h>
diff --git a/libtdepim/tests/testutf7encoder.cpp b/libtdepim/tests/testutf7encoder.cpp
index a28a6bf3a..2938cd660 100644
--- a/libtdepim/tests/testutf7encoder.cpp
+++ b/libtdepim/tests/testutf7encoder.cpp
@@ -9,7 +9,7 @@ void main( int argc, char * argv[] ) {
TQTextEncoder * enc;
- TQString arg = TQString::fromLatin1( argv[1] );
+ TQString arg = TQString::tqfromLatin1( argv[1] );
int len;
cout << "Original string:\n"
diff --git a/libtdepim/tests/testutf7encoder2.cpp b/libtdepim/tests/testutf7encoder2.cpp
index 20fc52a07..65cf8b461 100644
--- a/libtdepim/tests/testutf7encoder2.cpp
+++ b/libtdepim/tests/testutf7encoder2.cpp
@@ -1,6 +1,6 @@
#include "qutf7codec.h"
#include "qutf7codec.cpp"
-#include <textstream.h>
+#include <tqtextstream.h>
#include <string.h>
#include <assert.h>
#include <iostream>
diff --git a/libtdepim/tests/testwizard.cpp b/libtdepim/tests/testwizard.cpp
index 066f74402..d9c9d806c 100644
--- a/libtdepim/tests/testwizard.cpp
+++ b/libtdepim/tests/testwizard.cpp
@@ -29,7 +29,7 @@
#include <klocale.h>
#include <kcmdlineargs.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqcheckbox.h>
class TestConfigWizard : public KConfigWizard