summaryrefslogtreecommitdiffstats
path: root/klettres/klettres/soundfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klettres/klettres/soundfactory.cpp')
-rw-r--r--klettres/klettres/soundfactory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/klettres/klettres/soundfactory.cpp b/klettres/klettres/soundfactory.cpp
index e23bc501..6a2a0ebf 100644
--- a/klettres/klettres/soundfactory.cpp
+++ b/klettres/klettres/soundfactory.cpp
@@ -33,10 +33,10 @@
#include "prefs.h"
-SoundFactory::SoundFactory(KLettres *parent, const char *name)
- : TQObject(parent, name)
+SoundFactory::SoundFactory(KLettres *tqparent, const char *name)
+ : TQObject(tqparent, name)
{
- klettres = parent;
+ klettres = tqparent;
namesList = filesList = 0;
sounds = 0;
@@ -78,7 +78,7 @@ void SoundFactory::loadFailure()
KMessageBox::error(klettres, i18n("Error while loading the sound names."));
}
-bool SoundFactory::loadLanguage(TQDomDocument &layoutDocument, TQString currentLanguage)
+bool SoundFactory::loadLanguage(TQDomDocument &tqlayoutDocument, TQString currentLanguage)
{
TQDomNodeList languagesList,
alphabetList,
@@ -90,7 +90,7 @@ bool SoundFactory::loadLanguage(TQDomDocument &layoutDocument, TQString currentL
soundNameElement;
TQDomAttr nameAttribute, fileAttribute;
- languagesList = layoutDocument.elementsByTagName("language");
+ languagesList = tqlayoutDocument.elementsByTagName("language");
TQDomAttr codeAttribute;
//check if the sound files match current language
languageElement = (const TQDomElement &) languagesList.item(0).toElement();