summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/TrackHeader.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:40:46 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:40:46 -0600
commit97f1c43c867725d49f3943a68ef08d7e71767e99 (patch)
treeece35be847c1fcc581a6db7b3d9fc6aa497590af /src/gui/editors/notation/TrackHeader.cpp
parentef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (diff)
downloadrosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.tar.gz
rosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/gui/editors/notation/TrackHeader.cpp')
-rw-r--r--src/gui/editors/notation/TrackHeader.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/gui/editors/notation/TrackHeader.cpp b/src/gui/editors/notation/TrackHeader.cpp
index 73ac29a..83dca88 100644
--- a/src/gui/editors/notation/TrackHeader.cpp
+++ b/src/gui/editors/notation/TrackHeader.cpp
@@ -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\"")
- .tqarg(trackPos + 1)
- .tqarg(strtoqstr(track->getLabel())));
+ .arg(trackPos + 1)
+ .arg(strtoqstr(track->getLabel())));
TQString preset = track->getPresetLabel().c_str();
if (preset != TQString(""))
- toolTipText += TQString(i18n("\nNotate for: %1").tqarg(preset));
+ toolTipText += TQString(i18n("\nNotate for: %1").arg(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 "))
- .tqarg(notationSize)
- .tqarg(bracketText);
+ .arg(notationSize)
+ .arg(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\""))
- .tqarg(barStart)
- .tqarg(barEnd)
- .tqarg(transposeName)
- .tqarg(transpose)
- .tqarg(strtoqstr((*i)->getLabel()));
+ .arg(barStart)
+ .arg(barEnd)
+ .arg(transposeName)
+ .arg(transpose)
+ .arg(strtoqstr((*i)->getLabel()));
} else {
toolTipText += TQString(i18n("\nbars [%1-%2] (tr=%3) : \"%4\""))
- .tqarg(barStart)
- .tqarg(barEnd)
- .tqarg(transpose)
- .tqarg(strtoqstr((*i)->getLabel()));
+ .arg(barStart)
+ .arg(barEnd)
+ .arg(transpose)
+ .arg(strtoqstr((*i)->getLabel()));
}
}
@@ -350,9 +350,9 @@ TrackHeader::lookAtStaff(double x, int maxWidth)
transposeValueToName(m_transpose, noteName);
m_upperText = TQString(i18n("%1: %2")
- .tqarg(trackPos + 1)
- .tqarg(strtoqstr(track->getLabel())));
- if (m_transpose) m_transposeText = i18n(" in %1").tqarg(noteName);
+ .arg(trackPos + 1)
+ .arg(strtoqstr(track->getLabel())));
+ if (m_transpose) m_transposeText = i18n(" in %1").arg(noteName);
else m_transposeText = TQString("");
NotePixmapFactory * npf = m_notationView->getNotePixmapFactory();