diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-10 17:52:01 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-10 17:52:01 +0900 |
| commit | 03a8f728607ab2a5343a104dfee44d20aad121cf (patch) | |
| tree | 25f4a281e82ac40462b8ac0b8e3cca08293643eb /src | |
| parent | a10b71f214ad7560688da60242d1db62a2380107 (diff) | |
| download | kbibtex-03a8f728607ab2a5343a104dfee44d20aad121cf.tar.gz kbibtex-03a8f728607ab2a5343a104dfee44d20aad121cf.zip | |
Remove use of TDE_VERSION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
| -rw-r--r-- | src/kbibtex_part.cpp | 2 | ||||
| -rw-r--r-- | src/kbibtexshell.cpp | 16 |
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() |
