diff options
Diffstat (limited to 'kanagram/src/mainsettings.cpp')
-rw-r--r-- | kanagram/src/mainsettings.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kanagram/src/mainsettings.cpp b/kanagram/src/mainsettings.cpp index 1e026758..6ca548ee 100644 --- a/kanagram/src/mainsettings.cpp +++ b/kanagram/src/mainsettings.cpp @@ -35,11 +35,11 @@ #include "mainsettings.h" #include "kanagramsettings.h" -MainSettings::MainSettings(TQWidget *parent) : MainSettingsWidget(parent) +MainSettings::MainSettings(TQWidget *tqparent) : MainSettingsWidget(tqparent) { - m_parent = (KConfigDialog*)parent; + m_parent = (KConfigDialog*)tqparent; - connect(parent, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(slotChangeTranslation())); + connect(tqparent, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(slotChangeTranslation())); connect(cboxTranslation, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotUpdateParent())); setupTranslations(); @@ -109,7 +109,7 @@ void MainSettings::setupTranslations() temp_languages.remove(".."); for (TQStringList::const_iterator it2 = temp_languages.begin(); it2 != temp_languages.end(); ++it2 ) { - if (!languages.contains(*it2)) languages.append(*it2); + if (!languages.tqcontains(*it2)) languages.append(*it2); } } |