Rename KDE_VERSION to TDE_VERSION

master
Timothy Pearson 11 years ago
parent df3f43b8df
commit 3e724431d8
  1. 2
      kuickshow/src/filefinder.cpp
  2. 2
      kuickshow/src/filewidget.cpp
  3. 4
      kuickshow/src/imagewindow.cpp
  4. 2
      kuickshow/src/kuickshow.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&) ),

@ -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" );

@ -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
}

@ -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.

Loading…
Cancel
Save