summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NotePixmapPainter.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit3fcef18c75f7cd751ed706c12977230242fb817d (patch)
treea94c2497a3923ed9972e71c5bbba0697882c1427 /src/gui/editors/notation/NotePixmapPainter.h
parent80ee419f074dc252449791628d4584b5c0ea0c9b (diff)
downloadrosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.tar.gz
rosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/notation/NotePixmapPainter.h')
-rw-r--r--src/gui/editors/notation/NotePixmapPainter.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/editors/notation/NotePixmapPainter.h b/src/gui/editors/notation/NotePixmapPainter.h
index 485f5a1..9b56052 100644
--- a/src/gui/editors/notation/NotePixmapPainter.h
+++ b/src/gui/editors/notation/NotePixmapPainter.h
@@ -33,7 +33,7 @@ namespace Rosegarden {
class NotePixmapPainter
{
// Just a trivial class that instructs two painters to do the
- // same thing (one for the pixmap, one for the tqmask). We only
+ // same thing (one for the pixmap, one for the mask). We only
// duplicate those methods we actually use in NotePixmapFactory
public:
@@ -55,13 +55,13 @@ public:
}
}
- bool begin(TQPaintDevice *device, TQPaintDevice *tqmask = 0, bool unclipped = false) {
+ bool begin(TQPaintDevice *device, TQPaintDevice *mask = 0, bool unclipped = false) {
m_externalPainter = 0;
- if (tqmask) {
+ if (mask) {
m_useMask = true;
- m_maskPainter.tqbegin(tqmask, unclipped);
+ m_maskPainter.tqbegin(mask, unclipped);
} else {
m_useMask = false;
}
@@ -117,7 +117,7 @@ public:
void drawPixmap(int x, int y, const TQPixmap &pm,
int sx = 0, int sy = 0, int sw = -1, int sh = -1) {
m_painter->tqdrawPixmap(x, y, pm, sx, sy, sw, sh);
- if (m_useMask) m_maskPainter.tqdrawPixmap(x, y, *(pm.tqmask()), 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) {