summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:48:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:48:19 -0600
commit3e724431d861ee6e21312853f7a74fca486f1641 (patch)
tree7afb06e3512fadcb6e9ffdbeff33477f49e4055a
parentdf3f43b8dfb7aa3a20c11f5b80caf4d36c7df315 (diff)
downloadkuickshow-3e724431d861ee6e21312853f7a74fca486f1641.tar.gz
kuickshow-3e724431d861ee6e21312853f7a74fca486f1641.zip
Rename KDE_VERSION to TDE_VERSION
-rw-r--r--kuickshow/src/filefinder.cpp2
-rw-r--r--kuickshow/src/filewidget.cpp2
-rw-r--r--kuickshow/src/imagewindow.cpp4
-rw-r--r--kuickshow/src/kuickshow.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/kuickshow/src/filefinder.cpp b/kuickshow/src/filefinder.cpp
index b8fe2bf..acbc731 100644
--- a/kuickshow/src/filefinder.cpp
+++ b/kuickshow/src/filefinder.cpp
@@ -35,7 +35,7 @@ FileFinder::FileFinder( TQWidget *parent, const char *name )
setFrame( true );
setHandleSignals( true ); // we want the completionbox signals
-#if KDE_VERSION >= 220
+#if TDE_VERSION >= 220
completionBox()->setTabHandling( true );
#endif
connect( completionBox(), TQT_SIGNAL( userCancelled(const TQString&) ),
diff --git a/kuickshow/src/filewidget.cpp b/kuickshow/src/filewidget.cpp
index 7bd5283..170b5fa 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 1d11a42..8d0dd3d 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 636ec39..04527c3 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.