summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kbibtex_part.cpp2
-rw-r--r--src/kbibtexshell.cpp16
2 files changed, 0 insertions, 18 deletions
diff --git a/src/kbibtex_part.cpp b/src/kbibtex_part.cpp
index bf8d80d..d87327c 100644
--- a/src/kbibtex_part.cpp
+++ b/src/kbibtex_part.cpp
@@ -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" ) );
}
diff --git a/src/kbibtexshell.cpp b/src/kbibtexshell.cpp
index 7e672b5..780bbf2 100644
--- a/src/kbibtexshell.cpp
+++ b/src/kbibtexshell.cpp
@@ -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()