summaryrefslogtreecommitdiffstats
path: root/kpovmodeler
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-15 18:56:27 -0600
committerTimothy Pearson <[email protected]>2011-11-15 18:56:27 -0600
commit3af987b7825866d742487cb6aa5b82bf0adf7543 (patch)
tree5eee0d762e0276285636258341468c3e52e37a62 /kpovmodeler
parent1d7bcf8647f0cefe1a61bd5deaa7cc106319c0c7 (diff)
downloadtdegraphics-3af987b7825866d742487cb6aa5b82bf0adf7543.tar.gz
tdegraphics-3af987b7825866d742487cb6aa5b82bf0adf7543.zip
Rename KDE_VERSION to TDE_VERSION
Diffstat (limited to 'kpovmodeler')
-rw-r--r--kpovmodeler/pmpovrayrenderwidget.cpp6
-rw-r--r--kpovmodeler/pmpovraywidget.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/kpovmodeler/pmpovrayrenderwidget.cpp b/kpovmodeler/pmpovrayrenderwidget.cpp
index aae9c137..ac95309c 100644
--- a/kpovmodeler/pmpovrayrenderwidget.cpp
+++ b/kpovmodeler/pmpovrayrenderwidget.cpp
@@ -113,7 +113,7 @@ bool PMPovrayRenderWidget::render( const TQByteArray& scene,
<< "+K0.0" << "+KFI1" << "+KFF1" << "+KI0.0" << "+KF0.0"
<< "+SF1" << "+EF1" << "-KC" << "-D";
-#if ( ( KDE_VERSION_MAJOR == 2 ) && ( KDE_VERSION_MINOR >= 9 ) ) || ( KDE_VERSION_MAJOR == 3 )
+#if ( ( TDE_VERSION_MAJOR == 2 ) && ( TDE_VERSION_MINOR >= 9 ) ) || ( TDE_VERSION_MAJOR == 3 )
if( !documentURL.isEmpty( ) && documentURL.isLocalFile( ) )
m_pProcess->setWorkingDirectory( documentURL.directory( ) );
#endif
@@ -407,7 +407,7 @@ TQSize PMPovrayRenderWidget::tqsizeHint( ) const
void PMPovrayRenderWidget::saveConfig( KConfig* cfg )
{
cfg->setGroup( "Povray" );
-#if ( ( KDE_VERSION_MAJOR == 3 ) && ( KDE_VERSION_MINOR <= 1 ) )
+#if ( ( TDE_VERSION_MAJOR == 3 ) && ( TDE_VERSION_MINOR <= 1 ) )
cfg->writeEntry( "PovrayCommand", s_povrayCommand );
cfg->writeEntry( "LibraryPaths", s_libraryPaths );
#else
@@ -419,7 +419,7 @@ void PMPovrayRenderWidget::saveConfig( KConfig* cfg )
void PMPovrayRenderWidget::restoreConfig( KConfig* cfg )
{
cfg->setGroup( "Povray" );
-#if ( ( KDE_VERSION_MAJOR == 3 ) && ( KDE_VERSION_MINOR <= 1 ) )
+#if ( ( TDE_VERSION_MAJOR == 3 ) && ( TDE_VERSION_MINOR <= 1 ) )
s_povrayCommand = cfg->readEntry( "PovrayCommand", s_povrayCommand );
s_libraryPaths = cfg->readListEntry( "LibraryPaths" );
#else
diff --git a/kpovmodeler/pmpovraywidget.cpp b/kpovmodeler/pmpovraywidget.cpp
index 086ced61..c4ce83cb 100644
--- a/kpovmodeler/pmpovraywidget.cpp
+++ b/kpovmodeler/pmpovraywidget.cpp
@@ -151,7 +151,7 @@ bool PMPovrayWidget::render( const TQByteArray& scene, const PMRenderMode& m,
w += 16;
h += 16;
-#if ( ( KDE_VERSION_MAJOR == 3 ) && ( KDE_VERSION_MINOR <= 1 ) )
+#if ( ( TDE_VERSION_MAJOR == 3 ) && ( TDE_VERSION_MINOR <= 1 ) )
TQWidget* dw = TQApplication::desktop( );
if( w > dw->width( ) )
w = dw->width( );