diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
commit | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch) | |
tree | 89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /libtdepim/tests | |
parent | 1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff) | |
download | tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libtdepim/tests')
-rw-r--r-- | libtdepim/tests/test_kregexp.cpp | 4 | ||||
-rw-r--r-- | libtdepim/tests/testdateedit.cpp | 6 | ||||
-rw-r--r-- | libtdepim/tests/testutf7decoder.cpp | 2 | ||||
-rw-r--r-- | libtdepim/tests/testutf7encoder.cpp | 2 | ||||
-rw-r--r-- | libtdepim/tests/testutf7encoder2.cpp | 2 | ||||
-rw-r--r-- | libtdepim/tests/testwizard.cpp | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/libtdepim/tests/test_kregexp.cpp b/libtdepim/tests/test_kregexp.cpp index 511687d07..a44e3be0f 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::tqfromLatin1("Fun stuff"), - TQString::tqfromLatin1("[fun] ")); + TQString res = reg.replace(TQString::fromLatin1("Fun stuff"), + TQString::fromLatin1("[fun] ")); kdDebug() << res << endl; } diff --git a/libtdepim/tests/testdateedit.cpp b/libtdepim/tests/testdateedit.cpp index 46fabcfe1..a5f1ce7bf 100644 --- a/libtdepim/tests/testdateedit.cpp +++ b/libtdepim/tests/testdateedit.cpp @@ -19,7 +19,7 @@ Boston, MA 02110-1301, USA. */ -#include <tqlayout.h> +#include <layout.h> #include <kaboutdata.h> #include <kapplication.h> @@ -34,10 +34,10 @@ DateEdit::DateEdit( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQVBoxLayout *tqlayout = new TQVBoxLayout( this ); + TQVBoxLayout *layout = new TQVBoxLayout( this ); KDateEdit *edit = new KDateEdit( this ); - tqlayout->addWidget( edit ); + layout->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 b13fb30c3..9428c8f06 100644 --- a/libtdepim/tests/testutf7decoder.cpp +++ b/libtdepim/tests/testutf7decoder.cpp @@ -1,6 +1,6 @@ #include "qutf7codec.h" #include "qutf7codec.cpp" -#include <tqtextstream.h> +#include <textstream.h> #include <string.h> #include <assert.h> diff --git a/libtdepim/tests/testutf7encoder.cpp b/libtdepim/tests/testutf7encoder.cpp index 2938cd660..a28a6bf3a 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::tqfromLatin1( argv[1] ); + TQString arg = TQString::fromLatin1( argv[1] ); int len; cout << "Original string:\n" diff --git a/libtdepim/tests/testutf7encoder2.cpp b/libtdepim/tests/testutf7encoder2.cpp index 65cf8b461..20fc52a07 100644 --- a/libtdepim/tests/testutf7encoder2.cpp +++ b/libtdepim/tests/testutf7encoder2.cpp @@ -1,6 +1,6 @@ #include "qutf7codec.h" #include "qutf7codec.cpp" -#include <tqtextstream.h> +#include <textstream.h> #include <string.h> #include <assert.h> #include <iostream> diff --git a/libtdepim/tests/testwizard.cpp b/libtdepim/tests/testwizard.cpp index d9c9d806c..066f74402 100644 --- a/libtdepim/tests/testwizard.cpp +++ b/libtdepim/tests/testwizard.cpp @@ -29,7 +29,7 @@ #include <klocale.h> #include <kcmdlineargs.h> -#include <tqlayout.h> +#include <layout.h> #include <tqcheckbox.h> class TestConfigWizard : public KConfigWizard |