summaryrefslogtreecommitdiffstats
path: root/src/part/radialMap/radialMap.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 00:38:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 00:38:19 +0000
commitf0296ef9e1f94e23c00d6f490e565d1dc768416d (patch)
tree7f3fd9f99621c111ff67f2d62feb5960a3371853 /src/part/radialMap/radialMap.h
parent3098eb909534268622ce776f9a7bb5310d31b3c1 (diff)
downloadfilelight-f0296ef9e1f94e23c00d6f490e565d1dc768416d.tar.gz
filelight-f0296ef9e1f94e23c00d6f490e565d1dc768416d.zip
TQt4 port Filelight
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/filelight@1233561 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/part/radialMap/radialMap.h')
-rw-r--r--src/part/radialMap/radialMap.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/part/radialMap/radialMap.h b/src/part/radialMap/radialMap.h
index 5023b89..5c864c5 100644
--- a/src/part/radialMap/radialMap.h
+++ b/src/part/radialMap/radialMap.h
@@ -4,7 +4,7 @@
#ifndef RADIALMAP_H
#define RADIALMAP_H
-#include <qcolor.h>
+#include <tqcolor.h>
class File;
@@ -26,8 +26,8 @@ namespace RadialMap
uint length() const { return m_angleSegment; }
uint end() const { return m_angleStart + m_angleSegment; }
const File *file() const { return m_file; }
- const QColor& pen() const { return m_pen; }
- const QColor& brush() const { return m_brush; }
+ const TQColor& pen() const { return m_pen; }
+ const TQColor& brush() const { return m_brush; }
bool isFake() const { return m_fake; }
bool hasHiddenChildren() const { return m_hasHiddenChildren; }
@@ -38,11 +38,11 @@ namespace RadialMap
friend class Builder;
private:
- void setPalette( const QColor &p, const QColor &b ) { m_pen = p; m_brush = b; }
+ void setPalette( const TQColor &p, const TQColor &b ) { m_pen = p; m_brush = b; }
const uint m_angleStart, m_angleSegment;
const File* const m_file;
- QColor m_pen, m_brush;
+ TQColor m_pen, m_brush;
bool m_hasHiddenChildren;
const bool m_fake;
};