summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NoteFont.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
commit6ca08e7a881c0c97f338e0085f75af04ec08ad04 (patch)
tree5462bef0f060df1c19e3fcb98250e5cfa24edc11 /src/gui/editors/notation/NoteFont.cpp
parent4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (diff)
downloadrosegarden-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/NoteFont.cpp')
-rw-r--r--src/gui/editors/notation/NoteFont.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/editors/notation/NoteFont.cpp b/src/gui/editors/notation/NoteFont.cpp
index 5f84e7a..18f82f7 100644
--- a/src/gui/editors/notation/NoteFont.cpp
+++ b/src/gui/editors/notation/NoteFont.cpp
@@ -66,7 +66,7 @@ NoteFont::NoteFont(std::string fontName, int size) :
if (size > 0) {
if (sizes.find(size) == sizes.end()) {
- throw BadNoteFont(qstrtostr(TQString("Font \"%1\" not available in size %2").arg(strtoqstr(fontName)).arg(size)));
+ throw BadNoteFont(qstrtostr(TQString("Font \"%1\" not available in size %2").tqarg(strtoqstr(fontName)).tqarg(size)));
} else {
m_size = size;
}
@@ -86,8 +86,8 @@ NoteFont::NoteFont(std::string fontName, int size) :
// Locate our font's pixmap map in the font map, create if necessary
std::string fontKey = qstrtostr(TQString("__%1__%2__")
- .arg(strtoqstr(m_fontMap.getName()))
- .arg(m_size));
+ .tqarg(strtoqstr(m_fontMap.getName()))
+ .tqarg(m_size));
FontPixmapMap::iterator i = m_fontPixmapMap->find(fontKey);
if (i == m_fontPixmapMap->end()) {
@@ -444,13 +444,13 @@ NoteFont::getShadedPixmap(CharName baseCharName, TQPixmap &pixmap,
CharName
NoteFont::getNameWithColour(CharName base, int hue) const
{
- return qstrtostr(TQString("%1__%2").arg(hue).arg(strtoqstr(base)));
+ return qstrtostr(TQString("%1__%2").tqarg(hue).tqarg(strtoqstr(base)));
}
CharName
NoteFont::getNameShaded(CharName base) const
{
- return qstrtostr(TQString("shaded__%1").arg(strtoqstr(base)));
+ return qstrtostr(TQString("shaded__%1").tqarg(strtoqstr(base)));
}
bool