summaryrefslogtreecommitdiffstats
path: root/libksirtet
diff options
context:
space:
mode:
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 f78b8168..76cbf729 100644
--- a/libksirtet/base/board.h
+++ b/libksirtet/base/board.h
@@ -15,7 +15,7 @@ class BlockInfo;
class KDE_EXPORT FixedCanvasView : public TQCanvasView
{
Q_OBJECT
- TQ_OBJECT
+
public:
FixedCanvasView(TQWidget *parent = 0, const char *name = 0);
@@ -29,7 +29,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 };
private:
diff --git a/libksirtet/base/kzoommainwindow.h b/libksirtet/base/kzoommainwindow.h
index 3b70eae4..988b4fd0 100644
--- a/libksirtet/base/kzoommainwindow.h
+++ b/libksirtet/base/kzoommainwindow.h
@@ -44,7 +44,7 @@ class KToggleAction;
class KDE_EXPORT KZoomMainWindow : public KMainWindow
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Constructor. */
KZoomMainWindow(uint minZoom, uint maxZoom, uint zoomStep,
diff --git a/libksirtet/base/main.h b/libksirtet/base/main.h
index 153f38ce..d92d49e0 100644
--- a/libksirtet/base/main.h
+++ b/libksirtet/base/main.h
@@ -13,7 +13,7 @@ class KConfigDialog;
class KDE_EXPORT BaseMainWindow : public KZoomMainWindow
{
Q_OBJECT
- TQ_OBJECT
+
public:
BaseMainWindow();
virtual ~BaseMainWindow();
diff --git a/libksirtet/base/settings.h b/libksirtet/base/settings.h
index 75f89404..27769e69 100644
--- a/libksirtet/base/settings.h
+++ b/libksirtet/base/settings.h
@@ -11,7 +11,7 @@ class TQGridLayout;
class BaseAppearanceConfig : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
BaseAppearanceConfig();
@@ -24,7 +24,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 2211cd3d..6cec5093 100644
--- a/libksirtet/common/ai.h
+++ b/libksirtet/common/ai.h
@@ -41,7 +41,7 @@ class LIBKSIRTET_EXPORT AIPiece
class LIBKSIRTET_EXPORT AI : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
struct Data {
const char *name, *label, *whatsthis;
@@ -107,7 +107,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 77c9224e..be3cf80c 100644
--- a/libksirtet/common/board.h
+++ b/libksirtet/common/board.h
@@ -11,7 +11,7 @@ class AI;
class LIBKSIRTET_EXPORT Board : public BaseBoard
{
Q_OBJECT
- TQ_OBJECT
+
public:
Board(bool graphic, GiftPool *, TQWidget *parent);
virtual ~Board();
diff --git a/libksirtet/common/field.h b/libksirtet/common/field.h
index cfba3d41..0b754d97 100644
--- a/libksirtet/common/field.h
+++ b/libksirtet/common/field.h
@@ -18,7 +18,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 daffc3e9..09e014b2 100644
--- a/libksirtet/common/inter.h
+++ b/libksirtet/common/inter.h
@@ -15,7 +15,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 a1534a95..ccf15403 100644
--- a/libksirtet/common/main.h
+++ b/libksirtet/common/main.h
@@ -8,7 +8,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 181e0b2f..7ec97345 100644
--- a/libksirtet/common/misc_ui.h
+++ b/libksirtet/common/misc_ui.h
@@ -14,7 +14,7 @@
class LIBKSIRTET_EXPORT ShowNextPiece : public FixedCanvasView
{
Q_OBJECT
- TQ_OBJECT
+
public:
ShowNextPiece(BaseBoard *, TQWidget *parent);
};
@@ -23,7 +23,7 @@ class LIBKSIRTET_EXPORT ShowNextPiece : public FixedCanvasView
class LIBKSIRTET_EXPORT Shadow : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
Shadow(BaseBoard *, TQWidget *parent);
@@ -45,7 +45,7 @@ class Led;
class LIBKSIRTET_EXPORT GiftPool : public TQHBox
{
Q_OBJECT
- TQ_OBJECT
+
public:
GiftPool(TQWidget *parent);
@@ -71,7 +71,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 a33c2b12..eaa7b2fe 100644
--- a/libksirtet/common/settings.h
+++ b/libksirtet/common/settings.h
@@ -10,7 +10,7 @@
class LIBKSIRTET_EXPORT AppearanceConfig : public BaseAppearanceConfig
{
Q_OBJECT
- TQ_OBJECT
+
public:
AppearanceConfig();
};
@@ -19,7 +19,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 038656eb..f2e752c3 100644
--- a/libksirtet/lib/internal.h
+++ b/libksirtet/lib/internal.h
@@ -59,7 +59,7 @@ class Server
class Network : public TQObject, public Local
{
Q_OBJECT
- TQ_OBJECT
+
public:
Network(MPInterface *_interface, TQValueList<MPInterface::Data> &_boards,
@@ -94,7 +94,7 @@ class Network : public TQObject, public Local
class LocalServer : public TQObject, public Local, public Server
{
Q_OBJECT
- TQ_OBJECT
+
public:
LocalServer(MPInterface *_interface,
@@ -114,7 +114,7 @@ class LocalServer : public TQObject, public Local, public Server
class NetworkServer : public Network, public Server
{
Q_OBJECT
- TQ_OBJECT
+
public:
NetworkServer(MPInterface *_interface,
@@ -140,7 +140,7 @@ class NetworkServer : public Network, public Server
class Client : public Network
{
Q_OBJECT
- TQ_OBJECT
+
public:
Client(MPInterface *_interface, TQValueList<MPInterface::Data> &_boards,
diff --git a/libksirtet/lib/keys.h b/libksirtet/lib/keys.h
index 52099228..ff2a1c5e 100644
--- a/libksirtet/lib/keys.h
+++ b/libksirtet/lib/keys.h
@@ -10,7 +10,7 @@
class KeyData : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
KeyData(uint maxNb, uint nbActions, const ActionData *,
TQObject *parent);
diff --git a/libksirtet/lib/meeting.h b/libksirtet/lib/meeting.h
index a1cdc8e0..a99dd72c 100644
--- a/libksirtet/lib/meeting.h
+++ b/libksirtet/lib/meeting.h
@@ -13,7 +13,7 @@ class MPOptionWidget;
class NetMeeting : public KDialogBase
{
Q_OBJECT
- TQ_OBJECT
+
public:
// "gameName" and "gameId" are TQByteArray because they are
@@ -78,7 +78,7 @@ class NetMeeting : public KDialogBase
class ServerNetMeeting : public NetMeeting
{
Q_OBJECT
- TQ_OBJECT
+
public:
ServerNetMeeting(const cId &id,
@@ -110,7 +110,7 @@ class ServerNetMeeting : public NetMeeting
class ClientNetMeeting : public NetMeeting
{
Q_OBJECT
- TQ_OBJECT
+
public:
ClientNetMeeting(const cId &id,
diff --git a/libksirtet/lib/miscui.h b/libksirtet/lib/miscui.h
index d8d67002..f781fbea 100644
--- a/libksirtet/lib/miscui.h
+++ b/libksirtet/lib/miscui.h
@@ -9,7 +9,7 @@
class MeetingCheckBox : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
enum Type { Ready, NotReady, Excluded };
MeetingCheckBox(Type, bool owner, bool server, TQWidget *parent);
@@ -31,7 +31,7 @@ class MeetingCheckBox : public TQWidget
class PlayerComboBox : public TQComboBox
{
Q_OBJECT
- TQ_OBJECT
+
public:
enum Type { Human = 0, AI, None };
PlayerComboBox(Type, bool canBeNone, bool acceptAI, TQWidget *parent);
diff --git a/libksirtet/lib/mp_board.h b/libksirtet/lib/mp_board.h
index 3f7e7212..9368a3ab 100644
--- a/libksirtet/lib/mp_board.h
+++ b/libksirtet/lib/mp_board.h
@@ -10,7 +10,7 @@
class MPBoard : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
MPBoard(TQWidget *parent, const char *name=0)
diff --git a/libksirtet/lib/mp_interface.h b/libksirtet/lib/mp_interface.h
index 1beaa442..7f61d13d 100644
--- a/libksirtet/lib/mp_interface.h
+++ b/libksirtet/lib/mp_interface.h
@@ -76,7 +76,7 @@ typedef struct {
class MPInterface : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Constructor which takes a MPGameInfo struct as parameter.
diff --git a/libksirtet/lib/mp_option.h b/libksirtet/lib/mp_option.h
index f0e0f6cc..dc4bbd15 100644
--- a/libksirtet/lib/mp_option.h
+++ b/libksirtet/lib/mp_option.h
@@ -35,7 +35,7 @@
class MPOptionWidget : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
MPOptionWidget(bool Server, TQWidget *parent = 0, const char *name = 0)
diff --git a/libksirtet/lib/mp_simple_board.h b/libksirtet/lib/mp_simple_board.h
index f01291f0..f261b30d 100644
--- a/libksirtet/lib/mp_simple_board.h
+++ b/libksirtet/lib/mp_simple_board.h
@@ -9,7 +9,7 @@
class KDE_EXPORT MPSimpleBoard : public MPBoard
{
Q_OBJECT
- TQ_OBJECT
+
public:
MPSimpleBoard(TQWidget *parent = 0, const char *name = 0)
diff --git a/libksirtet/lib/mp_simple_interface.h b/libksirtet/lib/mp_simple_interface.h
index fbe4ba1d..94f568d6 100644
--- a/libksirtet/lib/mp_simple_interface.h
+++ b/libksirtet/lib/mp_simple_interface.h
@@ -7,7 +7,7 @@
class MPSimpleInterface : public MPInterface
{
Q_OBJECT
- TQ_OBJECT
+
public:
MPSimpleInterface(const MPGameInfo &gi,
diff --git a/libksirtet/lib/pline.h b/libksirtet/lib/pline.h
index 5bba6c4b..4fcbf028 100644
--- a/libksirtet/lib/pline.h
+++ b/libksirtet/lib/pline.h
@@ -16,7 +16,7 @@ class TQPushButton;
class MeetingLine : public TQFrame
{
Q_OBJECT
- TQ_OBJECT
+
public:
MeetingLine(bool isOwner, bool readerIsServer, bool serverLine,
@@ -52,7 +52,7 @@ class MeetingLine : public TQFrame
class PlayerLine : public TQFrame
{
Q_OBJECT
- TQ_OBJECT
+
public:
PlayerLine(PlayerComboBox::Type type, const TQString &txt,
@@ -83,7 +83,7 @@ class PlayerLine : public TQFrame
class GWidgetList : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
GWidgetList(uint interval, TQWidget *parent = 0, const char * name = 0);
diff --git a/libksirtet/lib/wizard.h b/libksirtet/lib/wizard.h
index 3de9f1b7..5aabdbb8 100644
--- a/libksirtet/lib/wizard.h
+++ b/libksirtet/lib/wizard.h
@@ -19,7 +19,7 @@ class ConnectionData;
class MPWizard : public KWizard
{
Q_OBJECT
- TQ_OBJECT
+
public:
MPWizard(const MPGameInfo &gi, ConnectionData &cd,