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 7b4d8270..23d183ab 100644 --- a/kmahjongg/boardwidget.cpp +++ b/kmahjongg/boardwidget.cpp @@ -60,11 +60,11 @@ BoardWidget::BoardWidget( TQWidget* parent, const char *name ) kapp->quit(); } - getFileOrDefault(Prefs::layout(), "tqlayout", tFile); + getFileOrDefault(Prefs::layout(), "layout", tFile); if( ! loadBoardLayout(tFile) ) { KMessageBox::error(this, - i18n("An error occurred when loading the board tqlayout %1\n" + i18n("An error occurred when loading the board layout %1\n" "KMahjongg will now terminate.").arg(tFile)); kapp->quit(); } @@ -92,7 +92,7 @@ void BoardWidget::saveSettings(){ //config->writePathEntry("Tileset_file", tileFile); //config->writePathEntry("Background_file", backgroundFile); - //config->writePathEntry("Layout_file", tqlayout); + //config->writePathEntry("Layout_file", layout); } void BoardWidget::getFileOrDefault(TQString filename, TQString type, TQString &res) @@ -766,7 +766,7 @@ void BoardWidget::calculateNewGame( int gNumber) } // --------------------------------------------------------- -// Generate the position data for the tqlayout from contents of Game.Map. +// Generate the position data for the layout from contents of Game.Map. void BoardWidget::generateTilePositions() { numTiles = 0; @@ -788,7 +788,7 @@ void BoardWidget::generateTilePositions() { } // --------------------------------------------------------- -// Generate the dependency data for the tqlayout from the position data. +// Generate the dependency data for the layout from the position data. // Note that the coordinates of each tile in tilePositions are those of // the upper left quarter of the tile. void BoardWidget::generatePositionDepends() { @@ -1393,7 +1393,7 @@ bool BoardWidget::findMove( POSITION& posA, POSITION& posB ) iPosCount = 0; // Hier Anzahl der gefunden Paare merken - // The new tile tqlayout with non-contiguos horizantle spans + // The new tile layout with non-contiguos horizantle spans // can lead to huge numbers of matching pairs being exposed. // we alter the loop to bail out when BoardLayout::maxTiles/2 pairs are found // (or less); |