diff options
Diffstat (limited to 'kdejava/koala/kdejava/KFileTreeBranch.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KFileTreeBranch.cpp | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/kdejava/koala/kdejava/KFileTreeBranch.cpp b/kdejava/koala/kdejava/KFileTreeBranch.cpp index d1e632ad..fbae1abb 100644 --- a/kdejava/koala/kdejava/KFileTreeBranch.cpp +++ b/kdejava/koala/kdejava/KFileTreeBranch.cpp @@ -12,9 +12,9 @@ class KFileTreeBranchJBridge : public KFileTreeBranch { public: - KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TQString& arg3,const TQPixmap& arg4,bool arg5,KFileTreeViewItem* arg6) : KFileTreeBranch(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TQString& arg3,const TQPixmap& arg4,bool arg5) : KFileTreeBranch(arg1,arg2,arg3,arg4,arg5) {}; - KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TQString& arg3,const TQPixmap& arg4) : KFileTreeBranch(arg1,arg2,arg3,arg4) {}; + KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TTQString& arg3,const TTQPixmap& arg4,bool arg5,KFileTreeViewItem* arg6) : KFileTreeBranch(arg1,arg2,arg3,arg4,arg5,arg6) {}; + KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TTQString& arg3,const TTQPixmap& arg4,bool arg5) : KFileTreeBranch(arg1,arg2,arg3,arg4,arg5) {}; + KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TTQString& arg3,const TTQPixmap& arg4) : KFileTreeBranch(arg1,arg2,arg3,arg4) {}; void public_setShowExtensions() { KFileTreeBranch::setShowExtensions(); return; @@ -29,27 +29,27 @@ public: } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } @@ -65,9 +65,9 @@ public: } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } @@ -83,9 +83,9 @@ public: } return; } - bool eventFilter(TQObject* object,TQEvent* event) { + bool eventFilter(TTQObject* object,TTQEvent* event) { if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFileTreeBranch",object,event)) { - return TQObject::eventFilter(object,event); + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -153,24 +153,24 @@ Java_org_kde_koala_KFileTreeBranch_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeBranch*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeBranch*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileTreeBranch_name(JNIEnv* env, jobject obj) { - TQString _qstring; + TTQString _qstring; _qstring = ((KFileTreeBranch*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromQString(env, &_qstring); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject url, jstring name, jobject pix) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix))); + QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pix))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -179,9 +179,9 @@ static TQString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject url, jstring name, jobject pix, jboolean showHidden) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (bool) showHidden)); + QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pix), (bool) showHidden)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -190,9 +190,9 @@ static TQString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2ZLorg_kde_koala_KFileTreeViewItem_2(JNIEnv* env, jobject obj, jobject arg1, jobject url, jstring name, jobject pix, jboolean showHidden, jobject branchRoot) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (bool) showHidden, (KFileTreeViewItem*) QtSupport::getQt(env, branchRoot))); + QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pix), (bool) showHidden, (KFileTreeViewItem*) QtSupport::getQt(env, branchRoot))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -201,14 +201,14 @@ static TQString* _qstring_name = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_openPixmap(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((KFileTreeBranch*) QtSupport::getQt(env, obj))->openPixmap(), "org.kde.qt.TQPixmap"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPixmap *) &((KFileTreeBranch*) QtSupport::getQt(env, obj))->openPixmap(), "org.kde.qt.TTQPixmap"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_pixmap(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((KFileTreeBranch*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPixmap *) &((KFileTreeBranch*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TTQPixmap"); return xret; } @@ -250,15 +250,15 @@ Java_org_kde_koala_KFileTreeBranch_setChildRecurse__Z(JNIEnv* env, jobject obj, JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setName(JNIEnv* env, jobject obj, jstring n) { -static TQString* _qstring_n = 0; - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setName((const TQString)*(TQString*) QtSupport::toQString(env, n, &_qstring_n)); +static TTQString* _qstring_n = 0; + ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setName((const TTQString)*(TTQString*) QtSupport::toTQString(env, n, &_qstring_n)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setOpenPixmap(JNIEnv* env, jobject obj, jobject pix) { - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setOpenPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); + ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setOpenPixmap((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pix)); return; } |