summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/RestInserter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/notation/RestInserter.cpp')
-rw-r--r--src/gui/editors/notation/RestInserter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/editors/notation/RestInserter.cpp b/src/gui/editors/notation/RestInserter.cpp
index d55dd3e..674ce60 100644
--- a/src/gui/editors/notation/RestInserter.cpp
+++ b/src/gui/editors/notation/RestInserter.cpp
@@ -59,24 +59,24 @@ RestInserter::RestInserter(NotationView* view)
icon = TQIconSet
(NotePixmapFactory::toTQPixmap(NotePixmapFactory::
makeToolbarPixmap("dotted-rest-crotchet")));
- new KToggleAction(i18n("Dotted rest"), icon, 0, this,
+ new TDEToggleAction(i18n("Dotted rest"), icon, 0, this,
TQT_SLOT(slotToggleDot()), actionCollection(),
"toggle_dot");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::
makeToolbarPixmap("select")));
- new KAction(i18n("Switch to Select Tool"), icon, 0, this,
+ new TDEAction(i18n("Switch to Select Tool"), icon, 0, this,
TQT_SLOT(slotSelectSelected()), actionCollection(),
"select");
- new KAction(i18n("Switch to Erase Tool"), "eraser", 0, this,
+ new TDEAction(i18n("Switch to Erase Tool"), "eraser", 0, this,
TQT_SLOT(slotEraseSelected()), actionCollection(),
"erase");
icon = TQIconSet
(NotePixmapFactory::toTQPixmap(NotePixmapFactory::
makeToolbarPixmap("crotchet")));
- new KAction(i18n("Switch to Inserting Notes"), icon, 0, this,
+ new TDEAction(i18n("Switch to Inserting Notes"), icon, 0, this,
TQT_SLOT(slotNotesSelected()), actionCollection(),
"notes");
@@ -128,7 +128,7 @@ void RestInserter::slotToggleDot()
Note note(m_noteType, m_noteDots);
TQString actionName(NotationStrings::getReferenceName(note, true));
actionName.replace(TQRegExp("-"), "_");
- KAction *action = m_parentView->actionCollection()->action(actionName.ascii());
+ TDEAction *action = m_parentView->actionCollection()->action(actionName.ascii());
if (!action) {
std::cerr << "WARNING: No such action as " << actionName.ascii() << std::endl;
} else {