summaryrefslogtreecommitdiffstats
path: root/kpoker/kpaint.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kpoker/kpaint.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
};