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 /kiten/rad.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 'kiten/rad.h')
-rw-r--r-- | kiten/rad.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/kiten/rad.h b/kiten/rad.h index fd2cca5a..f43cf4ef 100644 --- a/kiten/rad.h +++ b/kiten/rad.h @@ -36,7 +36,7 @@ class TQButtonGroup; class KDE_EXPORT Radical { public: - Radical(TQString = TQString::null, unsigned int = 0); + Radical(TQString = TQString(), unsigned int = 0); TQString radical() { return _Radical; } unsigned int strokes() { return Strokes; } @@ -50,9 +50,10 @@ class KDE_EXPORT Radical TQString Kanji; }; -class KDE_EXPORT Rad : public QObject +class KDE_EXPORT Rad : public TQObject { Q_OBJECT + TQ_OBJECT public: Rad(); @@ -71,12 +72,13 @@ class KDE_EXPORT Rad : public QObject bool loaded; }; -class KDE_EXPORT RadWidget : public QWidget +class KDE_EXPORT RadWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: - RadWidget(Rad *, TQWidget *parent = 0, const char *name = 0); + RadWidget(Rad *, TQWidget *tqparent = 0, const char *name = 0); ~RadWidget(); signals: |