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 ); setFrame( true );
setHandleSignals( true ); // we want the completionbox signals setHandleSignals( true ); // we want the completionbox signals
#if KDE_VERSION >= 220 #if TDE_VERSION >= 220
completionBox()->setTabHandling( true ); completionBox()->setTabHandling( true );
#endif #endif
connect( completionBox(), TQT_SIGNAL( userCancelled(const TQString&) ), connect( completionBox(), TQT_SIGNAL( userCancelled(const TQString&) ),

@ -42,7 +42,7 @@ FileWidget::FileWidget( const KURL& url, TQWidget *parent, const char *name )
{ {
setEnableDirHighlighting( true ); setEnableDirHighlighting( true );
#if KDE_VERSION >= 310 #if TDE_VERSION >= 310
setViewConfig( KGlobal::config(), "Filebrowser" ); setViewConfig( KGlobal::config(), "Filebrowser" );
#endif #endif
readConfig( KGlobal::config(), "Filebrowser" ); readConfig( KGlobal::config(), "Filebrowser" );

@ -925,7 +925,7 @@ void ImageWindow::saveImage()
TQCheckBox *keepSize = new TQCheckBox( i18n("Keep original image size"), 0L); TQCheckBox *keepSize = new TQCheckBox( i18n("Keep original image size"), 0L);
keepSize->setChecked( true ); keepSize->setChecked( true );
KFileDialog dlg( m_saveDirectory, tmp.fileFilter, this, "filedialog", true KFileDialog dlg( m_saveDirectory, tmp.fileFilter, this, "filedialog", true
#if KDE_VERSION >= 310 #if TDE_VERSION >= 310
,keepSize ,keepSize
#endif #endif
); );
@ -962,7 +962,7 @@ void ImageWindow::saveImage()
if ( lastDir != m_saveDirectory ) if ( lastDir != m_saveDirectory )
m_saveDirectory = lastDir; m_saveDirectory = lastDir;
#if KDE_VERSION < 310 #if TDE_VERSION < 310
delete keepSize; delete keepSize;
#endif #endif
} }

@ -1125,7 +1125,7 @@ void KuickShow::about()
aboutWidget->adjustSize(); aboutWidget->adjustSize();
#if KDE_VERSION >= 310 #if TDE_VERSION >= 310
KDialog::centerOnScreen( aboutWidget ); KDialog::centerOnScreen( aboutWidget );
#else #else
// Not fixed because it must be dead code now. // Not fixed because it must be dead code now.

Loading…
Cancel
Save