diff options
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/PreviewRect.h')
-rw-r--r-- | src/gui/editors/segment/segmentcanvas/PreviewRect.h | 20 |
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; |