summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/dialogs/kgameerrordialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/kgame/dialogs/kgameerrordialog.h')
-rw-r--r--libkdegames/kgame/dialogs/kgameerrordialog.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/libkdegames/kgame/dialogs/kgameerrordialog.h b/libkdegames/kgame/dialogs/kgameerrordialog.h
index 3883399b..b8d34c1a 100644
--- a/libkdegames/kgame/dialogs/kgameerrordialog.h
+++ b/libkdegames/kgame/dialogs/kgameerrordialog.h
@@ -36,11 +36,12 @@ class KGameErrorDialogPrivate;
* @short Error handling for KGame
* @author Andreas Beckermann <b_mann@gmx.de>
**/
-class KGameErrorDialog : public QObject
+class KGameErrorDialog : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- KGameErrorDialog(TQWidget* parent);
+ KGameErrorDialog(TQWidget* tqparent);
~KGameErrorDialog();
/**
@@ -55,9 +56,9 @@ public:
* KGame couldn't establish a connection. Use this if
* KGame::initConnection returns false
* @param s A string that describes the error further (like port is
- * already in use). Will be ignored if TQString::null
+ * already in use). Will be ignored if TQString()
**/
- void connectionError(TQString s = TQString::null);
+ void connectionError(TQString s = TQString());
public slots:
void slotError(int error, TQString text);
@@ -74,7 +75,7 @@ public slots:
*
* See @ref KGameNetwork::signalClientDisconnected
**/
- void slotClientConnectionLost(Q_UINT32 clientID,bool broken);
+ void slotClientConnectionLost(TQ_UINT32 clientID,bool broken);
/**
* Unsets a @ref KGame which has been set using @ref setKGame before.
@@ -87,7 +88,7 @@ public slots:
void slotUnsetKGame();
protected:
- void error(const TQString& errorText, TQWidget* parent = 0);
+ void error(const TQString& errorText, TQWidget* tqparent = 0);
private:
KGameErrorDialogPrivate* d;
@@ -103,8 +104,9 @@ private:
class KGameErrorMessageDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- KGameErrorMessageDialog(TQWidget* parent);
+ KGameErrorMessageDialog(TQWidget* tqparent);
~KGameErrorMessageDialog();
private: