summaryrefslogtreecommitdiffstats
path: root/kwin4/kwin4/kwin4doc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kwin4/kwin4/kwin4doc.h')
-rw-r--r--kwin4/kwin4/kwin4doc.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kwin4/kwin4/kwin4doc.h b/kwin4/kwin4/kwin4doc.h
index 9ab2b55a..7679dc05 100644
--- a/kwin4/kwin4/kwin4doc.h
+++ b/kwin4/kwin4/kwin4doc.h
@@ -50,7 +50,7 @@ class Kwin4Doc : public KGame
Q_OBJECT
public:
- Kwin4Doc(QWidget *parent, const char *name=0);
+ Kwin4Doc(TQWidget *parent, const char *name=0);
~Kwin4Doc();
/** adds a view to the document which represents the document contents. Usually this is your main view. */
@@ -58,7 +58,7 @@ public:
/** initializes the players */
void initPlayers();
/** saves the document under filename and format.*/
- bool loadgame(QDataStream &stream, bool network, bool reset);
+ bool loadgame(TQDataStream &stream, bool network, bool reset);
int QueryLastHint();
int QueryHeight(int x);
@@ -67,8 +67,8 @@ public:
int CheckGameOver(int x, FARBE col);
FARBE QueryPlayerColour(int player);
int QueryStat(FARBE i, TABLE mode);
- QString QueryName(FARBE i);
- void SetName(FARBE i, const QString &n);
+ TQString QueryName(FARBE i);
+ void SetName(FARBE i, const TQString &n);
/**
* Set and query the IO mode of player Gelb/Rot
@@ -112,21 +112,21 @@ public:
void SetCurrentMove(int ); // 0..42
int QueryMaxMove(); // 0..42
int QueryHistoryCnt(); // 0..42
- QString QueryProcessName();
+ TQString QueryProcessName();
KPlayer *createPlayer(int rtti, int io, bool isvirtual);
KPlayer * nextPlayer(KPlayer *last, bool exclusive=true);
- void newPlayersJoin(KGamePlayerList *,KGamePlayerList *,QValueList<int> &);
+ void newPlayersJoin(KGamePlayerList *,KGamePlayerList *,TQValueList<int> &);
protected:
bool Move(int x,int id);
/** Check whether the field has a game over situation */
int checkGameOver(KPlayer *);
/** Send to the computer player */
- void prepareGameMessage(QDataStream &stream, Q_INT32 pl);
+ void prepareGameMessage(TQDataStream &stream, Q_INT32 pl);
/** Main function to do player input */
- bool playerInput(QDataStream &msg,KPlayer *player);
+ bool playerInput(TQDataStream &msg,KPlayer *player);
/** Set the IO devices new */
void recalcIO();
/** Set the turn of the current player to true */
@@ -138,12 +138,12 @@ public slots:
void slotPropertyChanged(KGamePropertyBase *,KGame *);
void slotPlayerPropertyChanged(KGamePropertyBase *,KPlayer *);
- void moveDone(QCanvasItem *,int);
+ void moveDone(TQCanvasItem *,int);
void slotMessageUpdate(int,Q_UINT32,Q_UINT32);
- void slotPrepareTurn(QDataStream &stream,bool b,KGameIO *input,bool *eatevent);
+ void slotPrepareTurn(TQDataStream &stream,bool b,KGameIO *input,bool *eatevent);
void slotClientConnected(Q_UINT32,KGame *);
- void slotProcessQuery(QDataStream &,KGameProcessIO *);
- void slotProcessHint(QDataStream &,KGameProcessIO *);
+ void slotProcessQuery(TQDataStream &,KGameProcessIO *);
+ void slotProcessHint(TQDataStream &,KGameProcessIO *);
void slotGameOver(int status, KPlayer * p, KGame * me);
void slotRepeatMove();
void loadSettings();