summaryrefslogtreecommitdiffstats
path: root/src/kernel/qfontdatabase.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-06-25 12:25:06 +0900
committerMichele Calgaro <[email protected]>2024-06-25 12:25:06 +0900
commita09a6bc05e3f64c27e7c84dd768c7720fdf41136 (patch)
treefe5a644a42056c012132e5bbc57f3ce1ba40d5c2 /src/kernel/qfontdatabase.cpp
parentbba3e1fa3870a23f1cf0b5d1143ffd646ac797a4 (diff)
downloadtqt3-a09a6bc05e3f64c27e7c84dd768c7720fdf41136.tar.gz
tqt3-a09a6bc05e3f64c27e7c84dd768c7720fdf41136.zip
Remove documentation for QWS classes and Qt/Embedded
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kernel/qfontdatabase.cpp')
-rw-r--r--src/kernel/qfontdatabase.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/kernel/qfontdatabase.cpp b/src/kernel/qfontdatabase.cpp
index 152b6f250..41aa25431 100644
--- a/src/kernel/qfontdatabase.cpp
+++ b/src/kernel/qfontdatabase.cpp
@@ -334,7 +334,7 @@ struct TQtFontFamily
#ifdef TQ_WS_WIN
scriptCheck( FALSE ),
#endif
-#if defined(Q_OS_MAC) && !defined(TQWS)
+#if defined(Q_OS_MAC)
fixedPitchComputed(FALSE),
#endif
fullyLoaded( FALSE ),
@@ -357,7 +357,7 @@ struct TQtFontFamily
#ifdef TQ_WS_WIN
bool scriptCheck : 1;
#endif
-#if defined(Q_OS_MAC) && !defined(TQWS)
+#if defined(Q_OS_MAC)
bool fixedPitchComputed : 1;
#endif
bool fullyLoaded : 1;
@@ -654,8 +654,6 @@ static TQFontDatabasePrivate *db=0;
# include "qfontdatabase_mac.cpp"
#elif defined( TQ_WS_WIN )
# include "qfontdatabase_win.cpp"
-#elif defined( TQ_WS_QWS )
-# include "qfontdatabase_qws.cpp"
#endif
static TQtFontStyle *bestStyle(TQtFontFoundry *foundry, const TQtFontStyle::Key &styleKey)
@@ -1578,7 +1576,7 @@ bool TQFontDatabase::isFixedPitch(const TQString &family,
load( familyName );
TQtFontFamily *f = d->family( familyName );
-#if defined(Q_OS_MAC) && !defined(TQWS)
+#if defined(Q_OS_MAC)
if (f) {
if (!f->fixedPitchComputed) {
TQFontMetrics fm(familyName);