diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
commit | a374efce3a207b39514be3c52264091400ce297e (patch) | |
tree | 77bdf654b55826d4f59b53a5621310206bcaead1 /kwordquiz/src/kwordquizdoc.h | |
parent | f81a494f3957d5cf38c787973415597941934727 (diff) | |
download | tdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip |
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwordquiz/src/kwordquizdoc.h')
-rw-r--r-- | kwordquiz/src/kwordquizdoc.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/kwordquiz/src/kwordquizdoc.h b/kwordquiz/src/kwordquizdoc.h index b79879fc..724b8f61 100644 --- a/kwordquiz/src/kwordquizdoc.h +++ b/kwordquiz/src/kwordquizdoc.h @@ -15,8 +15,8 @@ * * ***************************************************************************/ -#ifndef KWORDQUIZDOC_H -#define KWORDQUIZDOC_H +#ifndef KWORDTQUIZDOC_H +#define KWORDTQUIZDOC_H #ifdef HAVE_CONFIG_H #include <config.h> @@ -40,12 +40,13 @@ class KWordQuizView; * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. * @version KDevelop version 1.2 code generation */ -class KWordQuizDoc : public QObject +class KWordQuizDoc : public TQObject { Q_OBJECT + TQ_OBJECT public: /** Constructor for the fileclass of the application */ - KWordQuizDoc(TQWidget *parent, const char *name=0); + KWordQuizDoc(TQWidget *tqparent, const char *name=0); /** Destructor for the fileclass of the application */ ~KWordQuizDoc(); @@ -75,15 +76,15 @@ class KWordQuizDoc : public QObject void setURL(const KURL& url); public slots: - /** calls repaint() on all views connected to the document object and is called by the view by which the document has been changed. - * As this view normally repaints itself, it is excluded from the paintEvent. + /** calls tqrepaint() on all views connected to the document object and is called by the view by which the document has been changed. + * As this view normally tqrepaints itself, it is excluded from the paintEvent. */ void slotUpdateAllViews(KWordQuizView *sender); void slotModifiedOnDisk(const TQString &); public: /** the list of the views currently connected to the document */ - //static QList<KWordQuizView> *pViewList; + //static TQList<KWordQuizView> *pViewList; //static KWordQuizView *m_view; private: /** the modified flag of the current document */ @@ -92,4 +93,4 @@ class KWordQuizDoc : public QObject KWordQuizView *m_view; }; -#endif // KWORDQUIZDOC_H +#endif // KWORDTQUIZDOC_H |