From a374efce3a207b39514be3c52264091400ce297e Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:44:41 +0000 Subject: 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 --- kiten/dict.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kiten/dict.h') diff --git a/kiten/dict.h b/kiten/dict.h index f510d0c1..80a762d8 100644 --- a/kiten/dict.h +++ b/kiten/dict.h @@ -114,7 +114,7 @@ public: // Kanjidict ctor Entry(const TQString &, TQStringList &, TQStringList &, unsigned int grade, unsigned int freq, unsigned int strokes, unsigned int miscount); // default (for containers) - Entry(const TQString & = TQString::null); + Entry(const TQString & = TQString()); // for a heading Entry(const TQString &, bool header); @@ -161,9 +161,10 @@ struct SearchResult enum SearchType { Search_Beginning, Search_FullWord, Search_Anywhere }; enum DictionaryType { Edict, Kanjidict }; -class KDE_EXPORT Index : public QObject +class KDE_EXPORT Index : public TQObject { Q_OBJECT + TQ_OBJECT public: Index(); -- cgit v1.2.1