From 576eb4299a00bc053db35414406f46372a0f70f2 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:42:31 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpoker/kpaint.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kpoker/kpaint.h') diff --git a/kpoker/kpaint.h b/kpoker/kpaint.h index ae4c1d29..21dbf097 100644 --- a/kpoker/kpaint.h +++ b/kpoker/kpaint.h @@ -21,8 +21,8 @@ #include -#include -#include +#include +#include class QLabel; @@ -38,28 +38,28 @@ class CardImages : public QWidget Q_OBJECT public: - CardImages( QWidget *parent = 0, const char *name = 0 ); + CardImages( TQWidget *parent = 0, const char *name = 0 ); ~CardImages(); // FIXME: Use CardValue instead of int when the cards are in their // own file. - QPixmap *getCardImage(int card) const; - QPixmap *getDeck() const { return m_deck; } + TQPixmap *getCardImage(int card) const; + TQPixmap *getDeck() const { return m_deck; } int getWidth() const { return m_cardPixmaps[0].width(); } int getHeight() const { return m_cardPixmaps[0].height(); } - void loadDeck(QString path); - void loadCards(QString cardDir); + void loadDeck(TQString path); + void loadCards(TQString cardDir); private: - static QPixmap *m_cardPixmaps; - static QPixmap *m_deck; + static TQPixmap *m_cardPixmaps; + static TQPixmap *m_deck; }; /** - * This class extends the QPushButton by some methods / variables to provide a card with held labels and so on + * This class extends the TQPushButton by some methods / variables to provide a card with held labels and so on * * @short The cards **/ @@ -68,7 +68,7 @@ class CardWidget : public QPushButton Q_OBJECT public: - CardWidget( QWidget *parent=0, const char *name=0 ); + CardWidget( TQWidget *parent=0, const char *name=0 ); /** * Paints the deck if cardType = 0 or the card specified in cardType @@ -110,11 +110,11 @@ class CardWidget : public QPushButton private: - QPixmap *m_pm; // the loaded pixmap + TQPixmap *m_pm; // the loaded pixmap bool m_held; public: - QLabel *heldLabel; + TQLabel *heldLabel; }; -- cgit v1.2.1