diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
commit | 7a741e43ff09e70396a918956219b8316c48e522 (patch) | |
tree | 3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/itemeffectsmanager.h | |
parent | a48487ef0c329434b58b6f920111bb0999f1109e (diff) | |
download | dolphin-7a741e43ff09e70396a918956219b8316c48e522.tar.gz dolphin-7a741e43ff09e70396a918956219b8316c48e522.zip |
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
Diffstat (limited to 'src/itemeffectsmanager.h')
-rw-r--r-- | src/itemeffectsmanager.h | 22 |
1 files changed, 11 insertions, 11 deletions
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 <qobject.h> -#include <qpixmap.h> +#include <tqobject.h> +#include <tqpixmap.h> #include <kurl.h> -#include <qvaluelist.h> +#include <tqvaluelist.h> 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<DisabledItem> m_disabledItems; + TQValueList<DisabledItem> m_disabledItems; /** Returns the text for the statusbar for an activated item. */ - QString statusBarText(KFileItem* fileInfo) const; + TQString statusBarText(KFileItem* fileInfo) const; }; #endif |