diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 23:25:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 23:25:50 +0900 |
commit | eced9c9ff85b1d0edd0577b21f30b69188dd961b (patch) | |
tree | 4b53a10a366d60e6986e287125a5aeb337cc3e7f /qtjava | |
parent | 5dba7cef0aec034ce61df1516a305723480b86ca (diff) | |
download | tdebindings-eced9c9ff85b1d0edd0577b21f30b69188dd961b.tar.gz tdebindings-eced9c9ff85b1d0edd0577b21f30b69188dd961b.zip |
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtjava')
-rw-r--r-- | qtjava/javalib/qtjava/JavaSlot.cpp | 10 | ||||
-rw-r--r-- | qtjava/javalib/qtjava/JavaSlot.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/qtjava/javalib/qtjava/JavaSlot.cpp b/qtjava/javalib/qtjava/JavaSlot.cpp index 015aff88..0802313b 100644 --- a/qtjava/javalib/qtjava/JavaSlot.cpp +++ b/qtjava/javalib/qtjava/JavaSlot.cpp @@ -64,7 +64,7 @@ static const char * const javaToQtTypeSignatureMap[][2] = { {"(TQIconViewItem)", "(TQIconViewItem*)"}, {"(TQIconViewItem,TQPoint)", "(TQIconViewItem*,const TQPoint&)"}, {"(TQIconViewItem,String)", "(TQIconViewItem*,const TQString&)"}, - {"(ArrayList,ArrayList,ArrayList)", "(TQList<TQListViewItem>,TQList<TQListViewItem>,TQList<TQListViewItem>)"}, + {"(ArrayList,ArrayList,ArrayList)", "(TQPtrList<TQListViewItem>,TQPtrList<TQListViewItem>,TQPtrList<TQListViewItem>)"}, {"(TQListBoxItem)", "(TQListBoxItem*)"}, {"(TQListBoxItem,TQPoint)", "(TQListBoxItem*,const TQPoint&)"}, {"(TQListViewItem,int,String)", "(TQListViewItem*,int,const TQString&)"}, @@ -1840,7 +1840,7 @@ JavaSlot::invoke(TQListBoxItem* arg1,const TQPoint& arg2) } void -JavaSlot::invoke(TQList<TQListViewItem> arg1,TQList<TQListViewItem> arg2,TQList<TQListViewItem> arg3) +JavaSlot::invoke(TQPtrList<TQListViewItem> arg1,TQPtrList<TQListViewItem> arg2,TQPtrList<TQListViewItem> arg3) { JNIEnv * env; jclass cls; @@ -1856,9 +1856,9 @@ JavaSlot::invoke(TQList<TQListViewItem> arg1,TQList<TQListViewItem> arg2,TQList< return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.trinitydesktop.qt.TQList"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.trinitydesktop.qt.TQList"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.trinitydesktop.qt.TQList") ); + QtSupport::objectForQtKey(env, (void *) &arg1, "org.trinitydesktop.qt.TQPtrList"), + QtSupport::objectForQtKey(env, (void *) &arg2, "org.trinitydesktop.qt.TQPtrList"), + QtSupport::objectForQtKey(env, (void *) &arg3, "org.trinitydesktop.qt.TQPtrList") ); env->PopLocalFrame(0); } diff --git a/qtjava/javalib/qtjava/JavaSlot.h b/qtjava/javalib/qtjava/JavaSlot.h index 47a827f2..a1d69069 100644 --- a/qtjava/javalib/qtjava/JavaSlot.h +++ b/qtjava/javalib/qtjava/JavaSlot.h @@ -109,7 +109,7 @@ public slots: void invoke(TQIconViewItem* arg1); void invoke(TQIconViewItem* arg1,const TQPoint& arg2); void invoke(TQIconViewItem* arg1,const TQString& arg2); - void invoke(TQList<TQListViewItem> arg1,TQList<TQListViewItem> arg2,TQList<TQListViewItem> arg3); + void invoke(TQPtrList<TQListViewItem> arg1,TQPtrList<TQListViewItem> arg2,TQPtrList<TQListViewItem> arg3); void invoke(TQListBoxItem* arg1); void invoke(TQListBoxItem* arg1,const TQPoint& arg2); void invoke(TQListViewItem* arg1, int arg2, const TQString& arg3); |