summaryrefslogtreecommitdiffstats
path: root/atlantik/client/atlantik.h
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/client/atlantik.h')
-rw-r--r--atlantik/client/atlantik.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/atlantik/client/atlantik.h b/atlantik/client/atlantik.h
index 94f2ca7c..2a181437 100644
--- a/atlantik/client/atlantik.h
+++ b/atlantik/client/atlantik.h
@@ -17,11 +17,11 @@
#ifndef ATLANTIK_ATLANTIK_H
#define ATLANTIK_ATLANTIK_H
-#include <qwidget.h>
-#include <qlayout.h>
-#include <qtextedit.h>
-#include <qlabel.h>
-#include <qptrlist.h>
+#include <tqwidget.h>
+#include <tqlayout.h>
+#include <tqtextedit.h>
+#include <tqlabel.h>
+#include <tqptrlist.h>
#include <kmainwindow.h>
@@ -40,7 +40,7 @@ struct AtlantikConfig
bool chatTimestamps;
// Personalization options
- QString playerName, playerImage;
+ TQString playerName, playerImage;
// Board options
bool indicateUnowned;
@@ -54,7 +54,7 @@ struct AtlantikConfig
bool hideDevelopmentServers;
// Portfolio colors
- QColor activeColor, inactiveColor;
+ TQColor activeColor, inactiveColor;
};
class EventLog;
@@ -73,10 +73,10 @@ class LogTextEdit : public QTextEdit
Q_OBJECT
public:
- LogTextEdit( QWidget *parent = 0, const char *name = 0 );
+ LogTextEdit( TQWidget *parent = 0, const char *name = 0 );
virtual ~LogTextEdit();
- QPopupMenu *createPopupMenu( const QPoint & pos );
+ TQPopupMenu *createPopupMenu( const TQPoint & pos );
private:
KAction *m_clear, *m_selectAll, *m_copy;
@@ -110,7 +110,7 @@ public:
*
* @param msg Message to be appended.
*/
- void serverMsgsAppend(QString msg);
+ void serverMsgsAppend(TQString msg);
AtlantikConfig config() { return m_config; }
@@ -121,7 +121,7 @@ private slots:
void initBoard();
void showBoard();
void freezeBoard();
- void clientCookie(QString cookie);
+ void clientCookie(TQString cookie);
void sendHandshake();
void statusBarClick(int);
@@ -138,7 +138,7 @@ public slots:
* An error occurred while setting up the network connection. Inform the
* user.
*
- * @param errno See http://doc.trolltech.com/3.0/qsocket.html#Error-enum
+ * @param errno See http://doc.trolltech.com/3.0/tqsocket.html#Error-enum
*/
void slotNetworkError(int errnum);
@@ -184,9 +184,9 @@ public slots:
*
* @param msg The message to be appended.
*/
- void slotMsgInfo(QString msg);
+ void slotMsgInfo(TQString msg);
- void slotMsgStatus(const QString &message, const QString &icon = QString::null);
+ void slotMsgStatus(const TQString &message, const TQString &icon = TQString::null);
/**
* Informs serverMsgs() to append an incoming message from the
@@ -194,7 +194,7 @@ public slots:
*
* @param msg The error message to be appended.
*/
- void slotMsgError(QString msg);
+ void slotMsgError(TQString msg);
/**
* Informs serverMsgs() to append an incoming message from the
@@ -203,7 +203,7 @@ public slots:
* @param player The name of the player chatting.
* @param msg The chat message to be appended.
*/
- void slotMsgChat(QString player, QString msg);
+ void slotMsgChat(TQString player, TQString msg);
void newPlayer(Player *player);
void newEstate(Estate *estate);
@@ -226,7 +226,7 @@ signals:
void jailRoll();
protected:
- void closeEvent(QCloseEvent *);
+ void closeEvent(TQCloseEvent *);
private:
void initEventLog();
@@ -234,14 +234,14 @@ private:
PortfolioView *addPortfolioView(Player *player);
PortfolioView *findPortfolioView(Player *player);
- QScrollView *m_portfolioScroll;
- QWidget *m_mainWidget, *m_portfolioWidget;
- QGridLayout *m_mainLayout;
- QVBoxLayout *m_portfolioLayout;
+ TQScrollView *m_portfolioScroll;
+ TQWidget *m_mainWidget, *m_portfolioWidget;
+ TQGridLayout *m_mainLayout;
+ TQVBoxLayout *m_portfolioLayout;
- QLabel *m_portfolioLabel;
- QLineEdit *m_input;
- QTextEdit *m_serverMsgs;
+ TQLabel *m_portfolioLabel;
+ TQLineEdit *m_input;
+ TQTextEdit *m_serverMsgs;
KAction *m_roll, *m_buyEstate, *m_auctionEstate, *m_endTurn,
*m_jailCard, *m_jailPay, *m_jailRoll, *m_configure,
@@ -259,8 +259,8 @@ private:
EventLog *m_eventLog;
EventLogWidget *m_eventLogWidget;
- QPtrList<PortfolioView> m_portfolioViews;
- QMap<Trade *, TradeDisplay *> m_tradeGUIMap;
+ TQPtrList<PortfolioView> m_portfolioViews;
+ TQMap<Trade *, TradeDisplay *> m_tradeGUIMap;
bool m_runningGame;
};