summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/TextEventDialog.cpp
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/dialogs/TextEventDialog.cpp
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/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);