summaryrefslogtreecommitdiffstats
path: root/atlantik/libatlantikui/portfolioestate.h
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/libatlantikui/portfolioestate.h')
-rw-r--r--atlantik/libatlantikui/portfolioestate.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/atlantik/libatlantikui/portfolioestate.h b/atlantik/libatlantikui/portfolioestate.h
index 65bd5db3..fb1dc8d3 100644
--- a/atlantik/libatlantikui/portfolioestate.h
+++ b/atlantik/libatlantikui/portfolioestate.h
@@ -17,8 +17,8 @@
#ifndef ATLANTIK_PORTFOLIOESTATE_H
#define ATLANTIK_PORTFOLIOESTATE_H
-#include <qpixmap.h>
-#include <qwidget.h>
+#include <tqpixmap.h>
+#include <tqwidget.h>
#define PE_WIDTH 13
#define PE_HEIGHT 16
@@ -31,13 +31,13 @@ class PortfolioEstate : public QWidget
Q_OBJECT
public:
- PortfolioEstate(Estate *estate, Player *player, bool alwaysOwned, QWidget *parent, const char *name = 0);
+ PortfolioEstate(Estate *estate, Player *player, bool alwaysOwned, TQWidget *parent, const char *name = 0);
Estate *estate() { return m_estate; }
- static QPixmap drawPixmap(Estate *estate, Player *player = 0, bool alwaysOwned = true);
+ static TQPixmap drawPixmap(Estate *estate, Player *player = 0, bool alwaysOwned = true);
protected:
- void paintEvent(QPaintEvent *);
- void mousePressEvent(QMouseEvent *);
+ void paintEvent(TQPaintEvent *);
+ void mousePressEvent(TQMouseEvent *);
private slots:
void estateChanged();
@@ -48,7 +48,7 @@ signals:
private:
Estate *m_estate;
Player *m_player;
- QPixmap m_pixmap;
+ TQPixmap m_pixmap;
bool b_recreate, m_alwaysOwned;
};