summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KSpellingHighlighter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/KSpellingHighlighter.cpp')
-rw-r--r--kdejava/koala/kdejava/KSpellingHighlighter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdejava/koala/kdejava/KSpellingHighlighter.cpp b/kdejava/koala/kdejava/KSpellingHighlighter.cpp
index 30866df8..c7316723 100644
--- a/kdejava/koala/kdejava/KSpellingHighlighter.cpp
+++ b/kdejava/koala/kdejava/KSpellingHighlighter.cpp
@@ -11,8 +11,8 @@
JNIEXPORT jint JNICALL
Java_org_kde_koala_KSpellingHighlighter_highlightParagraph(JNIEnv* env, jobject obj, jstring text, jint endStateOfLastPara)
{
-static TTQString* _qstring_text = 0;
- jint xret = (jint) ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->highlightParagraph((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) endStateOfLastPara);
+static TQString* _qstring_text = 0;
+ jint xret = (jint) ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->highlightParagraph((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) endStateOfLastPara);
return xret;
}
@@ -26,18 +26,18 @@ Java_org_kde_koala_KSpellingHighlighter_intraWordEditing(JNIEnv* env, jobject ob
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSpellingHighlighter_isMisspelled(JNIEnv* env, jobject obj, jstring word)
{
-static TTQString* _qstring_word = 0;
- jboolean xret = (jboolean) ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->isMisspelled((const TTQString&)*(TTQString*) QtSupport::toTQString(env, word, &_qstring_word));
+static TQString* _qstring_word = 0;
+ jboolean xret = (jboolean) ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->isMisspelled((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word));
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSpellingHighlighter_personalWords(JNIEnv* env, jclass cls)
{
- TTQStringList _qlist;
+ TQStringList _qlist;
(void) cls;
_qlist = KSpellingHighlighter::personalWords();
- return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT void JNICALL