summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NoteFont.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/editors/notation/NoteFont.cpp
parente6d6692eda797b10f322a83ffdcf23fca719709e (diff)
downloadrosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.tar.gz
rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.zip
Rename a number of old tq methods that are no longer tq specific
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 18f82f7..5f84e7a 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").tqarg(strtoqstr(fontName)).tqarg(size)));
+ throw BadNoteFont(qstrtostr(TQString("Font \"%1\" not available in size %2").arg(strtoqstr(fontName)).arg(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__")
- .tqarg(strtoqstr(m_fontMap.getName()))
- .tqarg(m_size));
+ .arg(strtoqstr(m_fontMap.getName()))
+ .arg(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").tqarg(hue).tqarg(strtoqstr(base)));
+ return qstrtostr(TQString("%1__%2").arg(hue).arg(strtoqstr(base)));
}
CharName
NoteFont::getNameShaded(CharName base) const
{
- return qstrtostr(TQString("shaded__%1").tqarg(strtoqstr(base)));
+ return qstrtostr(TQString("shaded__%1").arg(strtoqstr(base)));
}
bool