diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kabc/tests | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 2cd759d1b..b57724c15 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.tqreplace( "\n", "\r\n" ); + text.replace( "\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 9051bdc1c..2fa6a1c72 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.tqcontains( '@' ) ); + assert( mail.contains( '@' ) ); } void TestLDAPClient::slotLDAPError( const TQString& err ) diff --git a/kabc/tests/testldapclient.h b/kabc/tests/testldapclient.h index 1995914c3..ea1293b51 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 TQObject +class TestLDAPClient : public QObject { Q_OBJECT diff --git a/kabc/tests/testlock.cpp b/kabc/tests/testlock.cpp index 380c9ab3a..4674606e0 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 ); - mtqStatus = new TQLabel( "tqStatus: Unlocked", this ); - topLayout->addWidget( mtqStatus ); + mStatus = new TQLabel( "Status: Unlocked", this ); + topLayout->addWidget( mStatus ); 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 { - mtqStatus->setText( "tqStatus: Locked" ); + mStatus->setText( "Status: Locked" ); } } @@ -148,7 +148,7 @@ void LockWidget::unlock() if ( !mLock->unlock() ) { KMessageBox::sorry( this, mLock->error() ); } else { - mtqStatus->setText( "tqStatus: Unlocked" ); + mStatus->setText( "Status: Unlocked" ); } } diff --git a/kabc/tests/testlock.h b/kabc/tests/testlock.h index 7162bd203..92244cd30 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 *mtqStatus; + TQLabel *mStatus; TQListView *mLockView; }; |