summaryrefslogtreecommitdiffstats
path: root/atlantik/libatlantic/atlantic_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/libatlantic/atlantic_core.h')
-rw-r--r--atlantik/libatlantic/atlantic_core.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/atlantik/libatlantic/atlantic_core.h b/atlantik/libatlantic/atlantic_core.h
index bca5b783..197fca91 100644
--- a/atlantik/libatlantic/atlantic_core.h
+++ b/atlantik/libatlantic/atlantic_core.h
@@ -17,8 +17,8 @@
#ifndef LIBATLANTIC_CORE_H
#define LIBATLANTIC_CORE_H
-#include <qobject.h>
-#include <qptrlist.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
#include "libatlantic_export.h"
@@ -35,7 +35,7 @@ class LIBATLANTIC_EXPORT AtlanticCore : public QObject
Q_OBJECT
public:
- AtlanticCore(QObject *parent, const char *name);
+ AtlanticCore(TQObject *parent, const char *name);
void reset(bool deletePermanents = false);
@@ -44,34 +44,34 @@ public:
void setPlayerSelf(Player *player);
Player *playerSelf();
- QPtrList<Player> players();
+ TQPtrList<Player> players();
Player *newPlayer(int playerId, const bool &playerSelf = false);
Player *findPlayer(int playerId);
void removePlayer(Player *player);
- QPtrList<Game> games();
- Game *newGame(int gameId, const QString &type = QString::null);
- Game *findGame(const QString &type); // finds game types
+ TQPtrList<Game> games();
+ Game *newGame(int gameId, const TQString &type = TQString::null);
+ Game *findGame(const TQString &type); // finds game types
Game *findGame(int gameId); // finds actual games
Game *gameSelf();
void removeGame(Game *game);
void emitGames();
- QPtrList<Estate> estates();
+ TQPtrList<Estate> estates();
Estate *newEstate(int estateId);
Estate *findEstate(int estateId);
Estate *estateAfter(Estate *estate);
- QPtrList<EstateGroup> estateGroups();
+ TQPtrList<EstateGroup> estateGroups();
EstateGroup *newEstateGroup(int groupId);
EstateGroup *findEstateGroup(int groupId);
- QPtrList<Trade> trades();
+ TQPtrList<Trade> trades();
Trade *newTrade(int tradeId);
Trade *findTrade(int tradeId);
void removeTrade(Trade *trade);
- QPtrList<Auction> auctions();
+ TQPtrList<Auction> auctions();
Auction *newAuction(int auctionId, Estate *estate);
void delAuction(Auction *auction);
@@ -93,13 +93,13 @@ signals:
private:
Player *m_playerSelf;
- QPtrList<Player> m_players;
- QPtrList<Game> m_games;
- QPtrList<Estate> m_estates;
- QPtrList<EstateGroup> m_estateGroups;
- QPtrList<Trade> m_trades;
- QPtrList<Auction> m_auctions;
- QPtrList<ConfigOption> m_configOptions;
+ TQPtrList<Player> m_players;
+ TQPtrList<Game> m_games;
+ TQPtrList<Estate> m_estates;
+ TQPtrList<EstateGroup> m_estateGroups;
+ TQPtrList<Trade> m_trades;
+ TQPtrList<Auction> m_auctions;
+ TQPtrList<ConfigOption> m_configOptions;
};
#endif