summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouch.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 /ktouch/src/ktouch.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 'ktouch/src/ktouch.h')
-rw-r--r--ktouch/src/ktouch.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/ktouch/src/ktouch.h b/ktouch/src/ktouch.h
index 9ebdcfc8..6bbe4325 100644
--- a/ktouch/src/ktouch.h
+++ b/ktouch/src/ktouch.h
@@ -17,9 +17,9 @@
#include <config.h>
#endif
-#include <qcolor.h>
-#include <qstringlist.h>
-#include <qvaluevector.h>
+#include <tqcolor.h>
+#include <tqstringlist.h>
+#include <tqvaluevector.h>
#include <kmainwindow.h>
#include <kapplication.h>
@@ -65,13 +65,13 @@ class KTouch : public KMainWindow {
~KTouch();
/// Returns the available lecture files
- const QStringList& lectureFiles() const { return m_lectureFiles; }
+ const TQStringList& lectureFiles() const { return m_lectureFiles; }
/// Returns the statistics object for the current lecture (as reference)
KTouchLectureStats& getCurrentLectureStats();
/// Clears the statistics data.
void clearStatistics();
/// Updates the status bar text.
- void changeStatusbarMessage(const QString& text);
+ void changeStatusbarMessage(const TQString& text);
/// Updates the status bar statistics.
void changeStatusbarStats(unsigned int level_correct, unsigned int level_total, unsigned int level_words,
unsigned int session_correct, unsigned int session_total, unsigned int session_words);
@@ -111,11 +111,11 @@ class KTouch : public KMainWindow {
/// Reimplementated to save preferences and
bool queryExit();
/// Some layout fixes here...
- void resizeEvent(QResizeEvent *);
+ void resizeEvent(TQResizeEvent *);
/// Accepts a typed char.
- void keyPressEvent(QKeyEvent *keyEvent);
+ void keyPressEvent(TQKeyEvent *keyEvent);
- void imEndEvent (QIMEvent *e);
+ void imEndEvent (TQIMEvent *e);
private:
// *** BEGIN - Session management ***
@@ -164,14 +164,14 @@ class KTouch : public KMainWindow {
KTouchPrefKeyboardLayout * m_pageKeyboard; ///< The keyboard configuration page.
KTouchPrefColorsLayout * m_pageColors; ///< The color scheme configuration page.
- QStringList m_lectureFiles; ///< A list of all default lecture files.
- QStringList m_lectureTitles; ///< A list of the titles of all default lecture files.
+ TQStringList m_lectureFiles; ///< A list of all default lecture files.
+ TQStringList m_lectureTitles; ///< A list of the titles of all default lecture files.
- QStringList m_examinationFiles; ///< A list of all default examination files.
- QStringList m_examinationTitles; ///< A list of the titles of all default examination files.
+ TQStringList m_examinationFiles; ///< A list of all default examination files.
+ TQStringList m_examinationTitles; ///< A list of the titles of all default examination files.
- QStringList m_keyboardFiles; ///< A list of all default keyboard layout files.
- QStringList m_keyboardTitles; ///< A list of the titles of all default keyboard layout files.
+ TQStringList m_keyboardFiles; ///< A list of all default keyboard layout files.
+ TQStringList m_keyboardTitles; ///< A list of the titles of all default keyboard layout files.
KTouchStatisticsData m_stats; ///< All user statistics are kept here.