summaryrefslogtreecommitdiffstats
path: root/libksirtet
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-20 15:06:19 +0900
committerMichele Calgaro <[email protected]>2023-07-21 10:15:49 +0900
commit1d0e7307b157b3d63d402c17b0ffb07bf3a7eb57 (patch)
treebbbb22f065ffc1a984d8ae889a7de8a5bb27e7a4 /libksirtet
parent15f92066f51b7a50f516a10f63344497fef633cc (diff)
downloadtdegames-1d0e7307b157b3d63d402c17b0ffb07bf3a7eb57.tar.gz
tdegames-1d0e7307b157b3d63d402c17b0ffb07bf3a7eb57.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit bc6061ff9e83d8032611908039c3b399aedabf88)
Diffstat (limited to 'libksirtet')
-rw-r--r--libksirtet/base/board.h4
-rw-r--r--libksirtet/base/kzoommainwindow.h2
-rw-r--r--libksirtet/base/main.h2
-rw-r--r--libksirtet/base/settings.h4
-rw-r--r--libksirtet/common/ai.h4
-rw-r--r--libksirtet/common/board.h2
-rw-r--r--libksirtet/common/field.h2
-rw-r--r--libksirtet/common/inter.h2
-rw-r--r--libksirtet/common/main.h2
-rw-r--r--libksirtet/common/misc_ui.h8
-rw-r--r--libksirtet/common/settings.h4
-rw-r--r--libksirtet/lib/internal.h8
-rw-r--r--libksirtet/lib/keys.h2
-rw-r--r--libksirtet/lib/meeting.h6
-rw-r--r--libksirtet/lib/miscui.h4
-rw-r--r--libksirtet/lib/mp_board.h2
-rw-r--r--libksirtet/lib/mp_interface.h2
-rw-r--r--libksirtet/lib/mp_option.h2
-rw-r--r--libksirtet/lib/mp_simple_board.h2
-rw-r--r--libksirtet/lib/mp_simple_interface.h2
-rw-r--r--libksirtet/lib/pline.h6
-rw-r--r--libksirtet/lib/wizard.h2
22 files changed, 37 insertions, 37 deletions
diff --git a/libksirtet/base/board.h b/libksirtet/base/board.h
index 76cbf729..0f825b50 100644
--- a/libksirtet/base/board.h
+++ b/libksirtet/base/board.h
@@ -14,7 +14,7 @@ class BlockInfo;
//-----------------------------------------------------------------------------
class KDE_EXPORT FixedCanvasView : public TQCanvasView
{
- Q_OBJECT
+ TQ_OBJECT
public:
FixedCanvasView(TQWidget *parent = 0, const char *name = 0);
@@ -28,7 +28,7 @@ public slots:
//-----------------------------------------------------------------------------
class KDE_EXPORT BaseBoard : public FixedCanvasView, public GenericTetris
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum Direction { Left = 1, Right = 2, Up = 4, Down = 8, Nb_Direction = 4 };
diff --git a/libksirtet/base/kzoommainwindow.h b/libksirtet/base/kzoommainwindow.h
index a15344c8..ad9e2ccb 100644
--- a/libksirtet/base/kzoommainwindow.h
+++ b/libksirtet/base/kzoommainwindow.h
@@ -43,7 +43,7 @@ class TDEToggleAction;
*/
class KDE_EXPORT KZoomMainWindow : public TDEMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
/** Constructor. */
diff --git a/libksirtet/base/main.h b/libksirtet/base/main.h
index 2c48439b..3409ede5 100644
--- a/libksirtet/base/main.h
+++ b/libksirtet/base/main.h
@@ -12,7 +12,7 @@ class TDEConfigDialog;
class KDE_EXPORT BaseMainWindow : public KZoomMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
BaseMainWindow();
diff --git a/libksirtet/base/settings.h b/libksirtet/base/settings.h
index b0859e3f..c141a829 100644
--- a/libksirtet/base/settings.h
+++ b/libksirtet/base/settings.h
@@ -10,7 +10,7 @@ class TQGridLayout;
//-----------------------------------------------------------------------------
class BaseAppearanceConfig : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
BaseAppearanceConfig();
@@ -23,7 +23,7 @@ protected:
//-----------------------------------------------------------------------------
class ColorConfig : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ColorConfig();
diff --git a/libksirtet/common/ai.h b/libksirtet/common/ai.h
index 6cec5093..fb8575a1 100644
--- a/libksirtet/common/ai.h
+++ b/libksirtet/common/ai.h
@@ -40,7 +40,7 @@ class LIBKSIRTET_EXPORT AIPiece
//-----------------------------------------------------------------------------
class LIBKSIRTET_EXPORT AI : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
struct Data {
@@ -106,7 +106,7 @@ class LIBKSIRTET_EXPORT AI : public TQObject
//-----------------------------------------------------------------------------
class LIBKSIRTET_EXPORT AIConfig : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
AIConfig(const TQValueVector<AI::Element> &elements);
diff --git a/libksirtet/common/board.h b/libksirtet/common/board.h
index be3cf80c..ff50841f 100644
--- a/libksirtet/common/board.h
+++ b/libksirtet/common/board.h
@@ -10,7 +10,7 @@ class AI;
class LIBKSIRTET_EXPORT Board : public BaseBoard
{
- Q_OBJECT
+ TQ_OBJECT
public:
Board(bool graphic, GiftPool *, TQWidget *parent);
diff --git a/libksirtet/common/field.h b/libksirtet/common/field.h
index 0b754d97..6708f953 100644
--- a/libksirtet/common/field.h
+++ b/libksirtet/common/field.h
@@ -17,7 +17,7 @@ class KGameLCDClock;
class LIBKSIRTET_EXPORT Field : public MPSimpleBoard, public BaseField
{
- Q_OBJECT
+ TQ_OBJECT
public:
Field(TQWidget *parent);
diff --git a/libksirtet/common/inter.h b/libksirtet/common/inter.h
index fbf78c77..cbca7e8f 100644
--- a/libksirtet/common/inter.h
+++ b/libksirtet/common/inter.h
@@ -14,7 +14,7 @@ class Field;
class LIBKSIRTET_EXPORT Interface : public MPSimpleInterface, public BaseInterface
{
- Q_OBJECT
+ TQ_OBJECT
public:
Interface(const MPGameInfo &, TQWidget *parent);
diff --git a/libksirtet/common/main.h b/libksirtet/common/main.h
index daafca74..e22d8f59 100644
--- a/libksirtet/common/main.h
+++ b/libksirtet/common/main.h
@@ -7,7 +7,7 @@
class LIBKSIRTET_EXPORT MainWindow : public BaseMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
MainWindow() {}
diff --git a/libksirtet/common/misc_ui.h b/libksirtet/common/misc_ui.h
index 7ec97345..fb2fd02a 100644
--- a/libksirtet/common/misc_ui.h
+++ b/libksirtet/common/misc_ui.h
@@ -13,7 +13,7 @@
/*****************************************************************************/
class LIBKSIRTET_EXPORT ShowNextPiece : public FixedCanvasView
{
- Q_OBJECT
+ TQ_OBJECT
public:
ShowNextPiece(BaseBoard *, TQWidget *parent);
@@ -22,7 +22,7 @@ class LIBKSIRTET_EXPORT ShowNextPiece : public FixedCanvasView
/*****************************************************************************/
class LIBKSIRTET_EXPORT Shadow : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Shadow(BaseBoard *, TQWidget *parent);
@@ -44,7 +44,7 @@ class Led;
class LIBKSIRTET_EXPORT GiftPool : public TQHBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
GiftPool(TQWidget *parent);
@@ -70,7 +70,7 @@ class LIBKSIRTET_EXPORT GiftPool : public TQHBox
/*****************************************************************************/
class LIBKSIRTET_EXPORT PlayerProgress : public KGameProgress
{
- Q_OBJECT
+ TQ_OBJECT
public:
PlayerProgress(BaseBoard *board, TQWidget *parent = 0, const char *name = 0);
diff --git a/libksirtet/common/settings.h b/libksirtet/common/settings.h
index eaa7b2fe..156386ac 100644
--- a/libksirtet/common/settings.h
+++ b/libksirtet/common/settings.h
@@ -9,7 +9,7 @@
//-----------------------------------------------------------------------------
class LIBKSIRTET_EXPORT AppearanceConfig : public BaseAppearanceConfig
{
- Q_OBJECT
+ TQ_OBJECT
public:
AppearanceConfig();
@@ -18,7 +18,7 @@ public:
//-----------------------------------------------------------------------------
class LIBKSIRTET_EXPORT GameConfig : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GameConfig();
diff --git a/libksirtet/lib/internal.h b/libksirtet/lib/internal.h
index f2e752c3..30e4c7b3 100644
--- a/libksirtet/lib/internal.h
+++ b/libksirtet/lib/internal.h
@@ -58,7 +58,7 @@ class Server
//-----------------------------------------------------------------------------
class Network : public TQObject, public Local
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -93,7 +93,7 @@ class Network : public TQObject, public Local
//-----------------------------------------------------------------------------
class LocalServer : public TQObject, public Local, public Server
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -113,7 +113,7 @@ class LocalServer : public TQObject, public Local, public Server
//-----------------------------------------------------------------------------
class NetworkServer : public Network, public Server
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -139,7 +139,7 @@ class NetworkServer : public Network, public Server
//-----------------------------------------------------------------------------
class Client : public Network
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/libksirtet/lib/keys.h b/libksirtet/lib/keys.h
index 9b7ecd82..9ab735bd 100644
--- a/libksirtet/lib/keys.h
+++ b/libksirtet/lib/keys.h
@@ -9,7 +9,7 @@
class KeyData : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
KeyData(uint maxNb, uint nbActions, const ActionData *,
diff --git a/libksirtet/lib/meeting.h b/libksirtet/lib/meeting.h
index a99dd72c..779d06a4 100644
--- a/libksirtet/lib/meeting.h
+++ b/libksirtet/lib/meeting.h
@@ -12,7 +12,7 @@ class MPOptionWidget;
/** Internal class : net meeting. */
class NetMeeting : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -77,7 +77,7 @@ class NetMeeting : public KDialogBase
class ServerNetMeeting : public NetMeeting
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -109,7 +109,7 @@ class ServerNetMeeting : public NetMeeting
class ClientNetMeeting : public NetMeeting
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/libksirtet/lib/miscui.h b/libksirtet/lib/miscui.h
index f781fbea..36f6a75a 100644
--- a/libksirtet/lib/miscui.h
+++ b/libksirtet/lib/miscui.h
@@ -8,7 +8,7 @@
//-----------------------------------------------------------------------------
class MeetingCheckBox : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum Type { Ready, NotReady, Excluded };
@@ -30,7 +30,7 @@ class MeetingCheckBox : public TQWidget
//-----------------------------------------------------------------------------
class PlayerComboBox : public TQComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum Type { Human = 0, AI, None };
diff --git a/libksirtet/lib/mp_board.h b/libksirtet/lib/mp_board.h
index 9368a3ab..4d689b60 100644
--- a/libksirtet/lib/mp_board.h
+++ b/libksirtet/lib/mp_board.h
@@ -9,7 +9,7 @@
*/
class MPBoard : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/libksirtet/lib/mp_interface.h b/libksirtet/lib/mp_interface.h
index 3ae8a0bc..968d3408 100644
--- a/libksirtet/lib/mp_interface.h
+++ b/libksirtet/lib/mp_interface.h
@@ -75,7 +75,7 @@ typedef struct {
*/
class MPInterface : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/libksirtet/lib/mp_option.h b/libksirtet/lib/mp_option.h
index dc4bbd15..adf78125 100644
--- a/libksirtet/lib/mp_option.h
+++ b/libksirtet/lib/mp_option.h
@@ -34,7 +34,7 @@
*/
class MPOptionWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/libksirtet/lib/mp_simple_board.h b/libksirtet/lib/mp_simple_board.h
index f261b30d..1a0eb8b2 100644
--- a/libksirtet/lib/mp_simple_board.h
+++ b/libksirtet/lib/mp_simple_board.h
@@ -8,7 +8,7 @@
class KDE_EXPORT MPSimpleBoard : public MPBoard
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/libksirtet/lib/mp_simple_interface.h b/libksirtet/lib/mp_simple_interface.h
index 94f568d6..e2ab4430 100644
--- a/libksirtet/lib/mp_simple_interface.h
+++ b/libksirtet/lib/mp_simple_interface.h
@@ -6,7 +6,7 @@
class MPSimpleInterface : public MPInterface
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/libksirtet/lib/pline.h b/libksirtet/lib/pline.h
index 4fcbf028..0a214e72 100644
--- a/libksirtet/lib/pline.h
+++ b/libksirtet/lib/pline.h
@@ -15,7 +15,7 @@ class TQPushButton;
/** Internal class : display a "player line" in netmeeting. */
class MeetingLine : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -51,7 +51,7 @@ class MeetingLine : public TQFrame
class PlayerLine : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -82,7 +82,7 @@ class PlayerLine : public TQFrame
/** Internal class : scrolable list of widgets. */
class GWidgetList : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/libksirtet/lib/wizard.h b/libksirtet/lib/wizard.h
index 42a1b871..9a74ae21 100644
--- a/libksirtet/lib/wizard.h
+++ b/libksirtet/lib/wizard.h
@@ -18,7 +18,7 @@ class ConnectionData;
class MPWizard : public KWizard
{
- Q_OBJECT
+ TQ_OBJECT
public: