summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NoteInserter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit1905a36716979889e47bb0fdd7bf33c6204c5a6d (patch)
tree0daef2425269e8053435f4f7e734091d72e27be0 /src/gui/editors/notation/NoteInserter.cpp
parent05768569bc9c8b3eb75c837d305058fc280db63c (diff)
downloadrosegarden-1905a36716979889e47bb0fdd7bf33c6204c5a6d.tar.gz
rosegarden-1905a36716979889e47bb0fdd7bf33c6204c5a6d.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/notation/NoteInserter.cpp')
-rw-r--r--src/gui/editors/notation/NoteInserter.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/editors/notation/NoteInserter.cpp b/src/gui/editors/notation/NoteInserter.cpp
index 7827761..3179534 100644
--- a/src/gui/editors/notation/NoteInserter.cpp
+++ b/src/gui/editors/notation/NoteInserter.cpp
@@ -123,7 +123,7 @@ NoteInserter::NoteInserter(NotationView* view)
createMenu("noteinserter.rc");
- connect(m_tqparentView, TQT_SIGNAL(changeAccidental(Accidental, bool)),
+ connect(m_parentView, TQT_SIGNAL(changeAccidental(Accidental, bool)),
this, TQT_SLOT(slotSetAccidental(Accidental, bool)));
}
@@ -137,7 +137,7 @@ NoteInserter::NoteInserter(const TQString& menuName, NotationView* view)
m_lastAccidental(Accidentals::NoAccidental),
m_followAccidental(false)
{
- connect(m_tqparentView, TQT_SIGNAL(changeAccidental(Accidental, bool)),
+ connect(m_parentView, TQT_SIGNAL(changeAccidental(Accidental, bool)),
this, TQT_SLOT(slotSetAccidental(Accidental, bool)));
}
@@ -623,37 +623,37 @@ void NoteInserter::slotSetAccidental(Accidental accidental,
void NoteInserter::slotNoAccidental()
{
- m_tqparentView->actionCollection()->action("no_accidental")->activate();
+ m_parentView->actionCollection()->action("no_accidental")->activate();
}
void NoteInserter::slotFollowAccidental()
{
- m_tqparentView->actionCollection()->action("follow_accidental")->activate();
+ m_parentView->actionCollection()->action("follow_accidental")->activate();
}
void NoteInserter::slotSharp()
{
- m_tqparentView->actionCollection()->action("sharp_accidental")->activate();
+ m_parentView->actionCollection()->action("sharp_accidental")->activate();
}
void NoteInserter::slotFlat()
{
- m_tqparentView->actionCollection()->action("flat_accidental")->activate();
+ m_parentView->actionCollection()->action("flat_accidental")->activate();
}
void NoteInserter::slotNatural()
{
- m_tqparentView->actionCollection()->action("natural_accidental")->activate();
+ m_parentView->actionCollection()->action("natural_accidental")->activate();
}
void NoteInserter::slotDoubleSharp()
{
- m_tqparentView->actionCollection()->action("double_sharp_accidental")->activate();
+ m_parentView->actionCollection()->action("double_sharp_accidental")->activate();
}
void NoteInserter::slotDoubleFlat()
{
- m_tqparentView->actionCollection()->action("double_flat_accidental")->activate();
+ m_parentView->actionCollection()->action("double_flat_accidental")->activate();
}
void NoteInserter::slotToggleDot()
@@ -662,7 +662,7 @@ void NoteInserter::slotToggleDot()
Note note(m_noteType, m_noteDots);
TQString actionName(NotationStrings::getReferenceName(note));
actionName.tqreplace(TQRegExp("-"), "_");
- KAction *action = m_tqparentView->actionCollection()->action(actionName);
+ KAction *action = m_parentView->actionCollection()->action(actionName);
if (!action) {
std::cerr << "WARNING: No such action as " << actionName << std::endl;
} else {
@@ -677,12 +677,12 @@ void NoteInserter::slotToggleAutoBeam()
void NoteInserter::slotEraseSelected()
{
- m_tqparentView->actionCollection()->action("erase")->activate();
+ m_parentView->actionCollection()->action("erase")->activate();
}
void NoteInserter::slotSelectSelected()
{
- m_tqparentView->actionCollection()->action("select")->activate();
+ m_parentView->actionCollection()->action("select")->activate();
}
void NoteInserter::slotRestsSelected()
@@ -690,7 +690,7 @@ void NoteInserter::slotRestsSelected()
Note note(m_noteType, m_noteDots);
TQString actionName(NotationStrings::getReferenceName(note, true));
actionName.tqreplace(TQRegExp("-"), "_");
- KAction *action = m_tqparentView->actionCollection()->action(actionName);
+ KAction *action = m_parentView->actionCollection()->action(actionName);
if (!action) {
std::cerr << "WARNING: No such action as " << actionName << std::endl;
} else {