summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NoteInserter.cpp
diff options
context:
space:
mode:
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 {