From bf7f88413be3831a9372d323d02fc0335b9f9188 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 26 May 2011 21:04:57 +0000 Subject: TQt4 port Gwenview This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gvcore/threadgate.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/gvcore/threadgate.h') diff --git a/src/gvcore/threadgate.h b/src/gvcore/threadgate.h index f88fffb..57c7654 100644 --- a/src/gvcore/threadgate.h +++ b/src/gvcore/threadgate.h @@ -22,22 +22,23 @@ Copyright 2000-2004 Aur #ifndef THREADGATE_H #define THREADGATE_H -#include -#include +#include +#include namespace Gwenview { -class ThreadGate : public QObject +class ThreadGate : public TQObject { Q_OBJECT + TQ_OBJECT public: static ThreadGate* instance(); - QColor color( const char* name ); + TQColor color( const char* name ); private: ThreadGate(); signals: - void signalColor( QColor&, const char* ); + void signalColor( TQColor&, const char* ); private slots: - void slotColor( QColor&, const char* ); + void slotColor( TQColor&, const char* ); }; } // namespace -- cgit v1.2.1