summaryrefslogtreecommitdiffstats
path: root/kpoker/kpaint.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpoker/kpaint.h')
-rw-r--r--kpoker/kpaint.h26
1 files changed, 13 insertions, 13 deletions
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 <assert.h>
-#include <qpushbutton.h>
-#include <qpixmap.h>
+#include <tqpushbutton.h>
+#include <tqpixmap.h>
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;
};