summaryrefslogtreecommitdiffstats
path: root/atlantik/libatlantic/estate.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /atlantik/libatlantic/estate.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'atlantik/libatlantic/estate.h')
-rw-r--r--atlantik/libatlantic/estate.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/atlantik/libatlantic/estate.h b/atlantik/libatlantic/estate.h
index b6b768a5..cbbd51e1 100644
--- a/atlantik/libatlantic/estate.h
+++ b/atlantik/libatlantic/estate.h
@@ -17,8 +17,8 @@
#ifndef LIBATLANTIC_ESTATE_H
#define LIBATLANTIC_ESTATE_H
-#include <qobject.h>
-#include <qcolor.h>
+#include <tqobject.h>
+#include <tqcolor.h>
#include "libatlantic_export.h"
@@ -32,8 +32,8 @@ Q_OBJECT
public:
Estate(int estateId);
int id() { return m_id; }
- void setName(QString name);
- QString name() const;
+ void setName(TQString name);
+ TQString name() const;
void setEstateGroup(EstateGroup *estateGroup);
EstateGroup *estateGroup() { return m_estateGroup; }
void setOwner(Player *player);
@@ -60,10 +60,10 @@ public:
unsigned int mortgagePrice() const { return m_mortgagePrice; }
void setUnmortgagePrice(const unsigned int unmortgagePrice) { m_unmortgagePrice = unmortgagePrice; }
unsigned int unmortgagePrice() const { return m_unmortgagePrice; }
- void setColor(QColor color);
- QColor color() const { return m_color; }
- void setBgColor(QColor color);
- QColor bgColor() const { return m_bgColor; }
+ void setColor(TQColor color);
+ TQColor color() const { return m_color; }
+ void setBgColor(TQColor color);
+ TQColor bgColor() const { return m_bgColor; }
void setPrice(const unsigned int price) { m_price = price; }
unsigned int price() const { return m_price; }
void setMoney(int money);
@@ -83,13 +83,13 @@ protected:
int m_id;
private:
- QString m_name;
+ TQString m_name;
Player *m_owner;
EstateGroup *m_estateGroup;
unsigned int m_houses, m_price, m_housePrice, m_houseSellPrice, m_mortgagePrice, m_unmortgagePrice;
int m_money;
bool m_canBeOwned, m_canBuyHouses, m_canSellHouses, m_isMortgaged, m_canToggleMortgage;
- QColor m_bgColor, m_color;
+ TQColor m_bgColor, m_color;
};
#endif