summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/SystemFont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/notation/SystemFont.cpp')
-rw-r--r--src/gui/editors/notation/SystemFont.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/editors/notation/SystemFont.cpp b/src/gui/editors/notation/SystemFont.cpp
index 62b4280..77d3341 100644
--- a/src/gui/editors/notation/SystemFont.cpp
+++ b/src/gui/editors/notation/SystemFont.cpp
@@ -130,11 +130,11 @@ qfont:
TQFontInfo info(qfont);
- NOTATION_DEBUG << "SystemFont::loadSystemFont[Qt]: have family " << info.family() << " (exactMatch " << info.exactMatch() << ")" << endl;
+ NOTATION_DEBUG << "SystemFont::loadSystemFont[TQt]: have family " << TQString(info.family()).ascii() << " (exactMatch " << info.exactMatch() << ")" << endl;
// return info.exactMatch();
- // The Qt documentation says:
+ // The TQt documentation says:
//
// bool TQFontInfo::exactMatch() const
// Returns TRUE if the matched window system font is exactly the
@@ -143,23 +143,23 @@ qfont:
// My arse. I specify "feta", I get "Verdana", and exactMatch
// returns true. Uh huh.
//
- // UPDATE: in newer versions of Qt, I specify "fughetta", I get
+ // UPDATE: in newer versions of TQt, I specify "fughetta", I get
// "Fughetta [macromedia]", and exactMatch returns false. Just as
// useless, but in a different way.
- TQString family = info.family().lower();
+ TQString family = TQString(info.family()).lower();
if (family == name.lower())
return new SystemFontQt(qfont);
else {
- int bracket = family.find(" [");
+ int bracket = family.tqfind(" [");
if (bracket > 1)
family = family.left(bracket);
if (family == name.lower())
return new SystemFontQt(qfont);
}
- NOTATION_DEBUG << "SystemFont::loadSystemFont[Qt]: Wrong family returned, failing" << endl;
+ NOTATION_DEBUG << "SystemFont::loadSystemFont[TQt]: Wrong family returned, failing" << endl;
return 0;
}