diff options
Diffstat (limited to 'kshisen/board.cpp')
-rw-r--r-- | kshisen/board.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kshisen/board.cpp b/kshisen/board.cpp index c868b9fc..3d85ab14 100644 --- a/kshisen/board.cpp +++ b/kshisen/board.cpp @@ -38,7 +38,7 @@ #include <tdeapplication.h> #include <tdelocale.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <tdeglobalsettings.h> #include <kdebug.h> @@ -179,7 +179,7 @@ void Board::mousePressEvent(TQMouseEvent *e) } // Mark tile - if(e->button() == Qt::LeftButton) + if(e->button() == TQt::LeftButton) { clearHighlight(); @@ -188,7 +188,7 @@ void Board::mousePressEvent(TQMouseEvent *e) } // Assist by highlighting all tiles of same type - if(e->button() == Qt::RightButton) + if(e->button() == TQt::RightButton) { int clicked_tile = getField(pos_x, pos_y); @@ -683,7 +683,7 @@ void Board::drawConnection(int timeout) p.flush(); p.end(); - TQTimer::singleShot(timeout, this, TQT_SLOT(undrawConnection())); + TQTimer::singleShot(timeout, this, TQ_SLOT(undrawConnection())); } void Board::undrawConnection() @@ -883,7 +883,7 @@ void Board::finish() ready = true; marked(p.front().x, p.front().y); marked(p.back().x, p.back().y); - kapp->processEvents(); + tdeApp->processEvents(); usleep(250*1000); } } |