diff options
Diffstat (limited to 'kmahjongg/Preview.cpp')
-rw-r--r-- | kmahjongg/Preview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmahjongg/Preview.cpp b/kmahjongg/Preview.cpp index 5c5871bf..b99b3fd3 100644 --- a/kmahjongg/Preview.cpp +++ b/kmahjongg/Preview.cpp @@ -197,7 +197,7 @@ void Preview::drawPreview() // specified bits in (tqlayout, background and tileset if (!m_selectedFile.isEmpty()) { - TQString backRaw, tqlayoutRaw, tilesetRaw, magic; + TQString backRaw, layoutRaw, tilesetRaw, magic; TQFile in(m_selectedFile); if (in.open(IO_ReadOnly)) @@ -212,7 +212,7 @@ void Preview::drawPreview() } tilesetRaw = stream.readLine(); backRaw = stream.readLine(); - tqlayoutRaw = stream.readLine(); + layoutRaw = stream.readLine(); in.close(); tile = tilesetRaw; @@ -233,11 +233,11 @@ void Preview::drawPreview() back = locate("appdata", back); } - tqlayout = tqlayoutRaw; + tqlayout = layoutRaw; tqlayout.tqreplace(":", "/kmahjongg/pics/"); if (!TQFile::exists(tqlayout)) { - tqlayout = tqlayoutRaw; + tqlayout = layoutRaw; tqlayout = "pics/" + tqlayout.right(tqlayout.length() - tqlayout.tqfind(":") - 1); tqlayout = locate("appdata", tqlayout); } @@ -288,7 +288,7 @@ void Preview::applyChange() } // don't redraw for a tqlayout change - if (m_previewType == board || m_previewType == theme) tqlayoutChange(); + if (m_previewType == board || m_previewType == theme) layoutChange(); else boardRedraw(true); // either way we mark the current value as unchanged @@ -382,7 +382,7 @@ void Preview::saveTheme() { KURL url = KFileDialog::getSaveURL( NULL, "*.theme", - tqparentWidget(), + parentWidget(), i18n("Save Theme" )); if ( url.isEmpty() ) return; |