From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/grepview/grepviewwidget.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'parts/grepview/grepviewwidget.h') diff --git a/parts/grepview/grepviewwidget.h b/parts/grepview/grepviewwidget.h index 9c232b1b..f0b57aff 100644 --- a/parts/grepview/grepviewwidget.h +++ b/parts/grepview/grepviewwidget.h @@ -25,8 +25,9 @@ class TQToolButton; class GrepViewProcessWidget : public ProcessWidget { Q_OBJECT + TQ_OBJECT public: - GrepViewProcessWidget(TQWidget* parent) : ProcessWidget(parent) {}; + GrepViewProcessWidget(TQWidget* tqparent) : ProcessWidget(tqparent) {}; ~GrepViewProcessWidget(){}; void setMatchCount(int newCount) { @@ -56,9 +57,10 @@ private: TQCString grepbuf; }; -class GrepViewWidget : public QWidget +class GrepViewWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: GrepViewWidget(GrepViewPart *part); -- cgit v1.2.1