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 | |
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')
38 files changed, 893 insertions, 893 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 diff --git a/src/gui/editors/guitar/GuitarChordEditorDialog.cpp b/src/gui/editors/guitar/GuitarChordEditorDialog.cpp index 7e5fe18..481558e 100644 --- a/src/gui/editors/guitar/GuitarChordEditorDialog.cpp +++ b/src/gui/editors/guitar/GuitarChordEditorDialog.cpp @@ -50,8 +50,8 @@ GuitarChordEditorDialog::GuitarChordEditorDialog(Guitar::Chord& chord, const Gui m_startFret = new TQSpinBox(1, 24, 1, page); topLayout->addWidget(m_startFret, 1, 1); - connect(m_startFret, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotStartFretChanged(int))); + connect(m_startFret, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotStartFretChanged(int))); topLayout->addWidget(new TQLabel(i18n("Root"), page), 2, 1); m_rootNotesList = new TQComboBox(page); diff --git a/src/gui/editors/guitar/GuitarChordSelectorDialog.cpp b/src/gui/editors/guitar/GuitarChordSelectorDialog.cpp index f9845c1..ac1a266 100644 --- a/src/gui/editors/guitar/GuitarChordSelectorDialog.cpp +++ b/src/gui/editors/guitar/GuitarChordSelectorDialog.cpp @@ -63,8 +63,8 @@ GuitarChordSelectorDialog::GuitarChordSelectorDialog(TQWidget *parent) m_chordComplexityCombo->insertItem(i18n("common")); m_chordComplexityCombo->insertItem(i18n("all")); - connect(m_chordComplexityCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotComplexityChanged(int))); + connect(m_chordComplexityCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotComplexityChanged(int))); TQVBoxLayout* vboxLayout = new TQVBoxLayout(page, 5); topLayout->addMultiCellLayout(vboxLayout, 1, 3, 2, 2); @@ -74,12 +74,12 @@ GuitarChordSelectorDialog::GuitarChordSelectorDialog(TQWidget *parent) vboxLayout->addWidget(m_deleteFingeringButton); vboxLayout->addWidget(m_editFingeringButton); - connect(m_newFingeringButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNewFingering())); - connect(m_deleteFingeringButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotDeleteFingering())); - connect(m_editFingeringButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotEditFingering())); + connect(m_newFingeringButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNewFingering())); + connect(m_deleteFingeringButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotDeleteFingering())); + connect(m_editFingeringButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotEditFingering())); topLayout->addWidget(new TQLabel(i18n("Fingerings"), page), 0, 3); m_fingeringsList = new TQListBox(page); @@ -88,12 +88,12 @@ GuitarChordSelectorDialog::GuitarChordSelectorDialog(TQWidget *parent) m_fingeringBox = new FingeringBox(false, page); topLayout->addMultiCellWidget(m_fingeringBox, 2, 2, 0, 1); - connect(m_rootNotesList, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(slotRootHighlighted(int))); - connect(m_chordExtList, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(slotChordExtHighlighted(int))); - connect(m_fingeringsList, TQT_SIGNAL(highlighted(TQListBoxItem*)), - this, TQT_SLOT(slotFingeringHighlighted(TQListBoxItem*))); + connect(m_rootNotesList, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(slotRootHighlighted(int))); + connect(m_chordExtList, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(slotChordExtHighlighted(int))); + connect(m_fingeringsList, TQ_SIGNAL(highlighted(TQListBoxItem*)), + this, TQ_SLOT(slotFingeringHighlighted(TQListBoxItem*))); } void diff --git a/src/gui/editors/matrix/MatrixEraser.cpp b/src/gui/editors/matrix/MatrixEraser.cpp index 3d0f960..f7926f2 100644 --- a/src/gui/editors/matrix/MatrixEraser.cpp +++ b/src/gui/editors/matrix/MatrixEraser.cpp @@ -50,21 +50,21 @@ MatrixEraser::MatrixEraser(MatrixView* parent) TQIconSet icon = TQIconSet(pixmap); new TDEAction(i18n("Switch to Select Tool"), icon, 0, this, - TQT_SLOT(slotSelectSelected()), actionCollection(), + TQ_SLOT(slotSelectSelected()), actionCollection(), "select"); new TDEAction(i18n("Switch to Draw Tool"), "pencil", 0, this, - TQT_SLOT(slotDrawSelected()), actionCollection(), + TQ_SLOT(slotDrawSelected()), actionCollection(), "draw"); new TDEAction(i18n("Switch to Move Tool"), "move", 0, this, - TQT_SLOT(slotMoveSelected()), actionCollection(), + TQ_SLOT(slotMoveSelected()), actionCollection(), "move"); pixmap.load(pixmapDir + "/toolbar/resize.xpm"); icon = TQIconSet(pixmap); new TDEAction(i18n("Switch to Resize Tool"), icon, 0, this, - TQT_SLOT(slotResizeSelected()), actionCollection(), + TQ_SLOT(slotResizeSelected()), actionCollection(), "resize"); createMenu("matrixeraser.rc"); diff --git a/src/gui/editors/matrix/MatrixMover.cpp b/src/gui/editors/matrix/MatrixMover.cpp index 5a0bb55..04adf49 100644 --- a/src/gui/editors/matrix/MatrixMover.cpp +++ b/src/gui/editors/matrix/MatrixMover.cpp @@ -63,21 +63,21 @@ MatrixMover::MatrixMover(MatrixView* parent) : TQIconSet icon = TQIconSet(pixmap); new TDEAction(i18n("Switch to Select Tool"), icon, 0, this, - TQT_SLOT(slotSelectSelected()), actionCollection(), + TQ_SLOT(slotSelectSelected()), actionCollection(), "select"); new TDEAction(i18n("Switch to Draw Tool"), "pencil", 0, this, - TQT_SLOT(slotDrawSelected()), actionCollection(), + TQ_SLOT(slotDrawSelected()), actionCollection(), "draw"); new TDEAction(i18n("Switch to Erase Tool"), "eraser", 0, this, - TQT_SLOT(slotEraseSelected()), actionCollection(), + TQ_SLOT(slotEraseSelected()), actionCollection(), "erase"); pixmap.load(pixmapDir + "/toolbar/resize.xpm"); icon = TQIconSet(pixmap); new TDEAction(i18n("Switch to Resize Tool"), icon, 0, this, - TQT_SLOT(slotResizeSelected()), actionCollection(), + TQ_SLOT(slotResizeSelected()), actionCollection(), "resize"); createMenu("matrixmover.rc"); @@ -418,20 +418,20 @@ void MatrixMover::handleMouseRelease(timeT newTime, void MatrixMover::ready() { - connect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotMatrixScrolled(int, int))); - connect(this, TQT_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)), - m_mParentView, TQT_SLOT(slotHoveredOverNoteChanged(int, bool, timeT))); + connect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotMatrixScrolled(int, int))); + connect(this, TQ_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)), + m_mParentView, TQ_SLOT(slotHoveredOverNoteChanged(int, bool, timeT))); m_mParentView->setCanvasCursor(TQt::sizeAllCursor); setBasicContextHelp(); } void MatrixMover::stow() { - disconnect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotMatrixScrolled(int, int))); - disconnect(this, TQT_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)), - m_mParentView, TQT_SLOT(slotHoveredOverNoteChanged(int, bool, timeT))); + disconnect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotMatrixScrolled(int, int))); + disconnect(this, TQ_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)), + m_mParentView, TQ_SLOT(slotHoveredOverNoteChanged(int, bool, timeT))); } void MatrixMover::slotMatrixScrolled(int newX, int newY) diff --git a/src/gui/editors/matrix/MatrixPainter.cpp b/src/gui/editors/matrix/MatrixPainter.cpp index 6514b2d..8a22b41 100644 --- a/src/gui/editors/matrix/MatrixPainter.cpp +++ b/src/gui/editors/matrix/MatrixPainter.cpp @@ -61,21 +61,21 @@ MatrixPainter::MatrixPainter(MatrixView* parent) TQIconSet icon = TQIconSet(pixmap); 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"); new TDEAction(i18n("Switch to Move Tool"), "move", 0, this, - TQT_SLOT(slotMoveSelected()), actionCollection(), + TQ_SLOT(slotMoveSelected()), actionCollection(), "move"); pixmap.load(pixmapDir + "/toolbar/resize.xpm"); icon = TQIconSet(pixmap); new TDEAction(i18n("Switch to Resize Tool"), icon, 0, this, - TQT_SLOT(slotResizeSelected()), actionCollection(), + TQ_SLOT(slotResizeSelected()), actionCollection(), "resize"); createMenu("matrixpainter.rc"); @@ -318,8 +318,8 @@ void MatrixPainter::handleMouseRelease(timeT endTime, void MatrixPainter::ready() { - connect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotMatrixScrolled(int, int))); + connect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotMatrixScrolled(int, int))); m_mParentView->setCanvasCursor(TQt::crossCursor); @@ -328,8 +328,8 @@ void MatrixPainter::ready() void MatrixPainter::stow() { - disconnect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotMatrixScrolled(int, int))); + disconnect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotMatrixScrolled(int, int))); } void MatrixPainter::slotMatrixScrolled(int newX, int newY) diff --git a/src/gui/editors/matrix/MatrixResizer.cpp b/src/gui/editors/matrix/MatrixResizer.cpp index 0e6141b..735ce3c 100644 --- a/src/gui/editors/matrix/MatrixResizer.cpp +++ b/src/gui/editors/matrix/MatrixResizer.cpp @@ -59,19 +59,19 @@ MatrixResizer::MatrixResizer(MatrixView* parent) TQIconSet icon = TQIconSet(pixmap); new TDEAction(i18n("Switch to Select Tool"), icon, 0, this, - TQT_SLOT(slotSelectSelected()), actionCollection(), + TQ_SLOT(slotSelectSelected()), actionCollection(), "select"); new TDEAction(i18n("Switch to Draw Tool"), "pencil", 0, this, - TQT_SLOT(slotDrawSelected()), actionCollection(), + TQ_SLOT(slotDrawSelected()), actionCollection(), "draw"); new TDEAction(i18n("Switch to Erase Tool"), "eraser", 0, this, - TQT_SLOT(slotEraseSelected()), actionCollection(), + TQ_SLOT(slotEraseSelected()), actionCollection(), "erase"); new TDEAction(i18n("Switch to Move Tool"), "move", 0, this, - TQT_SLOT(slotMoveSelected()), actionCollection(), + TQ_SLOT(slotMoveSelected()), actionCollection(), "move"); createMenu("matrixresizer.rc"); @@ -287,16 +287,16 @@ void MatrixResizer::handleMouseRelease(timeT newTime, void MatrixResizer::ready() { - connect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotMatrixScrolled(int, int))); + connect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotMatrixScrolled(int, int))); m_mParentView->setCanvasCursor(TQt::sizeHorCursor); setBasicContextHelp(); } void MatrixResizer::stow() { - disconnect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotMatrixScrolled(int, int))); + disconnect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotMatrixScrolled(int, int))); } void MatrixResizer::slotMatrixScrolled(int newX, int newY) diff --git a/src/gui/editors/matrix/MatrixSelector.cpp b/src/gui/editors/matrix/MatrixSelector.cpp index ccb9c9e..c084cd3 100644 --- a/src/gui/editors/matrix/MatrixSelector.cpp +++ b/src/gui/editors/matrix/MatrixSelector.cpp @@ -69,19 +69,19 @@ MatrixSelector::MatrixSelector(MatrixView* view) m_matrixView(view), m_selectionToMerge(0) { - connect(m_parentView, TQT_SIGNAL(usedSelection()), - this, TQT_SLOT(slotHideSelection())); + connect(m_parentView, TQ_SIGNAL(usedSelection()), + this, TQ_SLOT(slotHideSelection())); new TDEAction(i18n("Switch to Draw Tool"), "pencil", 0, this, - TQT_SLOT(slotDrawSelected()), actionCollection(), + TQ_SLOT(slotDrawSelected()), actionCollection(), "draw"); new TDEAction(i18n("Switch to Erase Tool"), "eraser", 0, this, - TQT_SLOT(slotEraseSelected()), actionCollection(), + TQ_SLOT(slotEraseSelected()), actionCollection(), "erase"); new TDEAction(i18n("Switch to Move Tool"), "move", 0, this, - TQT_SLOT(slotMoveSelected()), actionCollection(), + TQ_SLOT(slotMoveSelected()), actionCollection(), "move"); TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/"); @@ -89,7 +89,7 @@ MatrixSelector::MatrixSelector(MatrixView* view) TQIconSet icon = TQIconSet(pixmap); new TDEAction(i18n("Switch to Resize Tool"), icon, 0, this, - TQT_SLOT(slotResizeSelected()), actionCollection(), + TQ_SLOT(slotResizeSelected()), actionCollection(), "resize"); createMenu("matrixselector.rc"); @@ -316,7 +316,7 @@ void MatrixSelector::handleMouseDoubleClick(timeT , m_justSelectedBar = true; TQTimer::singleShot(TQApplication::doubleClickInterval(), this, - TQT_SLOT(slotClickTimeout())); + TQ_SLOT(slotClickTimeout())); } */ } @@ -445,8 +445,8 @@ void MatrixSelector::ready() //m_mParentView->setPositionTracking(false); } - connect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotMatrixScrolled(int, int))); + connect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotMatrixScrolled(int, int))); setContextHelp(i18n("Click and drag to select; middle-click and drag to draw new note")); } @@ -459,8 +459,8 @@ void MatrixSelector::stow() m_mParentView->canvas()->update(); } - disconnect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotMatrixScrolled(int, int))); + disconnect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotMatrixScrolled(int, int))); } diff --git a/src/gui/editors/matrix/MatrixView.cpp b/src/gui/editors/matrix/MatrixView.cpp index 4992aef..b8f14a4 100644 --- a/src/gui/editors/matrix/MatrixView.cpp +++ b/src/gui/editors/matrix/MatrixView.cpp @@ -173,14 +173,14 @@ MatrixView::MatrixView(RosegardenGUIDoc *doc, KDockWidget::DockLeft, // dock site 20); // relation target/this (in percent) - connect(m_dockLeft, TQT_SIGNAL(iMBeingClosed()), - this, TQT_SLOT(slotParametersClosed())); - connect(m_dockLeft, TQT_SIGNAL(hasUndocked()), - this, TQT_SLOT(slotParametersClosed())); + connect(m_dockLeft, TQ_SIGNAL(iMBeingClosed()), + this, TQ_SLOT(slotParametersClosed())); + connect(m_dockLeft, TQ_SIGNAL(hasUndocked()), + this, TQ_SLOT(slotParametersClosed())); // Apparently, hasUndocked() is emitted when the dock widget's // 'close' button on the dock handle is clicked. - connect(m_mainDockWidget, TQT_SIGNAL(docking(KDockWidget*, KDockWidget::DockPosition)), - this, TQT_SLOT(slotParametersDockedBack(KDockWidget*, KDockWidget::DockPosition))); + connect(m_mainDockWidget, TQ_SIGNAL(docking(KDockWidget*, KDockWidget::DockPosition)), + this, TQ_SLOT(slotParametersDockedBack(KDockWidget*, KDockWidget::DockPosition))); Composition &comp = doc->getComposition(); @@ -188,8 +188,8 @@ MatrixView::MatrixView(RosegardenGUIDoc *doc, initStatusBar(); - connect(m_toolBox, TQT_SIGNAL(showContextHelp(const TQString &)), - this, TQT_SLOT(slotToolHelpChanged(const TQString &))); + connect(m_toolBox, TQ_SIGNAL(showContextHelp(const TQString &)), + this, TQ_SLOT(slotToolHelpChanged(const TQString &))); TQCanvas *tCanvas = new TQCanvas(this); @@ -276,33 +276,33 @@ MatrixView::MatrixView(RosegardenGUIDoc *doc, RosegardenGUIApp *app = RosegardenGUIApp::self(); connect(app, - TQT_SIGNAL(pluginSelected(InstrumentId, int, int)), + TQ_SIGNAL(pluginSelected(InstrumentId, int, int)), m_parameterBox, - TQT_SLOT(slotPluginSelected(InstrumentId, int, int))); + TQ_SLOT(slotPluginSelected(InstrumentId, int, int))); connect(app, - TQT_SIGNAL(pluginBypassed(InstrumentId, int, bool)), + TQ_SIGNAL(pluginBypassed(InstrumentId, int, bool)), m_parameterBox, - TQT_SLOT(slotPluginBypassed(InstrumentId, int, bool))); + TQ_SLOT(slotPluginBypassed(InstrumentId, int, bool))); connect(app, - TQT_SIGNAL(instrumentParametersChanged(InstrumentId)), + TQ_SIGNAL(instrumentParametersChanged(InstrumentId)), m_parameterBox, - TQT_SLOT(slotInstrumentParametersChanged(InstrumentId))); + TQ_SLOT(slotInstrumentParametersChanged(InstrumentId))); connect(m_parameterBox, - TQT_SIGNAL(instrumentParametersChanged(InstrumentId)), + TQ_SIGNAL(instrumentParametersChanged(InstrumentId)), app, - TQT_SIGNAL(instrumentParametersChanged(InstrumentId))); + TQ_SIGNAL(instrumentParametersChanged(InstrumentId))); connect(m_parameterBox, - TQT_SIGNAL(selectPlugin(TQWidget *, InstrumentId, int)), + TQ_SIGNAL(selectPlugin(TQWidget *, InstrumentId, int)), app, - TQT_SLOT(slotShowPluginDialog(TQWidget *, InstrumentId, int))); + TQ_SLOT(slotShowPluginDialog(TQWidget *, InstrumentId, int))); connect(m_parameterBox, - TQT_SIGNAL(showPluginGUI(InstrumentId, int)), + TQ_SIGNAL(showPluginGUI(InstrumentId, int)), app, - TQT_SLOT(slotShowPluginGUI(InstrumentId, int))); + TQ_SLOT(slotShowPluginGUI(InstrumentId, int))); connect(parent, // RosegardenGUIView - TQT_SIGNAL(checkTrackAssignments()), + TQ_SIGNAL(checkTrackAssignments()), this, - TQT_SLOT(slotCheckTrackAssignments())); + TQ_SLOT(slotCheckTrackAssignments())); // Assign the instrument // @@ -310,9 +310,9 @@ MatrixView::MatrixView(RosegardenGUIDoc *doc, if (m_drumMode) { connect(m_parameterBox, - TQT_SIGNAL(instrumentPercussionSetChanged(Instrument *)), + TQ_SIGNAL(instrumentPercussionSetChanged(Instrument *)), this, - TQT_SLOT(slotPercussionSetChanged(Instrument *))); + TQ_SLOT(slotPercussionSetChanged(Instrument *))); } // Set the snap grid from the stored size in the segment @@ -350,83 +350,83 @@ MatrixView::MatrixView(RosegardenGUIDoc *doc, // Connect vertical scrollbars between matrix and piano // - connect(m_canvasView->verticalScrollBar(), TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotVerticalScrollPianoKeyboard(int))); + connect(m_canvasView->verticalScrollBar(), TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotVerticalScrollPianoKeyboard(int))); - connect(m_canvasView->verticalScrollBar(), TQT_SIGNAL(sliderMoved(int)), - this, TQT_SLOT(slotVerticalScrollPianoKeyboard(int))); + connect(m_canvasView->verticalScrollBar(), TQ_SIGNAL(sliderMoved(int)), + this, TQ_SLOT(slotVerticalScrollPianoKeyboard(int))); - connect(m_canvasView, TQT_SIGNAL(zoomIn()), this, TQT_SLOT(slotZoomIn())); - connect(m_canvasView, TQT_SIGNAL(zoomOut()), this, TQT_SLOT(slotZoomOut())); + connect(m_canvasView, TQ_SIGNAL(zoomIn()), this, TQ_SLOT(slotZoomIn())); + connect(m_canvasView, TQ_SIGNAL(zoomOut()), this, TQ_SLOT(slotZoomOut())); - connect(m_pianoView, TQT_SIGNAL(gotWheelEvent(TQWheelEvent*)), - m_canvasView, TQT_SLOT(slotExternalWheelEvent(TQWheelEvent*))); + connect(m_pianoView, TQ_SIGNAL(gotWheelEvent(TQWheelEvent*)), + m_canvasView, TQ_SLOT(slotExternalWheelEvent(TQWheelEvent*))); // ensure the piano keyb keeps the right margins when the user toggles // the canvas view rulers // - connect(m_canvasView, TQT_SIGNAL(bottomWidgetHeightChanged(int)), - this, TQT_SLOT(slotCanvasBottomWidgetHeightChanged(int))); + connect(m_canvasView, TQ_SIGNAL(bottomWidgetHeightChanged(int)), + this, TQ_SLOT(slotCanvasBottomWidgetHeightChanged(int))); - connect(m_canvasView, TQT_SIGNAL(mouseEntered()), - this, TQT_SLOT(slotMouseEnteredCanvasView())); + connect(m_canvasView, TQ_SIGNAL(mouseEntered()), + this, TQ_SLOT(slotMouseEnteredCanvasView())); - connect(m_canvasView, TQT_SIGNAL(mouseLeft()), - this, TQT_SLOT(slotMouseLeftCanvasView())); + connect(m_canvasView, TQ_SIGNAL(mouseLeft()), + this, TQ_SLOT(slotMouseLeftCanvasView())); /* TQObject::connect - (getCanvasView(), TQT_SIGNAL(activeItemPressed(TQMouseEvent*, TQCanvasItem*)), - this, TQT_SLOT (activeItemPressed(TQMouseEvent*, TQCanvasItem*))); + (getCanvasView(), TQ_SIGNAL(activeItemPressed(TQMouseEvent*, TQCanvasItem*)), + this, TQ_SLOT (activeItemPressed(TQMouseEvent*, TQCanvasItem*))); */ TQObject::connect (getCanvasView(), - TQT_SIGNAL(mousePressed(timeT, + TQ_SIGNAL(mousePressed(timeT, int, TQMouseEvent*, MatrixElement*)), this, - TQT_SLOT(slotMousePressed(timeT, + TQ_SLOT(slotMousePressed(timeT, int, TQMouseEvent*, MatrixElement*))); TQObject::connect (getCanvasView(), - TQT_SIGNAL(mouseMoved(timeT, int, TQMouseEvent*)), + TQ_SIGNAL(mouseMoved(timeT, int, TQMouseEvent*)), this, - TQT_SLOT(slotMouseMoved(timeT, int, TQMouseEvent*))); + TQ_SLOT(slotMouseMoved(timeT, int, TQMouseEvent*))); TQObject::connect (getCanvasView(), - TQT_SIGNAL(mouseReleased(timeT, int, TQMouseEvent*)), + TQ_SIGNAL(mouseReleased(timeT, int, TQMouseEvent*)), this, - TQT_SLOT(slotMouseReleased(timeT, int, TQMouseEvent*))); + TQ_SLOT(slotMouseReleased(timeT, int, TQMouseEvent*))); TQObject::connect - (getCanvasView(), TQT_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)), - this, TQT_SLOT(slotHoveredOverNoteChanged(int, bool, timeT))); + (getCanvasView(), TQ_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)), + this, TQ_SLOT(slotHoveredOverNoteChanged(int, bool, timeT))); TQObject::connect - (m_pitchRuler, TQT_SIGNAL(hoveredOverKeyChanged(unsigned int)), - this, TQT_SLOT (slotHoveredOverKeyChanged(unsigned int))); + (m_pitchRuler, TQ_SIGNAL(hoveredOverKeyChanged(unsigned int)), + this, TQ_SLOT (slotHoveredOverKeyChanged(unsigned int))); TQObject::connect - (m_pitchRuler, TQT_SIGNAL(keyPressed(unsigned int, bool)), - this, TQT_SLOT (slotKeyPressed(unsigned int, bool))); + (m_pitchRuler, TQ_SIGNAL(keyPressed(unsigned int, bool)), + this, TQ_SLOT (slotKeyPressed(unsigned int, bool))); TQObject::connect - (m_pitchRuler, TQT_SIGNAL(keySelected(unsigned int, bool)), - this, TQT_SLOT (slotKeySelected(unsigned int, bool))); + (m_pitchRuler, TQ_SIGNAL(keySelected(unsigned int, bool)), + this, TQ_SLOT (slotKeySelected(unsigned int, bool))); TQObject::connect - (m_pitchRuler, TQT_SIGNAL(keyReleased(unsigned int, bool)), - this, TQT_SLOT (slotKeyReleased(unsigned int, bool))); + (m_pitchRuler, TQ_SIGNAL(keyReleased(unsigned int, bool)), + this, TQ_SLOT (slotKeyReleased(unsigned int, bool))); TQObject::connect - (getCanvasView(), TQT_SIGNAL(hoveredOverAbsoluteTimeChanged(unsigned int)), - this, TQT_SLOT (slotHoveredOverAbsoluteTimeChanged(unsigned int))); + (getCanvasView(), TQ_SIGNAL(hoveredOverAbsoluteTimeChanged(unsigned int)), + this, TQ_SLOT (slotHoveredOverAbsoluteTimeChanged(unsigned int))); TQObject::connect - (doc, TQT_SIGNAL(pointerPositionChanged(timeT)), - this, TQT_SLOT(slotSetPointerPosition(timeT))); + (doc, TQ_SIGNAL(pointerPositionChanged(timeT)), + this, TQ_SLOT(slotSetPointerPosition(timeT))); MATRIX_DEBUG << "MatrixView : applying layout\n"; @@ -463,32 +463,32 @@ MatrixView::MatrixView(RosegardenGUIDoc *doc, TQObject::disconnect (topStandardRuler->getLoopRuler(), - TQT_SIGNAL(setPointerPosition(timeT)), 0, 0); + TQ_SIGNAL(setPointerPosition(timeT)), 0, 0); TQObject::connect (topStandardRuler->getLoopRuler(), - TQT_SIGNAL(setPointerPosition(timeT)), - this, TQT_SLOT(slotSetInsertCursorPosition(timeT))); + TQ_SIGNAL(setPointerPosition(timeT)), + this, TQ_SLOT(slotSetInsertCursorPosition(timeT))); TQObject::connect (topStandardRuler, - TQT_SIGNAL(dragPointerToPosition(timeT)), - this, TQT_SLOT(slotSetInsertCursorPosition(timeT))); + TQ_SIGNAL(dragPointerToPosition(timeT)), + this, TQ_SLOT(slotSetInsertCursorPosition(timeT))); topStandardRuler->getLoopRuler()->setBackgroundColor (GUIPalette::getColour(GUIPalette::InsertCursorRuler)); - connect(topStandardRuler->getLoopRuler(), TQT_SIGNAL(startMouseMove(int)), - m_canvasView, TQT_SLOT(startAutoScroll(int))); - connect(topStandardRuler->getLoopRuler(), TQT_SIGNAL(stopMouseMove()), - m_canvasView, TQT_SLOT(stopAutoScroll())); + connect(topStandardRuler->getLoopRuler(), TQ_SIGNAL(startMouseMove(int)), + m_canvasView, TQ_SLOT(startAutoScroll(int))); + connect(topStandardRuler->getLoopRuler(), TQ_SIGNAL(stopMouseMove()), + m_canvasView, TQ_SLOT(stopAutoScroll())); - connect(bottomStandardRuler->getLoopRuler(), TQT_SIGNAL(startMouseMove(int)), - m_canvasView, TQT_SLOT(startAutoScroll(int))); - connect(bottomStandardRuler->getLoopRuler(), TQT_SIGNAL(stopMouseMove()), - m_canvasView, TQT_SLOT(stopAutoScroll())); - connect(m_bottomStandardRuler, TQT_SIGNAL(dragPointerToPosition(timeT)), - this, TQT_SLOT(slotSetPointerPosition(timeT))); + connect(bottomStandardRuler->getLoopRuler(), TQ_SIGNAL(startMouseMove(int)), + m_canvasView, TQ_SLOT(startAutoScroll(int))); + connect(bottomStandardRuler->getLoopRuler(), TQ_SIGNAL(stopMouseMove()), + m_canvasView, TQ_SLOT(stopAutoScroll())); + connect(m_bottomStandardRuler, TQ_SIGNAL(dragPointerToPosition(timeT)), + this, TQ_SLOT(slotSetPointerPosition(timeT))); // Force height for the moment // @@ -637,148 +637,148 @@ void MatrixView::setupActions() TQIconSet icon(TQPixmap(pixmapDir + "/toolbar/select.xpm")); toolAction = new TDERadioAction(i18n("&Select and Edit"), icon, Key_F2, - this, TQT_SLOT(slotSelectSelected()), + this, TQ_SLOT(slotSelectSelected()), actionCollection(), "select"); toolAction->setExclusiveGroup("tools"); toolAction = new TDERadioAction(i18n("&Draw"), "pencil", Key_F3, - this, TQT_SLOT(slotPaintSelected()), + this, TQ_SLOT(slotPaintSelected()), actionCollection(), "draw"); toolAction->setExclusiveGroup("tools"); toolAction = new TDERadioAction(i18n("&Erase"), "eraser", Key_F4, - this, TQT_SLOT(slotEraseSelected()), + this, TQ_SLOT(slotEraseSelected()), actionCollection(), "erase"); toolAction->setExclusiveGroup("tools"); toolAction = new TDERadioAction(i18n("&Move"), "move", Key_F5, - this, TQT_SLOT(slotMoveSelected()), + this, TQ_SLOT(slotMoveSelected()), actionCollection(), "move"); toolAction->setExclusiveGroup("tools"); TQCanvasPixmap pixmap(pixmapDir + "/toolbar/resize.xpm"); icon = TQIconSet(pixmap); toolAction = new TDERadioAction(i18n("Resi&ze"), icon, Key_F6, - this, TQT_SLOT(slotResizeSelected()), + this, TQ_SLOT(slotResizeSelected()), actionCollection(), "resize"); toolAction->setExclusiveGroup("tools"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap("chord"))); (new TDEToggleAction(i18n("C&hord Insert Mode"), icon, Key_H, - this, TQT_SLOT(slotUpdateInsertModeStatus()), + this, TQ_SLOT(slotUpdateInsertModeStatus()), actionCollection(), "chord_mode"))-> setChecked(false); pixmap.load(pixmapDir + "/toolbar/step_by_step.xpm"); icon = TQIconSet(pixmap); new TDEToggleAction(i18n("Ste&p Recording"), icon, 0, this, - TQT_SLOT(slotToggleStepByStep()), actionCollection(), + TQ_SLOT(slotToggleStepByStep()), actionCollection(), "toggle_step_by_step"); pixmap.load(pixmapDir + "/toolbar/quantize.png"); icon = TQIconSet(pixmap); new TDEAction(EventQuantizeCommand::getGlobalName(), icon, Key_Equal, this, - TQT_SLOT(slotTransformsQuantize()), actionCollection(), + TQ_SLOT(slotTransformsQuantize()), actionCollection(), "quantize"); new TDEAction(i18n("Repeat Last Quantize"), Key_Plus, this, - TQT_SLOT(slotTransformsRepeatQuantize()), actionCollection(), + TQ_SLOT(slotTransformsRepeatQuantize()), actionCollection(), "repeat_quantize"); new TDEAction(CollapseNotesCommand::getGlobalName(), Key_Equal + CTRL, this, - TQT_SLOT(slotTransformsCollapseNotes()), actionCollection(), + TQ_SLOT(slotTransformsCollapseNotes()), actionCollection(), "collapse_notes"); new TDEAction(i18n("&Legato"), Key_Minus, this, - TQT_SLOT(slotTransformsLegato()), actionCollection(), + TQ_SLOT(slotTransformsLegato()), actionCollection(), "legatoize"); new TDEAction(ChangeVelocityCommand::getGlobalName(10), 0, Key_Up + SHIFT, this, - TQT_SLOT(slotVelocityUp()), actionCollection(), + TQ_SLOT(slotVelocityUp()), actionCollection(), "velocity_up"); new TDEAction(ChangeVelocityCommand::getGlobalName( -10), 0, Key_Down + SHIFT, this, - TQT_SLOT(slotVelocityDown()), actionCollection(), + TQ_SLOT(slotVelocityDown()), actionCollection(), "velocity_down"); new TDEAction(i18n("Set to Current Velocity"), 0, this, - TQT_SLOT(slotSetVelocitiesToCurrent()), actionCollection(), + TQ_SLOT(slotSetVelocitiesToCurrent()), actionCollection(), "set_to_current_velocity"); new TDEAction(i18n("Set Event &Velocities..."), 0, this, - TQT_SLOT(slotSetVelocities()), actionCollection(), + TQ_SLOT(slotSetVelocities()), actionCollection(), "set_velocities"); new TDEAction(i18n("Trigger Se&gment..."), 0, this, - TQT_SLOT(slotTriggerSegment()), actionCollection(), + TQ_SLOT(slotTriggerSegment()), actionCollection(), "trigger_segment"); new TDEAction(i18n("Remove Triggers..."), 0, this, - TQT_SLOT(slotRemoveTriggers()), actionCollection(), + TQ_SLOT(slotRemoveTriggers()), actionCollection(), "remove_trigger"); new TDEAction(i18n("Select &All"), Key_A + CTRL, this, - TQT_SLOT(slotSelectAll()), actionCollection(), + TQ_SLOT(slotSelectAll()), actionCollection(), "select_all"); new TDEAction(i18n("&Delete"), Key_Delete, this, - TQT_SLOT(slotEditDelete()), actionCollection(), + TQ_SLOT(slotEditDelete()), actionCollection(), "delete"); new TDEAction(i18n("Cursor &Back"), 0, Key_Left, this, - TQT_SLOT(slotStepBackward()), actionCollection(), + TQ_SLOT(slotStepBackward()), actionCollection(), "cursor_back"); new TDEAction(i18n("Cursor &Forward"), 0, Key_Right, this, - TQT_SLOT(slotStepForward()), actionCollection(), + TQ_SLOT(slotStepForward()), actionCollection(), "cursor_forward"); new TDEAction(i18n("Cursor Ba&ck Bar"), 0, Key_Left + CTRL, this, - TQT_SLOT(slotJumpBackward()), actionCollection(), + TQ_SLOT(slotJumpBackward()), actionCollection(), "cursor_back_bar"); new TDEAction(i18n("Cursor For&ward Bar"), 0, Key_Right + CTRL, this, - TQT_SLOT(slotJumpForward()), actionCollection(), + TQ_SLOT(slotJumpForward()), actionCollection(), "cursor_forward_bar"); new TDEAction(i18n("Cursor Back and Se&lect"), SHIFT + Key_Left, this, - TQT_SLOT(slotExtendSelectionBackward()), actionCollection(), + TQ_SLOT(slotExtendSelectionBackward()), actionCollection(), "extend_selection_backward"); new TDEAction(i18n("Cursor Forward and &Select"), SHIFT + Key_Right, this, - TQT_SLOT(slotExtendSelectionForward()), actionCollection(), + TQ_SLOT(slotExtendSelectionForward()), actionCollection(), "extend_selection_forward"); new TDEAction(i18n("Cursor Back Bar and Select"), SHIFT + CTRL + Key_Left, this, - TQT_SLOT(slotExtendSelectionBackwardBar()), actionCollection(), + TQ_SLOT(slotExtendSelectionBackwardBar()), actionCollection(), "extend_selection_backward_bar"); new TDEAction(i18n("Cursor Forward Bar and Select"), SHIFT + CTRL + Key_Right, this, - TQT_SLOT(slotExtendSelectionForwardBar()), actionCollection(), + TQ_SLOT(slotExtendSelectionForwardBar()), actionCollection(), "extend_selection_forward_bar"); new TDEAction(i18n("Cursor to St&art"), 0, /* #1025717: conflicting meanings for ctrl+a - dupe with Select All Key_A + CTRL, */ this, - TQT_SLOT(slotJumpToStart()), actionCollection(), + TQ_SLOT(slotJumpToStart()), actionCollection(), "cursor_start"); new TDEAction(i18n("Cursor to &End"), 0, Key_E + CTRL, this, - TQT_SLOT(slotJumpToEnd()), actionCollection(), + TQ_SLOT(slotJumpToEnd()), actionCollection(), "cursor_end"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-cursor-to-pointer"))); new TDEAction(i18n("Cursor to &Playback Pointer"), icon, 0, this, - TQT_SLOT(slotJumpCursorToPlayback()), actionCollection(), + TQ_SLOT(slotJumpCursorToPlayback()), actionCollection(), "cursor_to_playback_pointer"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-play"))); TDEAction *play = new TDEAction(i18n("&Play"), icon, Key_Enter, this, - TQT_SIGNAL(play()), actionCollection(), "play"); + TQ_SIGNAL(play()), actionCollection(), "play"); // Alternative shortcut for Play TDEShortcut playShortcut = play->shortcut(); playShortcut.append( KKey(Key_Return + CTRL) ); @@ -787,70 +787,70 @@ void MatrixView::setupActions() icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-stop"))); new TDEAction(i18n("&Stop"), icon, Key_Insert, this, - TQT_SIGNAL(stop()), actionCollection(), "stop"); + TQ_SIGNAL(stop()), actionCollection(), "stop"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-rewind"))); new TDEAction(i18n("Re&wind"), icon, Key_End, this, - TQT_SIGNAL(rewindPlayback()), actionCollection(), + TQ_SIGNAL(rewindPlayback()), actionCollection(), "playback_pointer_back_bar"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-ffwd"))); new TDEAction(i18n("&Fast Forward"), icon, Key_PageDown, this, - TQT_SIGNAL(fastForwardPlayback()), actionCollection(), + TQ_SIGNAL(fastForwardPlayback()), actionCollection(), "playback_pointer_forward_bar"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-rewind-end"))); new TDEAction(i18n("Rewind to &Beginning"), icon, 0, this, - TQT_SIGNAL(rewindPlaybackToBeginning()), actionCollection(), + TQ_SIGNAL(rewindPlaybackToBeginning()), actionCollection(), "playback_pointer_start"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-ffwd-end"))); new TDEAction(i18n("Fast Forward to &End"), icon, 0, this, - TQT_SIGNAL(fastForwardPlaybackToEnd()), actionCollection(), + TQ_SIGNAL(fastForwardPlaybackToEnd()), actionCollection(), "playback_pointer_end"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-pointer-to-cursor"))); new TDEAction(i18n("Playback Pointer to &Cursor"), icon, 0, this, - TQT_SLOT(slotJumpPlaybackToCursor()), actionCollection(), + TQ_SLOT(slotJumpPlaybackToCursor()), actionCollection(), "playback_pointer_to_cursor"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-solo"))); new TDEToggleAction(i18n("&Solo"), icon, 0, this, - TQT_SLOT(slotToggleSolo()), actionCollection(), + TQ_SLOT(slotToggleSolo()), actionCollection(), "toggle_solo"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-tracking"))); (new TDEToggleAction(i18n("Scro&ll to Follow Playback"), icon, Key_Pause, this, - TQT_SLOT(slotToggleTracking()), actionCollection(), + TQ_SLOT(slotToggleTracking()), actionCollection(), "toggle_tracking"))->setChecked(m_playTracking); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-panic"))); new TDEAction(i18n("Panic"), icon, Key_P + CTRL + ALT, this, - TQT_SIGNAL(panic()), actionCollection(), "panic"); + TQ_SIGNAL(panic()), actionCollection(), "panic"); new TDEAction(i18n("Set Loop to Selection"), Key_Semicolon + CTRL, this, - TQT_SLOT(slotPreviewSelection()), actionCollection(), + TQ_SLOT(slotPreviewSelection()), actionCollection(), "preview_selection"); new TDEAction(i18n("Clear L&oop"), Key_Colon + CTRL, this, - TQT_SLOT(slotClearLoop()), actionCollection(), + TQ_SLOT(slotClearLoop()), actionCollection(), "clear_loop"); new TDEAction(i18n("Clear Selection"), Key_Escape, this, - TQT_SLOT(slotClearSelection()), actionCollection(), + TQ_SLOT(slotClearSelection()), actionCollection(), "clear_selection"); // icon = TQIconSet(TQCanvasPixmap(pixmapDir + "/toolbar/eventfilter.xpm")); new TDEAction(i18n("&Filter Selection"), "filter", Key_F + CTRL, this, - TQT_SLOT(slotFilterSelection()), actionCollection(), + TQ_SLOT(slotFilterSelection()), actionCollection(), "filter_selection"); timeT crotchetDuration = Note(Note::Crotchet).getDuration(); @@ -875,16 +875,16 @@ void MatrixView::setupActions() if (d == SnapGrid::NoSnap) { new TDEAction(i18n("&No Snap"), 0, this, - TQT_SLOT(slotSetSnapFromAction()), + TQ_SLOT(slotSetSnapFromAction()), actionCollection(), "snap_none"); } else if (d == SnapGrid::SnapToUnit) { } else if (d == SnapGrid::SnapToBeat) { new TDEAction(i18n("Snap to Bea&t"), Key_1, this, - TQT_SLOT(slotSetSnapFromAction()), + TQ_SLOT(slotSetSnapFromAction()), actionCollection(), "snap_beat"); } else if (d == SnapGrid::SnapToBar) { new TDEAction(i18n("Snap to &Bar"), Key_5, this, - TQT_SLOT(slotSetSnapFromAction()), + TQ_SLOT(slotSetSnapFromAction()), actionCollection(), "snap_bar"); } else { @@ -904,7 +904,7 @@ void MatrixView::setupActions() TQString actionName = TQString("snap_%1").arg(int((crotchetDuration * 4) / d)); if (d == (crotchetDuration * 3) / 2) actionName = "snap_3"; new TDEAction(i18n("Snap to %1").arg(label), pixmap, cut, this, - TQT_SLOT(slotSetSnapFromAction()), actionCollection(), + TQ_SLOT(slotSetSnapFromAction()), actionCollection(), actionName.ascii()); } } @@ -913,16 +913,16 @@ void MatrixView::setupActions() // Settings menu // new TDEAction(i18n("Show Instrument Parameters"), 0, this, - TQT_SLOT(slotDockParametersBack()), + TQ_SLOT(slotDockParametersBack()), actionCollection(), "show_inst_parameters"); new TDEToggleAction(i18n("Show Ch&ord Name Ruler"), 0, this, - TQT_SLOT(slotToggleChordsRuler()), + TQ_SLOT(slotToggleChordsRuler()), actionCollection(), "show_chords_ruler"); new TDEToggleAction(i18n("Show &Tempo Ruler"), 0, this, - TQT_SLOT(slotToggleTempoRuler()), + TQ_SLOT(slotToggleTempoRuler()), actionCollection(), "show_tempo_ruler"); createGUI(getRCFileName(), false); @@ -1312,11 +1312,11 @@ void MatrixView::slotSelectSelected() { EditTool* selector = m_toolBox->getTool(MatrixSelector::ToolName); - connect(selector, TQT_SIGNAL(gotSelection()), - this, TQT_SLOT(slotNewSelection())); + connect(selector, TQ_SIGNAL(gotSelection()), + this, TQ_SLOT(slotNewSelection())); - connect(selector, TQT_SIGNAL(editTriggerSegment(int)), - this, TQT_SIGNAL(editTriggerSegment(int))); + connect(selector, TQ_SIGNAL(editTriggerSegment(int)), + this, TQ_SIGNAL(editTriggerSegment(int))); setTool(selector); } @@ -2147,8 +2147,8 @@ MatrixView::initActionsToolbar() } } - connect(m_snapGridCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotSetSnapFromIndex(int))); + connect(m_snapGridCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotSetSnapFromIndex(int))); // Velocity combo. Not a spin box, because the spin box is too // slow to use unless we make it typeable into, and then it takes @@ -2181,8 +2181,8 @@ MatrixView::initActionsToolbar() m_quantizeCombo->insertItem(noMap, i18n("Off")); - connect(m_quantizeCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotQuantizeSelection(int))); + connect(m_quantizeCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotQuantizeSelection(int))); } void @@ -2224,8 +2224,8 @@ MatrixView::initZoomToolbar() m_zoomLabel->setFixedWidth(80); connect(m_hZoomSlider, - TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(slotChangeHorizontalZoom(int))); + TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(slotChangeHorizontalZoom(int))); } @@ -3023,20 +3023,20 @@ MatrixView::slotPercussionSetChanged(Instrument * newInstr) TQObject::connect - (pitchRuler, TQT_SIGNAL(hoveredOverKeyChanged(unsigned int)), - this, TQT_SLOT (slotHoveredOverKeyChanged(unsigned int))); + (pitchRuler, TQ_SIGNAL(hoveredOverKeyChanged(unsigned int)), + this, TQ_SLOT (slotHoveredOverKeyChanged(unsigned int))); TQObject::connect - (pitchRuler, TQT_SIGNAL(keyPressed(unsigned int, bool)), - this, TQT_SLOT (slotKeyPressed(unsigned int, bool))); + (pitchRuler, TQ_SIGNAL(keyPressed(unsigned int, bool)), + this, TQ_SLOT (slotKeyPressed(unsigned int, bool))); TQObject::connect - (pitchRuler, TQT_SIGNAL(keySelected(unsigned int, bool)), - this, TQT_SLOT (slotKeySelected(unsigned int, bool))); + (pitchRuler, TQ_SIGNAL(keySelected(unsigned int, bool)), + this, TQ_SLOT (slotKeySelected(unsigned int, bool))); TQObject::connect - (pitchRuler, TQT_SIGNAL(keyReleased(unsigned int, bool)), - this, TQT_SLOT (slotKeyReleased(unsigned int, bool))); + (pitchRuler, TQ_SIGNAL(keyReleased(unsigned int, bool)), + this, TQ_SLOT (slotKeyReleased(unsigned int, bool))); // Replace the old pitchruler widget m_pitchRuler = pitchRuler; diff --git a/src/gui/editors/notation/ClefInserter.cpp b/src/gui/editors/notation/ClefInserter.cpp index 6541e85..ce16bf0 100644 --- a/src/gui/editors/notation/ClefInserter.cpp +++ b/src/gui/editors/notation/ClefInserter.cpp @@ -49,18 +49,18 @@ ClefInserter::ClefInserter(NotationView* view) TQIconSet 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("crotchet"))); new TDEAction(i18n("Switch to Inserting Notes"), icon, 0, this, - TQT_SLOT(slotNotesSelected()), actionCollection(), + TQ_SLOT(slotNotesSelected()), actionCollection(), "notes"); createMenu("clefinserter.rc"); diff --git a/src/gui/editors/notation/GuitarChordInserter.cpp b/src/gui/editors/notation/GuitarChordInserter.cpp index cfe65b6..8fb8cff 100644 --- a/src/gui/editors/notation/GuitarChordInserter.cpp +++ b/src/gui/editors/notation/GuitarChordInserter.cpp @@ -55,11 +55,11 @@ GuitarChordInserter::GuitarChordInserter(NotationView* view) 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 @@ -67,7 +67,7 @@ GuitarChordInserter::GuitarChordInserter(NotationView* view) makeToolbarPixmap("crotchet"))); new TDEAction(i18n("Switch to Inserting Notes"), icon, 0, this, - TQT_SLOT(slotNoteSelected()), actionCollection(), + TQ_SLOT(slotNoteSelected()), actionCollection(), "notes"); m_guitarChordSelector = new GuitarChordSelectorDialog(m_nParentView); diff --git a/src/gui/editors/notation/NotationEraser.cpp b/src/gui/editors/notation/NotationEraser.cpp index 5e253e6..e5ba5a6 100644 --- a/src/gui/editors/notation/NotationEraser.cpp +++ b/src/gui/editors/notation/NotationEraser.cpp @@ -50,20 +50,20 @@ NotationEraser::NotationEraser(NotationView* view) m_collapseRest = config->readBoolEntry("collapse", false); new TDEToggleAction(i18n("Collapse rests after erase"), 0, this, - TQT_SLOT(slotToggleRestCollapse()), actionCollection(), + TQ_SLOT(slotToggleRestCollapse()), actionCollection(), "toggle_rest_collapse"); TQIconSet icon (NotePixmapFactory::toTQPixmap(NotePixmapFactory:: makeToolbarPixmap("crotchet"))); new TDEAction(i18n("Switch to Insert Tool"), icon, 0, this, - TQT_SLOT(slotInsertSelected()), actionCollection(), + TQ_SLOT(slotInsertSelected()), actionCollection(), "insert"); 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"); createMenu("notationeraser.rc"); diff --git a/src/gui/editors/notation/NotationSelector.cpp b/src/gui/editors/notation/NotationSelector.cpp index 2746610..d2936d2 100644 --- a/src/gui/editors/notation/NotationSelector.cpp +++ b/src/gui/editors/notation/NotationSelector.cpp @@ -69,68 +69,68 @@ NotationSelector::NotationSelector(NotationView* view) m_justSelectedBar(false), m_wholeStaffSelectionComplete(false) { - connect(m_parentView, TQT_SIGNAL(usedSelection()), - this, TQT_SLOT(slotHideSelection())); + connect(m_parentView, TQ_SIGNAL(usedSelection()), + this, TQ_SLOT(slotHideSelection())); - connect(this, TQT_SIGNAL(editElement(NotationStaff *, NotationElement *, bool)), - m_parentView, TQT_SLOT(slotEditElement(NotationStaff *, NotationElement *, bool))); + connect(this, TQ_SIGNAL(editElement(NotationStaff *, NotationElement *, bool)), + m_parentView, TQ_SLOT(slotEditElement(NotationStaff *, NotationElement *, bool))); TQIconSet icon (NotePixmapFactory::toTQPixmap(NotePixmapFactory:: makeToolbarPixmap("crotchet"))); new TDEToggleAction(i18n("Switch to Insert Tool"), icon, 0, this, - TQT_SLOT(slotInsertSelected()), actionCollection(), + TQ_SLOT(slotInsertSelected()), actionCollection(), "insert"); new TDEAction(i18n("Switch to Erase Tool"), "eraser", 0, this, - TQT_SLOT(slotEraseSelected()), actionCollection(), + TQ_SLOT(slotEraseSelected()), actionCollection(), "erase"); // (this crashed, and it might be superfluous with ^N anyway, so I'm // commenting it out, but leaving it here in case I change my mind about // fooling with it.) (DMM) // new TDEAction(i18n("Normalize Rests"), 0, 0, this, - // TQT_SLOT(slotCollapseRests()), actionCollection(), + // TQ_SLOT(slotCollapseRests()), actionCollection(), // "collapse_rests"); new TDEAction(i18n("Collapse Rests"), 0, 0, this, - TQT_SLOT(slotCollapseRestsHard()), actionCollection(), + TQ_SLOT(slotCollapseRestsHard()), actionCollection(), "collapse_rests_aggressively"); new TDEAction(i18n("Respell as Flat"), 0, 0, this, - TQT_SLOT(slotRespellFlat()), actionCollection(), + TQ_SLOT(slotRespellFlat()), actionCollection(), "respell_flat"); new TDEAction(i18n("Respell as Sharp"), 0, 0, this, - TQT_SLOT(slotRespellSharp()), actionCollection(), + TQ_SLOT(slotRespellSharp()), actionCollection(), "respell_sharp"); new TDEAction(i18n("Respell as Natural"), 0, 0, this, - TQT_SLOT(slotRespellNatural()), actionCollection(), + TQ_SLOT(slotRespellNatural()), actionCollection(), "respell_natural"); new TDEAction(i18n("Collapse Notes"), 0, 0, this, - TQT_SLOT(slotCollapseNotes()), actionCollection(), + TQ_SLOT(slotCollapseNotes()), actionCollection(), "collapse_notes"); new TDEAction(i18n("Interpret"), 0, 0, this, - TQT_SLOT(slotInterpret()), actionCollection(), + TQ_SLOT(slotInterpret()), actionCollection(), "interpret"); new TDEAction(i18n("Move to Staff Above"), 0, 0, this, - TQT_SLOT(slotStaffAbove()), actionCollection(), + TQ_SLOT(slotStaffAbove()), actionCollection(), "move_events_up_staff"); new TDEAction(i18n("Move to Staff Below"), 0, 0, this, - TQT_SLOT(slotStaffBelow()), actionCollection(), + TQ_SLOT(slotStaffBelow()), actionCollection(), "move_events_down_staff"); new TDEAction(i18n("Make Invisible"), 0, 0, this, - TQT_SLOT(slotMakeInvisible()), actionCollection(), + TQ_SLOT(slotMakeInvisible()), actionCollection(), "make_invisible"); new TDEAction(i18n("Make Visible"), 0, 0, this, - TQT_SLOT(slotMakeVisible()), actionCollection(), + TQ_SLOT(slotMakeVisible()), actionCollection(), "make_visible"); createMenu("notationselector.rc"); @@ -256,7 +256,7 @@ void NotationSelector::handleMouseDoubleClick(timeT, m_justSelectedBar = true; TQTimer::singleShot(TQApplication::doubleClickInterval(), this, - TQT_SLOT(slotClickTimeout())); + TQ_SLOT(slotClickTimeout())); } return ; diff --git a/src/gui/editors/notation/NotationView.cpp b/src/gui/editors/notation/NotationView.cpp index a97c7c7..1fa96b3 100644 --- a/src/gui/editors/notation/NotationView.cpp +++ b/src/gui/editors/notation/NotationView.cpp @@ -526,19 +526,19 @@ NotationView::NotationView(RosegardenGUIDoc *doc, m_topStandardRuler->getLoopRuler()->setBackgroundColor (GUIPalette::getColour(GUIPalette::InsertCursorRuler)); - connect(m_topStandardRuler->getLoopRuler(), TQT_SIGNAL(startMouseMove(int)), - m_canvasView, TQT_SLOT(startAutoScroll(int))); - connect(m_topStandardRuler->getLoopRuler(), TQT_SIGNAL(stopMouseMove()), - m_canvasView, TQT_SLOT(stopAutoScroll())); + connect(m_topStandardRuler->getLoopRuler(), TQ_SIGNAL(startMouseMove(int)), + m_canvasView, TQ_SLOT(startAutoScroll(int))); + connect(m_topStandardRuler->getLoopRuler(), TQ_SIGNAL(stopMouseMove()), + m_canvasView, TQ_SLOT(stopAutoScroll())); - connect(m_bottomStandardRuler->getLoopRuler(), TQT_SIGNAL(startMouseMove(int)), - m_canvasView, TQT_SLOT(startAutoScroll(int))); - connect(m_bottomStandardRuler->getLoopRuler(), TQT_SIGNAL(stopMouseMove()), - m_canvasView, TQT_SLOT(stopAutoScroll())); + connect(m_bottomStandardRuler->getLoopRuler(), TQ_SIGNAL(startMouseMove(int)), + m_canvasView, TQ_SLOT(startAutoScroll(int))); + connect(m_bottomStandardRuler->getLoopRuler(), TQ_SIGNAL(stopMouseMove()), + m_canvasView, TQ_SLOT(stopAutoScroll())); // Following connection have to be done before calling setPageMode()) - connect(m_headersGroup, TQT_SIGNAL(headersResized(int)), - this, TQT_SLOT(slotHeadersWidthChanged(int))); + connect(m_headersGroup, TQ_SIGNAL(headersResized(int)), + this, TQ_SLOT(slotHeadersWidthChanged(int))); // @@ -615,8 +615,8 @@ NotationView::NotationView(RosegardenGUIDoc *doc, // TQObject::connect - (getCanvasView(), TQT_SIGNAL(renderRequired(double, double)), - this, TQT_SLOT(slotCheckRendered(double, double))); + (getCanvasView(), TQ_SIGNAL(renderRequired(double, double)), + this, TQ_SLOT(slotCheckRendered(double, double))); m_topStandardRuler->connectRulerToDocPointer(doc); m_bottomStandardRuler->connectRulerToDocPointer(doc); @@ -626,102 +626,102 @@ NotationView::NotationView(RosegardenGUIDoc *doc, TQObject::disconnect (m_topStandardRuler->getLoopRuler(), - TQT_SIGNAL(setPointerPosition(timeT)), 0, 0); + TQ_SIGNAL(setPointerPosition(timeT)), 0, 0); TQObject::connect (m_topStandardRuler->getLoopRuler(), - TQT_SIGNAL(setPointerPosition(timeT)), - this, TQT_SLOT(slotSetInsertCursorPosition(timeT))); + TQ_SIGNAL(setPointerPosition(timeT)), + this, TQ_SLOT(slotSetInsertCursorPosition(timeT))); TQObject::connect (m_topStandardRuler, - TQT_SIGNAL(dragPointerToPosition(timeT)), - this, TQT_SLOT(slotSetInsertCursorPosition(timeT))); + TQ_SIGNAL(dragPointerToPosition(timeT)), + this, TQ_SLOT(slotSetInsertCursorPosition(timeT))); - connect(m_bottomStandardRuler, TQT_SIGNAL(dragPointerToPosition(timeT)), - this, TQT_SLOT(slotSetPointerPosition(timeT))); + connect(m_bottomStandardRuler, TQ_SIGNAL(dragPointerToPosition(timeT)), + this, TQ_SLOT(slotSetPointerPosition(timeT))); TQObject::connect - (getCanvasView(), TQT_SIGNAL(itemPressed(int, int, TQMouseEvent*, NotationElement*)), - this, TQT_SLOT (slotItemPressed(int, int, TQMouseEvent*, NotationElement*))); + (getCanvasView(), TQ_SIGNAL(itemPressed(int, int, TQMouseEvent*, NotationElement*)), + this, TQ_SLOT (slotItemPressed(int, int, TQMouseEvent*, NotationElement*))); TQObject::connect - (getCanvasView(), TQT_SIGNAL(activeItemPressed(TQMouseEvent*, TQCanvasItem*)), - this, TQT_SLOT (slotActiveItemPressed(TQMouseEvent*, TQCanvasItem*))); + (getCanvasView(), TQ_SIGNAL(activeItemPressed(TQMouseEvent*, TQCanvasItem*)), + this, TQ_SLOT (slotActiveItemPressed(TQMouseEvent*, TQCanvasItem*))); TQObject::connect - (getCanvasView(), TQT_SIGNAL(nonNotationItemPressed(TQMouseEvent*, TQCanvasItem*)), - this, TQT_SLOT (slotNonNotationItemPressed(TQMouseEvent*, TQCanvasItem*))); + (getCanvasView(), TQ_SIGNAL(nonNotationItemPressed(TQMouseEvent*, TQCanvasItem*)), + this, TQ_SLOT (slotNonNotationItemPressed(TQMouseEvent*, TQCanvasItem*))); TQObject::connect - (getCanvasView(), TQT_SIGNAL(textItemPressed(TQMouseEvent*, TQCanvasItem*)), - this, TQT_SLOT (slotTextItemPressed(TQMouseEvent*, TQCanvasItem*))); + (getCanvasView(), TQ_SIGNAL(textItemPressed(TQMouseEvent*, TQCanvasItem*)), + this, TQ_SLOT (slotTextItemPressed(TQMouseEvent*, TQCanvasItem*))); TQObject::connect - (getCanvasView(), TQT_SIGNAL(mouseMoved(TQMouseEvent*)), - this, TQT_SLOT (slotMouseMoved(TQMouseEvent*))); + (getCanvasView(), TQ_SIGNAL(mouseMoved(TQMouseEvent*)), + this, TQ_SLOT (slotMouseMoved(TQMouseEvent*))); TQObject::connect - (getCanvasView(), TQT_SIGNAL(mouseReleased(TQMouseEvent*)), - this, TQT_SLOT (slotMouseReleased(TQMouseEvent*))); + (getCanvasView(), TQ_SIGNAL(mouseReleased(TQMouseEvent*)), + this, TQ_SLOT (slotMouseReleased(TQMouseEvent*))); TQObject::connect - (getCanvasView(), TQT_SIGNAL(hoveredOverNoteChanged(const TQString&)), - this, TQT_SLOT (slotHoveredOverNoteChanged(const TQString&))); + (getCanvasView(), TQ_SIGNAL(hoveredOverNoteChanged(const TQString&)), + this, TQ_SLOT (slotHoveredOverNoteChanged(const TQString&))); TQObject::connect - (getCanvasView(), TQT_SIGNAL(hoveredOverAbsoluteTimeChanged(unsigned int)), - this, TQT_SLOT (slotHoveredOverAbsoluteTimeChanged(unsigned int))); + (getCanvasView(), TQ_SIGNAL(hoveredOverAbsoluteTimeChanged(unsigned int)), + this, TQ_SLOT (slotHoveredOverAbsoluteTimeChanged(unsigned int))); TQObject::connect - (getCanvasView(), TQT_SIGNAL(zoomIn()), this, TQT_SLOT(slotZoomIn())); + (getCanvasView(), TQ_SIGNAL(zoomIn()), this, TQ_SLOT(slotZoomIn())); TQObject::connect - (getCanvasView(), TQT_SIGNAL(zoomOut()), this, TQT_SLOT(slotZoomOut())); + (getCanvasView(), TQ_SIGNAL(zoomOut()), this, TQ_SLOT(slotZoomOut())); TQObject::connect - (m_pannerDialog->scrollbox(), TQT_SIGNAL(valueChanged(const TQPoint &)), - getCanvasView(), TQT_SLOT(slotSetScrollPos(const TQPoint &))); + (m_pannerDialog->scrollbox(), TQ_SIGNAL(valueChanged(const TQPoint &)), + getCanvasView(), TQ_SLOT(slotSetScrollPos(const TQPoint &))); TQObject::connect - (getCanvasView()->horizontalScrollBar(), TQT_SIGNAL(valueChanged(int)), - m_pannerDialog->scrollbox(), TQT_SLOT(setViewX(int))); + (getCanvasView()->horizontalScrollBar(), TQ_SIGNAL(valueChanged(int)), + m_pannerDialog->scrollbox(), TQ_SLOT(setViewX(int))); TQObject::connect - (getCanvasView()->verticalScrollBar(), TQT_SIGNAL(valueChanged(int)), - m_pannerDialog->scrollbox(), TQT_SLOT(setViewY(int))); + (getCanvasView()->verticalScrollBar(), TQ_SIGNAL(valueChanged(int)), + m_pannerDialog->scrollbox(), TQ_SLOT(setViewY(int))); TQObject::connect - (doc, TQT_SIGNAL(pointerPositionChanged(timeT)), - this, TQT_SLOT(slotSetPointerPosition(timeT))); + (doc, TQ_SIGNAL(pointerPositionChanged(timeT)), + this, TQ_SLOT(slotSetPointerPosition(timeT))); // // Connect vertical scrollbars between canvas and notation header TQObject::connect - (getCanvasView()->verticalScrollBar(), TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotVerticalScrollHeadersGroup(int))); + (getCanvasView()->verticalScrollBar(), TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotVerticalScrollHeadersGroup(int))); TQObject::connect - (getCanvasView()->verticalScrollBar(), TQT_SIGNAL(sliderMoved(int)), - this, TQT_SLOT(slotVerticalScrollHeadersGroup(int))); + (getCanvasView()->verticalScrollBar(), TQ_SIGNAL(sliderMoved(int)), + this, TQ_SLOT(slotVerticalScrollHeadersGroup(int))); TQObject::connect - (m_headersGroupView, TQT_SIGNAL(gotWheelEvent(TQWheelEvent*)), - getCanvasView(), TQT_SLOT(slotExternalWheelEvent(TQWheelEvent*))); + (m_headersGroupView, TQ_SIGNAL(gotWheelEvent(TQWheelEvent*)), + getCanvasView(), TQ_SLOT(slotExternalWheelEvent(TQWheelEvent*))); // Ensure notation header keeps the right bottom margin when user // toggles the canvas view bottom rulers - connect(getCanvasView(), TQT_SIGNAL(bottomWidgetHeightChanged(int)), - this, TQT_SLOT(slotCanvasBottomWidgetHeightChanged(int))); + connect(getCanvasView(), TQ_SIGNAL(bottomWidgetHeightChanged(int)), + this, TQ_SLOT(slotCanvasBottomWidgetHeightChanged(int))); // Signal canvas horizontal scroll to notation header TQObject::connect - (getCanvasView(), TQT_SIGNAL(contentsMoving(int, int)), - this, TQT_SLOT(slotUpdateHeaders(int, int))); + (getCanvasView(), TQ_SIGNAL(contentsMoving(int, int)), + this, TQ_SLOT(slotUpdateHeaders(int, int))); // Connect the close notation headers button - TQObject::connect(hideHeadersButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotHideHeadersGroup())); + TQObject::connect(hideHeadersButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotHideHeadersGroup())); stateChanged("have_selection", KXMLGUIClient::StateReverse); stateChanged("have_notes_in_selection", KXMLGUIClient::StateReverse); @@ -763,16 +763,16 @@ NotationView::NotationView(RosegardenGUIDoc *doc, updateView(); TQObject::connect - (this, TQT_SIGNAL(renderComplete()), - getCanvasView(), TQT_SLOT(slotRenderComplete())); + (this, TQ_SIGNAL(renderComplete()), + getCanvasView(), TQ_SLOT(slotRenderComplete())); if (parent) { const TrackButtons * trackLabels = ((RosegardenGUIView*)parent)->getTrackEditor()->getTrackButtons(); TQObject::connect - (trackLabels, TQT_SIGNAL(nameChanged()), - this, TQT_SLOT(slotUpdateStaffName())); + (trackLabels, TQ_SIGNAL(nameChanged()), + this, TQ_SLOT(slotUpdateStaffName())); } setConfigDialogPageIndex(3); @@ -1491,16 +1491,16 @@ void NotationView::readOptions() void NotationView::setupActions() { - KStdAction::print(this, TQT_SLOT(slotFilePrint()), actionCollection()); - KStdAction::printPreview(this, TQT_SLOT(slotFilePrintPreview()), + KStdAction::print(this, TQ_SLOT(slotFilePrint()), actionCollection()); + KStdAction::printPreview(this, TQ_SLOT(slotFilePrintPreview()), actionCollection()); new TDEAction(i18n("Print &with LilyPond..."), 0, 0, this, - TQT_SLOT(slotPrintLilyPond()), actionCollection(), + TQ_SLOT(slotPrintLilyPond()), actionCollection(), "file_print_lilypond"); new TDEAction(i18n("Preview with Lil&yPond..."), 0, 0, this, - TQT_SLOT(slotPreviewLilyPond()), actionCollection(), + TQ_SLOT(slotPreviewLilyPond()), actionCollection(), "file_preview_lilypond"); EditViewBase::setupActions("notation.rc"); @@ -1524,7 +1524,7 @@ void NotationView::setupActions() TDEToggleAction *fontAction = new TDEToggleAction - (fontTQName, 0, this, TQT_SLOT(slotChangeFontFromAction()), + (fontTQName, 0, this, TQ_SLOT(slotChangeFontFromAction()), actionCollection(), TQString("note_font_" + fontTQName).ascii()); fontAction->setChecked(*i == m_fontName); @@ -1541,7 +1541,7 @@ void NotationView::setupActions() m_showHeadersMenuEntry = new TDEAction(i18n("Show Track Headers"), 0, this, - TQT_SLOT(slotShowHeadersGroup()), + TQ_SLOT(slotShowHeadersGroup()), actionCollection(), "show_track_headers"); TDEActionMenu *spacingActionMenu = @@ -1556,7 +1556,7 @@ void NotationView::setupActions() TDEToggleAction *spacingAction = new TDEToggleAction (TQString("%1%").arg(*i), 0, this, - TQT_SLOT(slotChangeSpacingFromAction()), + TQ_SLOT(slotChangeSpacingFromAction()), actionCollection(), TQString("spacing_%1").arg(*i).ascii()); spacingAction->setExclusiveGroup("spacing"); @@ -1582,7 +1582,7 @@ void NotationView::setupActions() TDEToggleAction *proportionAction = new TDEToggleAction (name, 0, this, - TQT_SLOT(slotChangeProportionFromAction()), + TQ_SLOT(slotChangeProportionFromAction()), actionCollection(), TQString("proportion_%1").arg(*i).ascii()); proportionAction->setExclusiveGroup("proportion"); @@ -1605,7 +1605,7 @@ void NotationView::setupActions() TDEAction *styleAction = new TDEAction - (styleTQName, 0, this, TQT_SLOT(slotSetStyleFromAction()), + (styleTQName, 0, this, TQ_SLOT(slotSetStyleFromAction()), actionCollection(), TQString("style_" + styleTQName).ascii()); styleActionMenu->insert(styleAction); @@ -1619,17 +1619,17 @@ void NotationView::setupActions() new TDEAction - (i18n("Insert Rest"), Key_P, this, TQT_SLOT(slotInsertRest()), + (i18n("Insert Rest"), Key_P, this, TQ_SLOT(slotInsertRest()), actionCollection(), TQString("insert_rest").ascii()); new TDEAction (i18n("Switch from Note to Rest"), Key_T, this, - TQT_SLOT(slotSwitchFromNoteToRest()), + TQ_SLOT(slotSwitchFromNoteToRest()), actionCollection(), TQString("switch_from_note_to_rest").ascii()); new TDEAction (i18n("Switch from Rest to Note"), Key_Y, this, - TQT_SLOT(slotSwitchFromRestToNote()), + TQ_SLOT(slotSwitchFromRestToNote()), actionCollection(), TQString("switch_from_rest_to_note").ascii()); @@ -1649,7 +1649,7 @@ void NotationView::setupActions() icon, noteActionData.keycode, this, - TQT_SLOT(slotNoteAction()), + TQ_SLOT(slotNoteAction()), actionCollection(), noteActionData.actionName.ascii()); noteAction->setExclusiveGroup("notes"); @@ -1675,7 +1675,7 @@ void NotationView::setupActions() icon, data.keycode, this, - TQT_SLOT(slotNoteChangeAction()), + TQ_SLOT(slotNoteChangeAction()), actionCollection(), data.actionName.ascii()); } @@ -1713,47 +1713,47 @@ void NotationView::setupActions() // Treble icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap("clef-treble"))); noteAction = new TDERadioAction(i18n("&Treble Clef"), icon, 0, this, - TQT_SLOT(slotTrebleClef()), + TQ_SLOT(slotTrebleClef()), actionCollection(), "treble_clef"); noteAction->setExclusiveGroup("notes"); // Alto icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap("clef-alto"))); noteAction = new TDERadioAction(i18n("&Alto Clef"), icon, 0, this, - TQT_SLOT(slotAltoClef()), + TQ_SLOT(slotAltoClef()), actionCollection(), "alto_clef"); noteAction->setExclusiveGroup("notes"); // Tenor icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap("clef-tenor"))); noteAction = new TDERadioAction(i18n("Te&nor Clef"), icon, 0, this, - TQT_SLOT(slotTenorClef()), + TQ_SLOT(slotTenorClef()), actionCollection(), "tenor_clef"); noteAction->setExclusiveGroup("notes"); // Bass icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap("clef-bass"))); noteAction = new TDERadioAction(i18n("&Bass Clef"), icon, 0, this, - TQT_SLOT(slotBassClef()), + TQ_SLOT(slotBassClef()), actionCollection(), "bass_clef"); noteAction->setExclusiveGroup("notes"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap("text"))); noteAction = new TDERadioAction(i18n("&Text"), icon, Key_F8, this, - TQT_SLOT(slotText()), + TQ_SLOT(slotText()), actionCollection(), "text"); noteAction->setExclusiveGroup("notes"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap("guitarchord"))); noteAction = new TDERadioAction(i18n("&Guitar Chord"), icon, Key_F9, this, - TQT_SLOT(slotGuitarChord()), + TQ_SLOT(slotGuitarChord()), actionCollection(), "guitarchord"); noteAction->setExclusiveGroup("notes"); /* icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap("lilypond"))); noteAction = new TDERadioAction(i18n("Lil&ypond Directive"), icon, Key_F9, this, - TQT_SLOT(slotLilyPondDirective()), + TQ_SLOT(slotLilyPondDirective()), actionCollection(), "lilypond_directive"); noteAction->setExclusiveGroup("notes"); */ @@ -1762,53 +1762,53 @@ void NotationView::setupActions() // Edition tools (eraser, selector...) // noteAction = new TDERadioAction(i18n("&Erase"), "eraser", Key_F4, - this, TQT_SLOT(slotEraseSelected()), + this, TQ_SLOT(slotEraseSelected()), actionCollection(), "erase"); noteAction->setExclusiveGroup("notes"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap("select"))); noteAction = new TDERadioAction(i18n("&Select and Edit"), icon, Key_F2, - this, TQT_SLOT(slotSelectSelected()), + this, TQ_SLOT(slotSelectSelected()), actionCollection(), "select"); noteAction->setExclusiveGroup("notes"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap("step_by_step"))); new TDEToggleAction(i18n("Ste&p Recording"), icon, 0, this, - TQT_SLOT(slotToggleStepByStep()), actionCollection(), + TQ_SLOT(slotToggleStepByStep()), actionCollection(), "toggle_step_by_step"); // Edit menu new TDEAction(i18n("Select from Sta&rt"), 0, this, - TQT_SLOT(slotEditSelectFromStart()), actionCollection(), + TQ_SLOT(slotEditSelectFromStart()), actionCollection(), "select_from_start"); new TDEAction(i18n("Select to &End"), 0, this, - TQT_SLOT(slotEditSelectToEnd()), actionCollection(), + TQ_SLOT(slotEditSelectToEnd()), actionCollection(), "select_to_end"); new TDEAction(i18n("Select Whole St&aff"), Key_A + CTRL, this, - TQT_SLOT(slotEditSelectWholeStaff()), actionCollection(), + TQ_SLOT(slotEditSelectWholeStaff()), actionCollection(), "select_whole_staff"); new TDEAction(i18n("C&ut and Close"), CTRL + SHIFT + Key_X, this, - TQT_SLOT(slotEditCutAndClose()), actionCollection(), + TQ_SLOT(slotEditCutAndClose()), actionCollection(), "cut_and_close"); new TDEAction(i18n("Pa&ste..."), CTRL + SHIFT + Key_V, this, - TQT_SLOT(slotEditGeneralPaste()), actionCollection(), + TQ_SLOT(slotEditGeneralPaste()), actionCollection(), "general_paste"); new TDEAction(i18n("De&lete"), Key_Delete, this, - TQT_SLOT(slotEditDelete()), actionCollection(), + TQ_SLOT(slotEditDelete()), actionCollection(), "delete"); new TDEAction(i18n("Move to Staff Above"), 0, this, - TQT_SLOT(slotMoveEventsUpStaff()), actionCollection(), + TQ_SLOT(slotMoveEventsUpStaff()), actionCollection(), "move_events_up_staff"); new TDEAction(i18n("Move to Staff Below"), 0, this, - TQT_SLOT(slotMoveEventsDownStaff()), actionCollection(), + TQ_SLOT(slotMoveEventsDownStaff()), actionCollection(), "move_events_down_staff"); // @@ -1821,7 +1821,7 @@ void NotationView::setupActions() TQCanvasPixmap pixmap(pixmapDir + "/toolbar/linear-layout.xpm"); icon = TQIconSet(pixmap); TDERadioAction *linearModeAction = new TDERadioAction - (i18n("&Linear Layout"), icon, 0, this, TQT_SLOT(slotLinearMode()), + (i18n("&Linear Layout"), icon, 0, this, TQ_SLOT(slotLinearMode()), actionCollection(), "linear_mode"); linearModeAction->setExclusiveGroup("layoutMode"); if (layoutMode == 0) @@ -1830,7 +1830,7 @@ void NotationView::setupActions() pixmap.load(pixmapDir + "/toolbar/continuous-page-mode.xpm"); icon = TQIconSet(pixmap); TDERadioAction *continuousPageModeAction = new TDERadioAction - (i18n("&Continuous Page Layout"), icon, 0, this, TQT_SLOT(slotContinuousPageMode()), + (i18n("&Continuous Page Layout"), icon, 0, this, TQ_SLOT(slotContinuousPageMode()), actionCollection(), "continuous_page_mode"); continuousPageModeAction->setExclusiveGroup("layoutMode"); if (layoutMode == 1) @@ -1839,33 +1839,33 @@ void NotationView::setupActions() pixmap.load(pixmapDir + "/toolbar/multi-page-mode.xpm"); icon = TQIconSet(pixmap); TDERadioAction *multiPageModeAction = new TDERadioAction - (i18n("&Multiple Page Layout"), icon, 0, this, TQT_SLOT(slotMultiPageMode()), + (i18n("&Multiple Page Layout"), icon, 0, this, TQ_SLOT(slotMultiPageMode()), actionCollection(), "multi_page_mode"); multiPageModeAction->setExclusiveGroup("layoutMode"); if (layoutMode == 2) multiPageModeAction->setChecked(true); new TDEToggleAction(i18n("Show Ch&ord Name Ruler"), 0, this, - TQT_SLOT(slotToggleChordsRuler()), + TQ_SLOT(slotToggleChordsRuler()), actionCollection(), "show_chords_ruler"); new TDEToggleAction(i18n("Show Ra&w Note Ruler"), 0, this, - TQT_SLOT(slotToggleRawNoteRuler()), + TQ_SLOT(slotToggleRawNoteRuler()), actionCollection(), "show_raw_note_ruler"); new TDEToggleAction(i18n("Show &Tempo Ruler"), 0, this, - TQT_SLOT(slotToggleTempoRuler()), + TQ_SLOT(slotToggleTempoRuler()), actionCollection(), "show_tempo_ruler"); new TDEToggleAction(i18n("Show &Annotations"), 0, this, - TQT_SLOT(slotToggleAnnotations()), + TQ_SLOT(slotToggleAnnotations()), actionCollection(), "show_annotations"); new TDEToggleAction(i18n("Show Lily&Pond Directives"), 0, this, - TQT_SLOT(slotToggleLilyPondDirectives()), + TQ_SLOT(slotToggleLilyPondDirectives()), actionCollection(), "show_lilypond_directives"); - new TDEAction(i18n("Open L&yric Editor"), 0, this, TQT_SLOT(slotEditLyrics()), + new TDEAction(i18n("Open L&yric Editor"), 0, this, TQ_SLOT(slotEditLyrics()), actionCollection(), "lyric_editor"); // @@ -1876,53 +1876,53 @@ void NotationView::setupActions() ("group-beam"))); new TDEAction(BeamCommand::getGlobalName(), icon, Key_B + CTRL, this, - TQT_SLOT(slotGroupBeam()), actionCollection(), "beam"); + TQ_SLOT(slotGroupBeam()), actionCollection(), "beam"); new TDEAction(AutoBeamCommand::getGlobalName(), 0, this, - TQT_SLOT(slotGroupAutoBeam()), actionCollection(), "auto_beam"); + TQ_SLOT(slotGroupAutoBeam()), actionCollection(), "auto_beam"); icon = TQIconSet (NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("group-unbeam"))); new TDEAction(BreakCommand::getGlobalName(), icon, Key_U + CTRL, this, - TQT_SLOT(slotGroupBreak()), actionCollection(), "break_group"); + TQ_SLOT(slotGroupBreak()), actionCollection(), "break_group"); icon = TQIconSet (NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("group-simple-tuplet"))); new TDEAction(TupletCommand::getGlobalName(true), icon, Key_R + CTRL, this, - TQT_SLOT(slotGroupSimpleTuplet()), actionCollection(), "simple_tuplet"); + TQ_SLOT(slotGroupSimpleTuplet()), actionCollection(), "simple_tuplet"); icon = TQIconSet (NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("group-tuplet"))); new TDEAction(TupletCommand::getGlobalName(false), icon, Key_T + CTRL, this, - TQT_SLOT(slotGroupGeneralTuplet()), actionCollection(), "tuplet"); + TQ_SLOT(slotGroupGeneralTuplet()), actionCollection(), "tuplet"); new TDEAction(UnTupletCommand::getGlobalName(), 0, this, - TQT_SLOT(slotGroupUnTuplet()), actionCollection(), "break_tuplets"); + TQ_SLOT(slotGroupUnTuplet()), actionCollection(), "break_tuplets"); icon = TQIconSet(NotePixmapFactory::toTQPixmap (NotePixmapFactory::makeToolbarPixmap("triplet"))); (new TDEToggleAction(i18n("Trip&let Insert Mode"), icon, Key_G, - this, TQT_SLOT(slotUpdateInsertModeStatus()), + this, TQ_SLOT(slotUpdateInsertModeStatus()), actionCollection(), "triplet_mode"))-> setChecked(false); icon = TQIconSet(NotePixmapFactory::toTQPixmap (NotePixmapFactory::makeToolbarPixmap("chord"))); (new TDEToggleAction(i18n("C&hord Insert Mode"), icon, Key_H, - this, TQT_SLOT(slotUpdateInsertModeStatus()), + this, TQ_SLOT(slotUpdateInsertModeStatus()), actionCollection(), "chord_mode"))-> setChecked(false); icon = TQIconSet(NotePixmapFactory::toTQPixmap (NotePixmapFactory::makeToolbarPixmap("group-grace"))); (new TDEToggleAction(i18n("Grace Insert Mode"), icon, 0, - this, TQT_SLOT(slotUpdateInsertModeStatus()), + this, TQ_SLOT(slotUpdateInsertModeStatus()), actionCollection(), "grace_mode"))-> setChecked(false); /*!!! @@ -1931,10 +1931,10 @@ void NotationView::setupActions() ("group-grace"))); new TDEAction(GraceCommand::getGlobalName(), icon, 0, this, - TQT_SLOT(slotGroupGrace()), actionCollection(), "grace"); + TQ_SLOT(slotGroupGrace()), actionCollection(), "grace"); new TDEAction(UnGraceCommand::getGlobalName(), 0, this, - TQT_SLOT(slotGroupUnGrace()), actionCollection(), "ungrace"); + TQ_SLOT(slotGroupUnGrace()), actionCollection(), "ungrace"); */ icon = TQIconSet (NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap @@ -1942,11 +1942,11 @@ void NotationView::setupActions() new TDEAction(AddIndicationCommand::getGlobalName (Indication::Slur), icon, Key_ParenRight, this, - TQT_SLOT(slotGroupSlur()), actionCollection(), "slur"); + TQ_SLOT(slotGroupSlur()), actionCollection(), "slur"); new TDEAction(AddIndicationCommand::getGlobalName (Indication::PhrasingSlur), 0, Key_ParenRight + CTRL, this, - TQT_SLOT(slotGroupPhrasingSlur()), actionCollection(), "phrasing_slur"); + TQ_SLOT(slotGroupPhrasingSlur()), actionCollection(), "phrasing_slur"); icon = TQIconSet (NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap @@ -1954,7 +1954,7 @@ void NotationView::setupActions() new TDEAction(AddIndicationCommand::getGlobalName (Indication::Glissando), icon, 0, this, - TQT_SLOT(slotGroupGlissando()), actionCollection(), "glissando"); + TQ_SLOT(slotGroupGlissando()), actionCollection(), "glissando"); icon = TQIconSet (NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap @@ -1962,7 +1962,7 @@ void NotationView::setupActions() new TDEAction(AddIndicationCommand::getGlobalName (Indication::Crescendo), icon, Key_Less, this, - TQT_SLOT(slotGroupCrescendo()), actionCollection(), "crescendo"); + TQ_SLOT(slotGroupCrescendo()), actionCollection(), "crescendo"); icon = TQIconSet (NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap @@ -1970,11 +1970,11 @@ void NotationView::setupActions() new TDEAction(AddIndicationCommand::getGlobalName (Indication::Decrescendo), icon, Key_Greater, this, - TQT_SLOT(slotGroupDecrescendo()), actionCollection(), "decrescendo"); + TQ_SLOT(slotGroupDecrescendo()), actionCollection(), "decrescendo"); new TDEAction(AddIndicationCommand::getGlobalName (Indication::QuindicesimaUp), 0, 0, this, - TQT_SLOT(slotGroupOctave2Up()), actionCollection(), "octave_2up"); + TQ_SLOT(slotGroupOctave2Up()), actionCollection(), "octave_2up"); icon = TQIconSet (NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap @@ -1982,33 +1982,33 @@ void NotationView::setupActions() new TDEAction(AddIndicationCommand::getGlobalName (Indication::OttavaUp), icon, 0, this, - TQT_SLOT(slotGroupOctaveUp()), actionCollection(), "octave_up"); + TQ_SLOT(slotGroupOctaveUp()), actionCollection(), "octave_up"); new TDEAction(AddIndicationCommand::getGlobalName (Indication::OttavaDown), 0, 0, this, - TQT_SLOT(slotGroupOctaveDown()), actionCollection(), "octave_down"); + TQ_SLOT(slotGroupOctaveDown()), actionCollection(), "octave_down"); new TDEAction(AddIndicationCommand::getGlobalName (Indication::QuindicesimaDown), 0, 0, this, - TQT_SLOT(slotGroupOctave2Down()), actionCollection(), "octave_2down"); + TQ_SLOT(slotGroupOctave2Down()), actionCollection(), "octave_2down"); icon = TQIconSet (NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("group-chord"))); new TDEAction(MakeChordCommand::getGlobalName(), icon, 0, this, - TQT_SLOT(slotGroupMakeChord()), actionCollection(), "make_chord"); + TQ_SLOT(slotGroupMakeChord()), actionCollection(), "make_chord"); // setup Transforms menu new TDEAction(NormalizeRestsCommand::getGlobalName(), Key_N + CTRL, this, - TQT_SLOT(slotTransformsNormalizeRests()), actionCollection(), + TQ_SLOT(slotTransformsNormalizeRests()), actionCollection(), "normalize_rests"); new TDEAction(CollapseRestsCommand::getGlobalName(), 0, this, - TQT_SLOT(slotTransformsCollapseRests()), actionCollection(), + TQ_SLOT(slotTransformsCollapseRests()), actionCollection(), "collapse_rests_aggressively"); new TDEAction(CollapseNotesCommand::getGlobalName(), Key_Equal + CTRL, this, - TQT_SLOT(slotTransformsCollapseNotes()), actionCollection(), + TQ_SLOT(slotTransformsCollapseNotes()), actionCollection(), "collapse_notes"); icon = TQIconSet @@ -2016,15 +2016,15 @@ void NotationView::setupActions() ("transforms-tie"))); new TDEAction(TieNotesCommand::getGlobalName(), icon, Key_AsciiTilde, this, - TQT_SLOT(slotTransformsTieNotes()), actionCollection(), + TQ_SLOT(slotTransformsTieNotes()), actionCollection(), "tie_notes"); new TDEAction(UntieNotesCommand::getGlobalName(), 0, this, - TQT_SLOT(slotTransformsUntieNotes()), actionCollection(), + TQ_SLOT(slotTransformsUntieNotes()), actionCollection(), "untie_notes"); new TDEAction(MakeNotesViableCommand::getGlobalName(), 0, this, - TQT_SLOT(slotTransformsMakeNotesViable()), actionCollection(), + TQ_SLOT(slotTransformsMakeNotesViable()), actionCollection(), "make_notes_viable"); icon = TQIconSet @@ -2032,49 +2032,49 @@ void NotationView::setupActions() ("transforms-decounterpoint"))); new TDEAction(DeCounterpointCommand::getGlobalName(), icon, 0, this, - TQT_SLOT(slotTransformsDeCounterpoint()), actionCollection(), + TQ_SLOT(slotTransformsDeCounterpoint()), actionCollection(), "de_counterpoint"); new TDEAction(ChangeStemsCommand::getGlobalName(true), 0, Key_PageUp + CTRL, this, - TQT_SLOT(slotTransformsStemsUp()), actionCollection(), + TQ_SLOT(slotTransformsStemsUp()), actionCollection(), "stems_up"); new TDEAction(ChangeStemsCommand::getGlobalName(false), 0, Key_PageDown + CTRL, this, - TQT_SLOT(slotTransformsStemsDown()), actionCollection(), + TQ_SLOT(slotTransformsStemsDown()), actionCollection(), "stems_down"); new TDEAction(RestoreStemsCommand::getGlobalName(), 0, this, - TQT_SLOT(slotTransformsRestoreStems()), actionCollection(), + TQ_SLOT(slotTransformsRestoreStems()), actionCollection(), "restore_stems"); new TDEAction(ChangeSlurPositionCommand::getGlobalName(true), 0, this, - TQT_SLOT(slotTransformsSlursAbove()), actionCollection(), + TQ_SLOT(slotTransformsSlursAbove()), actionCollection(), "slurs_above"); new TDEAction(ChangeSlurPositionCommand::getGlobalName(false), 0, this, - TQT_SLOT(slotTransformsSlursBelow()), actionCollection(), + TQ_SLOT(slotTransformsSlursBelow()), actionCollection(), "slurs_below"); new TDEAction(RestoreSlursCommand::getGlobalName(), 0, this, - TQT_SLOT(slotTransformsRestoreSlurs()), actionCollection(), + TQ_SLOT(slotTransformsRestoreSlurs()), actionCollection(), "restore_slurs"); new TDEAction(ChangeTiePositionCommand::getGlobalName(true), 0, this, - TQT_SLOT(slotTransformsTiesAbove()), actionCollection(), + TQ_SLOT(slotTransformsTiesAbove()), actionCollection(), "ties_above"); new TDEAction(ChangeTiePositionCommand::getGlobalName(false), 0, this, - TQT_SLOT(slotTransformsTiesBelow()), actionCollection(), + TQ_SLOT(slotTransformsTiesBelow()), actionCollection(), "ties_below"); new TDEAction(RestoreTiesCommand::getGlobalName(), 0, this, - TQT_SLOT(slotTransformsRestoreTies()), actionCollection(), + TQ_SLOT(slotTransformsRestoreTies()), actionCollection(), "restore_ties"); icon = TQIconSet @@ -2084,7 +2084,7 @@ void NotationView::setupActions() new TDEAction(RespellCommand::getGlobalName (RespellCommand::Set, Accidentals::DoubleFlat), icon, 0, this, - TQT_SLOT(slotRespellDoubleFlat()), actionCollection(), + TQ_SLOT(slotRespellDoubleFlat()), actionCollection(), "respell_doubleflat"); icon = TQIconSet @@ -2094,7 +2094,7 @@ void NotationView::setupActions() new TDEAction(RespellCommand::getGlobalName (RespellCommand::Set, Accidentals::Flat), icon, 0, this, - TQT_SLOT(slotRespellFlat()), actionCollection(), + TQ_SLOT(slotRespellFlat()), actionCollection(), "respell_flat"); icon = TQIconSet @@ -2104,7 +2104,7 @@ void NotationView::setupActions() new TDEAction(RespellCommand::getGlobalName (RespellCommand::Set, Accidentals::Natural), icon, 0, this, - TQT_SLOT(slotRespellNatural()), actionCollection(), + TQ_SLOT(slotRespellNatural()), actionCollection(), "respell_natural"); icon = TQIconSet @@ -2114,7 +2114,7 @@ void NotationView::setupActions() new TDEAction(RespellCommand::getGlobalName (RespellCommand::Set, Accidentals::Sharp), icon, 0, this, - TQT_SLOT(slotRespellSharp()), actionCollection(), + TQ_SLOT(slotRespellSharp()), actionCollection(), "respell_sharp"); icon = TQIconSet @@ -2124,35 +2124,35 @@ void NotationView::setupActions() new TDEAction(RespellCommand::getGlobalName (RespellCommand::Set, Accidentals::DoubleSharp), icon, 0, this, - TQT_SLOT(slotRespellDoubleSharp()), actionCollection(), + TQ_SLOT(slotRespellDoubleSharp()), actionCollection(), "respell_doublesharp"); new TDEAction(RespellCommand::getGlobalName (RespellCommand::Up, Accidentals::NoAccidental), Key_Up + CTRL + SHIFT, this, - TQT_SLOT(slotRespellUp()), actionCollection(), + TQ_SLOT(slotRespellUp()), actionCollection(), "respell_up"); new TDEAction(RespellCommand::getGlobalName (RespellCommand::Down, Accidentals::NoAccidental), Key_Down + CTRL + SHIFT, this, - TQT_SLOT(slotRespellDown()), actionCollection(), + TQ_SLOT(slotRespellDown()), actionCollection(), "respell_down"); new TDEAction(RespellCommand::getGlobalName (RespellCommand::Restore, Accidentals::NoAccidental), 0, this, - TQT_SLOT(slotRespellRestore()), actionCollection(), + TQ_SLOT(slotRespellRestore()), actionCollection(), "respell_restore"); new TDEAction(MakeAccidentalsCautionaryCommand::getGlobalName(true), 0, this, - TQT_SLOT(slotShowCautionary()), actionCollection(), + TQ_SLOT(slotShowCautionary()), actionCollection(), "show_cautionary"); new TDEAction(MakeAccidentalsCautionaryCommand::getGlobalName(false), 0, this, - TQT_SLOT(slotCancelCautionary()), actionCollection(), + TQ_SLOT(slotCancelCautionary()), actionCollection(), "cancel_cautionary"); icon = TQIconSet @@ -2160,23 +2160,23 @@ void NotationView::setupActions() ("quantize"))); new TDEAction(EventQuantizeCommand::getGlobalName(), icon, Key_Equal, this, - TQT_SLOT(slotTransformsQuantize()), actionCollection(), + TQ_SLOT(slotTransformsQuantize()), actionCollection(), "quantize"); new TDEAction(FixNotationQuantizeCommand::getGlobalName(), 0, - this, TQT_SLOT(slotTransformsFixQuantization()), actionCollection(), + this, TQ_SLOT(slotTransformsFixQuantization()), actionCollection(), "fix_quantization"); new TDEAction(RemoveNotationQuantizeCommand::getGlobalName(), 0, - this, TQT_SLOT(slotTransformsRemoveQuantization()), actionCollection(), + this, TQ_SLOT(slotTransformsRemoveQuantization()), actionCollection(), "remove_quantization"); new TDEAction(InterpretCommand::getGlobalName(), 0, - this, TQT_SLOT(slotTransformsInterpret()), actionCollection(), + this, TQ_SLOT(slotTransformsInterpret()), actionCollection(), "interpret"); new TDEAction(i18n("&Dump selected events to stderr"), 0, this, - TQT_SLOT(slotDebugDump()), actionCollection(), "debug_dump"); + TQ_SLOT(slotDebugDump()), actionCollection(), "debug_dump"); for (MarkActionDataMap::Iterator i = m_markActionDataMap->begin(); i != m_markActionDataMap->end(); ++i) { @@ -2190,7 +2190,7 @@ void NotationView::setupActions() icon, markActionData.keycode, this, - TQT_SLOT(slotAddMark()), + TQ_SLOT(slotAddMark()), actionCollection(), markActionData.actionName.ascii()); } @@ -2200,59 +2200,59 @@ void NotationView::setupActions() ("text-mark"))); new TDEAction(AddTextMarkCommand::getGlobalName(), icon, 0, this, - TQT_SLOT(slotMarksAddTextMark()), actionCollection(), + TQ_SLOT(slotMarksAddTextMark()), actionCollection(), "add_text_mark"); new TDEAction(AddFingeringMarkCommand::getGlobalName("0"), 0, Key_0 + ALT, this, - TQT_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), + TQ_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), "add_fingering_0"); new TDEAction(AddFingeringMarkCommand::getGlobalName("1"), 0, Key_1 + ALT, this, - TQT_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), + TQ_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), "add_fingering_1"); new TDEAction(AddFingeringMarkCommand::getGlobalName("2"), 0, Key_2 + ALT, this, - TQT_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), + TQ_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), "add_fingering_2"); new TDEAction(AddFingeringMarkCommand::getGlobalName("3"), 0, Key_3 + ALT, this, - TQT_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), + TQ_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), "add_fingering_3"); new TDEAction(AddFingeringMarkCommand::getGlobalName("4"), 0, Key_4 + ALT, this, - TQT_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), + TQ_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), "add_fingering_4"); new TDEAction(AddFingeringMarkCommand::getGlobalName("5"), 0, Key_5 + ALT, this, - TQT_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), + TQ_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), "add_fingering_5"); new TDEAction(AddFingeringMarkCommand::getGlobalName("+"), 0, Key_9 + ALT, this, - TQT_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), + TQ_SLOT(slotMarksAddFingeringMarkFromAction()), actionCollection(), "add_fingering_plus"); new TDEAction(AddFingeringMarkCommand::getGlobalName(), 0, 0, this, - TQT_SLOT(slotMarksAddFingeringMark()), actionCollection(), + TQ_SLOT(slotMarksAddFingeringMark()), actionCollection(), "add_fingering_mark"); new TDEAction(RemoveMarksCommand::getGlobalName(), 0, this, - TQT_SLOT(slotMarksRemoveMarks()), actionCollection(), + TQ_SLOT(slotMarksRemoveMarks()), actionCollection(), "remove_marks"); new TDEAction(RemoveFingeringMarksCommand::getGlobalName(), 0, this, - TQT_SLOT(slotMarksRemoveFingeringMarks()), actionCollection(), + TQ_SLOT(slotMarksRemoveFingeringMarks()), actionCollection(), "remove_fingering_marks"); new TDEAction(i18n("Ma&ke Ornament..."), 0, this, - TQT_SLOT(slotMakeOrnament()), actionCollection(), + TQ_SLOT(slotMakeOrnament()), actionCollection(), "make_ornament"); new TDEAction(i18n("Trigger &Ornament..."), 0, this, - TQT_SLOT(slotUseOrnament()), actionCollection(), + TQ_SLOT(slotUseOrnament()), actionCollection(), "use_ornament"); new TDEAction(i18n("Remove Ornament..."), 0, this, - TQT_SLOT(slotRemoveOrnament()), actionCollection(), + TQ_SLOT(slotRemoveOrnament()), actionCollection(), "remove_ornament"); static TQString slashTitles[] = { @@ -2260,32 +2260,32 @@ void NotationView::setupActions() }; for (int i = 0; i <= 5; ++i) { new TDEAction(slashTitles[i], 0, this, - TQT_SLOT(slotAddSlashes()), actionCollection(), + TQ_SLOT(slotAddSlashes()), actionCollection(), TQString("slashes_%1").arg(i).ascii()); } new TDEAction(ClefInsertionCommand::getGlobalName(), 0, this, - TQT_SLOT(slotEditAddClef()), actionCollection(), + TQ_SLOT(slotEditAddClef()), actionCollection(), "add_clef"); new TDEAction(KeyInsertionCommand::getGlobalName(), 0, this, - TQT_SLOT(slotEditAddKeySignature()), actionCollection(), + TQ_SLOT(slotEditAddKeySignature()), actionCollection(), "add_key_signature"); new TDEAction(SustainInsertionCommand::getGlobalName(true), 0, this, - TQT_SLOT(slotEditAddSustainDown()), actionCollection(), + TQ_SLOT(slotEditAddSustainDown()), actionCollection(), "add_sustain_down"); new TDEAction(SustainInsertionCommand::getGlobalName(false), 0, this, - TQT_SLOT(slotEditAddSustainUp()), actionCollection(), + TQ_SLOT(slotEditAddSustainUp()), actionCollection(), "add_sustain_up"); new TDEAction(TransposeCommand::getDiatonicGlobalName(false), 0, this, - TQT_SLOT(slotEditTranspose()), actionCollection(), + TQ_SLOT(slotEditTranspose()), actionCollection(), "transpose_segment"); new TDEAction(i18n("Convert Notation For..."), 0, this, - TQT_SLOT(slotEditSwitchPreset()), actionCollection(), + TQ_SLOT(slotEditSwitchPreset()), actionCollection(), "switch_preset"); @@ -2321,79 +2321,79 @@ void NotationView::setupActions() } new TDEAction(i18n("Cursor &Back"), 0, Key_Left, this, - TQT_SLOT(slotStepBackward()), actionCollection(), + TQ_SLOT(slotStepBackward()), actionCollection(), "cursor_back"); new TDEAction(i18n("Cursor &Forward"), 0, Key_Right, this, - TQT_SLOT(slotStepForward()), actionCollection(), + TQ_SLOT(slotStepForward()), actionCollection(), "cursor_forward"); new TDEAction(i18n("Cursor Ba&ck Bar"), 0, Key_Left + CTRL, this, - TQT_SLOT(slotJumpBackward()), actionCollection(), + TQ_SLOT(slotJumpBackward()), actionCollection(), "cursor_back_bar"); new TDEAction(i18n("Cursor For&ward Bar"), 0, Key_Right + CTRL, this, - TQT_SLOT(slotJumpForward()), actionCollection(), + TQ_SLOT(slotJumpForward()), actionCollection(), "cursor_forward_bar"); new TDEAction(i18n("Cursor Back and Se&lect"), SHIFT + Key_Left, this, - TQT_SLOT(slotExtendSelectionBackward()), actionCollection(), + TQ_SLOT(slotExtendSelectionBackward()), actionCollection(), "extend_selection_backward"); new TDEAction(i18n("Cursor Forward and &Select"), SHIFT + Key_Right, this, - TQT_SLOT(slotExtendSelectionForward()), actionCollection(), + TQ_SLOT(slotExtendSelectionForward()), actionCollection(), "extend_selection_forward"); new TDEAction(i18n("Cursor Back Bar and Select"), SHIFT + CTRL + Key_Left, this, - TQT_SLOT(slotExtendSelectionBackwardBar()), actionCollection(), + TQ_SLOT(slotExtendSelectionBackwardBar()), actionCollection(), "extend_selection_backward_bar"); new TDEAction(i18n("Cursor Forward Bar and Select"), SHIFT + CTRL + Key_Right, this, - TQT_SLOT(slotExtendSelectionForwardBar()), actionCollection(), + TQ_SLOT(slotExtendSelectionForwardBar()), actionCollection(), "extend_selection_forward_bar"); /*!!! not here yet new TDEAction(i18n("Move Selection Left"), Key_Minus, this, - TQT_SLOT(slotMoveSelectionLeft()), actionCollection(), + TQ_SLOT(slotMoveSelectionLeft()), actionCollection(), "move_selection_left"); */ new TDEAction(i18n("Cursor to St&art"), 0, /* #1025717: conflicting meanings for ctrl+a - dupe with Select All Key_A + CTRL, */ this, - TQT_SLOT(slotJumpToStart()), actionCollection(), + TQ_SLOT(slotJumpToStart()), actionCollection(), "cursor_start"); new TDEAction(i18n("Cursor to &End"), 0, Key_E + CTRL, this, - TQT_SLOT(slotJumpToEnd()), actionCollection(), + TQ_SLOT(slotJumpToEnd()), actionCollection(), "cursor_end"); new TDEAction(i18n("Cursor &Up Staff"), 0, Key_Up + SHIFT, this, - TQT_SLOT(slotCurrentStaffUp()), actionCollection(), + TQ_SLOT(slotCurrentStaffUp()), actionCollection(), "cursor_up_staff"); new TDEAction(i18n("Cursor &Down Staff"), 0, Key_Down + SHIFT, this, - TQT_SLOT(slotCurrentStaffDown()), actionCollection(), + TQ_SLOT(slotCurrentStaffDown()), actionCollection(), "cursor_down_staff"); new TDEAction(i18n("Cursor Pre&vious Segment"), 0, Key_Prior + ALT, this, - TQT_SLOT(slotCurrentSegmentPrior()), actionCollection(), + TQ_SLOT(slotCurrentSegmentPrior()), actionCollection(), "cursor_prior_segment"); new TDEAction(i18n("Cursor Ne&xt Segment"), 0, Key_Next + ALT, this, - TQT_SLOT(slotCurrentSegmentNext()), actionCollection(), + TQ_SLOT(slotCurrentSegmentNext()), actionCollection(), "cursor_next_segment"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-cursor-to-pointer"))); new TDEAction(i18n("Cursor to &Playback Pointer"), icon, 0, this, - TQT_SLOT(slotJumpCursorToPlayback()), actionCollection(), + TQ_SLOT(slotJumpCursorToPlayback()), actionCollection(), "cursor_to_playback_pointer"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-play"))); TDEAction *play = new TDEAction(i18n("&Play"), icon, Key_Enter, this, - TQT_SIGNAL(play()), actionCollection(), "play"); + TQ_SIGNAL(play()), actionCollection(), "play"); // Alternative shortcut for Play TDEShortcut playShortcut = play->shortcut(); playShortcut.append( KKey(Key_Return + CTRL) ); @@ -2402,112 +2402,112 @@ void NotationView::setupActions() icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-stop"))); new TDEAction(i18n("&Stop"), icon, Key_Insert, this, - TQT_SIGNAL(stop()), actionCollection(), "stop"); + TQ_SIGNAL(stop()), actionCollection(), "stop"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-rewind"))); new TDEAction(i18n("Re&wind"), icon, Key_End, this, - TQT_SIGNAL(rewindPlayback()), actionCollection(), + TQ_SIGNAL(rewindPlayback()), actionCollection(), "playback_pointer_back_bar"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-ffwd"))); new TDEAction(i18n("&Fast Forward"), icon, Key_PageDown, this, - TQT_SIGNAL(fastForwardPlayback()), actionCollection(), + TQ_SIGNAL(fastForwardPlayback()), actionCollection(), "playback_pointer_forward_bar"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-rewind-end"))); new TDEAction(i18n("Rewind to &Beginning"), icon, 0, this, - TQT_SIGNAL(rewindPlaybackToBeginning()), actionCollection(), + TQ_SIGNAL(rewindPlaybackToBeginning()), actionCollection(), "playback_pointer_start"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-ffwd-end"))); new TDEAction(i18n("Fast Forward to &End"), icon, 0, this, - TQT_SIGNAL(fastForwardPlaybackToEnd()), actionCollection(), + TQ_SIGNAL(fastForwardPlaybackToEnd()), actionCollection(), "playback_pointer_end"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-pointer-to-cursor"))); new TDEAction(i18n("Playback Pointer to &Cursor"), icon, 0, this, - TQT_SLOT(slotJumpPlaybackToCursor()), actionCollection(), + TQ_SLOT(slotJumpPlaybackToCursor()), actionCollection(), "playback_pointer_to_cursor"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-solo"))); new TDEToggleAction(i18n("&Solo"), icon, 0, this, - TQT_SLOT(slotToggleSolo()), actionCollection(), + TQ_SLOT(slotToggleSolo()), actionCollection(), "toggle_solo"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-tracking"))); (new TDEToggleAction(i18n("Scro&ll to Follow Playback"), icon, Key_Pause, this, - TQT_SLOT(slotToggleTracking()), actionCollection(), + TQ_SLOT(slotToggleTracking()), actionCollection(), "toggle_tracking"))->setChecked(m_playTracking); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-panic"))); new TDEAction(i18n("Panic"), icon, Key_P + CTRL + ALT, this, - TQT_SIGNAL(panic()), actionCollection(), "panic"); + TQ_SIGNAL(panic()), actionCollection(), "panic"); new TDEAction(i18n("Set Loop to Selection"), Key_Semicolon + CTRL, this, - TQT_SLOT(slotPreviewSelection()), actionCollection(), + TQ_SLOT(slotPreviewSelection()), actionCollection(), "preview_selection"); new TDEAction(i18n("Clear L&oop"), Key_Colon + CTRL, this, - TQT_SLOT(slotClearLoop()), actionCollection(), + TQ_SLOT(slotClearLoop()), actionCollection(), "clear_loop"); new TDEAction(i18n("Clear Selection"), Key_Escape, this, - TQT_SLOT(slotClearSelection()), actionCollection(), + TQ_SLOT(slotClearSelection()), actionCollection(), "clear_selection"); // TQString pixmapDir = // TDEGlobal::dirs()->findResource("appdata", "pixmaps/"); // icon = TQIconSet(TQCanvasPixmap(pixmapDir + "/toolbar/eventfilter.xpm")); new TDEAction(i18n("&Filter Selection"), "filter", Key_F + CTRL, this, - TQT_SLOT(slotFilterSelection()), actionCollection(), + TQ_SLOT(slotFilterSelection()), actionCollection(), "filter_selection"); new TDEAction(i18n("Push &Left"), 0, this, - TQT_SLOT(slotFinePositionLeft()), actionCollection(), + TQ_SLOT(slotFinePositionLeft()), actionCollection(), "fine_position_left"); new TDEAction(i18n("Push &Right"), 0, this, - TQT_SLOT(slotFinePositionRight()), actionCollection(), + TQ_SLOT(slotFinePositionRight()), actionCollection(), "fine_position_right"); new TDEAction(i18n("Push &Up"), 0, this, - TQT_SLOT(slotFinePositionUp()), actionCollection(), + TQ_SLOT(slotFinePositionUp()), actionCollection(), "fine_position_up"); new TDEAction(i18n("Push &Down"), 0, this, - TQT_SLOT(slotFinePositionDown()), actionCollection(), + TQ_SLOT(slotFinePositionDown()), actionCollection(), "fine_position_down"); new TDEAction(i18n("&Restore Positions"), 0, this, - TQT_SLOT(slotFinePositionRestore()), actionCollection(), + TQ_SLOT(slotFinePositionRestore()), actionCollection(), "fine_position_restore"); new TDEAction(i18n("Make &Invisible"), 0, this, - TQT_SLOT(slotMakeInvisible()), actionCollection(), + TQ_SLOT(slotMakeInvisible()), actionCollection(), "make_invisible"); new TDEAction(i18n("Make &Visible"), 0, this, - TQT_SLOT(slotMakeVisible()), actionCollection(), + TQ_SLOT(slotMakeVisible()), actionCollection(), "make_visible"); new TDEAction(i18n("Toggle Dot"), Key_Period, this, - TQT_SLOT(slotToggleDot()), actionCollection(), + TQ_SLOT(slotToggleDot()), actionCollection(), "toggle_dot"); new TDEAction(i18n("Add Dot"), Key_Period + CTRL, this, - TQT_SLOT(slotAddDot()), actionCollection(), + TQ_SLOT(slotAddDot()), actionCollection(), "add_dot"); new TDEAction(i18n("Add Dot"), Key_Period + CTRL + ALT, this, - TQT_SLOT(slotAddDotNotationOnly()), actionCollection(), + TQ_SLOT(slotAddDotNotationOnly()), actionCollection(), "add_notation_dot"); createGUI(getRCFileName(), false); @@ -2567,7 +2567,7 @@ NotationView::setupFontSizeMenu(std::string oldFontName) sizeAction = new TDEToggleAction(i18n("1 pixel", "%n pixels", sizes[i]), 0, this, - TQT_SLOT(slotChangeFontSizeFromAction()), + TQ_SLOT(slotChangeFontSizeFromAction()), actionCollection(), actionName.ascii()); } @@ -2647,8 +2647,8 @@ void NotationView::initLayoutToolbar() m_fontName = NoteFontFactory::getDefaultFontName(); } - connect(m_fontCombo, TQT_SIGNAL(activated(const TQString &)), - this, TQT_SLOT(slotChangeFont(const TQString &))); + connect(m_fontCombo, TQ_SIGNAL(activated(const TQString &)), + this, TQ_SLOT(slotChangeFont(const TQString &))); new TQLabel(i18n(" Size: "), layoutToolbar, "size label"); @@ -2669,8 +2669,8 @@ void NotationView::initLayoutToolbar() value.setNum(m_fontSize); m_fontSizeCombo->setCurrentText(value); - connect(m_fontSizeCombo, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(slotChangeFontSizeFromStringValue(const TQString&))); + connect(m_fontSizeCombo, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(slotChangeFontSizeFromStringValue(const TQString&))); new TQLabel(i18n(" Spacing: "), layoutToolbar, "spacing label"); @@ -2692,8 +2692,8 @@ void NotationView::initLayoutToolbar() value += "%"; m_spacingCombo->setCurrentText(value); - connect(m_spacingCombo, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(slotChangeSpacingFromStringValue(const TQString&))); + connect(m_spacingCombo, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(slotChangeSpacingFromStringValue(const TQString&))); } void NotationView::initStatusBar() @@ -4108,24 +4108,24 @@ void NotationView::setupProgress(KProgress* bar) if (bar) { NOTATION_DEBUG << "NotationView::setupProgress(bar)\n"; - connect(m_hlayout, TQT_SIGNAL(setProgress(int)), - bar, TQT_SLOT(setValue(int))); + connect(m_hlayout, TQ_SIGNAL(setProgress(int)), + bar, TQ_SLOT(setValue(int))); - connect(m_hlayout, TQT_SIGNAL(incrementProgress(int)), - bar, TQT_SLOT(advance(int))); + connect(m_hlayout, TQ_SIGNAL(incrementProgress(int)), + bar, TQ_SLOT(advance(int))); - connect(this, TQT_SIGNAL(setProgress(int)), - bar, TQT_SLOT(setValue(int))); + connect(this, TQ_SIGNAL(setProgress(int)), + bar, TQ_SLOT(setValue(int))); - connect(this, TQT_SIGNAL(incrementProgress(int)), - bar, TQT_SLOT(advance(int))); + connect(this, TQ_SIGNAL(incrementProgress(int)), + bar, TQ_SLOT(advance(int))); for (unsigned int i = 0; i < m_staffs.size(); ++i) { - connect(m_staffs[i], TQT_SIGNAL(setProgress(int)), - bar, TQT_SLOT(setValue(int))); + connect(m_staffs[i], TQ_SIGNAL(setProgress(int)), + bar, TQ_SLOT(setValue(int))); - connect(m_staffs[i], TQT_SIGNAL(incrementProgress(int)), - bar, TQT_SLOT(advance(int))); + connect(m_staffs[i], TQ_SIGNAL(incrementProgress(int)), + bar, TQ_SLOT(advance(int))); } } @@ -4139,19 +4139,19 @@ void NotationView::setupProgress(ProgressDialog* dialog) if (dialog) { setupProgress(dialog->progressBar()); - connect(dialog, TQT_SIGNAL(cancelClicked()), - m_hlayout, TQT_SLOT(slotCancel())); + connect(dialog, TQ_SIGNAL(cancelClicked()), + m_hlayout, TQ_SLOT(slotCancel())); for (unsigned int i = 0; i < m_staffs.size(); ++i) { - connect(m_staffs[i], TQT_SIGNAL(setOperationName(TQString)), - this, TQT_SLOT(slotSetOperationNameAndStatus(TQString))); + connect(m_staffs[i], TQ_SIGNAL(setOperationName(TQString)), + this, TQ_SLOT(slotSetOperationNameAndStatus(TQString))); - connect(dialog, TQT_SIGNAL(cancelClicked()), - m_staffs[i], TQT_SLOT(slotCancel())); + connect(dialog, TQ_SIGNAL(cancelClicked()), + m_staffs[i], TQ_SLOT(slotCancel())); } - connect(this, TQT_SIGNAL(setOperationName(TQString)), - dialog, TQT_SLOT(slotSetOperationName(TQString))); + connect(this, TQ_SIGNAL(setOperationName(TQString)), + dialog, TQ_SLOT(slotSetOperationName(TQString))); m_progressDisplayer = PROGRESS_DIALOG; } @@ -4169,9 +4169,9 @@ void NotationView::disconnectProgress() NOTATION_DEBUG << "NotationView::disconnectProgress()" << endl; m_hlayout->disconnect(); - disconnect(TQT_SIGNAL(setProgress(int))); - disconnect(TQT_SIGNAL(incrementProgress(int))); - disconnect(TQT_SIGNAL(setOperationName(TQString))); + disconnect(TQ_SIGNAL(setProgress(int))); + disconnect(TQ_SIGNAL(incrementProgress(int))); + disconnect(TQ_SIGNAL(setOperationName(TQString))); for (unsigned int i = 0; i < m_staffs.size(); ++i) { m_staffs[i]->disconnect(); @@ -4658,8 +4658,8 @@ void NotationView::slotPrintLilyPond() *proc << "--graphical"; *proc << "--print"; *proc << file->name(); - connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotLilyPondViewProcessExited(TDEProcess *))); + connect(proc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotLilyPondViewProcessExited(TDEProcess *))); m_lilyTempFileMap[proc] = file; proc->start(TDEProcess::NotifyOnExit); } @@ -4682,8 +4682,8 @@ void NotationView::slotPreviewLilyPond() *proc << "--graphical"; *proc << "--pdf"; *proc << file->name(); - connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotLilyPondViewProcessExited(TDEProcess *))); + connect(proc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotLilyPondViewProcessExited(TDEProcess *))); m_lilyTempFileMap[proc] = file; proc->start(TDEProcess::NotifyOnExit); } @@ -4714,11 +4714,11 @@ bool NotationView::exportLilyPondFile(TQString file, bool forPreview) LilyPondExporter e(this, m_doc, std::string(TQFile::encodeName(file))); - connect(&e, TQT_SIGNAL(setProgress(int)), - progressDlg.progressBar(), TQT_SLOT(setValue(int))); + connect(&e, TQ_SIGNAL(setProgress(int)), + progressDlg.progressBar(), TQ_SLOT(setValue(int))); - connect(&e, TQT_SIGNAL(incrementProgress(int)), - progressDlg.progressBar(), TQT_SLOT(advance(int))); + connect(&e, TQ_SIGNAL(incrementProgress(int)), + progressDlg.progressBar(), TQ_SLOT(advance(int))); if (!e.write()) { // CurrentProgressDialog::freeze(); @@ -7407,7 +7407,7 @@ NotationView::slotCheckRendered(double cx0, double cx1) if (m_renderTimer) delete m_renderTimer; m_renderTimer = new TQTimer(this); - connect(m_renderTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotRenderSomething())); + connect(m_renderTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotRenderSomething())); m_renderTimer->start(0, true); } @@ -7426,7 +7426,7 @@ NotationView::slotRenderSomething() long elapsed = ((now - lastWork) * 1000 / CLOCKS_PER_SEC); if (elapsed < 70) { m_renderTimer = new TQTimer(this); - connect(m_renderTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotRenderSomething())); + connect(m_renderTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotRenderSomething())); m_renderTimer->start(0, true); return ; } @@ -7437,7 +7437,7 @@ NotationView::slotRenderSomething() if (m_staffs[i]->doRenderWork(m_staffs[i]->getSegment().getStartTime(), m_staffs[i]->getSegment().getEndTime())) { m_renderTimer = new TQTimer(this); - connect(m_renderTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotRenderSomething())); + connect(m_renderTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotRenderSomething())); m_renderTimer->start(0, true); return ; } diff --git a/src/gui/editors/notation/NoteFontViewer.cpp b/src/gui/editors/notation/NoteFontViewer.cpp index ca23d11..eca2c9c 100644 --- a/src/gui/editors/notation/NoteFontViewer.cpp +++ b/src/gui/editors/notation/NoteFontViewer.cpp @@ -107,14 +107,14 @@ NoteFontViewer::NoteFontViewer(TQWidget *parent, TQString noteFontName, m_frame = new FontViewFrame(pixelSize, box); - connect(m_font, TQT_SIGNAL(activated(const TQString &)), - this, TQT_SLOT(slotFontChanged(const TQString &))); + connect(m_font, TQ_SIGNAL(activated(const TQString &)), + this, TQ_SLOT(slotFontChanged(const TQString &))); - connect(m_view, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotViewChanged(int))); + connect(m_view, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotViewChanged(int))); - connect(m_rows, TQT_SIGNAL(activated(const TQString &)), - this, TQT_SLOT(slotRowChanged(const TQString &))); + connect(m_rows, TQ_SIGNAL(activated(const TQString &)), + this, TQ_SLOT(slotRowChanged(const TQString &))); slotFontChanged(m_font->currentText()); } 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() diff --git a/src/gui/editors/notation/RestInserter.cpp b/src/gui/editors/notation/RestInserter.cpp index 69afade..ff0cbb7 100644 --- a/src/gui/editors/notation/RestInserter.cpp +++ b/src/gui/editors/notation/RestInserter.cpp @@ -58,24 +58,24 @@ RestInserter::RestInserter(NotationView* view) (NotePixmapFactory::toTQPixmap(NotePixmapFactory:: makeToolbarPixmap("dotted-rest-crotchet"))); new TDEToggleAction(i18n("Dotted rest"), 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("crotchet"))); new TDEAction(i18n("Switch to Inserting Notes"), icon, 0, this, - TQT_SLOT(slotNotesSelected()), actionCollection(), + TQ_SLOT(slotNotesSelected()), actionCollection(), "notes"); createMenu("restinserter.rc"); diff --git a/src/gui/editors/notation/TextInserter.cpp b/src/gui/editors/notation/TextInserter.cpp index 22bf6cb..09e6925 100644 --- a/src/gui/editors/notation/TextInserter.cpp +++ b/src/gui/editors/notation/TextInserter.cpp @@ -53,18 +53,18 @@ TextInserter::TextInserter(NotationView* view) TQIconSet 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("crotchet"))); new TDEAction(i18n("Switch to Inserting Notes"), icon, 0, this, - TQT_SLOT(slotNotesSelected()), actionCollection(), + TQ_SLOT(slotNotesSelected()), actionCollection(), "notes"); createMenu("textinserter.rc"); diff --git a/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp b/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp index 8038f95..7d9abe8 100644 --- a/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp +++ b/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp @@ -254,32 +254,32 @@ AudioInstrumentParameterPanel::AudioInstrumentParameterPanel(RosegardenGUIDoc* d gridLayout->setRowStretch(2, 1); - connect(m_audioFader, TQT_SIGNAL(audioChannelsChanged(int)), - this, TQT_SLOT(slotAudioChannels(int))); + connect(m_audioFader, TQ_SIGNAL(audioChannelsChanged(int)), + this, TQ_SLOT(slotAudioChannels(int))); - connect(m_audioFader->m_signalMapper, TQT_SIGNAL(mapped(int)), - this, TQT_SLOT(slotSelectPlugin(int))); + connect(m_audioFader->m_signalMapper, TQ_SIGNAL(mapped(int)), + this, TQ_SLOT(slotSelectPlugin(int))); - connect(m_audioFader->m_fader, TQT_SIGNAL(faderChanged(float)), - this, TQT_SLOT(slotSelectAudioLevel(float))); + connect(m_audioFader->m_fader, TQ_SIGNAL(faderChanged(float)), + this, TQ_SLOT(slotSelectAudioLevel(float))); - connect(m_audioFader->m_recordFader, TQT_SIGNAL(faderChanged(float)), - this, TQT_SLOT(slotSelectAudioRecordLevel(float))); + connect(m_audioFader->m_recordFader, TQ_SIGNAL(faderChanged(float)), + this, TQ_SLOT(slotSelectAudioRecordLevel(float))); - connect(m_audioFader->m_pan, TQT_SIGNAL(valueChanged(float)), - this, TQT_SLOT(slotSetPan(float))); + connect(m_audioFader->m_pan, TQ_SIGNAL(valueChanged(float)), + this, TQ_SLOT(slotSetPan(float))); - connect(m_audioFader->m_audioOutput, TQT_SIGNAL(changed()), - this, TQT_SLOT(slotAudioRoutingChanged())); + connect(m_audioFader->m_audioOutput, TQ_SIGNAL(changed()), + this, TQ_SLOT(slotAudioRoutingChanged())); - connect(m_audioFader->m_audioInput, TQT_SIGNAL(changed()), - this, TQT_SLOT(slotAudioRoutingChanged())); + connect(m_audioFader->m_audioInput, TQ_SIGNAL(changed()), + this, TQ_SLOT(slotAudioRoutingChanged())); - connect(m_audioFader->m_synthButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSynthButtonClicked())); + connect(m_audioFader->m_synthButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSynthButtonClicked())); - connect(m_audioFader->m_synthGUIButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSynthGUIButtonClicked())); + connect(m_audioFader->m_synthGUIButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSynthGUIButtonClicked())); } void diff --git a/src/gui/editors/parameters/InstrumentParameterBox.cpp b/src/gui/editors/parameters/InstrumentParameterBox.cpp index 2bb6292..f5ce071 100644 --- a/src/gui/editors/parameters/InstrumentParameterBox.cpp +++ b/src/gui/editors/parameters/InstrumentParameterBox.cpp @@ -84,39 +84,39 @@ InstrumentParameterBox::InstrumentParameterBox(RosegardenGUIDoc *doc, m_audioInstrumentParameters->adjustSize(); m_noInstrumentParameters->adjustSize(); - connect(m_audioInstrumentParameters, TQT_SIGNAL(updateAllBoxes()), - this, TQT_SLOT(slotUpdateAllBoxes())); + connect(m_audioInstrumentParameters, TQ_SIGNAL(updateAllBoxes()), + this, TQ_SLOT(slotUpdateAllBoxes())); connect(m_audioInstrumentParameters, - TQT_SIGNAL(instrumentParametersChanged(InstrumentId)), + TQ_SIGNAL(instrumentParametersChanged(InstrumentId)), this, - TQT_SIGNAL(instrumentParametersChanged(InstrumentId))); + TQ_SIGNAL(instrumentParametersChanged(InstrumentId))); connect(m_audioInstrumentParameters, - TQT_SIGNAL(selectPlugin(TQWidget *, InstrumentId, int)), + TQ_SIGNAL(selectPlugin(TQWidget *, InstrumentId, int)), this, - TQT_SIGNAL(selectPlugin(TQWidget *, InstrumentId, int))); + TQ_SIGNAL(selectPlugin(TQWidget *, InstrumentId, int))); connect(m_audioInstrumentParameters, - TQT_SIGNAL(showPluginGUI(InstrumentId, int)), + TQ_SIGNAL(showPluginGUI(InstrumentId, int)), this, - TQT_SIGNAL(showPluginGUI(InstrumentId, int))); + TQ_SIGNAL(showPluginGUI(InstrumentId, int))); - connect(m_midiInstrumentParameters, TQT_SIGNAL(updateAllBoxes()), - this, TQT_SLOT(slotUpdateAllBoxes())); + connect(m_midiInstrumentParameters, TQ_SIGNAL(updateAllBoxes()), + this, TQ_SLOT(slotUpdateAllBoxes())); connect(m_midiInstrumentParameters, - TQT_SIGNAL(changeInstrumentLabel(InstrumentId, TQString)), - this, TQT_SIGNAL(changeInstrumentLabel(InstrumentId, TQString))); + TQ_SIGNAL(changeInstrumentLabel(InstrumentId, TQString)), + this, TQ_SIGNAL(changeInstrumentLabel(InstrumentId, TQString))); connect(m_audioInstrumentParameters, - TQT_SIGNAL(changeInstrumentLabel(InstrumentId, TQString)), - this, TQT_SIGNAL(changeInstrumentLabel(InstrumentId, TQString))); + TQ_SIGNAL(changeInstrumentLabel(InstrumentId, TQString)), + this, TQ_SIGNAL(changeInstrumentLabel(InstrumentId, TQString))); connect(m_midiInstrumentParameters, - TQT_SIGNAL(instrumentParametersChanged(InstrumentId)), + TQ_SIGNAL(instrumentParametersChanged(InstrumentId)), this, - TQT_SIGNAL(instrumentParametersChanged(InstrumentId))); + TQ_SIGNAL(instrumentParametersChanged(InstrumentId))); // Layout the groups left to right. diff --git a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp index e837028..f962ef7 100644 --- a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp +++ b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp @@ -150,32 +150,32 @@ MIDIInstrumentParameterPanel::MIDIInstrumentParameterPanel(RosegardenGUIDoc *doc // Connect up the toggle boxes // - connect(m_percussionCheckBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotTogglePercussion(bool))); + connect(m_percussionCheckBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotTogglePercussion(bool))); - connect(m_programCheckBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotToggleProgramChange(bool))); + connect(m_programCheckBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotToggleProgramChange(bool))); - connect(m_bankCheckBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotToggleBank(bool))); + connect(m_bankCheckBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotToggleBank(bool))); - connect(m_variationCheckBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotToggleVariation(bool))); + connect(m_variationCheckBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotToggleVariation(bool))); // Connect activations // - connect(m_bankValue, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotSelectBank(int))); + connect(m_bankValue, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotSelectBank(int))); - connect(m_variationValue, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotSelectVariation(int))); + connect(m_variationValue, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotSelectVariation(int))); - connect(m_programValue, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotSelectProgram(int))); + connect(m_programValue, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotSelectProgram(int))); - connect(m_channelValue, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotSelectChannel(int))); + connect(m_channelValue, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotSelectChannel(int))); // don't select any of the options in any dropdown m_programValue->setCurrentItem( -1); @@ -183,8 +183,8 @@ MIDIInstrumentParameterPanel::MIDIInstrumentParameterPanel(RosegardenGUIDoc *doc m_channelValue->setCurrentItem( -1); m_variationValue->setCurrentItem( -1); - connect(m_rotaryMapper, TQT_SIGNAL(mapped(int)), - this, TQT_SLOT(slotControllerChanged(int))); + connect(m_rotaryMapper, TQ_SIGNAL(mapped(int)), + this, TQ_SLOT(slotControllerChanged(int))); } void @@ -415,8 +415,8 @@ MIDIInstrumentParameterPanel::setupControllers(MidiDevice *md) // Connect // - connect(rotary, TQT_SIGNAL(valueChanged(float)), - m_rotaryMapper, TQT_SLOT(map())); + connect(rotary, TQ_SIGNAL(valueChanged(float)), + m_rotaryMapper, TQ_SLOT(map())); rmi = m_rotaries.end(); } diff --git a/src/gui/editors/parameters/SegmentParameterBox.cpp b/src/gui/editors/parameters/SegmentParameterBox.cpp index 1b28dc9..b23ee9a 100644 --- a/src/gui/editors/parameters/SegmentParameterBox.cpp +++ b/src/gui/editors/parameters/SegmentParameterBox.cpp @@ -96,8 +96,8 @@ SegmentParameterBox::SegmentParameterBox(RosegardenGUIDoc* doc, m_doc->getComposition().addObserver(this); - connect(getCommandHistory(), TQT_SIGNAL(commandExecuted()), - this, TQT_SLOT(update())); + connect(getCommandHistory(), TQ_SIGNAL(commandExecuted()), + this, TQ_SLOT(update())); } SegmentParameterBox::~SegmentParameterBox() @@ -143,15 +143,15 @@ SegmentParameterBox::initBox() m_labelButton->setFont(font); // m_labelButton->setFixedWidth(50); - connect(m_labelButton, TQT_SIGNAL(released()), - TQT_SLOT(slotEditSegmentLabel())); + connect(m_labelButton, TQ_SIGNAL(released()), + TQ_SLOT(slotEditSegmentLabel())); m_repeatValue = new TristateCheckBox(this); m_repeatValue->setFont(font); //m_repeatValue->setFixedHeight(comboHeight); // handle state changes - connect(m_repeatValue, TQT_SIGNAL(pressed()), TQT_SLOT(slotRepeatPressed())); + connect(m_repeatValue, TQ_SIGNAL(pressed()), TQ_SLOT(slotRepeatPressed())); // non-reversing motif style read-only combo m_quantizeValue = new KComboBox(this); @@ -159,8 +159,8 @@ SegmentParameterBox::initBox() //m_quantizeValue->setFixedHeight(comboHeight); // handle quantize changes from drop down - connect(m_quantizeValue, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotQuantizeSelected(int))); + connect(m_quantizeValue, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotQuantizeSelected(int))); // reversing motif style read-write combo m_transposeValue = new KComboBox(this); @@ -168,12 +168,12 @@ SegmentParameterBox::initBox() //m_transposeValue->setFixedHeight(comboHeight); // handle transpose combo changes - connect(m_transposeValue, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotTransposeSelected(int))); + connect(m_transposeValue, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotTransposeSelected(int))); // and text changes - connect(m_transposeValue, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotTransposeTextChanged(const TQString&))); + connect(m_transposeValue, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotTransposeTextChanged(const TQString&))); // reversing motif style read-write combo m_delayValue = new KComboBox(this); @@ -181,16 +181,16 @@ SegmentParameterBox::initBox() //m_delayValue->setFixedHeight(comboHeight); // handle delay combo changes - connect(m_delayValue, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotDelaySelected(int))); + connect(m_delayValue, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotDelaySelected(int))); // Detect when the document colours are updated - connect(m_doc, TQT_SIGNAL(docColoursChanged()), - this, TQT_SLOT(slotDocColoursChanged())); + connect(m_doc, TQ_SIGNAL(docColoursChanged()), + this, TQ_SLOT(slotDocColoursChanged())); // handle text changes for delay - connect(m_delayValue, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotDelayTextChanged(const TQString &))); + connect(m_delayValue, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotDelayTextChanged(const TQString &))); // set up combo box for colours m_colourValue = new KComboBox(false, this); @@ -200,8 +200,8 @@ SegmentParameterBox::initBox() m_colourValue->setSizeLimit(20); // handle colour combo changes - connect(m_colourValue, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotColourSelected(int))); + connect(m_colourValue, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotColourSelected(int))); // pre-set width of buttons so they don't grow later // width = fontMetrics.width(i18n("used internally for spacing", "High: ----")); @@ -214,8 +214,8 @@ SegmentParameterBox::initBox() // m_highButton->setFont(font); // m_highButton->setMinimumWidth(width); -// connect(m_highButton, TQT_SIGNAL(released()), -// TQT_SLOT(slotHighestPressed())); +// connect(m_highButton, TQ_SIGNAL(released()), +// TQ_SLOT(slotHighestPressed())); // lowest playable note // @@ -225,14 +225,14 @@ SegmentParameterBox::initBox() // m_lowButton->setFont(font); // m_lowButton->setMinimumWidth(width); -// connect(m_lowButton, TQT_SIGNAL(released()), -// TQT_SLOT(slotLowestPressed())); +// connect(m_lowButton, TQ_SIGNAL(released()), +// TQ_SLOT(slotLowestPressed())); // Audio autofade enabled // // m_autoFadeBox = new TQCheckBox(this); -// connect(m_autoFadeBox, TQT_SIGNAL(stateChanged(int)), -// this, TQT_SLOT(slotAudioFadeChanged(int))); +// connect(m_autoFadeBox, TQ_SIGNAL(stateChanged(int)), +// this, TQ_SLOT(slotAudioFadeChanged(int))); // Fade in and out times // @@ -240,15 +240,15 @@ SegmentParameterBox::initBox() // m_fadeInSpin->setMinValue(0); // m_fadeInSpin->setMaxValue(5000); // m_fadeInSpin->setSuffix(i18n(" ms")); -// connect(m_fadeInSpin, TQT_SIGNAL(valueChanged(int)), -// this, TQT_SLOT(slotFadeInChanged(int))); +// connect(m_fadeInSpin, TQ_SIGNAL(valueChanged(int)), +// this, TQ_SLOT(slotFadeInChanged(int))); // m_fadeOutSpin = new TQSpinBox(this); // m_fadeOutSpin->setMinValue(0); // m_fadeOutSpin->setMaxValue(5000); // m_fadeOutSpin->setSuffix(i18n(" ms")); -// connect(m_fadeOutSpin, TQT_SIGNAL(valueChanged(int)), -// this, TQT_SLOT(slotFadeOutChanged(int))); +// connect(m_fadeOutSpin, TQ_SIGNAL(valueChanged(int)), +// this, TQ_SLOT(slotFadeOutChanged(int))); label->setFont(font); repeatLabel->setFont(font); @@ -382,14 +382,14 @@ void SegmentParameterBox::setDocument(RosegardenGUIDoc* doc) { if (m_doc != 0) - disconnect(m_doc, TQT_SIGNAL(docColoursChanged()), - this, TQT_SLOT(slotDocColoursChanged())); + disconnect(m_doc, TQ_SIGNAL(docColoursChanged()), + this, TQ_SLOT(slotDocColoursChanged())); m_doc = doc; // Detect when the document colours are updated - connect (m_doc, TQT_SIGNAL(docColoursChanged()), - this, TQT_SLOT(slotDocColoursChanged())); + connect (m_doc, TQ_SIGNAL(docColoursChanged()), + this, TQ_SLOT(slotDocColoursChanged())); slotDocColoursChanged(); // repopulate combo } diff --git a/src/gui/editors/parameters/TrackParameterBox.cpp b/src/gui/editors/parameters/TrackParameterBox.cpp index e453543..febded0 100644 --- a/src/gui/editors/parameters/TrackParameterBox.cpp +++ b/src/gui/editors/parameters/TrackParameterBox.cpp @@ -304,8 +304,8 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, groupLayout->addMultiCellWidget(m_transpLbl, row, row, 3, 4, AlignRight); m_defTranspose = new KComboBox(m_defaultsGroup); - connect(m_defTranspose, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotTransposeIndexChanged(int))); + connect(m_defTranspose, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotTransposeIndexChanged(int))); int transposeRange = 48; for (int i = -transposeRange; i < transposeRange + 1; i++) { @@ -359,43 +359,43 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, mainLayout->setRowStretch(mainLayout->numRows() - 1, 1); // Connections - connect( m_playDevice, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotPlaybackDeviceChanged(int))); + connect( m_playDevice, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotPlaybackDeviceChanged(int))); - connect( m_instrument, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotInstrumentChanged(int))); + connect( m_instrument, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotInstrumentChanged(int))); - connect( m_recDevice, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotRecordingDeviceChanged(int))); + connect( m_recDevice, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotRecordingDeviceChanged(int))); - connect( m_recChannel, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotRecordingChannelChanged(int))); + connect( m_recChannel, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotRecordingChannelChanged(int))); - connect( m_defClef, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotClefChanged(int))); + connect( m_defClef, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotClefChanged(int))); // Detect when the document colours are updated - connect(m_doc, TQT_SIGNAL(docColoursChanged()), - this, TQT_SLOT(slotDocColoursChanged())); + connect(m_doc, TQ_SIGNAL(docColoursChanged()), + this, TQ_SLOT(slotDocColoursChanged())); // handle colour combo changes - connect(m_defColor, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotColorChanged(int))); + connect(m_defColor, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotColorChanged(int))); - connect(m_highButton, TQT_SIGNAL(released()), - TQT_SLOT(slotHighestPressed())); + connect(m_highButton, TQ_SIGNAL(released()), + TQ_SLOT(slotHighestPressed())); - connect(m_lowButton, TQT_SIGNAL(released()), - TQT_SLOT(slotLowestPressed())); + connect(m_lowButton, TQ_SIGNAL(released()), + TQ_SLOT(slotLowestPressed())); - connect(m_presetButton, TQT_SIGNAL(released()), - TQT_SLOT(slotPresetPressed())); + connect(m_presetButton, TQ_SIGNAL(released()), + TQ_SLOT(slotPresetPressed())); - connect(m_staffSizeCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotStaffSizeChanged(int))); + connect(m_staffSizeCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotStaffSizeChanged(int))); - connect(m_staffBracketCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotStaffBracketChanged(int))); + connect(m_staffBracketCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotStaffBracketChanged(int))); } TrackParameterBox::~TrackParameterBox() diff --git a/src/gui/editors/segment/ControlEditorDialog.cpp b/src/gui/editors/segment/ControlEditorDialog.cpp index f910299..3c1fcd3 100644 --- a/src/gui/editors/segment/ControlEditorDialog.cpp +++ b/src/gui/editors/segment/ControlEditorDialog.cpp @@ -149,20 +149,20 @@ ControlEditorDialog::ControlEditorDialog(TQWidget *parent, layout->addWidget(m_closeButton); layout->addSpacing(5); - connect(m_addButton, TQT_SIGNAL(released()), - TQT_SLOT(slotAdd())); + connect(m_addButton, TQ_SIGNAL(released()), + TQ_SLOT(slotAdd())); - connect(m_deleteButton, TQT_SIGNAL(released()), - TQT_SLOT(slotDelete())); + connect(m_deleteButton, TQ_SIGNAL(released()), + TQ_SLOT(slotDelete())); setupActions(); m_doc->getCommandHistory()->attachView(actionCollection()); - connect(m_doc->getCommandHistory(), TQT_SIGNAL(commandExecuted()), - this, TQT_SLOT(slotUpdate())); + connect(m_doc->getCommandHistory(), TQ_SIGNAL(commandExecuted()), + this, TQ_SLOT(slotUpdate())); - connect(m_listView, TQT_SIGNAL(doubleClicked(TQListViewItem *)), - TQT_SLOT(slotEdit(TQListViewItem *))); + connect(m_listView, TQ_SIGNAL(doubleClicked(TQListViewItem *)), + TQ_SLOT(slotEdit(TQListViewItem *))); // Highlight all columns - enable extended selection mode // @@ -336,11 +336,11 @@ void ControlEditorDialog::setupActions() { TDEAction* close = KStdAction::close(this, - TQT_SLOT(slotClose()), + TQ_SLOT(slotClose()), actionCollection()); m_closeButton->setText(close->text()); - connect(m_closeButton, TQT_SIGNAL(released()), this, TQT_SLOT(slotClose())); + connect(m_closeButton, TQ_SIGNAL(released()), this, TQ_SLOT(slotClose())); // some adjustments new TDEToolBarPopupAction(i18n("Und&o"), diff --git a/src/gui/editors/segment/ControlParameterEditDialog.cpp b/src/gui/editors/segment/ControlParameterEditDialog.cpp index 3c3c76b..1d84837 100644 --- a/src/gui/editors/segment/ControlParameterEditDialog.cpp +++ b/src/gui/editors/segment/ControlParameterEditDialog.cpp @@ -112,32 +112,32 @@ ControlParameterEditDialog::ControlParameterEditDialog( m_ipbPosition = new KComboBox(frame); layout->addMultiCellWidget(m_ipbPosition, 8, 8, 1, 2); - connect(m_nameEdit, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotNameChanged(const TQString&))); + connect(m_nameEdit, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotNameChanged(const TQString&))); - connect(m_typeCombo, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotTypeChanged(int))); + connect(m_typeCombo, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotTypeChanged(int))); - connect(m_description, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotDescriptionChanged(const TQString &))); + connect(m_description, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotDescriptionChanged(const TQString &))); - connect(m_controllerBox, TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(slotControllerChanged(int))); + connect(m_controllerBox, TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(slotControllerChanged(int))); - connect(m_minBox, TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(slotMinChanged(int))); + connect(m_minBox, TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(slotMinChanged(int))); - connect(m_maxBox, TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(slotMaxChanged(int))); + connect(m_maxBox, TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(slotMaxChanged(int))); - connect(m_defaultBox, TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(slotDefaultChanged(int))); + connect(m_defaultBox, TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(slotDefaultChanged(int))); - connect(m_colourCombo, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotColourChanged(int))); + connect(m_colourCombo, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotColourChanged(int))); - connect(m_ipbPosition, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotIPBPositionChanged(int))); + connect(m_ipbPosition, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotIPBPositionChanged(int))); //m_nameEdit->selectAll(); //m_description->selectAll(); diff --git a/src/gui/editors/segment/MarkerEditor.cpp b/src/gui/editors/segment/MarkerEditor.cpp index 058d030..3be2998 100644 --- a/src/gui/editors/segment/MarkerEditor.cpp +++ b/src/gui/editors/segment/MarkerEditor.cpp @@ -139,29 +139,29 @@ MarkerEditor::MarkerEditor(TQWidget *parent, layout->addWidget(m_closeButton); layout->addSpacing(5); - connect(m_addButton, TQT_SIGNAL(released()), - TQT_SLOT(slotAdd())); + connect(m_addButton, TQ_SIGNAL(released()), + TQ_SLOT(slotAdd())); - connect(m_deleteButton, TQT_SIGNAL(released()), - TQT_SLOT(slotDelete())); + connect(m_deleteButton, TQ_SIGNAL(released()), + TQ_SLOT(slotDelete())); - connect(m_closeButton, TQT_SIGNAL(released()), - TQT_SLOT(slotClose())); + connect(m_closeButton, TQ_SIGNAL(released()), + TQ_SLOT(slotClose())); - connect(m_deleteAllButton, TQT_SIGNAL(released()), - TQT_SLOT(slotDeleteAll())); + connect(m_deleteAllButton, TQ_SIGNAL(released()), + TQ_SLOT(slotDeleteAll())); setupActions(); m_doc->getCommandHistory()->attachView(actionCollection()); - connect(m_doc->getCommandHistory(), TQT_SIGNAL(commandExecuted()), - this, TQT_SLOT(slotUpdate())); + connect(m_doc->getCommandHistory(), TQ_SIGNAL(commandExecuted()), + this, TQ_SLOT(slotUpdate())); - connect(m_listView, TQT_SIGNAL(doubleClicked(TQListViewItem *)), - TQT_SLOT(slotEdit(TQListViewItem *))); + connect(m_listView, TQ_SIGNAL(doubleClicked(TQListViewItem *)), + TQ_SLOT(slotEdit(TQListViewItem *))); - connect(m_listView, TQT_SIGNAL(pressed(TQListViewItem *)), - this, TQT_SLOT(slotItemClicked(TQListViewItem *))); + connect(m_listView, TQ_SIGNAL(pressed(TQListViewItem *)), + this, TQ_SLOT(slotItemClicked(TQListViewItem *))); // Highlight all columns - enable extended selection mode // @@ -366,11 +366,11 @@ void MarkerEditor::setupActions() { TDEAction* close = KStdAction::close(this, - TQT_SLOT(slotClose()), + TQ_SLOT(slotClose()), actionCollection()); m_closeButton->setText(close->text()); - connect(m_closeButton, TQT_SIGNAL(released()), this, TQT_SLOT(slotClose())); + connect(m_closeButton, TQ_SIGNAL(released()), this, TQ_SLOT(slotClose())); // some adjustments new TDEToolBarPopupAction(i18n("Und&o"), @@ -395,7 +395,7 @@ MarkerEditor::setupActions() TQIconSet icon(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) @@ -405,7 +405,7 @@ MarkerEditor::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) @@ -415,7 +415,7 @@ MarkerEditor::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) diff --git a/src/gui/editors/segment/PlayList.cpp b/src/gui/editors/segment/PlayList.cpp index 877e93b..42cb5bc 100644 --- a/src/gui/editors/segment/PlayList.cpp +++ b/src/gui/editors/segment/PlayList.cpp @@ -78,29 +78,29 @@ PlayList::PlayList(TQWidget *parent, const char *name) m_deleteButton ->setText(i18n("Delete")); m_clearButton ->setText(i18n("Clear")); - connect(m_openButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotOpenFiles())); + connect(m_openButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotOpenFiles())); - connect(m_playButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotPlay())); + connect(m_playButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotPlay())); - connect(m_deleteButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotDeleteCurrent())); + connect(m_deleteButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotDeleteCurrent())); - connect(m_clearButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotClear())); + connect(m_clearButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotClear())); - connect(m_moveUpButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotMoveUp())); + connect(m_moveUpButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotMoveUp())); - connect(m_moveDownButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotMoveDown())); + connect(m_moveDownButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotMoveDown())); - connect(m_listView, TQT_SIGNAL(currentChanged(TQListViewItem*)), - TQT_SLOT(slotCurrentItemChanged(TQListViewItem*))); + connect(m_listView, TQ_SIGNAL(currentChanged(TQListViewItem*)), + TQ_SLOT(slotCurrentItemChanged(TQListViewItem*))); - connect(m_listView, TQT_SIGNAL(dropped(TQDropEvent*, TQListViewItem*)), - TQT_SLOT(slotDropped(TQDropEvent*, TQListViewItem*))); + connect(m_listView, TQ_SIGNAL(dropped(TQDropEvent*, TQListViewItem*)), + TQ_SLOT(slotDropped(TQDropEvent*, TQListViewItem*))); restore(); diff --git a/src/gui/editors/segment/TrackButtons.cpp b/src/gui/editors/segment/TrackButtons.cpp index 98bbb62..cf2ca74 100644 --- a/src/gui/editors/segment/TrackButtons.cpp +++ b/src/gui/editors/segment/TrackButtons.cpp @@ -106,18 +106,18 @@ TrackButtons::TrackButtons(RosegardenGUIDoc* doc, m_layout->addStretch(20); - connect(m_recordSigMapper, TQT_SIGNAL(mapped(int)), - this, TQT_SLOT(slotToggleRecordTrack(int))); + connect(m_recordSigMapper, TQ_SIGNAL(mapped(int)), + this, TQ_SLOT(slotToggleRecordTrack(int))); - connect(m_muteSigMapper, TQT_SIGNAL(mapped(int)), - this, TQT_SLOT(slotToggleMutedTrack(int))); + connect(m_muteSigMapper, TQ_SIGNAL(mapped(int)), + this, TQ_SLOT(slotToggleMutedTrack(int))); // connect signal mappers - connect(m_instListSigMapper, TQT_SIGNAL(mapped(int)), - this, TQT_SLOT(slotInstrumentSelection(int))); + connect(m_instListSigMapper, TQ_SIGNAL(mapped(int)), + this, TQ_SLOT(slotInstrumentSelection(int))); - connect(m_clickedSigMapper, TQT_SIGNAL(mapped(int)), - this, TQT_SIGNAL(trackSelected(int))); + connect(m_clickedSigMapper, TQ_SIGNAL(mapped(int)), + this, TQ_SIGNAL(trackSelected(int))); // // Populate instrument popup menu just once at start-up // // @@ -767,8 +767,8 @@ TrackButtons::populateInstrumentPopup(Instrument *thisTrackInstr, TQPopupMenu* i // Connect up the submenu // - connect(subMenu, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotInstrumentPopupActivated(int))); + connect(subMenu, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotInstrumentPopupActivated(int))); } else if (!instrUsedByMe) { @@ -1066,10 +1066,10 @@ TQFrame* TrackButtons::makeButton(Rosegarden::TrackId trackId) record->off(); // Connect them to their sigmappers - connect(record, TQT_SIGNAL(stateChanged(bool)), - m_recordSigMapper, TQT_SLOT(map())); - connect(mute, TQT_SIGNAL(stateChanged(bool)), - m_muteSigMapper, TQT_SLOT(map())); + connect(record, TQ_SIGNAL(stateChanged(bool)), + m_recordSigMapper, TQ_SLOT(map())); + connect(mute, TQ_SIGNAL(stateChanged(bool)), + m_muteSigMapper, TQ_SLOT(map())); m_recordSigMapper->setMapping(record, track->getPosition()); m_muteSigMapper->setMapping(mute, track->getPosition()); @@ -1101,8 +1101,8 @@ TQFrame* TrackButtons::makeButton(Rosegarden::TrackId trackId) trackLabel->setFixedHeight(m_cellSize - buttonGap); trackLabel->setIndent(7); - connect(trackLabel, TQT_SIGNAL(renameTrack(TQString, TrackId)), - TQT_SLOT(slotRenameTrack(TQString, TrackId))); + connect(trackLabel, TQ_SIGNAL(renameTrack(TQString, TrackId)), + TQ_SLOT(slotRenameTrack(TQString, TrackId))); // Store the TrackLabel pointer // @@ -1111,10 +1111,10 @@ TQFrame* TrackButtons::makeButton(Rosegarden::TrackId trackId) // Connect it setButtonMapping(trackLabel, trackId); - connect(trackLabel, TQT_SIGNAL(changeToInstrumentList()), - m_instListSigMapper, TQT_SLOT(map())); - connect(trackLabel, TQT_SIGNAL(clicked()), - m_clickedSigMapper, TQT_SLOT(map())); + connect(trackLabel, TQ_SIGNAL(changeToInstrumentList()), + m_instListSigMapper, TQ_SLOT(map())); + connect(trackLabel, TQ_SIGNAL(clicked()), + m_clickedSigMapper, TQ_SLOT(map())); // // instrument label diff --git a/src/gui/editors/segment/TrackEditor.cpp b/src/gui/editors/segment/TrackEditor.cpp index e32c4b3..9a76cda 100644 --- a/src/gui/editors/segment/TrackEditor.cpp +++ b/src/gui/editors/segment/TrackEditor.cpp @@ -162,10 +162,10 @@ TrackEditor::init(TQWidget* rosegardenguiview) m_doc->getStudio(), m_rulerScale, getTrackCellHeight()); - connect(rosegardenguiview, TQT_SIGNAL(instrumentParametersChanged(InstrumentId)), - m_compositionModel, TQT_SLOT(slotInstrumentParametersChanged(InstrumentId))); - connect(rosegardenguiview->parent(), TQT_SIGNAL(instrumentParametersChanged(InstrumentId)), - m_compositionModel, TQT_SLOT(slotInstrumentParametersChanged(InstrumentId))); + connect(rosegardenguiview, TQ_SIGNAL(instrumentParametersChanged(InstrumentId)), + m_compositionModel, TQ_SLOT(slotInstrumentParametersChanged(InstrumentId))); + connect(rosegardenguiview->parent(), TQ_SIGNAL(instrumentParametersChanged(InstrumentId)), + m_compositionModel, TQ_SLOT(slotInstrumentParametersChanged(InstrumentId))); m_segmentCanvas = new CompositionView(m_doc, m_compositionModel, this); @@ -221,105 +221,105 @@ TrackEditor::init(TQWidget* rosegardenguiview) m_trackButtonScroll->setBottomMargin(m_bottomStandardRuler->height() + m_segmentCanvas->horizontalScrollBar()->height()); - connect(m_trackButtons, TQT_SIGNAL(widthChanged()), - this, TQT_SLOT(slotTrackButtonsWidthChanged())); + connect(m_trackButtons, TQ_SIGNAL(widthChanged()), + this, TQ_SLOT(slotTrackButtonsWidthChanged())); - connect(m_trackButtons, TQT_SIGNAL(trackSelected(int)), - rosegardenguiview, TQT_SLOT(slotSelectTrackSegments(int))); + connect(m_trackButtons, TQ_SIGNAL(trackSelected(int)), + rosegardenguiview, TQ_SLOT(slotSelectTrackSegments(int))); - connect(m_trackButtons, TQT_SIGNAL(instrumentSelected(int)), - rosegardenguiview, TQT_SLOT(slotUpdateInstrumentParameterBox(int))); + connect(m_trackButtons, TQ_SIGNAL(instrumentSelected(int)), + rosegardenguiview, TQ_SLOT(slotUpdateInstrumentParameterBox(int))); - connect(this, TQT_SIGNAL(stateChange(TQString, bool)), - rosegardenguiview, TQT_SIGNAL(stateChange(TQString, bool))); + connect(this, TQ_SIGNAL(stateChange(TQString, bool)), + rosegardenguiview, TQ_SIGNAL(stateChange(TQString, bool))); - connect(m_trackButtons, TQT_SIGNAL(modified()), - m_doc, TQT_SLOT(slotDocumentModified())); + connect(m_trackButtons, TQ_SIGNAL(modified()), + m_doc, TQ_SLOT(slotDocumentModified())); - connect(m_trackButtons, TQT_SIGNAL(muteButton(TrackId, bool)), - rosegardenguiview, TQT_SLOT(slotSetMuteButton(TrackId, bool))); + connect(m_trackButtons, TQ_SIGNAL(muteButton(TrackId, bool)), + rosegardenguiview, TQ_SLOT(slotSetMuteButton(TrackId, bool))); // connect loop rulers' follow-scroll signals - connect(m_topStandardRuler->getLoopRuler(), TQT_SIGNAL(startMouseMove(int)), - m_segmentCanvas, TQT_SLOT(startAutoScroll(int))); - connect(m_topStandardRuler->getLoopRuler(), TQT_SIGNAL(stopMouseMove()), - m_segmentCanvas, TQT_SLOT(stopAutoScroll())); - connect(m_bottomStandardRuler->getLoopRuler(), TQT_SIGNAL(startMouseMove(int)), - m_segmentCanvas, TQT_SLOT(startAutoScroll(int))); - connect(m_bottomStandardRuler->getLoopRuler(), TQT_SIGNAL(stopMouseMove()), - m_segmentCanvas, TQT_SLOT(stopAutoScroll())); - - connect(m_segmentCanvas, TQT_SIGNAL(contentsMoving(int, int)), - this, TQT_SLOT(slotCanvasScrolled(int, int))); + connect(m_topStandardRuler->getLoopRuler(), TQ_SIGNAL(startMouseMove(int)), + m_segmentCanvas, TQ_SLOT(startAutoScroll(int))); + connect(m_topStandardRuler->getLoopRuler(), TQ_SIGNAL(stopMouseMove()), + m_segmentCanvas, TQ_SLOT(stopAutoScroll())); + connect(m_bottomStandardRuler->getLoopRuler(), TQ_SIGNAL(startMouseMove(int)), + m_segmentCanvas, TQ_SLOT(startAutoScroll(int))); + connect(m_bottomStandardRuler->getLoopRuler(), TQ_SIGNAL(stopMouseMove()), + m_segmentCanvas, TQ_SLOT(stopAutoScroll())); + + connect(m_segmentCanvas, TQ_SIGNAL(contentsMoving(int, int)), + this, TQ_SLOT(slotCanvasScrolled(int, int))); // Synchronize bar buttons' scrollview with segment canvas' scrollbar // - connect(m_segmentCanvas->verticalScrollBar(), TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotVerticalScrollTrackButtons(int))); + connect(m_segmentCanvas->verticalScrollBar(), TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotVerticalScrollTrackButtons(int))); - connect(m_segmentCanvas->verticalScrollBar(), TQT_SIGNAL(sliderMoved(int)), - this, TQT_SLOT(slotVerticalScrollTrackButtons(int))); + connect(m_segmentCanvas->verticalScrollBar(), TQ_SIGNAL(sliderMoved(int)), + this, TQ_SLOT(slotVerticalScrollTrackButtons(int))); // scrolling with mouse wheel - connect(m_trackButtonScroll, TQT_SIGNAL(gotWheelEvent(TQWheelEvent*)), - m_segmentCanvas, TQT_SLOT(slotExternalWheelEvent(TQWheelEvent*))); + connect(m_trackButtonScroll, TQ_SIGNAL(gotWheelEvent(TQWheelEvent*)), + m_segmentCanvas, TQ_SLOT(slotExternalWheelEvent(TQWheelEvent*))); // Connect horizontal scrollbar // - connect(m_segmentCanvas->horizontalScrollBar(), TQT_SIGNAL(valueChanged(int)), - m_topStandardRuler, TQT_SLOT(slotScrollHoriz(int))); - connect(m_segmentCanvas->horizontalScrollBar(), TQT_SIGNAL(sliderMoved(int)), - m_topStandardRuler, TQT_SLOT(slotScrollHoriz(int))); + connect(m_segmentCanvas->horizontalScrollBar(), TQ_SIGNAL(valueChanged(int)), + m_topStandardRuler, TQ_SLOT(slotScrollHoriz(int))); + connect(m_segmentCanvas->horizontalScrollBar(), TQ_SIGNAL(sliderMoved(int)), + m_topStandardRuler, TQ_SLOT(slotScrollHoriz(int))); - connect(m_segmentCanvas->horizontalScrollBar(), TQT_SIGNAL(valueChanged(int)), - m_bottomStandardRuler, TQT_SLOT(slotScrollHoriz(int))); - connect(m_segmentCanvas->horizontalScrollBar(), TQT_SIGNAL(sliderMoved(int)), - m_bottomStandardRuler, TQT_SLOT(slotScrollHoriz(int))); + connect(m_segmentCanvas->horizontalScrollBar(), TQ_SIGNAL(valueChanged(int)), + m_bottomStandardRuler, TQ_SLOT(slotScrollHoriz(int))); + connect(m_segmentCanvas->horizontalScrollBar(), TQ_SIGNAL(sliderMoved(int)), + m_bottomStandardRuler, TQ_SLOT(slotScrollHoriz(int))); - connect(m_segmentCanvas->horizontalScrollBar(), TQT_SIGNAL(valueChanged(int)), - m_tempoRuler, TQT_SLOT(slotScrollHoriz(int))); - connect(m_segmentCanvas->horizontalScrollBar(), TQT_SIGNAL(sliderMoved(int)), - m_tempoRuler, TQT_SLOT(slotScrollHoriz(int))); + connect(m_segmentCanvas->horizontalScrollBar(), TQ_SIGNAL(valueChanged(int)), + m_tempoRuler, TQ_SLOT(slotScrollHoriz(int))); + connect(m_segmentCanvas->horizontalScrollBar(), TQ_SIGNAL(sliderMoved(int)), + m_tempoRuler, TQ_SLOT(slotScrollHoriz(int))); - connect(m_segmentCanvas->horizontalScrollBar(), TQT_SIGNAL(valueChanged(int)), - m_chordNameRuler, TQT_SLOT(slotScrollHoriz(int))); - connect(m_segmentCanvas->horizontalScrollBar(), TQT_SIGNAL(sliderMoved(int)), - m_chordNameRuler, TQT_SLOT(slotScrollHoriz(int))); + connect(m_segmentCanvas->horizontalScrollBar(), TQ_SIGNAL(valueChanged(int)), + m_chordNameRuler, TQ_SLOT(slotScrollHoriz(int))); + connect(m_segmentCanvas->horizontalScrollBar(), TQ_SIGNAL(sliderMoved(int)), + m_chordNameRuler, TQ_SLOT(slotScrollHoriz(int))); - connect(this, TQT_SIGNAL(needUpdate()), m_segmentCanvas, TQT_SLOT(slotUpdateSegmentsDrawBuffer())); + connect(this, TQ_SIGNAL(needUpdate()), m_segmentCanvas, TQ_SLOT(slotUpdateSegmentsDrawBuffer())); connect(m_segmentCanvas->getModel(), - TQT_SIGNAL(selectedSegments(const SegmentSelection &)), + TQ_SIGNAL(selectedSegments(const SegmentSelection &)), rosegardenguiview, - TQT_SLOT(slotSelectedSegments(const SegmentSelection &))); + TQ_SLOT(slotSelectedSegments(const SegmentSelection &))); - connect(m_segmentCanvas, TQT_SIGNAL(zoomIn()), - RosegardenGUIApp::self(), TQT_SLOT(slotZoomIn())); - connect(m_segmentCanvas, TQT_SIGNAL(zoomOut()), - RosegardenGUIApp::self(), TQT_SLOT(slotZoomOut())); + connect(m_segmentCanvas, TQ_SIGNAL(zoomIn()), + RosegardenGUIApp::self(), TQ_SLOT(slotZoomIn())); + connect(m_segmentCanvas, TQ_SIGNAL(zoomOut()), + RosegardenGUIApp::self(), TQ_SLOT(slotZoomOut())); - connect(getCommandHistory(), TQT_SIGNAL(commandExecuted()), - this, TQT_SLOT(update())); + connect(getCommandHistory(), TQ_SIGNAL(commandExecuted()), + this, TQ_SLOT(update())); - connect(m_doc, TQT_SIGNAL(pointerPositionChanged(timeT)), - this, TQT_SLOT(slotSetPointerPosition(timeT))); + connect(m_doc, TQ_SIGNAL(pointerPositionChanged(timeT)), + this, TQ_SLOT(slotSetPointerPosition(timeT))); // // pointer and loop drag signals from top and bottom bar buttons (loop rulers actually) // - connect(m_topStandardRuler, TQT_SIGNAL(dragPointerToPosition(timeT)), - this, TQT_SLOT(slotPointerDraggedToPosition(timeT))); - connect(m_bottomStandardRuler, TQT_SIGNAL(dragPointerToPosition(timeT)), - this, TQT_SLOT(slotPointerDraggedToPosition(timeT))); + connect(m_topStandardRuler, TQ_SIGNAL(dragPointerToPosition(timeT)), + this, TQ_SLOT(slotPointerDraggedToPosition(timeT))); + connect(m_bottomStandardRuler, TQ_SIGNAL(dragPointerToPosition(timeT)), + this, TQ_SLOT(slotPointerDraggedToPosition(timeT))); - connect(m_topStandardRuler, TQT_SIGNAL(dragLoopToPosition(timeT)), - this, TQT_SLOT(slotLoopDraggedToPosition(timeT))); - connect(m_bottomStandardRuler, TQT_SIGNAL(dragLoopToPosition(timeT)), - this, TQT_SLOT(slotLoopDraggedToPosition(timeT))); + connect(m_topStandardRuler, TQ_SIGNAL(dragLoopToPosition(timeT)), + this, TQ_SLOT(slotLoopDraggedToPosition(timeT))); + connect(m_bottomStandardRuler, TQ_SIGNAL(dragLoopToPosition(timeT)), + this, TQ_SLOT(slotLoopDraggedToPosition(timeT))); - connect(m_doc, TQT_SIGNAL(loopChanged(timeT, + connect(m_doc, TQ_SIGNAL(loopChanged(timeT, timeT)), - this, TQT_SLOT(slotSetLoop(timeT, timeT))); + this, TQ_SLOT(slotSetLoop(timeT, timeT))); } void TrackEditor::slotReadjustCanvasSize() @@ -756,7 +756,7 @@ void TrackEditor::dropEvent(TQDropEvent* event) // WARNING // // DO NOT PERFORM ANY OPERATIONS AFTER THAT - // EMITTING THIS TQT_SIGNAL TRIGGERS THE LOADING OF A NEW DOCUMENT + // EMITTING THIS TQ_SIGNAL TRIGGERS THE LOADING OF A NEW DOCUMENT // AND AS A CONSEQUENCE THE DELETION OF THIS TrackEditor OBJECT // } else { diff --git a/src/gui/editors/segment/TrackLabel.cpp b/src/gui/editors/segment/TrackLabel.cpp index 123d91a..d0b6f5e 100644 --- a/src/gui/editors/segment/TrackLabel.cpp +++ b/src/gui/editors/segment/TrackLabel.cpp @@ -68,8 +68,8 @@ TrackLabel::TrackLabel(TrackId id, m_pressTimer = new TQTimer(this); - connect(m_pressTimer, TQT_SIGNAL(timeout()), - this, TQT_SIGNAL(changeToInstrumentList())); + connect(m_pressTimer, TQ_SIGNAL(timeout()), + this, TQ_SIGNAL(changeToInstrumentList())); TQToolTip::add (this, i18n("Click and hold with left mouse button to assign this Track to an Instrument.")); diff --git a/src/gui/editors/segment/TriggerSegmentManager.cpp b/src/gui/editors/segment/TriggerSegmentManager.cpp index cb343d9..d086a18 100644 --- a/src/gui/editors/segment/TriggerSegmentManager.cpp +++ b/src/gui/editors/segment/TriggerSegmentManager.cpp @@ -133,29 +133,29 @@ TriggerSegmentManager::TriggerSegmentManager(TQWidget *parent, layout->addWidget(m_closeButton); layout->addSpacing(5); - connect(m_addButton, TQT_SIGNAL(released()), - TQT_SLOT(slotAdd())); + connect(m_addButton, TQ_SIGNAL(released()), + TQ_SLOT(slotAdd())); - connect(m_deleteButton, TQT_SIGNAL(released()), - TQT_SLOT(slotDelete())); + connect(m_deleteButton, TQ_SIGNAL(released()), + TQ_SLOT(slotDelete())); - connect(m_closeButton, TQT_SIGNAL(released()), - TQT_SLOT(slotClose())); + connect(m_closeButton, TQ_SIGNAL(released()), + TQ_SLOT(slotClose())); - connect(m_deleteAllButton, TQT_SIGNAL(released()), - TQT_SLOT(slotDeleteAll())); + connect(m_deleteAllButton, TQ_SIGNAL(released()), + TQ_SLOT(slotDeleteAll())); setupActions(); m_doc->getCommandHistory()->attachView(actionCollection()); - connect(m_doc->getCommandHistory(), TQT_SIGNAL(commandExecuted()), - this, TQT_SLOT(slotUpdate())); + connect(m_doc->getCommandHistory(), TQ_SIGNAL(commandExecuted()), + this, TQ_SLOT(slotUpdate())); - connect(m_listView, TQT_SIGNAL(doubleClicked(TQListViewItem *)), - TQT_SLOT(slotEdit(TQListViewItem *))); + connect(m_listView, TQ_SIGNAL(doubleClicked(TQListViewItem *)), + TQ_SLOT(slotEdit(TQListViewItem *))); - connect(m_listView, TQT_SIGNAL(pressed(TQListViewItem *)), - this, TQT_SLOT(slotItemClicked(TQListViewItem *))); + connect(m_listView, TQ_SIGNAL(pressed(TQListViewItem *)), + this, TQ_SLOT(slotItemClicked(TQListViewItem *))); // Highlight all columns - enable extended selection mode // @@ -374,11 +374,11 @@ void TriggerSegmentManager::setupActions() { TDEAction* close = KStdAction::close(this, - TQT_SLOT(slotClose()), + TQ_SLOT(slotClose()), actionCollection()); m_closeButton->setText(close->text()); - connect(m_closeButton, TQT_SIGNAL(released()), this, TQT_SLOT(slotClose())); + connect(m_closeButton, TQ_SIGNAL(released()), this, TQ_SLOT(slotClose())); TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/"); @@ -396,7 +396,7 @@ TriggerSegmentManager::setupActions() KStdAction::stdName(KStdAction::Redo)); new TDEAction(i18n("Pa&ste as New Triggered Segment"), CTRL + SHIFT + Key_V, this, - TQT_SLOT(slotPasteAsNew()), actionCollection(), + TQ_SLOT(slotPasteAsNew()), actionCollection(), "paste_to_trigger_segment"); kapp->config()->setGroup(TriggerManagerConfigGroup); @@ -408,7 +408,7 @@ TriggerSegmentManager::setupActions() TQIconSet icon(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) @@ -418,7 +418,7 @@ TriggerSegmentManager::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) @@ -428,7 +428,7 @@ TriggerSegmentManager::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) diff --git a/src/gui/editors/segment/segmentcanvas/CompositionModelImpl.cpp b/src/gui/editors/segment/segmentcanvas/CompositionModelImpl.cpp index a30f33d..f85c45e 100644 --- a/src/gui/editors/segment/segmentcanvas/CompositionModelImpl.cpp +++ b/src/gui/editors/segment/segmentcanvas/CompositionModelImpl.cpp @@ -449,8 +449,8 @@ void CompositionModelImpl::updatePreviewCacheForAudioSegment(const Segment* segm AudioPreviewUpdater *updater = new AudioPreviewUpdater (*m_audioPreviewThread, m_composition, segment, segRect, this); - connect(updater, TQT_SIGNAL(audioPreviewComplete(AudioPreviewUpdater*)), - this, TQT_SLOT(slotAudioPreviewComplete(AudioPreviewUpdater*))); + connect(updater, TQ_SIGNAL(audioPreviewComplete(AudioPreviewUpdater*)), + this, TQ_SLOT(slotAudioPreviewComplete(AudioPreviewUpdater*))); m_audioPreviewUpdaterMap[segment] = updater; diff --git a/src/gui/editors/segment/segmentcanvas/CompositionView.cpp b/src/gui/editors/segment/segmentcanvas/CompositionView.cpp index 445fc33..0e055a2 100644 --- a/src/gui/editors/segment/segmentcanvas/CompositionView.cpp +++ b/src/gui/editors/segment/segmentcanvas/CompositionView.cpp @@ -130,8 +130,8 @@ CompositionView::CompositionView(RosegardenGUIDoc* doc, if (doc) { m_toolBox = new SegmentToolBox(this, doc); - connect(m_toolBox, TQT_SIGNAL(showContextHelp(const TQString &)), - this, TQT_SLOT(slotToolHelpChanged(const TQString &))); + connect(m_toolBox, TQ_SIGNAL(showContextHelp(const TQString &)), + this, TQ_SLOT(slotToolHelpChanged(const TQString &))); } setDragAutoScroll(true); @@ -144,43 +144,43 @@ CompositionView::CompositionView(RosegardenGUIDoc* doc, TQScrollBar* hsb = horizontalScrollBar(); // dynamically adjust content size when scrolling past current composition's end - connect(hsb, TQT_SIGNAL(nextLine()), - this, TQT_SLOT(scrollRight())); - connect(hsb, TQT_SIGNAL(prevLine()), - this, TQT_SLOT(scrollLeft())); - - // connect(this, TQT_SIGNAL(contentsMoving(int, int)), - // this, TQT_SLOT(slotAllDrawBuffersNeedRefresh())); - - // connect(this, TQT_SIGNAL(contentsMoving(int, int)), - // this, TQT_SLOT(slotContentsMoving(int, int))); - - connect(model, TQT_SIGNAL(needContentUpdate()), - this, TQT_SLOT(slotUpdateSegmentsDrawBuffer())); - connect(model, TQT_SIGNAL(needContentUpdate(const TQRect&)), - this, TQT_SLOT(slotUpdateSegmentsDrawBuffer(const TQRect&))); - connect(model, TQT_SIGNAL(needArtifactsUpdate()), - this, TQT_SLOT(slotArtifactsDrawBufferNeedsRefresh())); - connect(model, TQT_SIGNAL(needSizeUpdate()), - this, TQT_SLOT(slotUpdateSize())); + connect(hsb, TQ_SIGNAL(nextLine()), + this, TQ_SLOT(scrollRight())); + connect(hsb, TQ_SIGNAL(prevLine()), + this, TQ_SLOT(scrollLeft())); + + // connect(this, TQ_SIGNAL(contentsMoving(int, int)), + // this, TQ_SLOT(slotAllDrawBuffersNeedRefresh())); + + // connect(this, TQ_SIGNAL(contentsMoving(int, int)), + // this, TQ_SLOT(slotContentsMoving(int, int))); + + connect(model, TQ_SIGNAL(needContentUpdate()), + this, TQ_SLOT(slotUpdateSegmentsDrawBuffer())); + connect(model, TQ_SIGNAL(needContentUpdate(const TQRect&)), + this, TQ_SLOT(slotUpdateSegmentsDrawBuffer(const TQRect&))); + connect(model, TQ_SIGNAL(needArtifactsUpdate()), + this, TQ_SLOT(slotArtifactsDrawBufferNeedsRefresh())); + connect(model, TQ_SIGNAL(needSizeUpdate()), + this, TQ_SLOT(slotUpdateSize())); if (doc) { - connect(doc, TQT_SIGNAL(docColoursChanged()), - this, TQT_SLOT(slotRefreshColourCache())); + connect(doc, TQ_SIGNAL(docColoursChanged()), + this, TQ_SLOT(slotRefreshColourCache())); // recording-related signals - connect(doc, TQT_SIGNAL(newMIDIRecordingSegment(Segment*)), - this, TQT_SLOT(slotNewMIDIRecordingSegment(Segment*))); - connect(doc, TQT_SIGNAL(newAudioRecordingSegment(Segment*)), - this, TQT_SLOT(slotNewAudioRecordingSegment(Segment*))); - // connect(doc, TQT_SIGNAL(recordMIDISegmentUpdated(Segment*, timeT)), - // this, TQT_SLOT(slotRecordMIDISegmentUpdated(Segment*, timeT))); - connect(doc, TQT_SIGNAL(stoppedAudioRecording()), - this, TQT_SLOT(slotStoppedRecording())); - connect(doc, TQT_SIGNAL(stoppedMIDIRecording()), - this, TQT_SLOT(slotStoppedRecording())); - connect(doc, TQT_SIGNAL(audioFileFinalized(Segment*)), - getModel(), TQT_SLOT(slotAudioFileFinalized(Segment*))); + connect(doc, TQ_SIGNAL(newMIDIRecordingSegment(Segment*)), + this, TQ_SLOT(slotNewMIDIRecordingSegment(Segment*))); + connect(doc, TQ_SIGNAL(newAudioRecordingSegment(Segment*)), + this, TQ_SLOT(slotNewAudioRecordingSegment(Segment*))); + // connect(doc, TQ_SIGNAL(recordMIDISegmentUpdated(Segment*, timeT)), + // this, TQ_SLOT(slotRecordMIDISegmentUpdated(Segment*, timeT))); + connect(doc, TQ_SIGNAL(stoppedAudioRecording()), + this, TQ_SLOT(slotStoppedRecording())); + connect(doc, TQ_SIGNAL(stoppedMIDIRecording()), + this, TQ_SLOT(slotStoppedRecording())); + connect(doc, TQ_SIGNAL(audioFileFinalized(Segment*)), + getModel(), TQ_SLOT(slotAudioFileFinalized(Segment*))); } CompositionModelImpl* cmi = dynamic_cast<CompositionModelImpl*>(model); diff --git a/src/gui/editors/segment/segmentcanvas/SegmentMover.cpp b/src/gui/editors/segment/segmentcanvas/SegmentMover.cpp index ae2c2aa..0ea6a03 100644 --- a/src/gui/editors/segment/segmentcanvas/SegmentMover.cpp +++ b/src/gui/editors/segment/segmentcanvas/SegmentMover.cpp @@ -61,15 +61,15 @@ SegmentMover::SegmentMover(CompositionView *c, RosegardenGUIDoc *d) void SegmentMover::ready() { m_canvas->viewport()->setCursor(TQt::sizeAllCursor); - connect(m_canvas, TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotCanvasScrolled(int, int))); + connect(m_canvas, TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotCanvasScrolled(int, int))); setBasicContextHelp(); } void SegmentMover::stow() { - disconnect(m_canvas, TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotCanvasScrolled(int, int))); + disconnect(m_canvas, TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotCanvasScrolled(int, int))); } void SegmentMover::slotCanvasScrolled(int newX, int newY) diff --git a/src/gui/editors/segment/segmentcanvas/SegmentPencil.cpp b/src/gui/editors/segment/segmentcanvas/SegmentPencil.cpp index 38bdf31..6eb58bc 100644 --- a/src/gui/editors/segment/segmentcanvas/SegmentPencil.cpp +++ b/src/gui/editors/segment/segmentcanvas/SegmentPencil.cpp @@ -63,15 +63,15 @@ SegmentPencil::SegmentPencil(CompositionView *c, RosegardenGUIDoc *d) void SegmentPencil::ready() { m_canvas->viewport()->setCursor(TQt::ibeamCursor); - connect(m_canvas, TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotCanvasScrolled(int, int))); + connect(m_canvas, TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotCanvasScrolled(int, int))); setContextHelpFor(TQPoint(0, 0)); } void SegmentPencil::stow() { - disconnect(m_canvas, TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotCanvasScrolled(int, int))); + disconnect(m_canvas, TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotCanvasScrolled(int, int))); } void SegmentPencil::slotCanvasScrolled(int newX, int newY) diff --git a/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp b/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp index 505ce3e..4b3406f 100644 --- a/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp +++ b/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp @@ -68,15 +68,15 @@ SegmentResizer::SegmentResizer(CompositionView *c, RosegardenGUIDoc *d, void SegmentResizer::ready() { m_canvas->viewport()->setCursor(TQt::sizeHorCursor); - connect(m_canvas, TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotCanvasScrolled(int, int))); + connect(m_canvas, TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotCanvasScrolled(int, int))); setBasicContextHelp(false); } void SegmentResizer::stow() { - disconnect(m_canvas, TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotCanvasScrolled(int, int))); + disconnect(m_canvas, TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotCanvasScrolled(int, int))); } void SegmentResizer::slotCanvasScrolled(int newX, int newY) @@ -177,10 +177,10 @@ void SegmentResizer::handleMouseButtonRelease(TQMouseEvent *e) progressDlg.setLabel(i18n("Generating audio preview...")); command->disconnectProgressDialog(&progressDlg); - connect(&m_doc->getAudioFileManager(), TQT_SIGNAL(setProgress(int)), - progressDlg.progressBar(), TQT_SLOT(setValue(int))); - connect(&progressDlg, TQT_SIGNAL(cancelClicked()), - &m_doc->getAudioFileManager(), TQT_SLOT(slotStopPreview())); + connect(&m_doc->getAudioFileManager(), TQ_SIGNAL(setProgress(int)), + progressDlg.progressBar(), TQ_SLOT(setValue(int))); + connect(&progressDlg, TQ_SIGNAL(cancelClicked()), + &m_doc->getAudioFileManager(), TQ_SLOT(slotStopPreview())); int fid = command->getNewAudioFileId(); if (fid >= 0) { diff --git a/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp b/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp index cb20975..a15a6c9 100644 --- a/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp +++ b/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp @@ -74,8 +74,8 @@ SegmentSelector::~SegmentSelector() void SegmentSelector::ready() { m_canvas->viewport()->setCursor(TQt::arrowCursor); - connect(m_canvas, TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotCanvasScrolled(int, int))); + connect(m_canvas, TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotCanvasScrolled(int, int))); setContextHelp(i18n("Click and drag to select segments")); } diff --git a/src/gui/editors/tempo/TempoView.cpp b/src/gui/editors/tempo/TempoView.cpp index 30381db..1ce55ad 100644 --- a/src/gui/editors/tempo/TempoView.cpp +++ b/src/gui/editors/tempo/TempoView.cpp @@ -92,8 +92,8 @@ TempoView::TempoView(RosegardenGUIDoc *doc, TQWidget *parent, timeT openTime): // 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_list = new TDEListView(getCentralWidget()); m_list->setItemsRenameable(true); @@ -106,8 +106,8 @@ TempoView::TempoView(RosegardenGUIDoc *doc, TQWidget *parent, timeT openTime): // Connect double clicker // - connect(m_list, TQT_SIGNAL(doubleClicked(TQListViewItem*)), - TQT_SLOT(slotPopupEditor(TQListViewItem*))); + connect(m_list, TQ_SIGNAL(doubleClicked(TQListViewItem*)), + TQ_SLOT(slotPopupEditor(TQListViewItem*))); m_list->setAllColumnsShowFocus(true); m_list->setSelectionMode(TQListView::Extended); @@ -487,12 +487,12 @@ TempoView::slotEditInsertTempo() dialog.setTempoPosition(insertTime); connect(&dialog, - TQT_SIGNAL(changeTempo(timeT, + TQ_SIGNAL(changeTempo(timeT, tempoT, tempoT, TempoDialog::TempoDialogAction)), this, - TQT_SIGNAL(changeTempo(timeT, + TQ_SIGNAL(changeTempo(timeT, tempoT, tempoT, TempoDialog::TempoDialogAction))); @@ -577,36 +577,36 @@ TempoView::setupActions() TQIconSet icon(TQPixmap(pixmapDir + "/toolbar/event-insert-tempo.png")); new TDEAction(AddTempoChangeCommand::getGlobalName(), icon, Key_I, this, - TQT_SLOT(slotEditInsertTempo()), actionCollection(), + TQ_SLOT(slotEditInsertTempo()), actionCollection(), "insert_tempo"); TQCanvasPixmap pixmap(pixmapDir + "/toolbar/event-insert-timesig.png"); icon = TQIconSet(pixmap); new TDEAction(AddTimeSignatureCommand::getGlobalName(), icon, Key_G, this, - TQT_SLOT(slotEditInsertTimeSignature()), actionCollection(), + TQ_SLOT(slotEditInsertTimeSignature()), actionCollection(), "insert_timesig"); pixmap.load(pixmapDir + "/toolbar/event-delete.png"); icon = TQIconSet(pixmap); new TDEAction(i18n("&Delete"), 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 Item"), icon, Key_E, this, - TQT_SLOT(slotEdit()), actionCollection(), + TQ_SLOT(slotEdit()), actionCollection(), "edit"); new TDEAction(i18n("Select &All"), 0, 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(TempoViewConfigGroup); @@ -618,7 +618,7 @@ TempoView::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) @@ -628,7 +628,7 @@ TempoView::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) @@ -638,7 +638,7 @@ TempoView::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) @@ -784,12 +784,12 @@ TempoView::slotPopupEditor(TQListViewItem *qitem) dialog.setTempoPosition(time); connect(&dialog, - TQT_SIGNAL(changeTempo(timeT, + TQ_SIGNAL(changeTempo(timeT, tempoT, tempoT, TempoDialog::TempoDialogAction)), this, - TQT_SIGNAL(changeTempo(timeT, + TQ_SIGNAL(changeTempo(timeT, tempoT, tempoT, TempoDialog::TempoDialogAction))); |