summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/TextEventDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs/TextEventDialog.cpp')
-rw-r--r--src/gui/dialogs/TextEventDialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/dialogs/TextEventDialog.cpp b/src/gui/dialogs/TextEventDialog.cpp
index 756edf0..e7984dd 100644
--- a/src/gui/dialogs/TextEventDialog.cpp
+++ b/src/gui/dialogs/TextEventDialog.cpp
@@ -50,11 +50,11 @@
namespace Rosegarden
{
-TextEventDialog::TextEventDialog(TQWidget *tqparent,
+TextEventDialog::TextEventDialog(TQWidget *parent,
NotePixmapFactory *npf,
Text defaultText,
int maxLength) :
- KDialogBase(tqparent, 0, true, i18n("Text"), Ok | Cancel | Help),
+ KDialogBase(parent, 0, true, i18n("Text"), Ok | Cancel | Help),
m_notePixmapFactory(npf),
m_styles(Text::getUserStyles()) /*,
//m_directives(Text::getLilyPondDirectives()) */
@@ -282,15 +282,15 @@ TextEventDialog::TextEventDialog(TQWidget *tqparent,
int mapWidth = 200;
TQPixmap map(mapWidth, ls * 5 + 1);
- TQBitmap tqmask(mapWidth, ls * 5 + 1);
+ TQBitmap mask(mapWidth, ls * 5 + 1);
map.fill();
- tqmask.fill(TQt::color0);
+ mask.fill(TQt::color0);
TQPainter p, pm;
p.begin(&map);
- pm.begin(&tqmask);
+ pm.begin(&mask);
p.setPen(TQt::black);
pm.setPen(TQt::white);
@@ -304,7 +304,7 @@ TextEventDialog::TextEventDialog(TQWidget *tqparent,
p.end();
pm.end();
- map.setMask(tqmask);
+ map.setMask(mask);
m_staffAboveLabel = new TQLabel("staff", exampleVBox);
m_staffAboveLabel->setPixmap(map);