summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NotePixmapPainter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/notation/NotePixmapPainter.h')
-rw-r--r--src/gui/editors/notation/NotePixmapPainter.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/editors/notation/NotePixmapPainter.h b/src/gui/editors/notation/NotePixmapPainter.h
index ff8edae..9b56052 100644
--- a/src/gui/editors/notation/NotePixmapPainter.h
+++ b/src/gui/editors/notation/NotePixmapPainter.h
@@ -61,13 +61,13 @@ public:
if (mask) {
m_useMask = true;
- m_maskPainter.begin(mask, unclipped);
+ m_maskPainter.tqbegin(mask, unclipped);
} else {
m_useMask = false;
}
m_painter = &m_myPainter;
- return m_painter->begin(device, unclipped);
+ return m_painter->tqbegin(device, unclipped);
}
bool end() {
@@ -105,19 +105,19 @@ public:
void drawPolygon(const TQPointArray &a, bool winding = false,
int index = 0, int n = -1) {
- m_painter->drawPolygon(a, winding, index, n);
- if (m_useMask) m_maskPainter.drawPolygon(a, winding, index, n);
+ m_painter->tqdrawPolygon(a, winding, index, n);
+ if (m_useMask) m_maskPainter.tqdrawPolygon(a, winding, index, n);
}
void drawPolyline(const TQPointArray &a, int index = 0, int n = -1) {
- m_painter->drawPolyline(a, index, n);
- if (m_useMask) m_maskPainter.drawPolyline(a, index, n);
+ m_painter->tqdrawPolyline(a, index, n);
+ if (m_useMask) m_maskPainter.tqdrawPolyline(a, index, n);
}
void drawPixmap(int x, int y, const TQPixmap &pm,
int sx = 0, int sy = 0, int sw = -1, int sh = -1) {
- m_painter->drawPixmap(x, y, pm, sx, sy, sw, sh);
- if (m_useMask) m_maskPainter.drawPixmap(x, y, *(pm.mask()), sx, sy, sw, sh);
+ m_painter->tqdrawPixmap(x, y, pm, sx, sy, sw, sh);
+ if (m_useMask) m_maskPainter.tqdrawPixmap(x, y, *(pm.mask()), sx, sy, sw, sh);
}
void drawText(int x, int y, const TQString &string) {