diff options
Diffstat (limited to 'kbattleship/kbattleship/kgridwidget.cpp')
-rw-r--r-- | kbattleship/kbattleship/kgridwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kbattleship/kbattleship/kgridwidget.cpp b/kbattleship/kbattleship/kgridwidget.cpp index 6cc660d7..cb6e573e 100644 --- a/kbattleship/kbattleship/kgridwidget.cpp +++ b/kbattleship/kbattleship/kgridwidget.cpp @@ -26,10 +26,10 @@ #include "kbattlefield.h" #include "kgridwidget.h" -KGridWidget::KGridWidget(TQWidget *parent, bool draw) : m_drawGrid(draw) +KGridWidget::KGridWidget(TQWidget *tqparent, bool draw) : m_drawGrid(draw) { - m_doubleBuffer = new TQPixmap(parent->width(), parent->height()); - m_parent = parent; + m_doubleBuffer = new TQPixmap(tqparent->width(), tqparent->height()); + m_parent = tqparent; cleanBuffer(); cacheImages(); @@ -392,8 +392,8 @@ void KGridWidget::drawIcon(const TQPixmap &icon, bool hitBlend, bool waterBlend, painter.end(); else { - painter.setBrush(Qt::NoBrush); - painter.setPen(Qt::black); + painter.setBrush(TQt::NoBrush); + painter.setPen(TQt::black); painter.drawRect(m_x, m_y, m_size, m_size); painter.end(); } |