summaryrefslogtreecommitdiffstats
path: root/lib/kotext
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-12 15:05:16 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-12 15:05:16 +0900
commit7723e709cedf05437e464158ce3f6f4b6806effe (patch)
treeee35b3379174400d351783fc7bd458f26bfd3d65 /lib/kotext
parentee1d68b71d187a56488c844007c6803ec32d010f (diff)
downloadkoffice-remove/tde-version.tar.gz
koffice-remove/tde-version.zip
Remove use of TDE_VERSIONremove/tde-version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kotext')
-rw-r--r--lib/kotext/KoAutoFormat.cpp1
-rw-r--r--lib/kotext/KoBgSpellCheck.cpp11
-rw-r--r--lib/kotext/KoParagDia.cpp1
-rw-r--r--lib/kotext/KoRichText.cpp1
-rw-r--r--lib/kotext/KoTextDocument.cpp1
-rw-r--r--lib/kotext/KoVariable.cpp1
6 files changed, 0 insertions, 16 deletions
diff --git a/lib/kotext/KoAutoFormat.cpp b/lib/kotext/KoAutoFormat.cpp
index d11880665..db8456ff3 100644
--- a/lib/kotext/KoAutoFormat.cpp
+++ b/lib/kotext/KoAutoFormat.cpp
@@ -28,7 +28,6 @@
#include <KoSearchDia.h>
#include <KoGlobal.h>
-#include <tdeversion.h>
#include <kdebug.h>
#include <tdelocale.h>
#include <tdeinstance.h>
diff --git a/lib/kotext/KoBgSpellCheck.cpp b/lib/kotext/KoBgSpellCheck.cpp
index 1be095954..0a860bdf0 100644
--- a/lib/kotext/KoBgSpellCheck.cpp
+++ b/lib/kotext/KoBgSpellCheck.cpp
@@ -40,7 +40,6 @@ using namespace KSpell2;
#include <tdelocale.h>
#include <kdebug.h>
-#include <tdeversion.h>
#include <tqtimer.h>
#include <tqptrdict.h>
@@ -228,7 +227,6 @@ void KoBgSpellCheck::slotParagraphModified( KoTextParag* parag, int /*ParagModif
kdDebug(32500) << "Para modified " << parag << " pos = "<<pos<<", length = "<< length <<endl;
#endif
-#if TDE_VERSION > TDE_MAKE_VERSION(3,3,0)
if ( length < 10 ) {
TQString str = parag->string()->stringToSpellCheck();
/// ##### do we really need to create a Filter every time?
@@ -252,15 +250,6 @@ void KoBgSpellCheck::slotParagraphModified( KoTextParag* parag, int /*ParagModif
}
if ( parag->hasChanged() ) // always true currently
parag->document()->emitRepaintChanged();
-#else
- if ( length < 3 ) {
- TQString word;
- int start;
- bool misspelled = !d->backSpeller->checkWordInParagraph( parag, pos,
- word, start );
- markWord( parag, start, word.length(), misspelled );
- parag->document()->emitRepaintChanged();
-#endif
} else
{
d->backSpeller->check( parag );
diff --git a/lib/kotext/KoParagDia.cpp b/lib/kotext/KoParagDia.cpp
index f9b6dc49c..455fd3010 100644
--- a/lib/kotext/KoParagDia.cpp
+++ b/lib/kotext/KoParagDia.cpp
@@ -38,7 +38,6 @@
#include <KoGlobal.h>
#include <tqgroupbox.h>
#include <knuminput.h>
-#include <tdeversion.h>
#include <kpushbutton.h>
#include <kcombobox.h>
diff --git a/lib/kotext/KoRichText.cpp b/lib/kotext/KoRichText.cpp
index 286d97aa6..4a7baccc7 100644
--- a/lib/kotext/KoRichText.cpp
+++ b/lib/kotext/KoRichText.cpp
@@ -44,7 +44,6 @@
#include "KoParagCounter.h"
#include "KoTextDocument.h"
#include <kdebug.h>
-#include <tdeversion.h>
#include <tdeglobal.h>
#include <tdelocale.h>
#include <private/tqtextengine_p.h>
diff --git a/lib/kotext/KoTextDocument.cpp b/lib/kotext/KoTextDocument.cpp
index bb72478cf..21fc8d134 100644
--- a/lib/kotext/KoTextDocument.cpp
+++ b/lib/kotext/KoTextDocument.cpp
@@ -30,7 +30,6 @@
#include <KoXmlNS.h>
#include <KoDom.h>
#include <kdebug.h>
-#include <tdeversion.h>
#include <tqapplication.h>
#include <assert.h>
diff --git a/lib/kotext/KoVariable.cpp b/lib/kotext/KoVariable.cpp
index 06e74da58..9789c40b5 100644
--- a/lib/kotext/KoVariable.cpp
+++ b/lib/kotext/KoVariable.cpp
@@ -41,7 +41,6 @@
#include <tdeglobal.h>
#include <kdialogbase.h>
#include <tdeconfig.h>
-#include <tdeversion.h>
#include <tdeinstance.h>
#include <kcalendarsystem.h>
#include <tdeaboutdata.h>