summaryrefslogtreecommitdiffstats
path: root/part/kxeconfiguration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'part/kxeconfiguration.cpp')
-rw-r--r--part/kxeconfiguration.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/part/kxeconfiguration.cpp b/part/kxeconfiguration.cpp
index a06e90e..6e8c425 100644
--- a/part/kxeconfiguration.cpp
+++ b/part/kxeconfiguration.cpp
@@ -22,8 +22,8 @@
#include "kxeprintsettings.h"
#include "kxearchiveextssettings.h"
-#include <kglobal.h>
-#include <klocale.h>
+#include <tdeglobal.h>
+#include <tdelocale.h>
#include <kdialogbase.h>
#include <kiconloader.h>
@@ -51,10 +51,10 @@ KXEConfiguration::~KXEConfiguration()
delete m_pDialog;
}
-void KXEConfiguration::store( KConfig * pConfig ) const
+void KXEConfiguration::store( TDEConfig * pConfig ) const
{
if ( ! pConfig )
- pConfig = KGlobal::config();
+ pConfig = TDEGlobal::config();
m_pTreeView->store( pConfig );
m_pTextView->store( pConfig );
@@ -64,10 +64,10 @@ void KXEConfiguration::store( KConfig * pConfig ) const
}
-void KXEConfiguration::restore( KConfig * pConfig )
+void KXEConfiguration::restore( TDEConfig * pConfig )
{
if ( ! pConfig )
- pConfig = KGlobal::config();
+ pConfig = TDEGlobal::config();
m_pTreeView->restore( pConfig );
m_pTextView->restore( pConfig );
@@ -101,7 +101,7 @@ void KXEConfiguration::showDialog()
// - tree view properties page
pFrame = m_pDialog->addPage( m_pTreeView->dialogPageName(),
m_pTreeView->dialogPageHeader(),
- KGlobal::instance()->iconLoader()->loadIcon( m_pTreeView->dialogPageIcon(), KIcon::NoGroup, KIcon::SizeMedium ) );
+ TDEGlobal::instance()->iconLoader()->loadIcon( m_pTreeView->dialogPageIcon(), TDEIcon::NoGroup, TDEIcon::SizeMedium ) );
pLayout = new TQVBoxLayout( pFrame );
pPage = m_pTreeView->dialogPage( pFrame );
pLayout->addWidget( pPage );
@@ -110,7 +110,7 @@ void KXEConfiguration::showDialog()
// - text view properties page
pFrame = m_pDialog->addPage( m_pTextView->dialogPageName(),
m_pTextView->dialogPageHeader(),
- KGlobal::instance()->iconLoader()->loadIcon( m_pTextView->dialogPageIcon(), KIcon::NoGroup, KIcon::SizeMedium ) );
+ TDEGlobal::instance()->iconLoader()->loadIcon( m_pTextView->dialogPageIcon(), TDEIcon::NoGroup, TDEIcon::SizeMedium ) );
pLayout = new TQVBoxLayout( pFrame );
pPage = m_pTextView->dialogPage( pFrame );
pLayout->addWidget( pPage );
@@ -119,7 +119,7 @@ void KXEConfiguration::showDialog()
// - new file settings page
pFrame = m_pDialog->addPage( m_pNewFile->dialogPageName(),
m_pNewFile->dialogPageHeader(),
- KGlobal::instance()->iconLoader()->loadIcon( m_pNewFile->dialogPageIcon(), KIcon::NoGroup, KIcon::SizeMedium ) );
+ TDEGlobal::instance()->iconLoader()->loadIcon( m_pNewFile->dialogPageIcon(), TDEIcon::NoGroup, TDEIcon::SizeMedium ) );
pLayout = new TQVBoxLayout( pFrame );
pPage = m_pNewFile->dialogPage( pFrame );
pLayout->addWidget( pPage );
@@ -128,7 +128,7 @@ void KXEConfiguration::showDialog()
// - printing's settings page
pFrame = m_pDialog->addPage( m_pPrint->dialogPageName(),
m_pPrint->dialogPageHeader(),
- KGlobal::instance()->iconLoader()->loadIcon( m_pPrint->dialogPageIcon(), KIcon::NoGroup, KIcon::SizeMedium ) );
+ TDEGlobal::instance()->iconLoader()->loadIcon( m_pPrint->dialogPageIcon(), TDEIcon::NoGroup, TDEIcon::SizeMedium ) );
pLayout = new TQVBoxLayout( pFrame );
pPage = m_pPrint->dialogPage( pFrame );
pLayout->addWidget( pPage );
@@ -137,7 +137,7 @@ void KXEConfiguration::showDialog()
// - archive extensions page
pFrame = m_pDialog->addPage( m_pArcExts->dialogPageName(),
m_pArcExts->dialogPageHeader(),
- KGlobal::instance()->iconLoader()->loadIcon( m_pArcExts->dialogPageIcon(), KIcon::NoGroup, KIcon::SizeMedium ) );
+ TDEGlobal::instance()->iconLoader()->loadIcon( m_pArcExts->dialogPageIcon(), TDEIcon::NoGroup, TDEIcon::SizeMedium ) );
pLayout = new TQVBoxLayout( pFrame );
pPage = m_pArcExts->dialogPage( pFrame );
pLayout->addWidget( pPage );