From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/statemachine.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kode/statemachine.cpp') diff --git a/kode/statemachine.cpp b/kode/statemachine.cpp index fe90d5d6b..d3d49fb03 100644 --- a/kode/statemachine.cpp +++ b/kode/statemachine.cpp @@ -28,14 +28,14 @@ StateMachine::StateMachine() } -void StateMachine::setState( const QString &state, const Code &code ) +void StateMachine::setState( const TQString &state, const Code &code ) { mStateMap.insert( state, code ); if ( mInitialState.isEmpty() ) mInitialState = state; } -void StateMachine::setInitialState( const QString &state ) +void StateMachine::setInitialState( const TQString &state ) { mInitialState = state; } @@ -44,8 +44,8 @@ Code StateMachine::stateDefinition() { Code code; - QStringList states; - QMap::ConstIterator it; + TQStringList states; + TQMap::ConstIterator it; for ( it = mStateMap.begin(); it != mStateMap.end(); ++it ) { states.append( it.key() ); } @@ -63,7 +63,7 @@ Code StateMachine::transitionLogic() code += "switch( state ) {"; code.indent(); - QMap::ConstIterator it; + TQMap::ConstIterator it; for ( it = mStateMap.begin(); it != mStateMap.end(); ++it ) { code += "case " + it.key() + ":"; code.indent(); -- cgit v1.2.1