Remove use of TDE_VERSION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 03a8f72860)
r14.1.x
Michele Calgaro 1 week ago
parent 56a550115c
commit 05ff2eaebe
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -339,11 +339,9 @@ void KBibTeXPart::slotFileExport()
if ( error )
{
#if (TDE_VERSION_MINOR>=4) && (TDE_VERSION_MAJOR>=3)
if ( !errorLog.empty() )
KMessageBox::errorList( widget(), TQString( i18n( "File could not be exported in '%1'." ) ).arg( exportURL.prettyURL() ).append( i18n( "\n\nSee the following error log for details." ) ), errorLog, i18n( "Exporting failed" ) );
else
#endif
KMessageBox::error( widget(), TQString( i18n( "File could not be exported to '%1'." ) ).arg( exportURL.prettyURL() ), i18n( "Exporting failed" ) );
}

@ -248,15 +248,7 @@ void KBibTeXShell::optionsConfigureKeys()
void KBibTeXShell::optionsConfigureToolbars()
{
#if defined(TDE_MAKE_VERSION)
# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() );
# else
saveMainWindowSettings( TDEGlobal::config() );
# endif
#else
saveMainWindowSettings( TDEGlobal::config() );
#endif
// use the standard toolbar editor
KEditToolbar dlg( factory() );
@ -267,15 +259,7 @@ void KBibTeXShell::optionsConfigureToolbars()
void KBibTeXShell::applyNewToolbarConfig()
{
#if defined(TDE_MAKE_VERSION)
# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
applyMainWindowSettings( TDEGlobal::config(), autoSaveGroup() );
# else
applyMainWindowSettings( TDEGlobal::config() );
# endif
#else
applyMainWindowSettings( TDEGlobal::config() );
#endif
}
bool KBibTeXShell::queryClose()

Loading…
Cancel
Save