summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/meeting.h
diff options
context:
space:
mode:
Diffstat (limited to 'libksirtet/lib/meeting.h')
-rw-r--r--libksirtet/lib/meeting.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/libksirtet/lib/meeting.h b/libksirtet/lib/meeting.h
index cb534404..1e9ba267 100644
--- a/libksirtet/lib/meeting.h
+++ b/libksirtet/lib/meeting.h
@@ -1,7 +1,7 @@
#ifndef MEETING_H
#define MEETING_H
-#include <qstatusbar.h>
+#include <tqstatusbar.h>
#include <kdialogbase.h>
#include "smanager.h"
#include "pline.h"
@@ -15,22 +15,22 @@ class NetMeeting : public KDialogBase
Q_OBJECT
public:
- // "gameName" and "gameId" are QByteArray because they are
+ // "gameName" and "gameId" are TQByteArray because they are
// used for ID comparing between games.
NetMeeting(const cId &id, Socket *, MPOptionWidget *option, bool server,
- QWidget *parent = 0, const char * name = 0);
+ TQWidget *parent = 0, const char * name = 0);
virtual ~NetMeeting();
protected slots:
void readNotifier(int socket);
- virtual void textChanged(const QString &) = 0;
+ virtual void textChanged(const TQString &) = 0;
virtual void typeChanged(MeetingCheckBox::Type) = 0;
virtual void reject();
virtual void accept();
protected:
enum PlayerState { NewPlayer, IdChecked, Accepted };
- QValueList<PlayerState> players;
+ TQValueList<PlayerState> players;
bool server;
MeetingLine *spl;
WidgetList<MeetingLine> *wl;
@@ -44,7 +44,7 @@ class NetMeeting : public KDialogBase
void setType(const TypeInfo &ti);
void setText(const TextInfo &ti);
- void cleanReject(const QString &str = QString::null);
+ void cleanReject(const TQString &str = TQString::null);
bool checkState(uint i, PlayerState s);
bool checkAndSetState(uint i, PlayerState os, PlayerState ns);
bool ready() const;
@@ -58,17 +58,17 @@ class NetMeeting : public KDialogBase
virtual void modOptFlag(uint i) { dataError(i); }
virtual void playFlag(uint i) { dataError(i); }
- virtual void netError(uint i, const QString &str) = 0;
+ virtual void netError(uint i, const TQString &str) = 0;
virtual void writeToAll(uint i=0) = 0;
void readError(uint i);
void writeError(uint i);
void dataError(uint i);
void brokeError(uint i);
- void message(const QString &str);
+ void message(const TQString &str);
private:
- QLabel *labWait;
- QStatusBar *status;
+ TQLabel *labWait;
+ TQStatusBar *status;
void waiting();
void readData(uint i);
@@ -81,18 +81,18 @@ class ServerNetMeeting : public NetMeeting
public:
ServerNetMeeting(const cId &id,
const RemoteHostData &rhd, MPOptionWidget *options,
- QPtrList<RemoteHostData> &arhd,
- QWidget *parent = 0, const char * name = 0);
+ TQPtrList<RemoteHostData> &arhd,
+ TQWidget *parent = 0, const char * name = 0);
private slots:
void newHost(int);
- void textChanged(const QString &text);
+ void textChanged(const TQString &text);
void typeChanged(MeetingCheckBox::Type);
void accept();
void optionsChanged();
private:
- QPtrList<RemoteHostData> &rhd;
+ TQPtrList<RemoteHostData> &rhd;
void idFlag(uint i);
void newFlag(uint i);
@@ -100,9 +100,9 @@ class ServerNetMeeting : public NetMeeting
void modTypeFlag(uint i);
void modTextFlag(uint i);
- void netError(uint i, const QString &str);
+ void netError(uint i, const TQString &str);
void writeToAll(uint i = 0);
- void disconnectHost(uint i, const QString &str);
+ void disconnectHost(uint i, const TQString &str);
};
class ClientNetMeeting : public NetMeeting
@@ -112,14 +112,14 @@ class ClientNetMeeting : public NetMeeting
public:
ClientNetMeeting(const cId &id,
const RemoteHostData &rhd, MPOptionWidget *options,
- QWidget *parent = 0, const char * name = 0);
+ TQWidget *parent = 0, const char * name = 0);
private slots:
- void textChanged(const QString &text);
+ void textChanged(const TQString &text);
void typeChanged(MeetingCheckBox::Type);
private:
- QValueList<BoardData> bds;
+ TQValueList<BoardData> bds;
void idFlag(uint);
void newFlag(uint);
@@ -131,7 +131,7 @@ class ClientNetMeeting : public NetMeeting
void playFlag(uint);
void writeToAll(uint i=0);
- void netError(uint, const QString &str);
+ void netError(uint, const TQString &str);
};
#endif // MEETING_H