summaryrefslogtreecommitdiffstats
path: root/part/kxetreeviewsettings.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-03-26 12:41:49 +0100
committerSlávek Banko <[email protected]>2016-03-26 14:15:13 +0100
commitea0a6815c10291d1ae30029f5183e3eaaf838fda (patch)
treee522c735ad703edee863c5d490f519f9cf713120 /part/kxetreeviewsettings.cpp
parent38dca4b75c471ddf950e2f9f03801c550d7d26fd (diff)
downloadkxmleditor-ea0a6815c10291d1ae30029f5183e3eaaf838fda.tar.gz
kxmleditor-ea0a6815c10291d1ae30029f5183e3eaaf838fda.zip
Initial TDE conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'part/kxetreeviewsettings.cpp')
-rw-r--r--part/kxetreeviewsettings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/part/kxetreeviewsettings.cpp b/part/kxetreeviewsettings.cpp
index 6a3529e..7c6f5d6 100644
--- a/part/kxetreeviewsettings.cpp
+++ b/part/kxetreeviewsettings.cpp
@@ -18,8 +18,8 @@
#include "kxetreeviewsettings.h"
#include "kxetreeviewsettingspage.h"
-#include <klocale.h>
-#include <kconfig.h>
+#include <tdelocale.h>
+#include <tdeconfig.h>
#include <kdebug.h>
#include <tqframe.h>
@@ -59,7 +59,7 @@ KXETreeViewSettings::KXETreeViewSettings( TQObject * pParent, const char * pszNa
{
}
-void KXETreeViewSettings::write( KConfig * pConfig ) const
+void KXETreeViewSettings::write( TDEConfig * pConfig ) const
{
pConfig->writeEntry( CONF_ENTRY_NAME_ITEMS_ON_DEMAND, m_bCreateItemsOnDemand );
pConfig->writeEntry( CONF_ENTRY_NAME_DFLT_EXP_LEVEL, m_iDfltExpLevel );
@@ -69,7 +69,7 @@ void KXETreeViewSettings::write( KConfig * pConfig ) const
pConfig->writeEntry( CONF_ENTRY_NAME_ELEM_DISPL_MODE, m_enmElemDisplMode );
}
-void KXETreeViewSettings::read( const KConfig * pConfig )
+void KXETreeViewSettings::read( const TDEConfig * pConfig )
{
m_bCreateItemsOnDemand = pConfig->readBoolEntry( CONF_ENTRY_NAME_ITEMS_ON_DEMAND, DFLT_VALUE_ITEMS_ON_DEMAND );
m_iDfltExpLevel = pConfig->readNumEntry( CONF_ENTRY_NAME_DFLT_EXP_LEVEL, DFLT_VALUE_DFLT_EXP_LEVEL );