summaryrefslogtreecommitdiffstats
path: root/kanagram/src/mainsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kanagram/src/mainsettings.cpp')
-rw-r--r--kanagram/src/mainsettings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kanagram/src/mainsettings.cpp b/kanagram/src/mainsettings.cpp
index eb3a83d3..0e14a207 100644
--- a/kanagram/src/mainsettings.cpp
+++ b/kanagram/src/mainsettings.cpp
@@ -37,7 +37,7 @@
MainSettings::MainSettings(TQWidget *parent) : MainSettingsWidget(parent)
{
- m_parent = (KConfigDialog*)parent;
+ m_parent = (TDEConfigDialog*)parent;
connect(parent, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(slotChangeTranslation()));
connect(cboxTranslation, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotUpdateParent()));
@@ -49,7 +49,7 @@ MainSettings::MainSettings(TQWidget *parent) : MainSettingsWidget(parent)
cboxTranslation->insertStringList(languageNames);
//the language code/name
- KConfig entry(locate("locale", "all_languages"));
+ TDEConfig entry(locate("locale", "all_languages"));
TQString code = KanagramSettings::dataLanguage();
entry.setGroup(code);
if (code == "sr")
@@ -117,7 +117,7 @@ void MainSettings::setupTranslations()
return;
//the language code/name
- KConfig entry(locate("locale", "all_languages"));
+ TDEConfig entry(locate("locale", "all_languages"));
const TQStringList::ConstIterator itEnd = languages.end();
for (TQStringList::ConstIterator it = languages.begin(); it != itEnd; ++it) {
entry.setGroup(*it);
@@ -135,7 +135,7 @@ void MainSettings::setupTranslations()
void MainSettings::getAndInstallFont()
{
- bool success = KIO::NetAccess::copy("http://www.kde-edu.org/kanagram/chalk.ttf", "fonts:/Personal/", 0);
+ bool success = TDEIO::NetAccess::copy("http://www.kde-edu.org/kanagram/chalk.ttf", "fonts:/Personal/", 0);
if (success)
{
getFontsButton->hide();