summaryrefslogtreecommitdiffstats
path: root/kpovmodeler
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler')
-rw-r--r--kpovmodeler/pmcontrolpoint.cpp4
-rw-r--r--kpovmodeler/pmcontrolpoint.h6
-rw-r--r--kpovmodeler/pmdialogeditbase.cpp4
-rw-r--r--kpovmodeler/pmdialogeditbase.h6
-rw-r--r--kpovmodeler/pmdockwidget.cpp16
-rw-r--r--kpovmodeler/pmdockwidget.h32
-rw-r--r--kpovmodeler/pmdocumentationmap.cpp4
-rw-r--r--kpovmodeler/pmdocumentationmap.h6
-rw-r--r--kpovmodeler/pmerrordialog.cpp4
-rw-r--r--kpovmodeler/pmerrordialog.h6
-rw-r--r--kpovmodeler/pmglview.cpp4
-rw-r--r--kpovmodeler/pmglview.h6
-rw-r--r--kpovmodeler/pmlibrarybrowser.cpp6
-rw-r--r--kpovmodeler/pmlibrarybrowser.h6
-rw-r--r--kpovmodeler/pmlibraryhandleedit.cpp4
-rw-r--r--kpovmodeler/pmlibraryhandleedit.h4
-rw-r--r--kpovmodeler/pmlibraryiconview.cpp4
-rw-r--r--kpovmodeler/pmlibrarymanager.cpp4
-rw-r--r--kpovmodeler/pmlibrarymanager.h6
-rw-r--r--kpovmodeler/pmpart.cpp6
-rw-r--r--kpovmodeler/pmpart.h4
-rw-r--r--kpovmodeler/pmpluginmanager.cpp4
-rw-r--r--kpovmodeler/pmpovrayoutputwidget.cpp4
-rw-r--r--kpovmodeler/pmpovrayoutputwidget.h6
-rw-r--r--kpovmodeler/pmpovrayrenderwidget.cpp4
-rw-r--r--kpovmodeler/pmpovrayrenderwidget.h6
-rw-r--r--kpovmodeler/pmpovraywidget.cpp2
-rw-r--r--kpovmodeler/pmrendermanager.cpp4
-rw-r--r--kpovmodeler/pmrendermanager.h6
-rw-r--r--kpovmodeler/pmrendermodesdialog.cpp8
-rw-r--r--kpovmodeler/pmrendermodesdialog.h10
-rw-r--r--kpovmodeler/pmsettingsdialog.cpp4
-rw-r--r--kpovmodeler/pmsettingsdialog.h6
-rw-r--r--kpovmodeler/pmshell.cpp6
-rw-r--r--kpovmodeler/pmview.cpp4
-rw-r--r--kpovmodeler/pmview.h6
-rw-r--r--kpovmodeler/pmviewlayoutmanager.h2
37 files changed, 112 insertions, 112 deletions
diff --git a/kpovmodeler/pmcontrolpoint.cpp b/kpovmodeler/pmcontrolpoint.cpp
index 18e5953d..70cab9d4 100644
--- a/kpovmodeler/pmcontrolpoint.cpp
+++ b/kpovmodeler/pmcontrolpoint.cpp
@@ -82,7 +82,7 @@ void PMControlPoint::setRotateGrid( double d )
kdError( PMArea ) << "Grid has to be greater than 0\n";
}
-void PMControlPoint::saveConfig( KConfig* cfg )
+void PMControlPoint::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "Grid" );
cfg->writeEntry( "MoveGrid", s_moveGrid );
@@ -90,7 +90,7 @@ void PMControlPoint::saveConfig( KConfig* cfg )
cfg->writeEntry( "ScaleGrid", s_scaleGrid );
}
-void PMControlPoint::restoreConfig( KConfig* cfg )
+void PMControlPoint::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "Grid" );
s_moveGrid = cfg->readDoubleNumEntry( "MoveGrid", c_defaultMoveGrid );
diff --git a/kpovmodeler/pmcontrolpoint.h b/kpovmodeler/pmcontrolpoint.h
index dbc52c6d..a891bb9c 100644
--- a/kpovmodeler/pmcontrolpoint.h
+++ b/kpovmodeler/pmcontrolpoint.h
@@ -28,7 +28,7 @@
#include <tqptrlist.h>
#include <tqstring.h>
-class KConfig;
+class TDEConfig;
/**
* Interface between the graphical views and the PMObject.
@@ -153,8 +153,8 @@ public:
*/
static void setScaleGrid( double d );
- static void saveConfig( KConfig* cfg );
- static void restoreConfig( KConfig* cfg );
+ static void saveConfig( TDEConfig* cfg );
+ static void restoreConfig( TDEConfig* cfg );
protected:
/**
diff --git a/kpovmodeler/pmdialogeditbase.cpp b/kpovmodeler/pmdialogeditbase.cpp
index 33f3b813..d56d1b2b 100644
--- a/kpovmodeler/pmdialogeditbase.cpp
+++ b/kpovmodeler/pmdialogeditbase.cpp
@@ -274,7 +274,7 @@ void PMDialogEditBase::setPreviewAADepth( int d )
s_previewAADepth = d;
}
-void PMDialogEditBase::saveConfig( KConfig* cfg )
+void PMDialogEditBase::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "TexturePreview" );
cfg->writeEntry( "Size", s_previewSize );
@@ -293,7 +293,7 @@ void PMDialogEditBase::saveConfig( KConfig* cfg )
cfg->writeEntry( "Gamma", s_previewGamma );
}
-void PMDialogEditBase::restoreConfig( KConfig* cfg )
+void PMDialogEditBase::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "TexturePreview" );
setPreviewSize( cfg->readNumEntry( "Size", s_previewSize ) );
diff --git a/kpovmodeler/pmdialogeditbase.h b/kpovmodeler/pmdialogeditbase.h
index 747db8d9..e7835740 100644
--- a/kpovmodeler/pmdialogeditbase.h
+++ b/kpovmodeler/pmdialogeditbase.h
@@ -34,7 +34,7 @@ class TQCheckBox;
class TQLayout;
class TQPushButton;
class TQVBox;
-class KConfig;
+class TDEConfig;
class PMPart;
class PMPovrayRenderWidget;
class PMPovrayOutputWidget;
@@ -262,8 +262,8 @@ public:
*/
static void setPreviewGamma( double g ) { s_previewGamma = g; }
- static void saveConfig( KConfig* cfg );
- static void restoreConfig( KConfig* cfg );
+ static void saveConfig( TDEConfig* cfg );
+ static void restoreConfig( TDEConfig* cfg );
protected:
/**
* Sets the help topic
diff --git a/kpovmodeler/pmdockwidget.cpp b/kpovmodeler/pmdockwidget.cpp
index 2eff4a8c..fb66ace6 100644
--- a/kpovmodeler/pmdockwidget.cpp
+++ b/kpovmodeler/pmdockwidget.cpp
@@ -299,12 +299,12 @@ void PMDockMainWindow::readDockConfig(TQDomElement &base)
}
#ifndef NO_KDE2
-void PMDockMainWindow::writeDockConfig( KConfig* c, TQString group )
+void PMDockMainWindow::writeDockConfig( TDEConfig* c, TQString group )
{
dockManager->writeConfig( c, group );
}
-void PMDockMainWindow::readDockConfig( KConfig* c, TQString group )
+void PMDockMainWindow::readDockConfig( TDEConfig* c, TQString group )
{
dockManager->readConfig( c, group );
}
@@ -457,12 +457,12 @@ void PMDockWidgetHeader::setDragEnabled(bool b)
}
#ifndef NO_KDE2
-void PMDockWidgetHeader::saveConfig( KConfig* c )
+void PMDockWidgetHeader::saveConfig( TDEConfig* c )
{
c->writeEntry( TQString("%1%2").arg(parent()->name()).arg(":stayButton"), stayButton->isOn() );
}
-void PMDockWidgetHeader::loadConfig( KConfig* c )
+void PMDockWidgetHeader::loadConfig( TDEConfig* c )
{
setDragEnabled( !c->readBoolEntry( TQString("%1%2").arg(parent()->name()).arg(":stayButton"), false ) );
}
@@ -2000,7 +2000,7 @@ void PMDockManager::readConfig(TQDomElement &base)
#ifndef NO_KDE2
-void PMDockManager::writeConfig( KConfig* c, TQString group )
+void PMDockManager::writeConfig( TDEConfig* c, TQString group )
{
//debug("BEGIN Write Config");
if ( !c ) c = TDEGlobal::config();
@@ -2119,7 +2119,7 @@ void PMDockManager::writeConfig( KConfig* c, TQString group )
//debug("END Write Config");
}
#include <tqmessagebox.h>
-void PMDockManager::readConfig( KConfig* c, TQString group )
+void PMDockManager::readConfig( TDEConfig* c, TQString group )
{
if ( !c ) c = TDEGlobal::config();
if ( group.isEmpty() ) group = "dock_setting_default";
@@ -2497,12 +2497,12 @@ void PMDockArea::resizeEvent(TQResizeEvent *rsize)
}
#ifndef NO_KDE2
-void PMDockArea::writeDockConfig( KConfig* c, TQString group )
+void PMDockArea::writeDockConfig( TDEConfig* c, TQString group )
{
dockManager->writeConfig( c, group );
}
-void PMDockArea::readDockConfig( KConfig* c, TQString group )
+void PMDockArea::readDockConfig( TDEConfig* c, TQString group )
{
dockManager->readConfig( c, group );
}
diff --git a/kpovmodeler/pmdockwidget.h b/kpovmodeler/pmdockwidget.h
index 612219c3..4378d282 100644
--- a/kpovmodeler/pmdockwidget.h
+++ b/kpovmodeler/pmdockwidget.h
@@ -94,7 +94,7 @@ class TQPixmap;
#ifndef NO_KDE2
class KToolBar;
-class KConfig;
+class TDEConfig;
#else
class TQToolBar;
#endif
@@ -134,12 +134,12 @@ public:
/**
* Provides saving the current configuration. Must be overridden by an inheriting class.
*/
- virtual void saveConfig( KConfig* ){};
+ virtual void saveConfig( TDEConfig* ){};
/**
* Provides loading the current configuration. Must be overridden by an inheriting class
*/
- virtual void loadConfig( KConfig* ){};
+ virtual void loadConfig( TDEConfig* ){};
#endif
protected:
@@ -286,14 +286,14 @@ public:
*
* @param c the configuration safe
*/
- virtual void saveConfig( KConfig* c);
+ virtual void saveConfig( TDEConfig* c);
/**
* Loads the current button state from a KDE config container object.
*
* @param c the configuration safe
*/
- virtual void loadConfig( KConfig* );
+ virtual void loadConfig( TDEConfig* );
#endif
protected slots:
@@ -821,7 +821,7 @@ private:
* that can be called within a @ref PMDockMainWindow or a @ref PMDockWidget .
*
* An important feature is the ability to read or save the current state of all things concerning to
- * dockwidgets to @ref KConfig .
+ * dockwidgets to @ref TDEConfig .
*
* The dockmanager is also often used when a certain dockwidget or a child of such dockwidget must be found.
*
@@ -860,9 +860,9 @@ public:
* last but not least some necessary things for recovering the dockmainwindow state.
*
* @param c the KDE configuration saver
- * @param group the name of the section in KConfig
+ * @param group the name of the section in TDEConfig
*/
- void writeConfig( KConfig* c = 0L, TQString group = TQString() );
+ void writeConfig( TDEConfig* c = 0L, TQString group = TQString() );
/**
* Like writeConfig but reads the whole stuff in.
@@ -878,9 +878,9 @@ public:
* to work, each widget must have a unique name.
*
* @param c the KDE configuration saver
- * @param group the name of the section in KConfig
+ * @param group the name of the section in TDEConfig
*/
- void readConfig ( KConfig* c = 0L, TQString group = TQString() );
+ void readConfig ( TDEConfig* c = 0L, TQString group = TQString() );
#endif
/**
@@ -1284,20 +1284,20 @@ public:
#ifndef NO_KDE2
/**
- * It writes the current dock state in the given section of KConfig.
+ * It writes the current dock state in the given section of TDEConfig.
*
* @param c KDE class for saving configurations
* @param group name of section to write to
*/
- void writeDockConfig( KConfig* c = 0L, TQString group = TQString() );
+ void writeDockConfig( TDEConfig* c = 0L, TQString group = TQString() );
/**
- * It reads the current dock state from the given section of KConfig.
+ * It reads the current dock state from the given section of TDEConfig.
*
* @param c KDE class for saving configurations
* @param group name of section to read from
*/
- void readDockConfig ( KConfig* c = 0L, TQString group = TQString() );
+ void readDockConfig ( TDEConfig* c = 0L, TQString group = TQString() );
#endif
/**
@@ -1443,8 +1443,8 @@ public:
void readDockConfig(TQDomElement &base);
#ifndef NO_KDE2
- void writeDockConfig( KConfig* c = 0L, TQString group = TQString() );
- void readDockConfig ( KConfig* c = 0L, TQString group = TQString() );
+ void writeDockConfig( TDEConfig* c = 0L, TQString group = TQString() );
+ void readDockConfig ( TDEConfig* c = 0L, TQString group = TQString() );
#endif
diff --git a/kpovmodeler/pmdocumentationmap.cpp b/kpovmodeler/pmdocumentationmap.cpp
index df2bf620..2ee43a02 100644
--- a/kpovmodeler/pmdocumentationmap.cpp
+++ b/kpovmodeler/pmdocumentationmap.cpp
@@ -70,14 +70,14 @@ PMDocumentationMap::~PMDocumentationMap( )
m_maps.clear( );
}
-void PMDocumentationMap::saveConfig( KConfig* cfg )
+void PMDocumentationMap::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "Povray" );
cfg->writePathEntry( "DocumentationPath", m_documentationPath );
cfg->writeEntry( "DocumentationVersion", m_currentVersion );
}
-void PMDocumentationMap::restoreConfig( KConfig* cfg )
+void PMDocumentationMap::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "Povray" );
m_documentationPath = cfg->readPathEntry( "DocumentationPath" );
diff --git a/kpovmodeler/pmdocumentationmap.h b/kpovmodeler/pmdocumentationmap.h
index 19654089..6a982972 100644
--- a/kpovmodeler/pmdocumentationmap.h
+++ b/kpovmodeler/pmdocumentationmap.h
@@ -29,7 +29,7 @@
#include <tqvaluelist.h>
#include <kstaticdeleter.h>
-class KConfig;
+class TDEConfig;
class TQDomElement;
/**
@@ -113,8 +113,8 @@ public:
*/
TQString documentation( const TQString& objectName );
- void saveConfig( KConfig* cfg );
- void restoreConfig( KConfig* cfg );
+ void saveConfig( TDEConfig* cfg );
+ void restoreConfig( TDEConfig* cfg );
private:
diff --git a/kpovmodeler/pmerrordialog.cpp b/kpovmodeler/pmerrordialog.cpp
index eb920fb0..a8e84afc 100644
--- a/kpovmodeler/pmerrordialog.cpp
+++ b/kpovmodeler/pmerrordialog.cpp
@@ -115,13 +115,13 @@ void PMErrorDialog::displayMessages( )
m_pTextView->setText( text );
}
-void PMErrorDialog::saveConfig( KConfig* cfg )
+void PMErrorDialog::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
cfg->writeEntry( "ErrorDialogSize", s_size );
}
-void PMErrorDialog::restoreConfig( KConfig* cfg )
+void PMErrorDialog::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
diff --git a/kpovmodeler/pmerrordialog.h b/kpovmodeler/pmerrordialog.h
index f7a9f0a6..971ef114 100644
--- a/kpovmodeler/pmerrordialog.h
+++ b/kpovmodeler/pmerrordialog.h
@@ -29,7 +29,7 @@
#include <tqptrdict.h>
#include <tqptrlist.h>
-class KConfig;
+class TDEConfig;
class TQTextEdit;
class PMObject;
@@ -56,8 +56,8 @@ public:
PMErrorDialog( const PMMessageList& messages, int errorFlags,
TQWidget* parent = 0, const char* name = 0 );
- static void saveConfig( KConfig* cfg );
- static void restoreConfig( KConfig* cfg );
+ static void saveConfig( TDEConfig* cfg );
+ static void restoreConfig( TDEConfig* cfg );
protected:
virtual void resizeEvent( TQResizeEvent* ev );
diff --git a/kpovmodeler/pmglview.cpp b/kpovmodeler/pmglview.cpp
index a8cf75a7..7bd9c0be 100644
--- a/kpovmodeler/pmglview.cpp
+++ b/kpovmodeler/pmglview.cpp
@@ -1526,11 +1526,11 @@ TQString PMGLView::viewTypeAsString( PMViewType t )
return str;
}
-void PMGLView::saveConfig( KConfig* /*cfg*/ )
+void PMGLView::saveConfig( TDEConfig* /*cfg*/ )
{
}
-void PMGLView::restoreConfig( KConfig* /*cfg*/ )
+void PMGLView::restoreConfig( TDEConfig* /*cfg*/ )
{
}
diff --git a/kpovmodeler/pmglview.h b/kpovmodeler/pmglview.h
index 095d0c04..1ecc9ad9 100644
--- a/kpovmodeler/pmglview.h
+++ b/kpovmodeler/pmglview.h
@@ -42,7 +42,7 @@ const int controlPointSize = 7;
class PMObject;
class PMPart;
class PMCamera;
-class KConfig;
+class TDEConfig;
class TQComboBox;
/**
@@ -152,11 +152,11 @@ public:
/**
* Saves the configuration
*/
- static void saveConfig( KConfig* cfg );
+ static void saveConfig( TDEConfig* cfg );
/**
* Restores the configuration
*/
- static void restoreConfig( KConfig* cfg );
+ static void restoreConfig( TDEConfig* cfg );
/**
* Returns true if the glx stuff was initialized successfully
diff --git a/kpovmodeler/pmlibrarybrowser.cpp b/kpovmodeler/pmlibrarybrowser.cpp
index bc7e1af7..f53d4301 100644
--- a/kpovmodeler/pmlibrarybrowser.cpp
+++ b/kpovmodeler/pmlibrarybrowser.cpp
@@ -227,8 +227,8 @@ void PMLibraryBrowserViewWidget::slotDeleteClicked( )
{
case PMLibraryHandle::Ok:
{
- KIO::Job *job = KIO::del( sel->path() );
- connect( job, TQT_SIGNAL( result( KIO::Job * ) ), TQT_SLOT( slotJobResult( KIO::Job * ) ) );
+ TDEIO::Job *job = TDEIO::del( sel->path() );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), TQT_SLOT( slotJobResult( TDEIO::Job * ) ) );
}
break;
case PMLibraryHandle::ReadOnlyLib:
@@ -289,7 +289,7 @@ void PMLibraryBrowserViewWidget::slotNewSubLibraryClicked( )
}
}
-void PMLibraryBrowserViewWidget::slotJobResult( KIO::Job * job )
+void PMLibraryBrowserViewWidget::slotJobResult( TDEIO::Job * job )
{
if( job->error( ) )
job->showErrorDialog( this );
diff --git a/kpovmodeler/pmlibrarybrowser.h b/kpovmodeler/pmlibrarybrowser.h
index 2e074225..b5e8fe7e 100644
--- a/kpovmodeler/pmlibrarybrowser.h
+++ b/kpovmodeler/pmlibrarybrowser.h
@@ -32,13 +32,13 @@
class TQComboBox;
class TQIconViewItem;
class TQPushButton;
-class KConfig;
+class TDEConfig;
class KDirOperator;
class PMLibraryIconView;
class PMLibraryEntryPreview;
class PMLibraryHandle;
class PMPart;
-namespace KIO{ class Job; }
+namespace TDEIO{ class Job; }
typedef TQDict<TQString> TQStringDict;
@@ -81,7 +81,7 @@ private slots:
void slotNewObjectClicked( );
void slotNewSubLibraryClicked( );
- void slotJobResult( KIO::Job * );
+ void slotJobResult( TDEIO::Job * );
// These slots provide delayed activity on the IconView
void slotIconViewRefresh( );
diff --git a/kpovmodeler/pmlibraryhandleedit.cpp b/kpovmodeler/pmlibraryhandleedit.cpp
index e991af6e..4629a388 100644
--- a/kpovmodeler/pmlibraryhandleedit.cpp
+++ b/kpovmodeler/pmlibraryhandleedit.cpp
@@ -99,13 +99,13 @@ void PMLibraryHandleEdit::slotDescriptionChanged( )
enableButtonOK( true );
}
-void PMLibraryHandleEdit::saveConfig( KConfig* cfg )
+void PMLibraryHandleEdit::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
cfg->writeEntry( "LibraryHandleEditSize", s_size );
}
-void PMLibraryHandleEdit::restoreConfig( KConfig* cfg )
+void PMLibraryHandleEdit::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
diff --git a/kpovmodeler/pmlibraryhandleedit.h b/kpovmodeler/pmlibraryhandleedit.h
index 6b35ddcb..d17387d5 100644
--- a/kpovmodeler/pmlibraryhandleedit.h
+++ b/kpovmodeler/pmlibraryhandleedit.h
@@ -45,8 +45,8 @@ public:
*/
PMLibraryHandleEdit( PMLibraryHandle* lib, TQWidget *parent = NULL, const char* name = NULL );
- static void saveConfig( KConfig* cfg );
- static void restoreConfig( KConfig* cfg );
+ static void saveConfig( TDEConfig* cfg );
+ static void restoreConfig( TDEConfig* cfg );
static TQSize s_size;
private slots:
diff --git a/kpovmodeler/pmlibraryiconview.cpp b/kpovmodeler/pmlibraryiconview.cpp
index d2588dca..757162ec 100644
--- a/kpovmodeler/pmlibraryiconview.cpp
+++ b/kpovmodeler/pmlibraryiconview.cpp
@@ -244,7 +244,7 @@ void PMLibraryIconViewItem::dropped( TQDropEvent *e, const TQValueList<TQIconDra
if( newParentLib.addSubLibrary( newpath, lib.name() ) == PMLibraryHandle::Ok )
{
lib.changeParentLibrary( m_path );
- KIO::move( path, newpath );
+ TDEIO::move( path, newpath );
}
else
{
@@ -263,7 +263,7 @@ void PMLibraryIconViewItem::dropped( TQDropEvent *e, const TQValueList<TQIconDra
PMLibraryObject obj = PMLibraryObject( path );
if( newParentLib.addObject( newpath, obj.name() ) == PMLibraryHandle::Ok )
{
- KIO::move( path, newpath );
+ TDEIO::move( path, newpath );
}
else
{
diff --git a/kpovmodeler/pmlibrarymanager.cpp b/kpovmodeler/pmlibrarymanager.cpp
index 358789a1..cf9c6f96 100644
--- a/kpovmodeler/pmlibrarymanager.cpp
+++ b/kpovmodeler/pmlibrarymanager.cpp
@@ -51,11 +51,11 @@ PMLibraryManager::~PMLibraryManager( )
m_libraries.clear( );
}
-void PMLibraryManager::saveConfig( KConfig* /*cfg*/ )
+void PMLibraryManager::saveConfig( TDEConfig* /*cfg*/ )
{
}
-void PMLibraryManager::restoreConfig( KConfig* /*cfg*/ )
+void PMLibraryManager::restoreConfig( TDEConfig* /*cfg*/ )
{
}
diff --git a/kpovmodeler/pmlibrarymanager.h b/kpovmodeler/pmlibrarymanager.h
index 1ced4d0b..6c2fe7bd 100644
--- a/kpovmodeler/pmlibrarymanager.h
+++ b/kpovmodeler/pmlibrarymanager.h
@@ -31,7 +31,7 @@
#include "pmlibraryhandle.h"
-class KConfig;
+class TDEConfig;
class TQDomElement;
/**
@@ -76,8 +76,8 @@ public:
*/
void refresh( );
- void saveConfig( KConfig* cfg );
- void restoreConfig( KConfig* cfg );
+ void saveConfig( TDEConfig* cfg );
+ void restoreConfig( TDEConfig* cfg );
private:
diff --git a/kpovmodeler/pmpart.cpp b/kpovmodeler/pmpart.cpp
index b791a9aa..f58b87a3 100644
--- a/kpovmodeler/pmpart.cpp
+++ b/kpovmodeler/pmpart.cpp
@@ -742,7 +742,7 @@ void PMPart::initView( TQWidget* parent, const char* name )
}
}
-void PMPart::saveConfig( KConfig* cfg )
+void PMPart::saveConfig( TDEConfig* cfg )
{
if( m_pView )
m_pView->saveConfig( cfg );
@@ -788,7 +788,7 @@ void PMPart::saveConfig( KConfig* cfg )
cfg->writeEntry( "DirectRendering", PMGLView::isDirectRenderingEnabled( ) );
}
-void PMPart::restoreConfig( KConfig* cfg )
+void PMPart::restoreConfig( TDEConfig* cfg )
{
if( m_pView )
m_pView->restoreConfig( cfg );
@@ -958,7 +958,7 @@ bool PMPart::exportPovray( const KURL& url )
if( tempFile )
{
tempFile->close( );
- ok = KIO::NetAccess::upload( tempFile->name( ), url, (TQWidget*) 0 );
+ ok = TDEIO::NetAccess::upload( tempFile->name( ), url, (TQWidget*) 0 );
tempFile->unlink( );
file = 0;
}
diff --git a/kpovmodeler/pmpart.h b/kpovmodeler/pmpart.h
index ee2b071d..7c14cbf9 100644
--- a/kpovmodeler/pmpart.h
+++ b/kpovmodeler/pmpart.h
@@ -120,11 +120,11 @@ public:
/**
* saves settings
*/
- void saveConfig( KConfig* cfg );
+ void saveConfig( TDEConfig* cfg );
/**
* loads settings
*/
- void restoreConfig( KConfig* cfg );
+ void restoreConfig( TDEConfig* cfg );
/**
* Updates the sorted list of selected objects if necessary and
diff --git a/kpovmodeler/pmpluginmanager.cpp b/kpovmodeler/pmpluginmanager.cpp
index c06f3342..f3a41686 100644
--- a/kpovmodeler/pmpluginmanager.cpp
+++ b/kpovmodeler/pmpluginmanager.cpp
@@ -47,7 +47,7 @@ public:
PMPluginManager::PMPluginManager( )
{
// find installed plugins
- KConfigGroup cfgGroup( PMFactory::instance( )->config( ),
+ TDEConfigGroup cfgGroup( PMFactory::instance( )->config( ),
"KParts Plugins" );
TQValueList<Plugin::PluginInfo> plugins
= PMPluginWorkaround::installedPlugins( PMFactory::instance( ) );
@@ -95,7 +95,7 @@ void PMPluginManager::removePart( PMPart* p )
void PMPluginManager::updatePlugins( )
{
- KConfigGroup cfgGroup( PMFactory::instance( )->config( ),
+ TDEConfigGroup cfgGroup( PMFactory::instance( )->config( ),
"KParts Plugins" );
TQPtrListIterator<PMPluginInfo> pit( m_plugins );
for( ; *pit; ++pit )
diff --git a/kpovmodeler/pmpovrayoutputwidget.cpp b/kpovmodeler/pmpovrayoutputwidget.cpp
index bf3962a8..39c125d6 100644
--- a/kpovmodeler/pmpovrayoutputwidget.cpp
+++ b/kpovmodeler/pmpovrayoutputwidget.cpp
@@ -93,13 +93,13 @@ void PMPovrayOutputWidget::slotClose( )
}
-void PMPovrayOutputWidget::saveConfig( KConfig* cfg )
+void PMPovrayOutputWidget::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
cfg->writeEntry( "PovrayOutputWidgetSize", s_size );
}
-void PMPovrayOutputWidget::restoreConfig( KConfig* cfg )
+void PMPovrayOutputWidget::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
diff --git a/kpovmodeler/pmpovrayoutputwidget.h b/kpovmodeler/pmpovrayoutputwidget.h
index 1aa2ab05..7e4c3ffb 100644
--- a/kpovmodeler/pmpovrayoutputwidget.h
+++ b/kpovmodeler/pmpovrayoutputwidget.h
@@ -26,7 +26,7 @@
#include <kdialog.h>
class TQTextEdit;
-class KConfig;
+class TDEConfig;
/**
* Widget to display the povray text output
@@ -45,8 +45,8 @@ public:
*/
~PMPovrayOutputWidget( );
- static void saveConfig( KConfig* cfg );
- static void restoreConfig( KConfig* cfg );
+ static void saveConfig( TDEConfig* cfg );
+ static void restoreConfig( TDEConfig* cfg );
public slots:
/**
diff --git a/kpovmodeler/pmpovrayrenderwidget.cpp b/kpovmodeler/pmpovrayrenderwidget.cpp
index 560d8303..a47d66b0 100644
--- a/kpovmodeler/pmpovrayrenderwidget.cpp
+++ b/kpovmodeler/pmpovrayrenderwidget.cpp
@@ -404,7 +404,7 @@ TQSize PMPovrayRenderWidget::sizeHint( ) const
return s.expandedTo( minimumSize( ) );
}
-void PMPovrayRenderWidget::saveConfig( KConfig* cfg )
+void PMPovrayRenderWidget::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "Povray" );
#if ( ( TDE_VERSION_MAJOR == 3 ) && ( TDE_VERSION_MINOR <= 1 ) )
@@ -416,7 +416,7 @@ void PMPovrayRenderWidget::saveConfig( KConfig* cfg )
#endif
}
-void PMPovrayRenderWidget::restoreConfig( KConfig* cfg )
+void PMPovrayRenderWidget::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "Povray" );
#if ( ( TDE_VERSION_MAJOR == 3 ) && ( TDE_VERSION_MINOR <= 1 ) )
diff --git a/kpovmodeler/pmpovrayrenderwidget.h b/kpovmodeler/pmpovrayrenderwidget.h
index 0f2900f9..0e3a7786 100644
--- a/kpovmodeler/pmpovrayrenderwidget.h
+++ b/kpovmodeler/pmpovrayrenderwidget.h
@@ -32,7 +32,7 @@
#include "pmdragwidget.h"
class TDEProcess;
-class KConfig;
+class TDEConfig;
class KURL;
class KTempFile;
@@ -71,8 +71,8 @@ public:
*/
TQImage image( ) const { return m_image; }
- static void saveConfig( KConfig* cfg );
- static void restoreConfig( KConfig* cfg );
+ static void saveConfig( TDEConfig* cfg );
+ static void restoreConfig( TDEConfig* cfg );
/**
* Returns the povray command
diff --git a/kpovmodeler/pmpovraywidget.cpp b/kpovmodeler/pmpovraywidget.cpp
index 4cca5e50..e077de69 100644
--- a/kpovmodeler/pmpovraywidget.cpp
+++ b/kpovmodeler/pmpovraywidget.cpp
@@ -294,7 +294,7 @@ void PMPovrayWidget::slotSave( )
if( tempFile )
{
tempFile->close( );
- ok = KIO::NetAccess::upload( tempFile->name( ), url );
+ ok = TDEIO::NetAccess::upload( tempFile->name( ), url );
tempFile->unlink( );
file = 0;
}
diff --git a/kpovmodeler/pmrendermanager.cpp b/kpovmodeler/pmrendermanager.cpp
index 49982745..2e56662a 100644
--- a/kpovmodeler/pmrendermanager.cpp
+++ b/kpovmodeler/pmrendermanager.cpp
@@ -1592,7 +1592,7 @@ void PMRenderManager::slotRenderingSettingsChanged( )
emit renderingSettingsChanged( );
}
-void PMRenderManager::saveConfig( KConfig* cfg )
+void PMRenderManager::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "Rendering" );
cfg->writeEntry( "BackgroundColor", m_backgroundColor );
@@ -1609,7 +1609,7 @@ void PMRenderManager::saveConfig( KConfig* cfg )
cfg->writeEntry( "HighDetailCameraViews", m_highDetailCameraView );
}
-void PMRenderManager::restoreConfig( KConfig* cfg )
+void PMRenderManager::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "Rendering" );
diff --git a/kpovmodeler/pmrendermanager.h b/kpovmodeler/pmrendermanager.h
index 553b8522..8305de19 100644
--- a/kpovmodeler/pmrendermanager.h
+++ b/kpovmodeler/pmrendermanager.h
@@ -39,7 +39,7 @@
class PMGLView;
class PMCamera;
class PMPoint;
-class KConfig;
+class TDEConfig;
class TQString;
/**
@@ -215,11 +215,11 @@ public:
/**
* Saves the configuration
*/
- void saveConfig( KConfig* cfg );
+ void saveConfig( TDEConfig* cfg );
/**
* Restores the configuration
*/
- void restoreConfig( KConfig* cfg );
+ void restoreConfig( TDEConfig* cfg );
/**
* Returns true if the glx extension is available
diff --git a/kpovmodeler/pmrendermodesdialog.cpp b/kpovmodeler/pmrendermodesdialog.cpp
index 4fa8f09f..e787616c 100644
--- a/kpovmodeler/pmrendermodesdialog.cpp
+++ b/kpovmodeler/pmrendermodesdialog.cpp
@@ -124,13 +124,13 @@ void PMRenderModesDialog::checkButtons( )
}
}
-void PMRenderModesDialog::saveConfig( KConfig* cfg )
+void PMRenderModesDialog::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
cfg->writeEntry( "RenderModesDialogSize", s_size );
}
-void PMRenderModesDialog::restoreConfig( KConfig* cfg )
+void PMRenderModesDialog::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
@@ -390,13 +390,13 @@ PMRenderModeDialog::PMRenderModeDialog( PMRenderMode* mode, TQWidget* parent, co
connect( m_pAlphaBox, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( slotToggled( bool ) ) );
}
-void PMRenderModeDialog::saveConfig( KConfig* cfg )
+void PMRenderModeDialog::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
cfg->writeEntry( "RenderModeDialogSize", s_size );
}
-void PMRenderModeDialog::restoreConfig( KConfig* cfg )
+void PMRenderModeDialog::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
diff --git a/kpovmodeler/pmrendermodesdialog.h b/kpovmodeler/pmrendermodesdialog.h
index a8121a39..6688b01c 100644
--- a/kpovmodeler/pmrendermodesdialog.h
+++ b/kpovmodeler/pmrendermodesdialog.h
@@ -28,7 +28,7 @@ class TQLineEdit;
class TQListBox;
class TQPushButton;
class TQTabWidget;
-class KConfig;
+class TDEConfig;
class PMIntEdit;
class PMFloatEdit;
@@ -46,8 +46,8 @@ public:
*/
PMRenderModesDialog( PMRenderModeList* modes, TQWidget* parent = 0, const char* name = 0 );
- static void saveConfig( KConfig* cfg );
- static void restoreConfig( KConfig* cfg );
+ static void saveConfig( TDEConfig* cfg );
+ static void restoreConfig( TDEConfig* cfg );
protected slots:
/**
@@ -115,8 +115,8 @@ public:
*/
PMRenderModeDialog( PMRenderMode* mode, TQWidget* parent = 0, const char* name = 0 );
- static void saveConfig( KConfig* cfg );
- static void restoreConfig( KConfig* cfg );
+ static void saveConfig( TDEConfig* cfg );
+ static void restoreConfig( TDEConfig* cfg );
protected:
virtual void resizeEvent( TQResizeEvent* ev );
diff --git a/kpovmodeler/pmsettingsdialog.cpp b/kpovmodeler/pmsettingsdialog.cpp
index fa200ba6..ade88b40 100644
--- a/kpovmodeler/pmsettingsdialog.cpp
+++ b/kpovmodeler/pmsettingsdialog.cpp
@@ -200,13 +200,13 @@ void PMSettingsDialog::saveSettings( )
}
}
-void PMSettingsDialog::saveConfig( KConfig* cfg )
+void PMSettingsDialog::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
cfg->writeEntry( "SettingsDialogSize", s_size );
}
-void PMSettingsDialog::restoreConfig( KConfig* cfg )
+void PMSettingsDialog::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
diff --git a/kpovmodeler/pmsettingsdialog.h b/kpovmodeler/pmsettingsdialog.h
index 917680cd..bc4a60da 100644
--- a/kpovmodeler/pmsettingsdialog.h
+++ b/kpovmodeler/pmsettingsdialog.h
@@ -35,7 +35,7 @@ class TQListView;
class TQButtonGroup;
class TQComboBox;
class KColorButton;
-class KConfig;
+class TDEConfig;
class PMIntEdit;
class PMFloatEdit;
class PMPart;
@@ -141,8 +141,8 @@ public:
*/
void registerPage( TQWidget* topPage, PMSettingsDialogPage* page );
- static void saveConfig( KConfig* cfg );
- static void restoreConfig( KConfig* cfg );
+ static void saveConfig( TDEConfig* cfg );
+ static void restoreConfig( TDEConfig* cfg );
protected:
virtual void resizeEvent( TQResizeEvent* ev );
diff --git a/kpovmodeler/pmshell.cpp b/kpovmodeler/pmshell.cpp
index fe7e8f6d..13148682 100644
--- a/kpovmodeler/pmshell.cpp
+++ b/kpovmodeler/pmshell.cpp
@@ -73,7 +73,7 @@ PMShell::PMShell( const KURL& url )
m_pStatusBar->insertItem( " ", c_statusBarInfo, 1 );
m_pStatusBar->insertItem( "" , c_statusBarControlPoints );
- KConfig* config = instance( )->config( );
+ TDEConfig* config = instance( )->config( );
config->setGroup( "Appearance" );
applyMainWindowSettings( config );
@@ -558,7 +558,7 @@ void PMShell::updateGUI( )
void PMShell::saveOptions( )
{
kdDebug( PMArea ) << "Saving configuration" << endl;
- KConfig* config = TDEGlobal::config( );
+ TDEConfig* config = TDEGlobal::config( );
// set group
config->setGroup( "Appearance" );
@@ -574,7 +574,7 @@ void PMShell::saveOptions( )
void PMShell::restoreOptions( )
{
- KConfig* config = instance( )->config( );
+ TDEConfig* config = instance( )->config( );
// set group
config->setGroup( "Appearance" );
diff --git a/kpovmodeler/pmview.cpp b/kpovmodeler/pmview.cpp
index 2fcd7eb2..a774aa28 100644
--- a/kpovmodeler/pmview.cpp
+++ b/kpovmodeler/pmview.cpp
@@ -88,7 +88,7 @@ void PMView::print( TQPrinter* pPrinter )
printpainter.end( );
}
-void PMView::saveConfig( KConfig* cfg )
+void PMView::saveConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
@@ -96,7 +96,7 @@ void PMView::saveConfig( KConfig* cfg )
cfg->writeEntry( "TreeEditSplitter", m_pTreeEditSplitter->sizes( ) );
}
-void PMView::restoreConfig( KConfig* cfg )
+void PMView::restoreConfig( TDEConfig* cfg )
{
cfg->setGroup( "Appearance" );
diff --git a/kpovmodeler/pmview.h b/kpovmodeler/pmview.h
index 02aa3e00..72a9d98f 100644
--- a/kpovmodeler/pmview.h
+++ b/kpovmodeler/pmview.h
@@ -31,7 +31,7 @@ class PMTreeView;
class PMDialogView;
class PMPart;
class TQSplitter;
-class KConfig;
+class TDEConfig;
/**
* The PMView class provides the view widget for the PMPart document class.
@@ -61,11 +61,11 @@ public:
/**
* saves settings
*/
- void saveConfig( KConfig* cfg );
+ void saveConfig( TDEConfig* cfg );
/**
* loads settings
*/
- void restoreConfig( KConfig* cfg );
+ void restoreConfig( TDEConfig* cfg );
private:
PMTreeView* m_pTreeView;
PMPart* m_pPart;
diff --git a/kpovmodeler/pmviewlayoutmanager.h b/kpovmodeler/pmviewlayoutmanager.h
index 4910ba85..9cfdee67 100644
--- a/kpovmodeler/pmviewlayoutmanager.h
+++ b/kpovmodeler/pmviewlayoutmanager.h
@@ -35,7 +35,7 @@
#include "pmdockwidget.h"
#include "pmviewbase.h"
-class KConfig;
+class TDEConfig;
class TQDomElement;
class TQLineEdit;
class PMShell;