diff options
Diffstat (limited to 'kdejava/koala/kdejava/KSpellingHighlighter.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KSpellingHighlighter.cpp | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/kdejava/koala/kdejava/KSpellingHighlighter.cpp b/kdejava/koala/kdejava/KSpellingHighlighter.cpp deleted file mode 100644 index c7316723..00000000 --- a/kdejava/koala/kdejava/KSpellingHighlighter.cpp +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqstringlist.h> -#include <ksyntaxhighlighter.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSpellingHighlighter.h> - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpellingHighlighter_highlightParagraph(JNIEnv* env, jobject obj, jstring text, jint 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; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellingHighlighter_intraWordEditing(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->intraWordEditing(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellingHighlighter_isMisspelled(JNIEnv* env, jobject obj, jstring 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) -{ - TQStringList _qlist; - (void) cls; - _qlist = KSpellingHighlighter::personalWords(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellingHighlighter_setIntraWordEditing(JNIEnv* env, jobject obj, jboolean editing) -{ - ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->setIntraWordEditing((bool) editing); - return; -} - |