diff options
Diffstat (limited to 'kpacman/bitfont.h')
-rw-r--r-- | kpacman/bitfont.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpacman/bitfont.h b/kpacman/bitfont.h index c12aa0f..5976a51 100644 --- a/kpacman/bitfont.h +++ b/kpacman/bitfont.h @@ -1,26 +1,26 @@ #ifndef BITFONT_H #define BITFONT_H -#include <qstring.h> -#include <qbitmap.h> -#include <qpixmap.h> -#include <qrect.h> +#include <ntqstring.h> +#include <ntqbitmap.h> +#include <ntqpixmap.h> +#include <ntqrect.h> #include "colors.h" class Bitfont { public: - Bitfont(QString fontname, uchar firstChar, uchar lastChar); + Bitfont(TQString fontname, uchar firstChar, uchar lastChar); - QPixmap text(QString str, QColor fg = BLACK, QColor bg = QColor()); - QRect rect(QString str); + TQPixmap text(TQString str, TQColor fg = BLACK, TQColor bg = TQColor()); + TQRect rect(TQString str); int width(); int height(); uchar firstChar(); uchar lastChar(); private: - QBitmap font; + TQBitmap font; int fontWidth; int fontHeight; uchar fontFirstChar; |