summaryrefslogtreecommitdiffstats
path: root/kuickshow
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:56:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:56:27 -0600
commit3af987b7825866d742487cb6aa5b82bf0adf7543 (patch)
tree5eee0d762e0276285636258341468c3e52e37a62 /kuickshow
parent1d7bcf8647f0cefe1a61bd5deaa7cc106319c0c7 (diff)
downloadtdegraphics-3af987b7825866d742487cb6aa5b82bf0adf7543.tar.gz
tdegraphics-3af987b7825866d742487cb6aa5b82bf0adf7543.zip
Rename KDE_VERSION to TDE_VERSION
Diffstat (limited to 'kuickshow')
-rw-r--r--kuickshow/src/filewidget.cpp2
-rw-r--r--kuickshow/src/imagewindow.cpp4
-rw-r--r--kuickshow/src/kuickshow.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/kuickshow/src/filewidget.cpp b/kuickshow/src/filewidget.cpp
index 7bd52834..170b5fa5 100644
--- a/kuickshow/src/filewidget.cpp
+++ b/kuickshow/src/filewidget.cpp
@@ -42,7 +42,7 @@ FileWidget::FileWidget( const KURL& url, TQWidget *parent, const char *name )
{
setEnableDirHighlighting( true );
-#if KDE_VERSION >= 310
+#if TDE_VERSION >= 310
setViewConfig( KGlobal::config(), "Filebrowser" );
#endif
readConfig( KGlobal::config(), "Filebrowser" );
diff --git a/kuickshow/src/imagewindow.cpp b/kuickshow/src/imagewindow.cpp
index 1d11a423..8d0dd3da 100644
--- a/kuickshow/src/imagewindow.cpp
+++ b/kuickshow/src/imagewindow.cpp
@@ -925,7 +925,7 @@ void ImageWindow::saveImage()
TQCheckBox *keepSize = new TQCheckBox( i18n("Keep original image size"), 0L);
keepSize->setChecked( true );
KFileDialog dlg( m_saveDirectory, tmp.fileFilter, this, "filedialog", true
-#if KDE_VERSION >= 310
+#if TDE_VERSION >= 310
,keepSize
#endif
);
@@ -962,7 +962,7 @@ void ImageWindow::saveImage()
if ( lastDir != m_saveDirectory )
m_saveDirectory = lastDir;
-#if KDE_VERSION < 310
+#if TDE_VERSION < 310
delete keepSize;
#endif
}
diff --git a/kuickshow/src/kuickshow.cpp b/kuickshow/src/kuickshow.cpp
index 0dd6d2bf..ee308444 100644
--- a/kuickshow/src/kuickshow.cpp
+++ b/kuickshow/src/kuickshow.cpp
@@ -1125,7 +1125,7 @@ void KuickShow::about()
aboutWidget->adjustSize();
-#if KDE_VERSION >= 310
+#if TDE_VERSION >= 310
KDialog::centerOnScreen( aboutWidget );
#else
// Not fixed because it must be dead code now.