summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/kwordquiz.h
diff options
context:
space:
mode:
Diffstat (limited to 'kwordquiz/src/kwordquiz.h')
-rw-r--r--kwordquiz/src/kwordquiz.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/kwordquiz/src/kwordquiz.h b/kwordquiz/src/kwordquiz.h
index 66e7b440..7b038b11 100644
--- a/kwordquiz/src/kwordquiz.h
+++ b/kwordquiz/src/kwordquiz.h
@@ -15,15 +15,15 @@
* *
***************************************************************************/
-#ifndef KWORDQUIZ_H
-#define KWORDQUIZ_H
+#ifndef KWORDTQUIZ_H
+#define KWORDTQUIZ_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-// include files for Qt
+// include files for TQt
#include <tqsignalmapper.h>
// include files for KDE
@@ -38,10 +38,10 @@
class KWordQuizDoc;
class KWordQuizView;
class KWordQuizPrefs;
-class QAView;
+class TQAView;
class MultipleView;
class FlashView;
-class KWQNewStuff;
+class KWTQNewStuff;
/**
* The base class for KWordQuiz application windows. It sets up the main
@@ -60,13 +60,14 @@ class KWQNewStuff;
class KWordQuizApp : public KMainWindow
{
Q_OBJECT
+ TQ_OBJECT
friend class KWordQuizView;
public:
/** construtor of KWordQuizApp, calls all init functions to create the application.
*/
- KWordQuizApp(TQWidget* parent=0, const char* name=0);
+ KWordQuizApp(TQWidget* tqparent=0, const char* name=0);
~KWordQuizApp();
/** opens a file specified by commandline option
*/
@@ -78,7 +79,7 @@ class KWordQuizApp : public KMainWindow
bool saveAsFileName();
protected:
- /** save general Options like all bar positions and status as well as the geometry and the recent file list to the configuration
+ /** save general Options like all bar positions and status as well as the tqgeometry and the recent file list to the configuration
* file
*/
void saveOptions();
@@ -172,7 +173,7 @@ class KWordQuizApp : public KMainWindow
void slotVocabLanguages();
/** define vocabulary fonts */
void slotVocabFont();
- /** define keyboard layouts */
+ /** define keyboard tqlayouts */
void slotVocabKeyboard();
/** define special characters */
void slotVocabChar();
@@ -226,9 +227,9 @@ class KWordQuizApp : public KMainWindow
void slotContextMenuRequested(int, int, const TQPoint &);
private:
- WQQuiz::QuizType m_quizType;
+ WTQQuiz::QuizType m_quizType;
- WQQuiz *m_quiz;
+ WTQQuiz *m_quiz;
/** view is the main widget which represents your working area. The View
* class should handle all events of the view widget. It is kept empty so
@@ -238,7 +239,7 @@ class KWordQuizApp : public KMainWindow
KWordQuizView *m_editView;
FlashView *m_flashView;
MultipleView *m_multipleView;
- QAView *m_qaView;
+ TQAView *m_qaView;
KWordQuizPrefs *m_prefDialog;
@@ -309,14 +310,14 @@ class KWordQuizApp : public KMainWindow
KAction* specialChar9;
KDirWatch * m_dirWatch;
- KWQNewStuff * m_newStuff;
+ KWTQNewStuff * m_newStuff;
void updateMode(int m);
- void updateSession(WQQuiz::QuizType qt);
- void updateActions(WQQuiz::QuizType qt);
+ void updateSession(WTQQuiz::QuizType qt);
+ void updateActions(WTQQuiz::QuizType qt);
void updateSpecialCharIcons();
TQString charIcon(const TQChar &);
void openURL(const KURL& url);
};
-#endif // KWORDQUIZ_H
+#endif // KWORDTQUIZ_H