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/gvdirpart/gvdirpart.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/gvdirpart/gvdirpart.h') diff --git a/src/gvdirpart/gvdirpart.h b/src/gvdirpart/gvdirpart.h index 0cd3df7..339471f 100644 --- a/src/gvdirpart/gvdirpart.h +++ b/src/gvdirpart/gvdirpart.h @@ -23,8 +23,8 @@ Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. #include // Forward declarations -class QPoint; -class QSplitter; +class TQPoint; +class TQSplitter; class KAboutData; class KAction; class KToggleAction; @@ -44,6 +44,7 @@ class GVDirPart; */ class GVDirPartBrowserExtension: public KParts::BrowserExtension { Q_OBJECT + TQ_OBJECT public: GVDirPartBrowserExtension(GVDirPart* viewPart, const char* name=0L); @@ -58,8 +59,8 @@ public slots: void print(); private slots: - void openFileViewContextMenu(const QPoint&, bool onItem); - void openImageViewContextMenu(const QPoint&); + void openFileViewContextMenu(const TQPoint&, bool onItem); + void openImageViewContextMenu(const TQPoint&); private: GVDirPart* mGVDirPart; @@ -70,8 +71,9 @@ private: */ class GVDirPart : public KParts::ReadOnlyPart { Q_OBJECT + TQ_OBJECT public: - GVDirPart(QWidget*, const char*, QObject*, const char*, const QStringList &); + GVDirPart(TQWidget*, const char*, TQObject*, const char*, const TQStringList &); virtual ~GVDirPart(); /** @@ -139,7 +141,7 @@ protected: * The component's widget, contains the files view on the left * and scroll view on the right. */ - QSplitter* mSplitter; + TQSplitter* mSplitter; /** * Scroll widget -- cgit v1.2.1