From 7a741e43ff09e70396a918956219b8316c48e522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 27 Apr 2011 00:40:29 +0000 Subject: TQt4 port Dolphin This enables compilation under Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1229359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/itemeffectsmanager.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/itemeffectsmanager.h') diff --git a/src/itemeffectsmanager.h b/src/itemeffectsmanager.h index eb2921d..abfc009 100644 --- a/src/itemeffectsmanager.h +++ b/src/itemeffectsmanager.h @@ -21,10 +21,10 @@ #ifndef ITEMEFFECTSMANAGER_H #define ITEMEFFECTSMANAGER_H -#include -#include +#include +#include #include -#include +#include class KFileItem; /** @@ -42,10 +42,10 @@ class KFileItem; * which usually is represented by a KFileListViewItem or * a KFileIconViewItem. * - * In Qt4 the item effects manager should get integrated as part of Interview + * In TQt4 the item effects manager should get integrated as part of Interview * and hence no abstract context handling should be necessary anymore. The main * purpose of the current interface is to prevent code duplication as there is - * no common model shared by QListView and QIconView of Qt3. + * no common model shared by TQListView and TQIconView of TQt3. * * @see DolphinIconsView * @see DolphinDetailsView @@ -91,8 +91,8 @@ public: protected: virtual void setContextPixmap(void* context, - const QPixmap& pixmap) = 0; - virtual const QPixmap* contextPixmap(void* context) = 0; + const TQPixmap& pixmap) = 0; + virtual const TQPixmap* contextPixmap(void* context) = 0; virtual void* firstContext() = 0; virtual void* nextContext(void* context) = 0; virtual KFileItem* contextFileInfo(void* context) = 0; @@ -104,17 +104,17 @@ protected: private: struct DisabledItem { KURL url; - QPixmap pixmap; + TQPixmap pixmap; }; - QPixmap* m_pixmapCopy; + TQPixmap* m_pixmapCopy; KURL m_highlightedURL; // contains all items which have been disabled by a 'cut' operation - QValueList m_disabledItems; + TQValueList m_disabledItems; /** Returns the text for the statusbar for an activated item. */ - QString statusBarText(KFileItem* fileInfo) const; + TQString statusBarText(KFileItem* fileInfo) const; }; #endif -- cgit v1.2.1