summaryrefslogtreecommitdiffstats
path: root/part/kxetextviewsettings.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-26 12:41:49 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-26 14:15:13 +0100
commitea0a6815c10291d1ae30029f5183e3eaaf838fda (patch)
treee522c735ad703edee863c5d490f519f9cf713120 /part/kxetextviewsettings.cpp
parent38dca4b75c471ddf950e2f9f03801c550d7d26fd (diff)
downloadkxmleditor-ea0a6815c10291d1ae30029f5183e3eaaf838fda.tar.gz
kxmleditor-ea0a6815c10291d1ae30029f5183e3eaaf838fda.zip
Initial TDE conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'part/kxetextviewsettings.cpp')
-rw-r--r--part/kxetextviewsettings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/part/kxetextviewsettings.cpp b/part/kxetextviewsettings.cpp
index afcb528..94f5eda 100644
--- a/part/kxetextviewsettings.cpp
+++ b/part/kxetextviewsettings.cpp
@@ -18,8 +18,8 @@
#include "kxetextviewsettings.h"
#include "kxetextviewsettingspage.h"
-#include <klocale.h>
-#include <kconfig.h>
+#include <tdelocale.h>
+#include <tdeconfig.h>
#include <kdebug.h>
#include <kcolorbutton.h>
#include <tqcheckbox.h>
@@ -71,7 +71,7 @@ KXETextViewSettings::KXETextViewSettings( TQObject * pParent, const char * pszNa
}
-void KXETextViewSettings::write( KConfig * pConfig ) const
+void KXETextViewSettings::write( TDEConfig * pConfig ) const
{
pConfig->writeEntry( CONF_ENTRY_NAME_COLOR_DEFAULT_TEXT, m_colorDfltText );
pConfig->writeEntry( CONF_ENTRY_NAME_COLOR_ELEMENT_NAMES, m_colorElemNames );
@@ -85,7 +85,7 @@ void KXETextViewSettings::write( KConfig * pConfig ) const
}
-void KXETextViewSettings::read( const KConfig * pConfig )
+void KXETextViewSettings::read( const TDEConfig * pConfig )
{
const TQColor tempColor1 = DFLT_VALUE_COLOR_DEFAULT_TEXT;
m_colorDfltText = pConfig->readColorEntry( CONF_ENTRY_NAME_COLOR_DEFAULT_TEXT, &tempColor1 );