diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:32:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:32:27 -0600 |
commit | 9f2c757e1a1694373c11427a00502c2ff4c2d403 (patch) | |
tree | 7d90e91214976a7d23d89ec3474515cf46069704 /kwordquiz/src/kwordquizprefs.cpp | |
parent | cee429821aa6f1acc97fb482d325fb4eb37376ca (diff) | |
download | tdeedu-9f2c757e1a1694373c11427a00502c2ff4c2d403.tar.gz tdeedu-9f2c757e1a1694373c11427a00502c2ff4c2d403.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kwordquiz/src/kwordquizprefs.cpp')
-rw-r--r-- | kwordquiz/src/kwordquizprefs.cpp | 20 |
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; |