summaryrefslogtreecommitdiffstats
path: root/kode/statemachine.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kode/statemachine.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kode/statemachine.cpp')
-rw-r--r--kode/statemachine.cpp10
1 files changed, 5 insertions, 5 deletions
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<QString,Code>::ConstIterator it;
+ TQStringList states;
+ TQMap<TQString,Code>::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<QString,Code>::ConstIterator it;
+ TQMap<TQString,Code>::ConstIterator it;
for ( it = mStateMap.begin(); it != mStateMap.end(); ++it ) {
code += "case " + it.key() + ":";
code.indent();