File indexing completed on 2024-04-21 05:51:38

0001 /*
0002  *  SPDX-FileCopyrightText: 2002-2003 Jesper K. Pedersen <blackie@kde.org>
0003  *
0004  *  SPDX-License-Identifier: LGPL-2.0-only
0005  **/
0006 
0007 #ifndef __MYFONTMETRICS_H
0008 #define __MYFONTMETRICS_H
0009 
0010 #include <QFontMetrics>
0011 
0012 // QFontMetrics::size is broken, therefore I need this hack until it works in QT3
0013 
0014 QSize HackCalculateFontSize(const QFontMetrics &fm, const QString &str);
0015 
0016 #endif