From c406d61deefc0c3e3173ebe77bfb38a1bc453ce7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: 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 --- ktuberling/toplevel.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ktuberling/toplevel.cpp') diff --git a/ktuberling/toplevel.cpp b/ktuberling/toplevel.cpp index c0131d26..0563d856 100644 --- a/ktuberling/toplevel.cpp +++ b/ktuberling/toplevel.cpp @@ -186,19 +186,19 @@ void TopLevel::changeLanguage(uint newLanguage) soundFactory->change(newLanguage); } -// Load the tqlayouts file -bool TopLevel::loadLayout(TQDomDocument &tqlayoutDocument) +// Load the layouts file +bool TopLevel::loadLayout(TQDomDocument &layoutDocument) { - TQFile tqlayoutFile(TQFile::encodeName(locate("data", "ktuberling/pics/tqlayout.xml"))); - if (!tqlayoutFile.open(IO_ReadOnly)) + TQFile layoutFile(TQFile::encodeName(locate("data", "ktuberling/pics/tqlayout.xml"))); + if (!layoutFile.open(IO_ReadOnly)) return false; - if (!tqlayoutDocument.setContent(&tqlayoutFile)) + if (!layoutDocument.setContent(&layoutFile)) { - tqlayoutFile.close(); + layoutFile.close(); return false; } - tqlayoutFile.close(); + layoutFile.close(); return true; } -- cgit v1.2.1