summaryrefslogtreecommitdiffstats
path: root/knights/dlg_promote.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-27 18:28:11 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-27 18:28:11 +0000
commit9ca7f795653bc31cf1d206da1e12c801a8380fa6 (patch)
treeee829debe9ad76ce8fc3b10cdc376754dba5ed03 /knights/dlg_promote.h
parent98cb2d5fa21e616cfea012f80bf1d989cfe264e3 (diff)
downloadknights-9ca7f795653bc31cf1d206da1e12c801a8380fa6.tar.gz
knights-9ca7f795653bc31cf1d206da1e12c801a8380fa6.zip
TQt4 port knights
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1238529 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knights/dlg_promote.h')
-rw-r--r--knights/dlg_promote.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/knights/dlg_promote.h b/knights/dlg_promote.h
index 0eb117e..a96d515 100644
--- a/knights/dlg_promote.h
+++ b/knights/dlg_promote.h
@@ -19,23 +19,24 @@
#define DLG_PROMOTE_H
#include <klocale.h>
-#include <qpixmap.h>
-#include <qstring.h>
-#include <qdialog.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
+#include <tqpixmap.h>
+#include <tqstring.h>
+#include <tqdialog.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
#include "resource.h"
/**
*@author Troy Corbin Jr.
*/
-class dlg_promote : public QDialog
+class dlg_promote : public TQDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- dlg_promote(QWidget *parent=0, const char *name=0, resource *Rsrc=0 );
+ dlg_promote(TQWidget *tqparent=0, const char *name=0, resource *Rsrc=0 );
~dlg_promote();
void Init( bool Army );
@@ -48,11 +49,11 @@ class dlg_promote : public QDialog
private:
resource *Resource;
- QLabel *Description;
- QPushButton *Queen;
- QPushButton *Bishop;
- QPushButton *Knight;
- QPushButton *Rook;
+ TQLabel *Description;
+ TQPushButton *Queen;
+ TQPushButton *Bishop;
+ TQPushButton *Knight;
+ TQPushButton *Rook;
};
#endif