summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/dialogs/kgameconnectdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/kgame/dialogs/kgameconnectdialog.h')
-rw-r--r--libkdegames/kgame/dialogs/kgameconnectdialog.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/libkdegames/kgame/dialogs/kgameconnectdialog.h b/libkdegames/kgame/dialogs/kgameconnectdialog.h
index fdb0be4f..ad4ff7d1 100644
--- a/libkdegames/kgame/dialogs/kgameconnectdialog.h
+++ b/libkdegames/kgame/dialogs/kgameconnectdialog.h
@@ -26,11 +26,12 @@
class KGameConnectDialogPrivate;
class KGameConnectWidgetPrivate;
-class KGameConnectWidget : public QWidget
+class KGameConnectWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KGameConnectWidget(TQWidget* parent);
+ KGameConnectWidget(TQWidget* tqparent);
virtual ~KGameConnectWidget();
/**
@@ -39,7 +40,7 @@ public:
void setHost(const TQString& host);
/**
- * @return The host to connect to or TQString::null if the user wants to
+ * @return The host to connect to or TQString() if the user wants to
* be the MASTER
**/
TQString host() const;
@@ -108,16 +109,17 @@ private:
* @short Dialog to ask for host and port
*
* This Dialog is used to create a game. You call initConnection(port,
- * TQString::null, parent, true) to create a network game (as a server)
- * or initConnection(port, host, parent) to join a network game.
+ * TQString(), tqparent, true) to create a network game (as a server)
+ * or initConnection(port, host, tqparent) to join a network game.
*
* @author Andreas Beckermann <b_mann@gmx.de>
**/
class KGameConnectDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- KGameConnectDialog(TQWidget* parent = 0,int buttonmask=Ok|Cancel);
+ KGameConnectDialog(TQWidget* tqparent = 0,int buttontqmask=Ok|Cancel);
virtual ~KGameConnectDialog();
/**
@@ -125,12 +127,12 @@ public:
* server game, depending on user's choice.
* @param port The port the user wants to connect to.
* @param host The host the user wants to connect to. Will be
- * TQString::null if server game is chosen
- * @param parent The parent of the dialog
+ * TQString() if server game is chosen
+ * @param tqparent The tqparent of the dialog
* @param server True to create a network game per default, false to
* join a game by default
**/
- static int initConnection(unsigned short int& port, TQString& host, TQWidget* parent, bool server = false);
+ static int initConnection(unsigned short int& port, TQString& host, TQWidget* tqparent, bool server = false);
/**
* @param host The host to connect to by default
@@ -138,7 +140,7 @@ public:
void setHost(const TQString& host);
/**
- * @return The host to connect to or TQString::null if the user wants to
+ * @return The host to connect to or TQString() if the user wants to
* be the MASTER
**/
TQString host() const;