diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-02 11:38:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 17:29:20 +0900 |
commit | a3a855ce18bdb905ef57b9feb174afc441132665 (patch) | |
tree | 19c604d8c26146c0f36e8b13cfa02982f2196025 /src/gui/editors/notation/NoteInserter.cpp | |
parent | 0d651f25b2871e8e16bf7a1c3563066489a7a0b2 (diff) | |
download | rosegarden-a3a855ce.tar.gz rosegarden-a3a855ce.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e9f46130c2656aaf299d8793556310c9bf95daee)
Diffstat (limited to 'src/gui/editors/notation/NoteInserter.cpp')
-rw-r--r-- | src/gui/editors/notation/NoteInserter.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/editors/notation/NoteInserter.cpp b/src/gui/editors/notation/NoteInserter.cpp index 273113c..74d51d6 100644 --- a/src/gui/editors/notation/NoteInserter.cpp +++ b/src/gui/editors/notation/NoteInserter.cpp @@ -78,7 +78,7 @@ NoteInserter::NoteInserter(NotationView* view) TDEToggleAction *autoBeamAction = new TDEToggleAction(i18n("Auto-Beam when appropriate"), 0, this, - TQT_SLOT(slotToggleAutoBeam()), actionCollection(), + TQ_SLOT(slotToggleAutoBeam()), actionCollection(), "toggle_auto_beam"); autoBeamAction->setChecked(m_autoBeam); @@ -99,30 +99,30 @@ NoteInserter::NoteInserter(NotationView* view) (NotePixmapFactory::toTQPixmap(NotePixmapFactory:: makeToolbarPixmap("dotted-crotchet"))); new TDEToggleAction(i18n("Dotted note"), icon, 0, this, - TQT_SLOT(slotToggleDot()), actionCollection(), + TQ_SLOT(slotToggleDot()), actionCollection(), "toggle_dot"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory:: makeToolbarPixmap("select"))); new TDEAction(i18n("Switch to Select Tool"), icon, 0, this, - TQT_SLOT(slotSelectSelected()), actionCollection(), + TQ_SLOT(slotSelectSelected()), actionCollection(), "select"); new TDEAction(i18n("Switch to Erase Tool"), "eraser", 0, this, - TQT_SLOT(slotEraseSelected()), actionCollection(), + TQ_SLOT(slotEraseSelected()), actionCollection(), "erase"); icon = TQIconSet (NotePixmapFactory::toTQPixmap(NotePixmapFactory:: makeToolbarPixmap("rest-crotchet"))); new TDEAction(i18n("Switch to Inserting Rests"), icon, 0, this, - TQT_SLOT(slotRestsSelected()), actionCollection(), + TQ_SLOT(slotRestsSelected()), actionCollection(), "rests"); createMenu("noteinserter.rc"); - connect(m_parentView, TQT_SIGNAL(changeAccidental(Accidental, bool)), - this, TQT_SLOT(slotSetAccidental(Accidental, bool))); + connect(m_parentView, TQ_SIGNAL(changeAccidental(Accidental, bool)), + this, TQ_SLOT(slotSetAccidental(Accidental, bool))); } NoteInserter::NoteInserter(const TQString& menuName, NotationView* view) @@ -135,8 +135,8 @@ NoteInserter::NoteInserter(const TQString& menuName, NotationView* view) m_lastAccidental(Accidentals::NoAccidental), m_followAccidental(false) { - connect(m_parentView, TQT_SIGNAL(changeAccidental(Accidental, bool)), - this, TQT_SLOT(slotSetAccidental(Accidental, bool))); + connect(m_parentView, TQ_SIGNAL(changeAccidental(Accidental, bool)), + this, TQ_SLOT(slotSetAccidental(Accidental, bool))); } NoteInserter::~NoteInserter() |