diff options
Diffstat (limited to 'libkdepim/tests')
-rw-r--r-- | libkdepim/tests/test_kregexp.cpp | 4 | ||||
-rw-r--r-- | libkdepim/tests/testdateedit.cpp | 4 | ||||
-rw-r--r-- | libkdepim/tests/testutf7encoder.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/libkdepim/tests/test_kregexp.cpp b/libkdepim/tests/test_kregexp.cpp index a44e3be0f..0644bbba5 100644 --- a/libkdepim/tests/test_kregexp.cpp +++ b/libkdepim/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.tqreplace(TQString::tqfromLatin1("Fun stuff"), + TQString::tqfromLatin1("[fun] ")); kdDebug() << res << endl; } diff --git a/libkdepim/tests/testdateedit.cpp b/libkdepim/tests/testdateedit.cpp index 993967cb6..e0d1d732d 100644 --- a/libkdepim/tests/testdateedit.cpp +++ b/libkdepim/tests/testdateedit.cpp @@ -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/libkdepim/tests/testutf7encoder.cpp b/libkdepim/tests/testutf7encoder.cpp index 925bab21e..04ed8f702 100644 --- a/libkdepim/tests/testutf7encoder.cpp +++ b/libkdepim/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" |