summaryrefslogtreecommitdiffstats
path: root/kbruch/src/task.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kbruch/src/task.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbruch/src/task.h')
-rw-r--r--kbruch/src/task.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kbruch/src/task.h b/kbruch/src/task.h
index 3e4c15b6..57c80b86 100644
--- a/kbruch/src/task.h
+++ b/kbruch/src/task.h
@@ -52,9 +52,9 @@ typedef struct PRIME_FACTOR
Tprime_factor;
/** we use the vector template class to create 3 dynamic types */
-typedef QValueVector<ratio> RatioArray;
-typedef QValueVector<short> ShortArray;
-typedef QValueVector<Tprime_factor> PrimeFactorArray;
+typedef TQValueVector<ratio> RatioArray;
+typedef TQValueVector<short> ShortArray;
+typedef TQValueVector<Tprime_factor> PrimeFactorArray;
/*! class to handle mathematical tasks with ratios
* naming:
@@ -101,7 +101,7 @@ public:
void add_operation(short operation = ADD);
/** display the whole task, mainly for debug */
- QTextStream & display(QTextStream & str);
+ TQTextStream & display(TQTextStream & str);
/** solves the task and returns the result as ratio */
ratio solve();
@@ -162,6 +162,6 @@ private:
/* ------ some prototypes of non class functions ------ */
/** it is possible to code: cout << task_object << endl; */
-QTextStream & operator<<(QTextStream & str, task & ptask);
+TQTextStream & operator<<(TQTextStream & str, task & ptask);
#endif