summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/kwordquizprefs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwordquiz/src/kwordquizprefs.cpp')
-rw-r--r--kwordquiz/src/kwordquizprefs.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kwordquiz/src/kwordquizprefs.cpp b/kwordquiz/src/kwordquizprefs.cpp
index 61380e68..7487ad0c 100644
--- a/kwordquiz/src/kwordquizprefs.cpp
+++ b/kwordquiz/src/kwordquizprefs.cpp
@@ -41,8 +41,8 @@
#include "kwordquiz.h"
#include "dlgspecchar.h"
-KWordQuizPrefs::KWordQuizPrefs(TQWidget *parent, const char *name, KConfigSkeleton *config, DialogType dialogType, int /*dialogButtons*/, ButtonCode /*defaultButton*/, bool /*modal*/)
- : KConfigDialog(parent, name, config, dialogType, Default|Ok|Apply|Cancel|Help, Ok, false)
+KWordQuizPrefs::KWordQuizPrefs(TQWidget *parent, const char *name, TDEConfigSkeleton *config, DialogType dialogType, int /*dialogButtons*/, ButtonCode /*defaultButton*/, bool /*modal*/)
+ : TDEConfigDialog(parent, name, config, dialogType, Default|Ok|Apply|Cancel|Help, Ok, false)
{
m_config = config;
@@ -66,7 +66,7 @@ KWordQuizPrefs::KWordQuizPrefs(TQWidget *parent, const char *name, KConfigSkele
KWordQuizApp *win=(KWordQuizApp *) parent;
int i=0;
- KConfigSkeletonItem * item = m_config->findItem("SpecialCharacters");
+ TDEConfigSkeletonItem * item = m_config->findItem("SpecialCharacters");
TQString ds = item->property().toString();
for ( TQListViewItemIterator it = m_prefCharacter->lstCharacters; it.current(); ++it)
@@ -88,7 +88,7 @@ void KWordQuizPrefs::slotCharListSelectionChanged()
void KWordQuizPrefs::slotSelectSpecChar( )
{
- KConfigSkeletonItem * item = m_config->findItem("EditorFont");
+ TDEConfigSkeletonItem * item = m_config->findItem("EditorFont");
TQString f = item->property().toFont().family();
TQString s = m_prefCharacter->lstCharacters->currentItem()->text(2);
TQChar c = s[0];
@@ -130,11 +130,11 @@ bool KWordQuizPrefs::hasChanged()
s.append(it.current()->text(2));
}
- KConfigSkeletonItem * item = m_config->findItem("SpecialCharacters");
+ TDEConfigSkeletonItem * item = m_config->findItem("SpecialCharacters");
TQString ds = item->property().toString();
if (ds == s.stripWhiteSpace())
- result = KConfigDialog::hasChanged();
+ result = TDEConfigDialog::hasChanged();
else
result = true;
@@ -152,11 +152,11 @@ bool KWordQuizPrefs::isDefault()
s.append(it.current()->text(2));
}
- KConfigSkeletonItem * item = m_config->findItem("SpecialCharacters");
+ TDEConfigSkeletonItem * item = m_config->findItem("SpecialCharacters");
TQString ds = item->property().toString();
if (ds == s.stripWhiteSpace())
- result = KConfigDialog::isDefault();
+ result = TDEConfigDialog::isDefault();
else
result = false;
@@ -172,7 +172,7 @@ void KWordQuizPrefs::updateSettings( )
s.append(it.current()->text(2));
}
- KConfigSkeletonItem * item = m_config->findItem("SpecialCharacters");
+ TDEConfigSkeletonItem * item = m_config->findItem("SpecialCharacters");
item->setProperty(TQVariant(s));
emit settingsChanged();
@@ -188,7 +188,7 @@ void KWordQuizPrefs::updateWidgetsDefault( )
s.append(it.current()->text(2));
}
- KConfigSkeletonItem * item = m_config->findItem("SpecialCharacters");
+ TDEConfigSkeletonItem * item = m_config->findItem("SpecialCharacters");
TQString ds = item->property().toString();
int i=0;