summaryrefslogtreecommitdiffstats
path: root/kpoker
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:21:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:21:06 +0000
commit42ca287b531e190dcee0f080f16c420874054129 (patch)
tree7ce730aa7fe29311d16654eb7c59457b05e03642 /kpoker
parent576eb4299a00bc053db35414406f46372a0f70f2 (diff)
downloadtdegames-42ca287b531e190dcee0f080f16c420874054129.tar.gz
tdegames-42ca287b531e190dcee0f080f16c420874054129.zip
TQt conversion fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1158436 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpoker')
-rw-r--r--kpoker/betbox.h2
-rw-r--r--kpoker/kpaint.cpp2
-rw-r--r--kpoker/kpaint.h2
-rw-r--r--kpoker/kpoker.cpp6
-rw-r--r--kpoker/kpoker.h16
-rw-r--r--kpoker/newgamedlg.h8
-rw-r--r--kpoker/optionsdlg.h8
-rw-r--r--kpoker/playerbox.cpp2
-rw-r--r--kpoker/playerbox.h2
-rw-r--r--kpoker/top.h2
10 files changed, 25 insertions, 25 deletions
diff --git a/kpoker/betbox.h b/kpoker/betbox.h
index 3a639277..69fd741d 100644
--- a/kpoker/betbox.h
+++ b/kpoker/betbox.h
@@ -20,7 +20,7 @@
#include <tqgroupbox.h>
-class QPushButton;
+class TQPushButton;
/**
diff --git a/kpoker/kpaint.cpp b/kpoker/kpaint.cpp
index 83012ab0..5ba74f40 100644
--- a/kpoker/kpaint.cpp
+++ b/kpoker/kpaint.cpp
@@ -42,7 +42,7 @@ CardImages::CardImages(TQWidget* parent, const char* name)
: TQWidget(parent, name)
{
m_cardPixmaps = new QPixmap[numCards];
- m_deck = new QPixmap;
+ m_deck = new TQPixmap;
// Hide the window.
// FIXME: Why is this a QWidget?
diff --git a/kpoker/kpaint.h b/kpoker/kpaint.h
index 21dbf097..2300e8b1 100644
--- a/kpoker/kpaint.h
+++ b/kpoker/kpaint.h
@@ -25,7 +25,7 @@
#include <tqpixmap.h>
-class QLabel;
+class TQLabel;
/**
diff --git a/kpoker/kpoker.cpp b/kpoker/kpoker.cpp
index a6f51772..0a293118 100644
--- a/kpoker/kpoker.cpp
+++ b/kpoker/kpoker.cpp
@@ -244,11 +244,11 @@ void kpok::initWindow()
wonFont.setBold(true);
topLayout = new TQVBoxLayout(this, BORDER);
- TQVBoxLayout* topInputLayout = new QVBoxLayout;
+ TQVBoxLayout* topInputLayout = new TQVBoxLayout;
topLayout->addLayout(topInputLayout);
- TQHBoxLayout* betLayout = new QHBoxLayout;
- inputLayout = new QHBoxLayout;
+ TQHBoxLayout* betLayout = new TQHBoxLayout;
+ inputLayout = new TQHBoxLayout;
inputLayout->addLayout(betLayout);
topInputLayout->addLayout(inputLayout);
diff --git a/kpoker/kpoker.h b/kpoker/kpoker.h
index cd0bd42a..bb33773d 100644
--- a/kpoker/kpoker.h
+++ b/kpoker/kpoker.h
@@ -31,14 +31,14 @@
// QT classes
-class QPushButton;
-class QLineEdit;
-class QLabel;
-class QFrame;
-class QLineEdit;
-class QFrame;
-class QHBoxLayout;
-class QVBoxLayout;
+class TQPushButton;
+class TQLineEdit;
+class TQLabel;
+class TQFrame;
+class TQLineEdit;
+class TQFrame;
+class TQHBoxLayout;
+class TQVBoxLayout;
// KDE classes
class KConfig;
diff --git a/kpoker/newgamedlg.h b/kpoker/newgamedlg.h
index 1dc73057..d62f9612 100644
--- a/kpoker/newgamedlg.h
+++ b/kpoker/newgamedlg.h
@@ -24,10 +24,10 @@
class KIntNumInput;
-class QLineEdit;
-class QCheckBox;
-class QLabel;
-class QComboBox;
+class TQLineEdit;
+class TQCheckBox;
+class TQLabel;
+class TQComboBox;
/**
diff --git a/kpoker/optionsdlg.h b/kpoker/optionsdlg.h
index fdc556a8..d559de15 100644
--- a/kpoker/optionsdlg.h
+++ b/kpoker/optionsdlg.h
@@ -21,10 +21,10 @@
#include <kdialogbase.h>
-class QLineEdit;
-class QCheckBox;
-class QLabel;
-class QComboBox;
+class TQLineEdit;
+class TQCheckBox;
+class TQLabel;
+class TQComboBox;
class KIntNumInput;
diff --git a/kpoker/playerbox.cpp b/kpoker/playerbox.cpp
index 4927fd7c..66ffd5a7 100644
--- a/kpoker/playerbox.cpp
+++ b/kpoker/playerbox.cpp
@@ -73,7 +73,7 @@ PlayerBox::PlayerBox(bool playerOne, TQWidget* parent, const char* name)
// Add the cash and bet labels.
{
- TQVBoxLayout* vl = new QVBoxLayout;
+ TQVBoxLayout* vl = new TQVBoxLayout;
l->addLayout(vl);
vl->addStretch();
diff --git a/kpoker/playerbox.h b/kpoker/playerbox.h
index 86ab8d2f..5c401993 100644
--- a/kpoker/playerbox.h
+++ b/kpoker/playerbox.h
@@ -22,7 +22,7 @@
#include <tqgroupbox.h>
-class QLabel;
+class TQLabel;
class PokerPlayer;
diff --git a/kpoker/top.h b/kpoker/top.h
index e09054fe..ec0d9681 100644
--- a/kpoker/top.h
+++ b/kpoker/top.h
@@ -22,7 +22,7 @@
#include <kmainwindow.h>
-class QLabel;
+class TQLabel;
class KToggleAction;
class kpok;