diff options
Diffstat (limited to 'knetwalk')
-rw-r--r-- | knetwalk/src/highscores.cpp | 2 | ||||
-rw-r--r-- | knetwalk/src/mainwindow.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/knetwalk/src/highscores.cpp b/knetwalk/src/highscores.cpp index a3ef3f3c..adc9a7d3 100644 --- a/knetwalk/src/highscores.cpp +++ b/knetwalk/src/highscores.cpp @@ -63,7 +63,7 @@ namespace KExtHighscore default: Q_ASSERT(false); } - TDEConfigGroupSaver cg(kapp->config(), group); + TDEConfigGroupSaver cg(tdeApp->config(), group); TQString name = cg.config()->readEntry("Name", TQString()); if ( name.isNull() ) return; if ( name.isEmpty() ) name = i18n("anonymous"); diff --git a/knetwalk/src/mainwindow.cpp b/knetwalk/src/mainwindow.cpp index 43471aa8..1806a248 100644 --- a/knetwalk/src/mainwindow.cpp +++ b/knetwalk/src/mainwindow.cpp @@ -359,9 +359,9 @@ void MainWindow::rotate(int index, bool toleft) updateConnections(); for(int i = 0; i < 14; i++) { - kapp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput); + tdeApp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput); TQTimer::singleShot(20, board[index], TQ_SLOT(update())); - kapp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput | TQEventLoop::WaitForMore); + tdeApp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput | TQEventLoop::WaitForMore); board[index]->rotate(toleft ? -6 : 6); } @@ -388,9 +388,9 @@ void MainWindow::blink(int index) { for(int i = 0; i < board[index]->width() * 2; i += 2) { - kapp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput); + tdeApp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput); TQTimer::singleShot(20, board[index], TQ_SLOT(update())); - kapp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput | + tdeApp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput | TQEventLoop::WaitForMore); board[index]->setLight(i); } |