diff options
author | Michele Calgaro <[email protected]> | 2024-01-02 11:38:07 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-02 12:06:34 +0900 |
commit | e9f46130c2656aaf299d8793556310c9bf95daee (patch) | |
tree | 19c604d8c26146c0f36e8b13cfa02982f2196025 /src/gui/editors/eventlist | |
parent | 9b054308cef27a642eaa6e9a86db215151468e0b (diff) | |
download | rosegarden-e9f46130c2656aaf299d8793556310c9bf95daee.tar.gz rosegarden-e9f46130c2656aaf299d8793556310c9bf95daee.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gui/editors/eventlist')
-rw-r--r-- | src/gui/editors/eventlist/EventView.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/gui/editors/eventlist/EventView.cpp b/src/gui/editors/eventlist/EventView.cpp index 1ff9dc0..1a79880 100644 --- a/src/gui/editors/eventlist/EventView.cpp +++ b/src/gui/editors/eventlist/EventView.cpp @@ -141,8 +141,8 @@ EventView::EventView(RosegardenGUIDoc *doc, // Connect up // - connect(m_filterGroup, TQT_SIGNAL(released(int)), - TQT_SLOT(slotModifyFilter(int))); + connect(m_filterGroup, TQ_SIGNAL(released(int)), + TQ_SLOT(slotModifyFilter(int))); m_eventList = new TDEListView(getCentralWidget()); m_eventList->setItemsRenameable(true); @@ -169,21 +169,21 @@ EventView::EventView(RosegardenGUIDoc *doc, layout->addWidget(m_triggerName, 0, 1); TQPushButton *editButton = new TQPushButton(i18n("edit"), frame); layout->addWidget(editButton, 0, 2); - connect(editButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditTriggerName())); + connect(editButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditTriggerName())); layout->addWidget(new TQLabel(i18n("Base pitch: "), frame), 1, 0); m_triggerPitch = new TQLabel(TQString("%1").arg(rec->getBasePitch()), frame); layout->addWidget(m_triggerPitch, 1, 1); editButton = new TQPushButton(i18n("edit"), frame); layout->addWidget(editButton, 1, 2); - connect(editButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditTriggerPitch())); + connect(editButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditTriggerPitch())); layout->addWidget(new TQLabel(i18n("Base velocity: "), frame), 2, 0); m_triggerVelocity = new TQLabel(TQString("%1").arg(rec->getBaseVelocity()), frame); layout->addWidget(m_triggerVelocity, 2, 1); editButton = new TQPushButton(i18n("edit"), frame); layout->addWidget(editButton, 2, 2); - connect(editButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditTriggerVelocity())); + connect(editButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditTriggerVelocity())); /*!!! Comment out these two options, which are not yet used anywhere else -- intended for use with library ornaments, not @@ -209,11 +209,11 @@ EventView::EventView(RosegardenGUIDoc *doc, adjust->setCurrentItem(2); } - connect(adjust, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotTriggerTimeAdjustChanged(int))); + connect(adjust, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotTriggerTimeAdjustChanged(int))); TQCheckBox *retune = new TQCheckBox(i18n("Adjust pitch to trigger note by default"), frame); retune->setChecked(rec->getDefaultRetune()); - connect(retune, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotTriggerRetuneChanged())); + connect(retune, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotTriggerRetuneChanged())); layout->addMultiCellWidget(retune, 4, 4, 1, 2); */ @@ -230,12 +230,12 @@ EventView::EventView(RosegardenGUIDoc *doc, // Connect double clicker // - connect(m_eventList, TQT_SIGNAL(doubleClicked(TQListViewItem*)), - TQT_SLOT(slotPopupEventEditor(TQListViewItem*))); + connect(m_eventList, TQ_SIGNAL(doubleClicked(TQListViewItem*)), + TQ_SLOT(slotPopupEventEditor(TQListViewItem*))); connect(m_eventList, - TQT_SIGNAL(rightButtonPressed(TQListViewItem*, const TQPoint&, int)), - TQT_SLOT(slotPopupMenu(TQListViewItem*, const TQPoint&, int))); + TQ_SIGNAL(rightButtonPressed(TQListViewItem*, const TQPoint&, int)), + TQ_SLOT(slotPopupMenu(TQListViewItem*, const TQPoint&, int))); m_eventList->setAllColumnsShowFocus(true); m_eventList->setSelectionMode(TQListView::Extended); @@ -1119,41 +1119,41 @@ EventView::setupActions() TQIconSet icon(TQPixmap(pixmapDir + "/toolbar/event-insert.png")); new TDEAction(i18n("&Insert Event"), icon, Key_I, this, - TQT_SLOT(slotEditInsert()), actionCollection(), + TQ_SLOT(slotEditInsert()), actionCollection(), "insert"); TQCanvasPixmap pixmap(pixmapDir + "/toolbar/event-delete.png"); icon = TQIconSet(pixmap); new TDEAction(i18n("&Delete Event"), icon, Key_Delete, this, - TQT_SLOT(slotEditDelete()), actionCollection(), + TQ_SLOT(slotEditDelete()), actionCollection(), "delete"); pixmap.load(pixmapDir + "/toolbar/event-edit.png"); icon = TQIconSet(pixmap); new TDEAction(i18n("&Edit Event"), icon, Key_E, this, - TQT_SLOT(slotEditEvent()), actionCollection(), + TQ_SLOT(slotEditEvent()), actionCollection(), "edit_simple"); pixmap.load(pixmapDir + "/toolbar/event-edit-advanced.png"); icon = TQIconSet(pixmap); new TDEAction(i18n("&Advanced Event Editor"), icon, Key_A, this, - TQT_SLOT(slotEditEventAdvanced()), actionCollection(), + TQ_SLOT(slotEditEventAdvanced()), actionCollection(), "edit_advanced"); // icon = TQIconSet(TQCanvasPixmap(pixmapDir + "/toolbar/eventfilter.xpm")); new TDEAction(i18n("&Filter Selection"), "filter", Key_F, this, - TQT_SLOT(slotFilterSelection()), actionCollection(), + TQ_SLOT(slotFilterSelection()), actionCollection(), "filter_selection"); new TDEAction(i18n("Select &All"), Key_A + CTRL, this, - TQT_SLOT(slotSelectAll()), actionCollection(), + TQ_SLOT(slotSelectAll()), actionCollection(), "select_all"); new TDEAction(i18n("Clear Selection"), Key_Escape, this, - TQT_SLOT(slotClearSelection()), actionCollection(), + TQ_SLOT(slotClearSelection()), actionCollection(), "clear_selection"); m_config->setGroup(EventViewConfigGroup); @@ -1165,7 +1165,7 @@ EventView::setupActions() icon = TQIconSet(pixmap); action = new TDERadioAction(i18n("&Musical Times"), icon, 0, this, - TQT_SLOT(slotMusicalTime()), + TQ_SLOT(slotMusicalTime()), actionCollection(), "time_musical"); action->setExclusiveGroup("timeMode"); if (timeMode == 0) @@ -1175,7 +1175,7 @@ EventView::setupActions() icon = TQIconSet(pixmap); action = new TDERadioAction(i18n("&Real Times"), icon, 0, this, - TQT_SLOT(slotRealTime()), + TQ_SLOT(slotRealTime()), actionCollection(), "time_real"); action->setExclusiveGroup("timeMode"); if (timeMode == 1) @@ -1185,7 +1185,7 @@ EventView::setupActions() icon = TQIconSet(pixmap); action = new TDERadioAction(i18n("Ra&w Times"), icon, 0, this, - TQT_SLOT(slotRawTime()), + TQ_SLOT(slotRawTime()), actionCollection(), "time_raw"); action->setExclusiveGroup("timeMode"); if (timeMode == 2) @@ -1516,8 +1516,8 @@ EventView::createMenu() m_menu->insertItem(i18n("Open in Event Editor"), 0); m_menu->insertItem(i18n("Open in Expert Event Editor"), 1); - connect(m_menu, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotMenuActivated(int))); + connect(m_menu, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotMenuActivated(int))); } void |