diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:35 -0600 |
commit | 6ca08e7a881c0c97f338e0085f75af04ec08ad04 (patch) | |
tree | 5462bef0f060df1c19e3fcb98250e5cfa24edc11 /src/gui/editors/notation/TrackHeader.cpp | |
parent | 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (diff) | |
download | rosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.tar.gz rosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.
Diffstat (limited to 'src/gui/editors/notation/TrackHeader.cpp')
-rw-r--r-- | src/gui/editors/notation/TrackHeader.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gui/editors/notation/TrackHeader.cpp b/src/gui/editors/notation/TrackHeader.cpp index 83dca88..fa19ca5 100644 --- a/src/gui/editors/notation/TrackHeader.cpp +++ b/src/gui/editors/notation/TrackHeader.cpp @@ -65,7 +65,7 @@ namespace Rosegarden { -// Status bits +// tqStatus bits const int TrackHeader::SEGMENT_HERE = 1 << 0; const int TrackHeader::SUPERIMPOSED_SEGMENTS = 1 << 1; const int TrackHeader::INCONSISTENT_CLEFS = 1 << 2; @@ -111,12 +111,12 @@ TrackHeader::TrackHeader(TQWidget *parent, TrackId trackId, int height, int ypos int trackPos = comp->getTrackPositionById(m_track); TQString toolTipText = TQString(i18n("Track %1 : \"%2\"") - .arg(trackPos + 1) - .arg(strtoqstr(track->getLabel()))); + .tqarg(trackPos + 1) + .tqarg(strtoqstr(track->getLabel()))); TQString preset = track->getPresetLabel().c_str(); if (preset != TQString("")) - toolTipText += TQString(i18n("\nNotate for: %1").arg(preset)); + toolTipText += TQString(i18n("\nNotate for: %1").tqarg(preset)); TQString notationSize = i18n("normal"); switch (track->getStaffSize()) { @@ -154,8 +154,8 @@ TrackHeader::TrackHeader(TQWidget *parent, TrackId trackId, int height, int ypos } toolTipText += TQString(i18n("\nSize: %1, Bracket: %2 ")) - .arg(notationSize) - .arg(bracketText); + .tqarg(notationSize) + .tqarg(bracketText); // Sort segments by position on the track SortedSegments segments; @@ -181,17 +181,17 @@ TrackHeader::TrackHeader(TQWidget *parent, TrackId trackId, int height, int ypos TQString transposeName; transposeValueToName(transpose, transposeName); toolTipText += TQString(i18n("\nbars [%1-%2] in %3 (tr=%4) : \"%5\"")) - .arg(barStart) - .arg(barEnd) - .arg(transposeName) - .arg(transpose) - .arg(strtoqstr((*i)->getLabel())); + .tqarg(barStart) + .tqarg(barEnd) + .tqarg(transposeName) + .tqarg(transpose) + .tqarg(strtoqstr((*i)->getLabel())); } else { toolTipText += TQString(i18n("\nbars [%1-%2] (tr=%3) : \"%4\"")) - .arg(barStart) - .arg(barEnd) - .arg(transpose) - .arg(strtoqstr((*i)->getLabel())); + .tqarg(barStart) + .tqarg(barEnd) + .tqarg(transpose) + .tqarg(strtoqstr((*i)->getLabel())); } } @@ -350,9 +350,9 @@ TrackHeader::lookAtStaff(double x, int maxWidth) transposeValueToName(m_transpose, noteName); m_upperText = TQString(i18n("%1: %2") - .arg(trackPos + 1) - .arg(strtoqstr(track->getLabel()))); - if (m_transpose) m_transposeText = i18n(" in %1").arg(noteName); + .tqarg(trackPos + 1) + .tqarg(strtoqstr(track->getLabel()))); + if (m_transpose) m_transposeText = i18n(" in %1").tqarg(noteName); else m_transposeText = TQString(""); NotePixmapFactory * npf = m_notationView->getNotePixmapFactory(); |