summaryrefslogtreecommitdiffstats
path: root/atlantik/libatlantikui/trade_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/libatlantikui/trade_widget.h')
-rw-r--r--atlantik/libatlantikui/trade_widget.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/atlantik/libatlantikui/trade_widget.h b/atlantik/libatlantikui/trade_widget.h
index 642cc919..5c0e0ff7 100644
--- a/atlantik/libatlantikui/trade_widget.h
+++ b/atlantik/libatlantikui/trade_widget.h
@@ -17,8 +17,8 @@
#ifndef TRADEWIDGET_H
#define TRADEWIDGET_H
-#include <qwidget.h>
-#include <qmap.h>
+#include <tqwidget.h>
+#include <tqmap.h>
#include "libatlantikui_export.h"
class QHGroupBox;
@@ -41,12 +41,12 @@ class LIBATLANTIKUI_EXPORT TradeDisplay : public QWidget
Q_OBJECT
public:
- TradeDisplay(Trade *trade, AtlanticCore *atlanticCore, QWidget *parent=0, const char *name = 0);
+ TradeDisplay(Trade *trade, AtlanticCore *atlanticCore, TQWidget *parent=0, const char *name = 0);
Trade *trade() { return mTrade; }
protected:
- void closeEvent(QCloseEvent *e);
+ void closeEvent(TQCloseEvent *e);
private slots:
void tradeItemAdded(TradeItem *);
@@ -58,13 +58,13 @@ private slots:
void setTypeCombo(int);
void setEstateCombo(int);
- void setCombos(QListViewItem *i);
+ void setCombos(TQListViewItem *i);
void updateComponent();
void reject();
void accept();
- void contextMenu(KListView *l, QListViewItem *i, const QPoint& p);
+ void contextMenu(KListView *l, TQListViewItem *i, const TQPoint& p);
void contextMenuClicked(int item);
signals:
@@ -74,9 +74,9 @@ signals:
void accept(Trade *trade);
private:
- QHGroupBox *m_updateComponentBox;
- QLabel *m_status, *m_fromLabel, *m_toLabel;
- QSpinBox *m_moneyBox;
+ TQHGroupBox *m_updateComponentBox;
+ TQLabel *m_status, *m_fromLabel, *m_toLabel;
+ TQSpinBox *m_moneyBox;
KComboBox *m_editTypeCombo, *m_playerFromCombo, *m_playerTargetCombo, *m_estateCombo;
KListView *m_componentList;
@@ -87,12 +87,12 @@ private:
TradeItem *m_contextTradeItem;
// TODO: Wouldn't QPair make more sense here?
- QMap<TradeItem *, KListViewItem *> m_componentMap;
- QMap<KListViewItem *, TradeItem *> m_componentRevMap;
- QMap<int, Estate *> m_estateMap;
- QMap<Estate *, int> m_estateRevMap;
- QMap<int, Player *> m_playerFromMap, m_playerTargetMap;
- QMap<Player *, int> m_playerFromRevMap, m_playerTargetRevMap;
+ TQMap<TradeItem *, KListViewItem *> m_componentMap;
+ TQMap<KListViewItem *, TradeItem *> m_componentRevMap;
+ TQMap<int, Estate *> m_estateMap;
+ TQMap<Estate *, int> m_estateRevMap;
+ TQMap<int, Player *> m_playerFromMap, m_playerTargetMap;
+ TQMap<Player *, int> m_playerFromRevMap, m_playerTargetRevMap;
};
#endif