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/widgets.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/widgets.h')
-rw-r--r-- | kiten/widgets.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/kiten/widgets.h b/kiten/widgets.h index 82592bae..b1fdb9a9 100644 --- a/kiten/widgets.h +++ b/kiten/widgets.h @@ -37,9 +37,10 @@ class KStatusBar; class KDE_EXPORT ResultView : public KTextBrowser { Q_OBJECT + TQ_OBJECT public: - ResultView(bool showLinks, TQWidget *parent = 0, const char *name = 0); + ResultView(bool showLinks, TQWidget *tqparent = 0, const char *name = 0); void addResult(Dict::Entry result, bool common = false); void addKanjiResult(Dict::Entry, bool common = false, Radical = Radical()); @@ -47,7 +48,7 @@ class KDE_EXPORT ResultView : public KTextBrowser void addHeader(const TQString &, unsigned int degree = 3); public slots: - void print(TQString = TQString::null); + void print(TQString = TQString()); void append(const TQString &); void flush(); void clear(); @@ -66,9 +67,10 @@ class KDE_EXPORT ResultView : public KTextBrowser class KDE_EXPORT eEdit : public KMainWindow { Q_OBJECT + TQ_OBJECT public: - eEdit(const TQString &, TQWidget *parent = 0, const char *name = 0); + eEdit(const TQString &, TQWidget *tqparent = 0, const char *name = 0); ~eEdit(); private slots: @@ -91,8 +93,9 @@ class KDE_EXPORT eEdit : public KMainWindow class KDE_EXPORT EditAction : public KAction { Q_OBJECT + TQ_OBJECT public: - EditAction( const TQString& text, int accel, const TQObject *receiver, const char *member, TQObject* parent, const char* name ); + EditAction( const TQString& text, int accel, const TQObject *receiver, const char *member, TQObject* tqparent, const char* name ); virtual ~EditAction(); virtual int plug( TQWidget *w, int index = -1 ); |