Rename KDE_VERSION to TDE_VERSION

master
Timothy Pearson 13 years ago
parent df3f43b8df
commit 3e724431d8

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