summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/segmentcanvas/PreviewRect.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/editors/segment/segmentcanvas/PreviewRect.h
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/PreviewRect.h')
-rw-r--r--src/gui/editors/segment/segmentcanvas/PreviewRect.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/PreviewRect.h b/src/gui/editors/segment/segmentcanvas/PreviewRect.h
index 59f3113..1e4bc76 100644
--- a/src/gui/editors/segment/segmentcanvas/PreviewRect.h
+++ b/src/gui/editors/segment/segmentcanvas/PreviewRect.h
@@ -26,8 +26,8 @@
#ifndef _RG_PREVIEWRECT_H_
#define _RG_PREVIEWRECT_H_
-#include <qcolor.h>
-#include <qrect.h>
+#include <tqcolor.h>
+#include <tqrect.h>
#include <vector>
@@ -38,22 +38,22 @@ namespace Rosegarden
-class PreviewRect : public QRect {
+class PreviewRect : public TQRect {
public:
PreviewRect(int left, int top, int width, int height) :
- QRect(left, top, width, height) {};
+ TQRect(left, top, width, height) {};
- PreviewRect(const QRect& r) :
- QRect(r) {};
+ PreviewRect(const TQRect& r) :
+ TQRect(r) {};
- const QColor& getColor() const { return m_color; }
- void setColor(QColor c) { m_color = c; }
+ const TQColor& getColor() const { return m_color; }
+ void setColor(TQColor c) { m_color = c; }
protected:
- QColor m_color;
+ TQColor m_color;
};
-typedef std::vector<QImage> PixmapArray;
+typedef std::vector<TQImage> PixmapArray;