diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | c406d61deefc0c3e3173ebe77bfb38a1bc453ce7 (patch) | |
tree | 12ccf93b39a8eedba87ebbd7447d33e5ab59108a /ktuberling/soundfactory.cpp | |
parent | 373fe6f2b90bcd2e452f16115a4950a4b46c1f34 (diff) | |
download | tdegames-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 'ktuberling/soundfactory.cpp')
-rw-r--r-- | ktuberling/soundfactory.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ktuberling/soundfactory.cpp b/ktuberling/soundfactory.cpp index 5bb309d8..f10d0a8c 100644 --- a/ktuberling/soundfactory.cpp +++ b/ktuberling/soundfactory.cpp @@ -25,10 +25,10 @@ SoundFactory::SoundFactory(TopLevel *tqparent, const char *name, uint selectedLa namesList = filesList = 0; - TQDomDocument tqlayoutsDocument; - bool ok = topLevel->loadLayout(tqlayoutsDocument); - if (ok) ok = registerLanguages(tqlayoutsDocument); - if (ok) ok = loadLanguage(tqlayoutsDocument, selectedLanguage); + TQDomDocument layoutsDocument; + bool ok = topLevel->loadLayout(layoutsDocument); + if (ok) ok = registerLanguages(layoutsDocument); + if (ok) ok = loadLanguage(layoutsDocument, selectedLanguage); if (!ok) loadFailure(); } @@ -42,9 +42,9 @@ SoundFactory::~SoundFactory() // Change the language void SoundFactory::change(uint selectedLanguage) { - TQDomDocument tqlayoutsDocument; - bool ok = topLevel->loadLayout(tqlayoutsDocument); - if (ok) ok = loadLanguage(tqlayoutsDocument, selectedLanguage); + TQDomDocument layoutsDocument; + bool ok = topLevel->loadLayout(layoutsDocument); + if (ok) ok = loadLanguage(layoutsDocument, selectedLanguage); if (!ok) loadFailure(); } @@ -74,14 +74,14 @@ void SoundFactory::loadFailure() } // Register the various languages -bool SoundFactory::registerLanguages(TQDomDocument &tqlayoutDocument) +bool SoundFactory::registerLanguages(TQDomDocument &layoutDocument) { TQDomNodeList languagesList, menuItemsList, labelsList; TQDomElement languageElement, menuItemElement, labelElement; TQDomAttr codeAttribute, actionAttribute; bool enabled; - languagesList = tqlayoutDocument.elementsByTagName("language"); + languagesList = layoutDocument.elementsByTagName("language"); if (languagesList.count() < 1) return false; @@ -110,7 +110,7 @@ bool SoundFactory::registerLanguages(TQDomDocument &tqlayoutDocument) } // Load the sounds of one given language -bool SoundFactory::loadLanguage(TQDomDocument &tqlayoutDocument, uint toLoad) +bool SoundFactory::loadLanguage(TQDomDocument &layoutDocument, uint toLoad) { TQDomNodeList languagesList, soundNamesList; @@ -118,7 +118,7 @@ bool SoundFactory::loadLanguage(TQDomDocument &tqlayoutDocument, uint toLoad) soundNameElement; TQDomAttr nameAttribute, fileAttribute; - languagesList = tqlayoutDocument.elementsByTagName("language"); + languagesList = layoutDocument.elementsByTagName("language"); if (toLoad >= languagesList.count()) return false; |