summaryrefslogtreecommitdiffstats
path: root/juk/viewmode.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /juk/viewmode.h
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/viewmode.h')
-rw-r--r--juk/viewmode.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/juk/viewmode.h b/juk/viewmode.h
index 2f164177..2ef4f007 100644
--- a/juk/viewmode.h
+++ b/juk/viewmode.h
@@ -26,9 +26,10 @@ class TQColorGroup;
class SearchPlaylist;
-class ViewMode : public QObject
+class ViewMode : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
ViewMode(PlaylistBox *b);
@@ -39,7 +40,7 @@ public:
virtual void paintCell(PlaylistBox::Item *item,
TQPainter *painter,
- const TQColorGroup &colorGroup,
+ const TQColorGroup &tqcolorGroup,
int column, int width, int align);
virtual bool eventFilter(TQObject *watched, TQEvent *e);
@@ -105,7 +106,7 @@ public:
virtual void paintCell(PlaylistBox::Item *item,
TQPainter *painter,
- const TQColorGroup &colorGroup,
+ const TQColorGroup &tqcolorGroup,
int column, int width, int align);
virtual void setupItem(PlaylistBox::Item *item) const { item->KListViewItem::setup(); }
@@ -120,6 +121,7 @@ class TreeViewItemPlaylist;
class TreeViewMode : public CompactViewMode
{
Q_OBJECT
+ TQ_OBJECT
public:
TreeViewMode(PlaylistBox *l);
@@ -149,6 +151,7 @@ private:
class CoverManagerMode : public ViewMode
{
Q_OBJECT
+ TQ_OBJECT
public:
CoverManagerMode(PlaylistBox *b);