summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/FontViewFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/notation/FontViewFrame.cpp')
-rw-r--r--src/gui/editors/notation/FontViewFrame.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/editors/notation/FontViewFrame.cpp b/src/gui/editors/notation/FontViewFrame.cpp
index d07ba40..6e24a18 100644
--- a/src/gui/editors/notation/FontViewFrame.cpp
+++ b/src/gui/editors/notation/FontViewFrame.cpp
@@ -97,7 +97,7 @@ FontViewFrame::loadFont()
FcPatternDestroy(pattern);
if (!match || result != FcResultMatch) {
- KMessageBox::error(this, i18n("Error: Unable to match font name %1").tqarg(m_fontName));
+ KMessageBox::error(this, i18n("Error: Unable to match font name %1").arg(m_fontName));
return ;
}
@@ -106,7 +106,7 @@ FontViewFrame::loadFont()
if (TQString((const char *)matchFamily).lower() != m_fontName.lower()) {
KMessageBox::sorry(this, i18n("Warning: No good match for font name %1 (best is %2)").
- tqarg(m_fontName).tqarg(TQString((const char *)matchFamily)));
+ arg(m_fontName).arg(TQString((const char *)matchFamily)));
m_fontName = (const char *)matchFamily;
}
@@ -125,7 +125,7 @@ void FontViewFrame::setGlyphs(bool glyphs)
update();
}
-TQSize FontViewFrame::tqsizeHint() const
+TQSize FontViewFrame::sizeHint() const
{
return TQSize(16 * m_fontSize * 3 / 2 + margin() + 2 * frameWidth(),
16 * m_fontSize * 3 / 2 + margin() + 2 * frameWidth());
@@ -186,7 +186,7 @@ void FontViewFrame::paintEvent( TQPaintEvent* e )
continue;
p.setFont(kapp->font());
TQFontMetrics afm(kapp->font());
- TQString s = TQString("%1").tqarg(m_row * 256 + (j - 1) * 16);
+ TQString s = TQString("%1").arg(m_row * 256 + (j - 1) * 16);
p.drawText(x - afm.width(s), y, s);
p.setPen(TQColor(190, 190, 255));
p.drawLine(0, y, width(), y);
@@ -194,7 +194,7 @@ void FontViewFrame::paintEvent( TQPaintEvent* e )
continue;
} else if (j == 0) {
p.setFont(kapp->font());
- TQString s = TQString("%1").tqarg(i - 1);
+ TQString s = TQString("%1").arg(i - 1);
p.drawText(x, y, s);
p.setPen(TQColor(190, 190, 255));
p.drawLine(x, 0, x, height());