diff options
Diffstat (limited to 'kabc/tests')
-rw-r--r-- | kabc/tests/kabcargl.cpp | 2 | ||||
-rw-r--r-- | kabc/tests/testldapclient.cpp | 2 | ||||
-rw-r--r-- | kabc/tests/testldapclient.h | 2 | ||||
-rw-r--r-- | kabc/tests/testlock.cpp | 8 | ||||
-rw-r--r-- | kabc/tests/testlock.h | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/kabc/tests/kabcargl.cpp b/kabc/tests/kabcargl.cpp index b57724c15..2cd759d1b 100644 --- a/kabc/tests/kabcargl.cpp +++ b/kabc/tests/kabcargl.cpp @@ -56,7 +56,7 @@ int main(int argc,char **argv) f.close(); text = TQString::fromUtf8( text.local8Bit() ); - text.replace( "\n", "\r\n" ); + text.tqreplace( "\n", "\r\n" ); if ( !f.open( IO_WriteOnly ) ) { kdDebug() << "Error opening file '" << filename << "' for writing." << endl; diff --git a/kabc/tests/testldapclient.cpp b/kabc/tests/testldapclient.cpp index 2fa6a1c72..9051bdc1c 100644 --- a/kabc/tests/testldapclient.cpp +++ b/kabc/tests/testldapclient.cpp @@ -143,7 +143,7 @@ void TestLDAPClient::slotLDAPResult( const KABC::LdapObject& obj ) assert( !obj.attrs[ "mail" ].isEmpty() ); TQString mail = join( obj.attrs[ "mail" ], ", " ); kdDebug() << " mail:" << mail << endl; - assert( mail.contains( '@' ) ); + assert( mail.tqcontains( '@' ) ); } void TestLDAPClient::slotLDAPError( const TQString& err ) diff --git a/kabc/tests/testldapclient.h b/kabc/tests/testldapclient.h index ea1293b51..1995914c3 100644 --- a/kabc/tests/testldapclient.h +++ b/kabc/tests/testldapclient.h @@ -24,7 +24,7 @@ #include "../ldapclient.h" typedef KABC::LdapClient LdapClient; -class TestLDAPClient : public QObject +class TestLDAPClient : public TQObject { Q_OBJECT diff --git a/kabc/tests/testlock.cpp b/kabc/tests/testlock.cpp index 4674606e0..380c9ab3a 100644 --- a/kabc/tests/testlock.cpp +++ b/kabc/tests/testlock.cpp @@ -72,8 +72,8 @@ LockWidget::LockWidget( const TQString &identifier ) TQLabel *resourceIdentifier = new TQLabel( identifier, this ); identifierLayout->addWidget( resourceIdentifier ); - mStatus = new TQLabel( "Status: Unlocked", this ); - topLayout->addWidget( mStatus ); + mtqStatus = new TQLabel( "tqStatus: Unlocked", this ); + topLayout->addWidget( mtqStatus ); TQPushButton *button = new TQPushButton( "Lock", this ); topLayout->addWidget( button ); @@ -139,7 +139,7 @@ void LockWidget::lock() if ( !mLock->lock() ) { KMessageBox::sorry( this, mLock->error() ); } else { - mStatus->setText( "Status: Locked" ); + mtqStatus->setText( "tqStatus: Locked" ); } } @@ -148,7 +148,7 @@ void LockWidget::unlock() if ( !mLock->unlock() ) { KMessageBox::sorry( this, mLock->error() ); } else { - mStatus->setText( "Status: Unlocked" ); + mtqStatus->setText( "tqStatus: Unlocked" ); } } diff --git a/kabc/tests/testlock.h b/kabc/tests/testlock.h index 92244cd30..7162bd203 100644 --- a/kabc/tests/testlock.h +++ b/kabc/tests/testlock.h @@ -44,7 +44,7 @@ class KABC_EXPORT LockWidget : public QWidget private: KABC::Lock *mLock; - TQLabel *mStatus; + TQLabel *mtqStatus; TQListView *mLockView; }; |