|
|
|
@ -6,84 +6,84 @@
|
|
|
|
|
|
|
|
|
|
#include <qtjava/QtSupport.h>
|
|
|
|
|
#include <kdejava/KDESupport.h>
|
|
|
|
|
#include <kdejava/KIconView.h>
|
|
|
|
|
#include <kdejava/TDEIconView.h>
|
|
|
|
|
|
|
|
|
|
class KIconViewJBridge : public KIconView
|
|
|
|
|
class TDEIconViewJBridge : public TDEIconView
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
KIconViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KIconView(arg1,arg2,arg3) {};
|
|
|
|
|
KIconViewJBridge(TQWidget* arg1,const char* arg2) : KIconView(arg1,arg2) {};
|
|
|
|
|
KIconViewJBridge(TQWidget* arg1) : KIconView(arg1) {};
|
|
|
|
|
KIconViewJBridge() : KIconView() {};
|
|
|
|
|
TDEIconViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TDEIconView(arg1,arg2,arg3) {};
|
|
|
|
|
TDEIconViewJBridge(TQWidget* arg1,const char* arg2) : TDEIconView(arg1,arg2) {};
|
|
|
|
|
TDEIconViewJBridge(TQWidget* arg1) : TDEIconView(arg1) {};
|
|
|
|
|
TDEIconViewJBridge() : TDEIconView() {};
|
|
|
|
|
void protected_emitExecute(TQIconViewItem* arg1,const TQPoint& arg2) {
|
|
|
|
|
KIconView::emitExecute(arg1,arg2);
|
|
|
|
|
TDEIconView::emitExecute(arg1,arg2);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_updateDragHoldItem(TQDropEvent* arg1) {
|
|
|
|
|
KIconView::updateDragHoldItem(arg1);
|
|
|
|
|
TDEIconView::updateDragHoldItem(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_focusOutEvent(TQFocusEvent* arg1) {
|
|
|
|
|
KIconView::focusOutEvent(arg1);
|
|
|
|
|
TDEIconView::focusOutEvent(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_leaveEvent(TQEvent* arg1) {
|
|
|
|
|
KIconView::leaveEvent(arg1);
|
|
|
|
|
TDEIconView::leaveEvent(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_contentsMousePressEvent(TQMouseEvent* arg1) {
|
|
|
|
|
KIconView::contentsMousePressEvent(arg1);
|
|
|
|
|
TDEIconView::contentsMousePressEvent(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) {
|
|
|
|
|
KIconView::contentsMouseDoubleClickEvent(arg1);
|
|
|
|
|
TDEIconView::contentsMouseDoubleClickEvent(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) {
|
|
|
|
|
KIconView::contentsMouseReleaseEvent(arg1);
|
|
|
|
|
TDEIconView::contentsMouseReleaseEvent(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) {
|
|
|
|
|
KIconView::contentsDragEnterEvent(arg1);
|
|
|
|
|
TDEIconView::contentsDragEnterEvent(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) {
|
|
|
|
|
KIconView::contentsDragLeaveEvent(arg1);
|
|
|
|
|
TDEIconView::contentsDragLeaveEvent(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) {
|
|
|
|
|
KIconView::contentsDragMoveEvent(arg1);
|
|
|
|
|
TDEIconView::contentsDragMoveEvent(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_contentsDropEvent(TQDropEvent* arg1) {
|
|
|
|
|
KIconView::contentsDropEvent(arg1);
|
|
|
|
|
TDEIconView::contentsDropEvent(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_wheelEvent(TQWheelEvent* arg1) {
|
|
|
|
|
KIconView::wheelEvent(arg1);
|
|
|
|
|
TDEIconView::wheelEvent(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_cancelPendingHeldSignal() {
|
|
|
|
|
KIconView::cancelPendingHeldSignal();
|
|
|
|
|
TDEIconView::cancelPendingHeldSignal();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_slotOnItem(TQIconViewItem* arg1) {
|
|
|
|
|
KIconView::slotOnItem(arg1);
|
|
|
|
|
TDEIconView::slotOnItem(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_slotOnViewport() {
|
|
|
|
|
KIconView::slotOnViewport();
|
|
|
|
|
TDEIconView::slotOnViewport();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_slotSettingsChanged(int arg1) {
|
|
|
|
|
KIconView::slotSettingsChanged(arg1);
|
|
|
|
|
TDEIconView::slotSettingsChanged(arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void protected_slotAutoSelect() {
|
|
|
|
|
KIconView::slotAutoSelect();
|
|
|
|
|
TDEIconView::slotAutoSelect();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
~KIconViewJBridge() {QtSupport::qtKeyDeleted(this);}
|
|
|
|
|
~TDEIconViewJBridge() {QtSupport::qtKeyDeleted(this);}
|
|
|
|
|
void dragLeaveEvent(TQDragLeaveEvent* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
|
|
|
|
|
TQWidget::dragLeaveEvent(arg1);
|
|
|
|
@ -97,7 +97,7 @@ public:
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void doAutoScroll() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","doAutoScroll")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","doAutoScroll")) {
|
|
|
|
|
TQIconView::doAutoScroll();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
@ -128,7 +128,7 @@ public:
|
|
|
|
|
}
|
|
|
|
|
void contentsMouseReleaseEvent(TQMouseEvent* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
|
|
|
|
|
KIconView::contentsMouseReleaseEvent(arg1);
|
|
|
|
|
TDEIconView::contentsMouseReleaseEvent(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -158,12 +158,12 @@ public:
|
|
|
|
|
}
|
|
|
|
|
void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
|
|
|
|
|
KIconView::contentsDragLeaveEvent(arg1);
|
|
|
|
|
TDEIconView::contentsDragLeaveEvent(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void setActiveWindow() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","setActiveWindow")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","setActiveWindow")) {
|
|
|
|
|
TQWidget::setActiveWindow();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
@ -176,12 +176,12 @@ public:
|
|
|
|
|
}
|
|
|
|
|
void focusOutEvent(TQFocusEvent* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) {
|
|
|
|
|
KIconView::focusOutEvent(arg1);
|
|
|
|
|
TDEIconView::focusOutEvent(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void setFocus() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","setFocus")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","setFocus")) {
|
|
|
|
|
TQWidget::setFocus();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
@ -193,7 +193,7 @@ public:
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void slotUpdate() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","slotUpdate")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","slotUpdate")) {
|
|
|
|
|
TQIconView::slotUpdate();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
@ -205,13 +205,13 @@ public:
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void updateContents() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","updateContents")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","updateContents")) {
|
|
|
|
|
TQIconView::updateContents();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void hide() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","hide")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","hide")) {
|
|
|
|
|
TQWidget::hide();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
@ -253,20 +253,20 @@ public:
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void clear() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","clear")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","clear")) {
|
|
|
|
|
TQIconView::clear();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void unsetCursor() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","unsetCursor")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","unsetCursor")) {
|
|
|
|
|
TQWidget::unsetCursor();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void contentsDropEvent(TQDropEvent* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) {
|
|
|
|
|
KIconView::contentsDropEvent(arg1);
|
|
|
|
|
TDEIconView::contentsDropEvent(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -283,13 +283,13 @@ public:
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void polish() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","polish")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","polish")) {
|
|
|
|
|
TQWidget::polish();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void showMaximized() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","showMaximized")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showMaximized")) {
|
|
|
|
|
TQWidget::showMaximized();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
@ -320,7 +320,7 @@ public:
|
|
|
|
|
}
|
|
|
|
|
void takeItem(TQIconViewItem* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) {
|
|
|
|
|
KIconView::takeItem(arg1);
|
|
|
|
|
TDEIconView::takeItem(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -340,7 +340,7 @@ public:
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void clearSelection() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","clearSelection")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","clearSelection")) {
|
|
|
|
|
TQIconView::clearSelection();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
@ -359,7 +359,7 @@ public:
|
|
|
|
|
}
|
|
|
|
|
void contentsDragEnterEvent(TQDragEnterEvent* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) {
|
|
|
|
|
KIconView::contentsDragEnterEvent(arg1);
|
|
|
|
|
TDEIconView::contentsDragEnterEvent(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -388,14 +388,14 @@ public:
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void startDrag() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","startDrag")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","startDrag")) {
|
|
|
|
|
TQIconView::startDrag();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void setFont(const TQFont& arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) {
|
|
|
|
|
KIconView::setFont(arg1);
|
|
|
|
|
TDEIconView::setFont(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -407,7 +407,7 @@ public:
|
|
|
|
|
}
|
|
|
|
|
void contentsDragMoveEvent(TQDragMoveEvent* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) {
|
|
|
|
|
KIconView::contentsDragMoveEvent(arg1);
|
|
|
|
|
TDEIconView::contentsDragMoveEvent(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -448,7 +448,7 @@ public:
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void invertSelection() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","invertSelection")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","invertSelection")) {
|
|
|
|
|
TQIconView::invertSelection();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
@ -467,7 +467,7 @@ public:
|
|
|
|
|
}
|
|
|
|
|
void leaveEvent(TQEvent* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) {
|
|
|
|
|
KIconView::leaveEvent(arg1);
|
|
|
|
|
TDEIconView::leaveEvent(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -479,18 +479,18 @@ public:
|
|
|
|
|
}
|
|
|
|
|
void contentsMousePressEvent(TQMouseEvent* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
|
|
|
|
|
KIconView::contentsMousePressEvent(arg1);
|
|
|
|
|
TDEIconView::contentsMousePressEvent(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void updateMask() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","updateMask")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","updateMask")) {
|
|
|
|
|
TQWidget::updateMask();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void showNormal() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","showNormal")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showNormal")) {
|
|
|
|
|
TQWidget::showNormal();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
@ -550,14 +550,14 @@ public:
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void adjustSize() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","adjustSize")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","adjustSize")) {
|
|
|
|
|
TQWidget::adjustSize();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void wheelEvent(TQWheelEvent* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) {
|
|
|
|
|
KIconView::wheelEvent(arg1);
|
|
|
|
|
TDEIconView::wheelEvent(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -598,14 +598,14 @@ public:
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void adjustItems() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","adjustItems")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","adjustItems")) {
|
|
|
|
|
TQIconView::adjustItems();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) {
|
|
|
|
|
if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
|
|
|
|
|
KIconView::contentsMouseDoubleClickEvent(arg1);
|
|
|
|
|
TDEIconView::contentsMouseDoubleClickEvent(arg1);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -640,7 +640,7 @@ public:
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
void showMinimized() {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconView","showMinimized")) {
|
|
|
|
|
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showMinimized")) {
|
|
|
|
|
TQWidget::showMinimized();
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
@ -648,243 +648,243 @@ public:
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_cancelPendingHeldSignal(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_cancelPendingHeldSignal(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_cancelPendingHeldSignal();
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_cancelPendingHeldSignal();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_className(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_className(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
_qstring = ((KIconView*) QtSupport::getQt(env, obj))->className();
|
|
|
|
|
_qstring = ((TDEIconView*) QtSupport::getQt(env, obj))->className();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_dispose(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_dispose(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
Java_org_kde_koala_KIconView_finalize(env, obj);
|
|
|
|
|
Java_org_kde_koala_TDEIconView_finalize(env, obj);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQIconViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQIconViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_finalize(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_finalize(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KIconView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
|
|
|
|
|
delete (KIconView*)QtSupport::getQt(env, obj);
|
|
|
|
|
if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
|
|
|
|
|
delete (TDEIconView*)QtSupport::getQt(env, obj);
|
|
|
|
|
QtSupport::setQt(env, obj, 0);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_focusOutEvent(JNIEnv* env, jobject obj, jobject fe)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_focusOutEvent(JNIEnv* env, jobject obj, jobject fe)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_iconTextHeight(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_iconTextHeight(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
jint xret = (jint) ((KIconView*) QtSupport::getQt(env, obj))->iconTextHeight();
|
|
|
|
|
jint xret = (jint) ((TDEIconView*) QtSupport::getQt(env, obj))->iconTextHeight();
|
|
|
|
|
return xret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_isDisposed(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_isDisposed(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
return (QtSupport::getQt(env, obj) == 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_leaveEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_leaveEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_metaObject(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_metaObject(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)((KIconView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
|
|
|
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
|
|
|
|
|
return xret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_mode(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_mode(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
jint xret = (jint) ((KIconView*) QtSupport::getQt(env, obj))->mode();
|
|
|
|
|
jint xret = (jint) ((TDEIconView*) QtSupport::getQt(env, obj))->mode();
|
|
|
|
|
return xret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_newKIconView__(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_newTDEIconView__(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
|
|
|
QtSupport::setQt(env, obj, new KIconViewJBridge());
|
|
|
|
|
QtSupport::setQt(env, obj, new TDEIconViewJBridge());
|
|
|
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_newKIconView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent)
|
|
|
|
|
{
|
|
|
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
|
|
|
QtSupport::setQt(env, obj, new KIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent)));
|
|
|
|
|
QtSupport::setQt(env, obj, new TDEIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent)));
|
|
|
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_newKIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
|
|
|
QtSupport::setQt(env, obj, new KIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
|
|
|
|
|
QtSupport::setQt(env, obj, new TDEIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
|
|
|
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_newKIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
|
|
|
QtSupport::setQt(env, obj, new KIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f));
|
|
|
|
|
QtSupport::setQt(env, obj, new TDEIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f));
|
|
|
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_setFont(JNIEnv* env, jobject obj, jobject arg1)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_setFont(JNIEnv* env, jobject obj, jobject arg1)
|
|
|
|
|
{
|
|
|
|
|
((KIconView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1));
|
|
|
|
|
((TDEIconView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_setIconTextHeight(JNIEnv* env, jobject obj, jint n)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_setIconTextHeight(JNIEnv* env, jobject obj, jint n)
|
|
|
|
|
{
|
|
|
|
|
((KIconView*) QtSupport::getQt(env, obj))->setIconTextHeight((int) n);
|
|
|
|
|
((TDEIconView*) QtSupport::getQt(env, obj))->setIconTextHeight((int) n);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_setMode(JNIEnv* env, jobject obj, jint m)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_setMode(JNIEnv* env, jobject obj, jint m)
|
|
|
|
|
{
|
|
|
|
|
((KIconView*) QtSupport::getQt(env, obj))->setMode((KIconView::Mode) m);
|
|
|
|
|
((TDEIconView*) QtSupport::getQt(env, obj))->setMode((TDEIconView::Mode) m);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_slotAutoSelect(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_slotAutoSelect(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect();
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_slotOnItem(JNIEnv* env, jobject obj, jobject item)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_slotOnItem(JNIEnv* env, jobject obj, jobject item)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQIconViewItem*) QtSupport::getQt(env, item));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQIconViewItem*) QtSupport::getQt(env, item));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_slotOnViewport(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_slotOnViewport(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport();
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1);
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_takeItem(JNIEnv* env, jobject obj, jobject item)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_takeItem(JNIEnv* env, jobject obj, jobject item)
|
|
|
|
|
{
|
|
|
|
|
((KIconView*) QtSupport::getQt(env, obj))->takeItem((TQIconViewItem*) QtSupport::getQt(env, item));
|
|
|
|
|
((TDEIconView*) QtSupport::getQt(env, obj))->takeItem((TQIconViewItem*) QtSupport::getQt(env, item));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_updateDragHoldItem(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_updateDragHoldItem(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_updateDragHoldItem((TQDropEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_updateDragHoldItem((TQDropEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KIconView_wheelEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
Java_org_kde_koala_TDEIconView_wheelEvent(JNIEnv* env, jobject obj, jobject e)
|
|
|
|
|
{
|
|
|
|
|
((KIconViewJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|