summaryrefslogtreecommitdiffstats
path: root/atlantik/libatlantikui/estateview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/libatlantikui/estateview.cpp')
-rw-r--r--atlantik/libatlantikui/estateview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/atlantik/libatlantikui/estateview.cpp b/atlantik/libatlantikui/estateview.cpp
index fe53d63e..4d7ba21e 100644
--- a/atlantik/libatlantikui/estateview.cpp
+++ b/atlantik/libatlantikui/estateview.cpp
@@ -255,7 +255,7 @@ void EstateView::paintEvent(TQPaintEvent *)
TQColor greenHouse(0, 255, 0);
TQColor redHotel(255, 51, 51);
TQPainter painter;
- painter.begin(TQT_TQPAINTDEVICE(qpixmap), this);
+ painter.begin(qpixmap, this);
painter.setPen(TQt::black);
@@ -281,7 +281,7 @@ void EstateView::paintEvent(TQPaintEvent *)
quartzBuffer->resize(m_titleWidth-2, 25);
TQPainter quartzPainter;
- quartzPainter.begin(TQT_TQPAINTDEVICE(quartzBuffer), this);
+ quartzPainter.begin(quartzBuffer, this);
painter.setBrush(m_estate->color());
switch(m_orientation)
@@ -427,12 +427,12 @@ void EstateView::resizeEvent(TQResizeEvent *)
m_recreateQuartz = true;
b_recreate = true;
- TQTimer::singleShot(0, this, TQT_SLOT(slotResizeAftermath()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotResizeAftermath()));
}
void EstateView::mousePressEvent(TQMouseEvent *e)
{
- if (e->button()==Qt::RightButton && m_estate->isOwned())
+ if (e->button()==TQt::RightButton && m_estate->isOwned())
{
TDEPopupMenu *rmbMenu = new TDEPopupMenu(this);
rmbMenu->insertTitle(m_estate->name());
@@ -482,13 +482,13 @@ void EstateView::mousePressEvent(TQMouseEvent *e)
TDEPopupMenu *pm = dynamic_cast<TDEPopupMenu *>(rmbMenu);
if (pm) {
- connect(pm, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotMenuAction(int)));
+ connect(pm, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotMenuAction(int)));
}
TQPoint g = TQCursor::pos();
rmbMenu->exec(g);
delete rmbMenu;
}
- else if (e->button()==Qt::LeftButton)
+ else if (e->button()==TQt::LeftButton)
emit LMBClicked(m_estate);
}