From ea0a6815c10291d1ae30029f5183e3eaaf838fda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 26 Mar 2016 12:41:49 +0100 Subject: Initial TDE conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- part/kxeconfiguration.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'part/kxeconfiguration.cpp') 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 -#include +#include +#include #include #include @@ -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 ); -- cgit v1.2.1