summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/dialogs/kgamedialogconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/kgame/dialogs/kgamedialogconfig.h')
-rw-r--r--libkdegames/kgame/dialogs/kgamedialogconfig.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/libkdegames/kgame/dialogs/kgamedialogconfig.h b/libkdegames/kgame/dialogs/kgamedialogconfig.h
index b7d30b23..e1b592af 100644
--- a/libkdegames/kgame/dialogs/kgamedialogconfig.h
+++ b/libkdegames/kgame/dialogs/kgamedialogconfig.h
@@ -28,7 +28,7 @@
#ifndef __KGAMEDIALOGCONFIG_H__
#define __KGAMEDIALOGCONFIG_H__
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kdemacros.h>
class QGridLayout;
@@ -52,7 +52,7 @@ class KDE_EXPORT KGameDialogConfig : public QWidget
{
Q_OBJECT
public:
- KGameDialogConfig(QWidget* parent = 0);
+ KGameDialogConfig(TQWidget* parent = 0);
virtual ~KGameDialogConfig();
/**
@@ -137,7 +137,7 @@ private:
*
* It currently contains a line edit for the name of the player only. You can
* add widgets by using the KGameDialogGeneralConfig as parent parameter as it
- * uses QLayout::autoAdd == true.
+ * uses TQLayout::autoAdd == true.
* @author Andreas Beckermann <b_mann@gmx.de>
**/
class KGameDialogGeneralConfigPrivate;
@@ -151,7 +151,7 @@ public:
*
* If you just want to add more widgets you can just create your widgets
* with the KGameDialogGeneralConfig as parent as it uses
- * QLayout::setAutoAdd(true).
+ * TQLayout::setAutoAdd(true).
*
* @param parent Parent widget for this dialog.
* @param initializeGUI If you really don't want to use the
@@ -160,7 +160,7 @@ public:
* will exist anymore.
*
**/
- KGameDialogGeneralConfig(QWidget* parent = 0, bool initializeGUI = true);
+ KGameDialogGeneralConfig(TQWidget* parent = 0, bool initializeGUI = true);
virtual ~KGameDialogGeneralConfig();
/**
@@ -199,9 +199,9 @@ protected slots:
void slotPropertyChanged(KGamePropertyBase*, KPlayer*);
protected:
- void setPlayerName(const QString& name);
+ void setPlayerName(const TQString& name);
- QString playerName() const;
+ TQString playerName() const;
private:
KGameDialogGeneralConfigPrivate* d;
@@ -212,7 +212,7 @@ class KDE_EXPORT KGameDialogNetworkConfig : public KGameDialogConfig
{
Q_OBJECT
public:
- KGameDialogNetworkConfig(QWidget* parent = 0);
+ KGameDialogNetworkConfig(TQWidget* parent = 0);
virtual ~KGameDialogNetworkConfig();
@@ -238,7 +238,7 @@ public:
* @param port The default port to connect to / listen on
* @param host The default host to connect to
**/
- void setDefaultNetworkInfo(const QString& host, unsigned short int port,bool server=true);
+ void setDefaultNetworkInfo(const TQString& host, unsigned short int port,bool server=true);
/**
* Set service type that will be published or browsed for and game name that will be displayed in
@@ -248,7 +248,7 @@ public:
* @param type Service type (something like _kwin4._tcp). It should be unique for application.
* @since 3.4
**/
- void setDiscoveryInfo(const QString& type, const QString& name=QString::null);
+ void setDiscoveryInfo(const TQString& type, const TQString& name=TQString::null);
signals:
/**
@@ -278,7 +278,7 @@ class KGameDialogMsgServerConfig : public KGameDialogConfig
{
Q_OBJECT
public:
- KGameDialogMsgServerConfig(QWidget* parent = 0);
+ KGameDialogMsgServerConfig(TQWidget* parent = 0);
virtual ~KGameDialogMsgServerConfig();
virtual void submitToKGame(KGame*, KPlayer*) {}
@@ -311,7 +311,7 @@ class KGameDialogChatConfig : public KGameDialogConfig
{
Q_OBJECT
public:
- KGameDialogChatConfig(int chatMsgId, QWidget* parent = 0);
+ KGameDialogChatConfig(int chatMsgId, TQWidget* parent = 0);
virtual ~KGameDialogChatConfig();
virtual void setKGame(KGame* g);
@@ -332,7 +332,7 @@ class KGameDialogConnectionConfig : public KGameDialogConfig
{
Q_OBJECT
public:
- KGameDialogConnectionConfig(QWidget* parent = 0);
+ KGameDialogConnectionConfig(TQWidget* parent = 0);
virtual ~KGameDialogConnectionConfig();
virtual void setKGame(KGame* g);
@@ -344,12 +344,12 @@ public:
protected:
/**
* @param p A player
- * @return The QListBoxItem that belongs to the player @p p
+ * @return The TQListBoxItem that belongs to the player @p p
**/
- QListBoxItem* item(KPlayer* p) const;
+ TQListBoxItem* item(KPlayer* p) const;
protected slots:
- void slotKickPlayerOut(QListBoxItem* item);
+ void slotKickPlayerOut(TQListBoxItem* item);
void slotPropertyChanged(KGamePropertyBase* prop, KPlayer* p);
void slotPlayerLeftGame(KPlayer* p);
void slotPlayerJoinedGame(KPlayer* p);