diff options
Diffstat (limited to 'kmahjongg/boardwidget.cpp')
-rw-r--r-- | kmahjongg/boardwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmahjongg/boardwidget.cpp b/kmahjongg/boardwidget.cpp index dd75e9b0..965aed98 100644 --- a/kmahjongg/boardwidget.cpp +++ b/kmahjongg/boardwidget.cpp @@ -46,7 +46,7 @@ BoardWidget::BoardWidget( TQWidget* parent, const char *name ) KMessageBox::error(this, i18n("An error occurred when loading the tileset file %1\n" "KMahjongg will now terminate.").arg(tFile)); - kapp->quit(); + tdeApp->quit(); } getFileOrDefault(Prefs::background(), "bgnd", tFile); @@ -57,7 +57,7 @@ BoardWidget::BoardWidget( TQWidget* parent, const char *name ) KMessageBox::error(this, i18n("An error occurred when loading the background image\n%1").arg(tFile)+ i18n("KMahjongg will now terminate.")); - kapp->quit(); + tdeApp->quit(); } getFileOrDefault(Prefs::layout(), "layout", tFile); @@ -66,7 +66,7 @@ BoardWidget::BoardWidget( TQWidget* parent, const char *name ) KMessageBox::error(this, i18n("An error occurred when loading the board layout %1\n" "KMahjongg will now terminate.").arg(tFile)); - kapp->quit(); + tdeApp->quit(); } setDisplayedWidth(); loadSettings(); @@ -87,7 +87,7 @@ void BoardWidget::loadSettings(){ void BoardWidget::saveSettings(){ // Preview can't handle this. TODO - //TDEConfig *config=kapp->config(); + //TDEConfig *config=tdeApp->config(); //config->setGroup("General"); //config->writePathEntry("Tileset_file", tileFile); @@ -112,7 +112,7 @@ void BoardWidget::getFileOrDefault(TQString filename, TQString type, TQString &r KMessageBox::error(this, i18n("KMahjongg could not locate the file: %1\n" "or the default file of type: %2\n" "KMahjongg will now terminate").arg(filename).arg(type) ); - kapp->quit(); + tdeApp->quit(); } } @@ -733,7 +733,7 @@ void BoardWidget::calculateNewGame( int gNumber) } if (gNumber == -1) { - gameGenerationNum = kapp->random(); + gameGenerationNum = tdeApp->random(); } else { gameGenerationNum = gNumber; } |