summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/mp_option.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /libksirtet/lib/mp_option.h
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libksirtet/lib/mp_option.h')
-rw-r--r--libksirtet/lib/mp_option.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libksirtet/lib/mp_option.h b/libksirtet/lib/mp_option.h
index 2db2eacf..3d7468b5 100644
--- a/libksirtet/lib/mp_option.h
+++ b/libksirtet/lib/mp_option.h
@@ -28,17 +28,18 @@
* changed. In addition you'll need to implement the method @ref #saveData
* to save the configuration in the config file ; so that it will be available
* for the initialisation of @ref LocalBoard.
- * It seems a good idea that the widget have the same layout
+ * It seems a good idea that the widget have the same tqlayout
* on both (server and client) sides but with the inner widgets all disabled
* on the client side.
*/
-class MPOptionWidget : public QWidget
+class MPOptionWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- MPOptionWidget(bool Server, TQWidget *parent = 0, const char *name = 0)
- : TQWidget(parent, name), server(Server) {}
+ MPOptionWidget(bool Server, TQWidget *tqparent = 0, const char *name = 0)
+ : TQWidget(tqparent, name), server(Server) {}
virtual ~MPOptionWidget() {}
bool isServer() const { return server; }