summaryrefslogtreecommitdiffstats
path: root/kpacman/bitfont.h
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-08-17 20:03:11 +0200
committergregory guy <gregory-tde@laposte.net>2020-08-17 20:03:11 +0200
commit503fddb48f2229ecc6ed6930a99c4d740ff979e5 (patch)
tree81206d9572927fd636b43a00005808cec6c0ce3e /kpacman/bitfont.h
parente0031ac458d4f414ae583a709d48c4cb0f14b09e (diff)
downloadtdepacman-503fddb48f2229ecc6ed6930a99c4d740ff979e5.tar.gz
tdepacman-503fddb48f2229ecc6ed6930a99c4d740ff979e5.zip
Second step, convert to tqt3 libraries.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kpacman/bitfont.h')
-rw-r--r--kpacman/bitfont.h16
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;