summaryrefslogtreecommitdiffstats
path: root/kmahjongg/Preview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitc406d61deefc0c3e3173ebe77bfb38a1bc453ce7 (patch)
tree12ccf93b39a8eedba87ebbd7447d33e5ab59108a /kmahjongg/Preview.cpp
parent373fe6f2b90bcd2e452f16115a4950a4b46c1f34 (diff)
downloadtdegames-c406d61deefc0c3e3173ebe77bfb38a1bc453ce7.tar.gz
tdegames-c406d61deefc0c3e3173ebe77bfb38a1bc453ce7.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmahjongg/Preview.cpp')
-rw-r--r--kmahjongg/Preview.cpp12
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;