summaryrefslogtreecommitdiffstats
path: root/lib/kotext
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext')
-rw-r--r--lib/kotext/KoTextObject.cpp2
-rw-r--r--lib/kotext/kohyphen/kohyphen.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/kotext/KoTextObject.cpp b/lib/kotext/KoTextObject.cpp
index 7c9518ea..336d5bbd 100644
--- a/lib/kotext/KoTextObject.cpp
+++ b/lib/kotext/KoTextObject.cpp
@@ -2281,7 +2281,7 @@ bool KoTextObject::statistics( TQProgressDialog *progress, ulong & charsWithSpac
{
progress->setProgress(progress->progress()+1);
// MA: resizing if KWStatisticsDialog does not work correct with this enabled, don't know why
- kapp->processEvents();
+ tdeApp->processEvents();
if ( progress->wasCancelled() )
return false;
}
diff --git a/lib/kotext/kohyphen/kohyphen.cpp b/lib/kotext/kohyphen/kohyphen.cpp
index ddc09dc2..f8dcba33 100644
--- a/lib/kotext/kohyphen/kohyphen.cpp
+++ b/lib/kotext/kohyphen/kohyphen.cpp
@@ -49,7 +49,7 @@ KoHyphenator::KoHyphenator()
{
/* Reading config for dictionary encodings from file...*/
- TQString path = kapp->dirs()->findResource("data", "koffice/hyphdicts/dicts.xml");
+ TQString path = tdeApp->dirs()->findResource("data", "koffice/hyphdicts/dicts.xml");
#ifdef DEBUG_HYPHENATOR
kdDebug() << path << endl;
#endif
@@ -187,7 +187,7 @@ HyphenDict *KoHyphenator::dict(const TQString &_lang) const
#ifdef DEBUG_HYPHENATOR
kdDebug() << "Searching dictionary for '" << lang << "' language..." << endl;
#endif
- TQString path = kapp->dirs()->findResource("data", "koffice/hyphdicts/hyph_" + lang + ".dic");
+ TQString path = tdeApp->dirs()->findResource("data", "koffice/hyphdicts/hyph_" + lang + ".dic");
if (!path.isNull())
{
#ifdef DEBUG_HYPHENATOR