From 566093084927a5b4124a18b767e5632d4b5e4deb Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:26:06 -0600 Subject: Fix prior commit --- kdejava/koala/kdejava/KIconButton.cpp | 515 ------------ kdejava/koala/kdejava/KIconButton.h | 37 - kdejava/koala/kdejava/KIconCanvas.cpp | 671 ---------------- kdejava/koala/kdejava/KIconCanvas.h | 29 - kdejava/koala/kdejava/KIconDialog.cpp | 703 ---------------- kdejava/koala/kdejava/KIconDialog.h | 51 -- kdejava/koala/kdejava/KIconEffect.cpp | 195 ----- kdejava/koala/kdejava/KIconEffect.h | 41 - kdejava/koala/kdejava/KIconLoader.cpp | 330 -------- kdejava/koala/kdejava/KIconLoader.h | 55 -- kdejava/koala/kdejava/KIconView.cpp | 890 --------------------- kdejava/koala/kdejava/KIconView.h | 50 -- kdejava/koala/kdejava/KIconViewItem.cpp | 226 ------ kdejava/koala/kdejava/KIconViewItem.h | 38 - kdejava/koala/kdejava/TDEIconButton.cpp | 515 ++++++++++++ kdejava/koala/kdejava/TDEIconButton.h | 37 + kdejava/koala/kdejava/TDEIconCanvas.cpp | 671 ++++++++++++++++ kdejava/koala/kdejava/TDEIconCanvas.h | 29 + kdejava/koala/kdejava/TDEIconDialog.cpp | 703 ++++++++++++++++ kdejava/koala/kdejava/TDEIconDialog.h | 51 ++ kdejava/koala/kdejava/TDEIconEffect.cpp | 195 +++++ kdejava/koala/kdejava/TDEIconEffect.h | 41 + kdejava/koala/kdejava/TDEIconLoader.cpp | 330 ++++++++ kdejava/koala/kdejava/TDEIconLoader.h | 55 ++ kdejava/koala/kdejava/TDEIconView.cpp | 890 +++++++++++++++++++++ kdejava/koala/kdejava/TDEIconView.h | 50 ++ kdejava/koala/kdejava/TDEIconViewItem.cpp | 226 ++++++ kdejava/koala/kdejava/TDEIconViewItem.h | 38 + kdejava/koala/org/kde/koala/KIconButton.java | 110 --- .../koala/org/kde/koala/KIconButtonSignals.java | 14 - kdejava/koala/org/kde/koala/KIconCanvas.java | 52 -- .../koala/org/kde/koala/KIconCanvasSignals.java | 17 - kdejava/koala/org/kde/koala/KIconDialog.java | 159 ---- .../koala/org/kde/koala/KIconDialogSignals.java | 10 - kdejava/koala/org/kde/koala/KIconEffect.java | 236 ------ kdejava/koala/org/kde/koala/KIconLoader.java | 348 -------- kdejava/koala/org/kde/koala/KIconView.java | 151 ---- kdejava/koala/org/kde/koala/KIconViewItem.java | 96 --- kdejava/koala/org/kde/koala/KIconViewSignals.java | 63 -- kdejava/koala/org/kde/koala/TDEIconButton.java | 110 +++ .../koala/org/kde/koala/TDEIconButtonSignals.java | 14 + kdejava/koala/org/kde/koala/TDEIconCanvas.java | 52 ++ .../koala/org/kde/koala/TDEIconCanvasSignals.java | 17 + kdejava/koala/org/kde/koala/TDEIconDialog.java | 159 ++++ .../koala/org/kde/koala/TDEIconDialogSignals.java | 10 + kdejava/koala/org/kde/koala/TDEIconEffect.java | 236 ++++++ kdejava/koala/org/kde/koala/TDEIconLoader.java | 348 ++++++++ kdejava/koala/org/kde/koala/TDEIconView.java | 151 ++++ kdejava/koala/org/kde/koala/TDEIconViewItem.java | 96 +++ .../koala/org/kde/koala/TDEIconViewSignals.java | 63 ++ 50 files changed, 5087 insertions(+), 5087 deletions(-) delete mode 100644 kdejava/koala/kdejava/KIconButton.cpp delete mode 100644 kdejava/koala/kdejava/KIconButton.h delete mode 100644 kdejava/koala/kdejava/KIconCanvas.cpp delete mode 100644 kdejava/koala/kdejava/KIconCanvas.h delete mode 100644 kdejava/koala/kdejava/KIconDialog.cpp delete mode 100644 kdejava/koala/kdejava/KIconDialog.h delete mode 100644 kdejava/koala/kdejava/KIconEffect.cpp delete mode 100644 kdejava/koala/kdejava/KIconEffect.h delete mode 100644 kdejava/koala/kdejava/KIconLoader.cpp delete mode 100644 kdejava/koala/kdejava/KIconLoader.h delete mode 100644 kdejava/koala/kdejava/KIconView.cpp delete mode 100644 kdejava/koala/kdejava/KIconView.h delete mode 100644 kdejava/koala/kdejava/KIconViewItem.cpp delete mode 100644 kdejava/koala/kdejava/KIconViewItem.h create mode 100644 kdejava/koala/kdejava/TDEIconButton.cpp create mode 100644 kdejava/koala/kdejava/TDEIconButton.h create mode 100644 kdejava/koala/kdejava/TDEIconCanvas.cpp create mode 100644 kdejava/koala/kdejava/TDEIconCanvas.h create mode 100644 kdejava/koala/kdejava/TDEIconDialog.cpp create mode 100644 kdejava/koala/kdejava/TDEIconDialog.h create mode 100644 kdejava/koala/kdejava/TDEIconEffect.cpp create mode 100644 kdejava/koala/kdejava/TDEIconEffect.h create mode 100644 kdejava/koala/kdejava/TDEIconLoader.cpp create mode 100644 kdejava/koala/kdejava/TDEIconLoader.h create mode 100644 kdejava/koala/kdejava/TDEIconView.cpp create mode 100644 kdejava/koala/kdejava/TDEIconView.h create mode 100644 kdejava/koala/kdejava/TDEIconViewItem.cpp create mode 100644 kdejava/koala/kdejava/TDEIconViewItem.h delete mode 100644 kdejava/koala/org/kde/koala/KIconButton.java delete mode 100644 kdejava/koala/org/kde/koala/KIconButtonSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KIconCanvas.java delete mode 100644 kdejava/koala/org/kde/koala/KIconCanvasSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KIconDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KIconDialogSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KIconEffect.java delete mode 100644 kdejava/koala/org/kde/koala/KIconLoader.java delete mode 100644 kdejava/koala/org/kde/koala/KIconView.java delete mode 100644 kdejava/koala/org/kde/koala/KIconViewItem.java delete mode 100644 kdejava/koala/org/kde/koala/KIconViewSignals.java create mode 100644 kdejava/koala/org/kde/koala/TDEIconButton.java create mode 100644 kdejava/koala/org/kde/koala/TDEIconButtonSignals.java create mode 100644 kdejava/koala/org/kde/koala/TDEIconCanvas.java create mode 100644 kdejava/koala/org/kde/koala/TDEIconCanvasSignals.java create mode 100644 kdejava/koala/org/kde/koala/TDEIconDialog.java create mode 100644 kdejava/koala/org/kde/koala/TDEIconDialogSignals.java create mode 100644 kdejava/koala/org/kde/koala/TDEIconEffect.java create mode 100644 kdejava/koala/org/kde/koala/TDEIconLoader.java create mode 100644 kdejava/koala/org/kde/koala/TDEIconView.java create mode 100644 kdejava/koala/org/kde/koala/TDEIconViewItem.java create mode 100644 kdejava/koala/org/kde/koala/TDEIconViewSignals.java (limited to 'kdejava') diff --git a/kdejava/koala/kdejava/KIconButton.cpp b/kdejava/koala/kdejava/KIconButton.cpp deleted file mode 100644 index a462babd..00000000 --- a/kdejava/koala/kdejava/KIconButton.cpp +++ /dev/null @@ -1,515 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEIconButtonJBridge : public TDEIconButton -{ -public: - TDEIconButtonJBridge(TQWidget* arg1,const char* arg2) : TDEIconButton(arg1,arg2) {}; - TDEIconButtonJBridge(TQWidget* arg1) : TDEIconButton(arg1) {}; - TDEIconButtonJBridge() : TDEIconButton() {}; - TDEIconButtonJBridge(TDEIconLoader* arg1,TQWidget* arg2,const char* arg3) : TDEIconButton(arg1,arg2,arg3) {}; - TDEIconButtonJBridge(TDEIconLoader* arg1,TQWidget* arg2) : TDEIconButton(arg1,arg2) {}; - ~TDEIconButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEIconButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEIconButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconButton_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIconButton*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconButton_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconButton*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject loader, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject loader, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (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_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__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 TDEIconButtonJBridge((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_TDEIconButton_resetIcon(JNIEnv* env, jobject obj) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->resetIcon(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIconSize(JNIEnv* env, jobject obj, jint size) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIconType__II(JNIEnv* env, jobject obj, jint group, jint context) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconType((TDEIcon::Group) group, (TDEIcon::Context) context); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIconType__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean user) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconType((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) user); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIcon(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconButton_strictIconSize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconButton*) QtSupport::getQt(env, obj))->strictIconSize(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KIconButton.h b/kdejava/koala/kdejava/KIconButton.h deleted file mode 100644 index d745067f..00000000 --- a/kdejava/koala/kdejava/KIconButton.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconButton__ -#define __org_kde_koala_TDEIconButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setStrictIconSize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconButton_strictIconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconType__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconType__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIcon (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_resetIcon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconButton_iconName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconButton_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconButton__ */ diff --git a/kdejava/koala/kdejava/KIconCanvas.cpp b/kdejava/koala/kdejava/KIconCanvas.cpp deleted file mode 100644 index f8a1d13d..00000000 --- a/kdejava/koala/kdejava/KIconCanvas.cpp +++ /dev/null @@ -1,671 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEIconCanvasJBridge : public TDEIconCanvas -{ -public: - TDEIconCanvasJBridge(TQWidget* arg1,const char* arg2) : TDEIconCanvas(arg1,arg2) {}; - TDEIconCanvasJBridge(TQWidget* arg1) : TDEIconCanvas(arg1) {}; - TDEIconCanvasJBridge() : TDEIconCanvas() {}; - ~TDEIconCanvasJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void doAutoScroll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","doAutoScroll")) { - TQIconView::doAutoScroll(); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQIconView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void setItemTextBackground(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQIconView::setItemTextBackground(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TDEIconView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEIconView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void slotUpdate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","slotUpdate")) { - TQIconView::slotUpdate(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void updateContents() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","updateContents")) { - TQIconView::updateContents(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQIconView::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","clear")) { - TQIconView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TDEIconView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQIconView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TDEIconView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQIconView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void repaintItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::repaintItem(arg1); - } - return; - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","clearSelection")) { - TQIconView::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TDEIconView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void insertInGrid(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::insertInGrid(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","startDrag")) { - TQIconView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TDEIconView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TDEIconView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQIconView::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQIconView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","invertSelection")) { - TQIconView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void drawRubber(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { - TQIconView::drawRubber(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEIconView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDEIconView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQIconView::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void adjustItems() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","adjustItems")) { - TQIconView::adjustItems(); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQIconView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconCanvas_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconCanvas*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconCanvas_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconCanvas*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEIconCanvas*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconCanvas_getCurrent(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIconCanvas*) QtSupport::getQt(env, obj))->getCurrent(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconCanvas_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_loadFiles(JNIEnv* env, jobject obj, jobjectArray files) -{ -static TQStringList* _qlist_files = 0; - ((TDEIconCanvas*) QtSupport::getQt(env, obj))->loadFiles((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconCanvas_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconCanvas*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconCanvasJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconCanvasJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__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 TDEIconCanvasJBridge((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_TDEIconCanvas_stopLoading(JNIEnv* env, jobject obj) -{ - ((TDEIconCanvas*) QtSupport::getQt(env, obj))->stopLoading(); - return; -} - diff --git a/kdejava/koala/kdejava/KIconCanvas.h b/kdejava/koala/kdejava/KIconCanvas.h deleted file mode 100644 index bdb5349e..00000000 --- a/kdejava/koala/kdejava/KIconCanvas.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconCanvas__ -#define __org_kde_koala_TDEIconCanvas__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconCanvas_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconCanvas_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_loadFiles (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconCanvas_getCurrent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_stopLoading (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconCanvas_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconCanvas__ */ diff --git a/kdejava/koala/kdejava/KIconDialog.cpp b/kdejava/koala/kdejava/KIconDialog.cpp deleted file mode 100644 index 5fc14ec4..00000000 --- a/kdejava/koala/kdejava/KIconDialog.cpp +++ /dev/null @@ -1,703 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEIconDialogJBridge : public TDEIconDialog -{ -public: - TDEIconDialogJBridge(TQWidget* arg1,const char* arg2) : TDEIconDialog(arg1,arg2) {}; - TDEIconDialogJBridge(TQWidget* arg1) : TDEIconDialog(arg1) {}; - TDEIconDialogJBridge() : TDEIconDialog() {}; - TDEIconDialogJBridge(TDEIconLoader* arg1,TQWidget* arg2,const char* arg3) : TDEIconDialog(arg1,arg2,arg3) {}; - TDEIconDialogJBridge(TDEIconLoader* arg1,TQWidget* arg2) : TDEIconDialog(arg1,arg2) {}; - TDEIconDialogJBridge(TDEIconLoader* arg1) : TDEIconDialog(arg1) {}; - void protected_slotOk() { - TDEIconDialog::slotOk(); - return; - } - ~TDEIconDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotTry")) { - KDialogBase::slotTry(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEIconDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__I(JNIEnv* env, jclass cls, jint group) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__II(JNIEnv* env, jclass cls, jint group, jint context) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZI(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jobject parent) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jobject parent, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconDialog_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconDialog*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2(JNIEnv* env, jobject obj, jobject loader) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject loader, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject loader, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (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_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__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 TDEIconDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_openDialog(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIconDialog*) QtSupport::getQt(env, obj))->openDialog(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setCustomLocation(JNIEnv* env, jobject obj, jstring location) -{ -static TQString* _qstring_location = 0; - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setCustomLocation((const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setIconSize(JNIEnv* env, jobject obj, jint size) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__I(JNIEnv* env, jobject obj, jint group) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__II(JNIEnv* env, jobject obj, jint group, jint context) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZI(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZIZZZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jboolean lockUser, jboolean lockCustomDir) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (bool) lockUser, (bool) lockCustomDir); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_showDialog(JNIEnv* env, jobject obj) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->showDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((TDEIconDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconDialog_strictIconSize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconDialog*) QtSupport::getQt(env, obj))->strictIconSize(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KIconDialog.h b/kdejava/koala/kdejava/KIconDialog.h deleted file mode 100644 index e9afbd72..00000000 --- a/kdejava/koala/kdejava/KIconDialog.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconDialog__ -#define __org_kde_koala_TDEIconDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setStrictIconSize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconDialog_strictIconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setCustomLocation (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setIconSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconDialog_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZIZ (JNIEnv *env, jobject, jint, jint, jboolean, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZI (JNIEnv *env, jobject, jint, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZIZZZ (JNIEnv *env, jobject, jint, jint, jboolean, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_openDialog (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_showDialog (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZ (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZI (JNIEnv *env, jclass, jint, jint, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZ (JNIEnv *env, jclass, jint, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconDialog__ */ diff --git a/kdejava/koala/kdejava/KIconEffect.cpp b/kdejava/koala/kdejava/KIconEffect.cpp deleted file mode 100644 index 7b8c8ac5..00000000 --- a/kdejava/koala/kdejava/KIconEffect.cpp +++ /dev/null @@ -1,195 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEIconEffectJBridge : public TDEIconEffect -{ -public: - TDEIconEffectJBridge() : TDEIconEffect() {}; - ~TDEIconEffectJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jobject rgb2, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb2), (bool) trans)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (bool) trans)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2II(JNIEnv* env, jobject obj, jobject src, jint group, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) group, (int) state)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jobject rgb2, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb2), (bool) trans)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (bool) trans)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject src, jint group, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) group, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_colorize(JNIEnv* env, jclass cls, jobject image, jobject col, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::colorize((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_deSaturate(JNIEnv* env, jclass cls, jobject image, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::deSaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconEffect_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_doublePixels(JNIEnv* env, jobject obj, jobject src) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->doublePixels((TQImage)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEIconEffect*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconEffect_fingerprint(JNIEnv* env, jobject obj, jint group, jint state) -{ - TQString _qstring; - _qstring = ((TDEIconEffect*) QtSupport::getQt(env, obj))->fingerprint((int) group, (int) state); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconEffect_hasEffect(JNIEnv* env, jobject obj, jint group, jint state) -{ - jboolean xret = (jboolean) ((TDEIconEffect*) QtSupport::getQt(env, obj))->hasEffect((int) group, (int) state); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_init(JNIEnv* env, jobject obj) -{ - ((TDEIconEffect*) QtSupport::getQt(env, obj))->init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconEffect_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_newTDEIconEffect(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconEffectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_overlay(JNIEnv* env, jclass cls, jobject src, jobject overlay) -{ - (void) cls; - TDEIconEffectJBridge::overlay((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (TQImage&)*(TQImage*) QtSupport::getQt(env, overlay)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) -{ - (void) cls; - TDEIconEffectJBridge::semiTransparent((TQImage&)*(TQImage*) QtSupport::getQt(env, image)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject pixmap) -{ - (void) cls; - TDEIconEffectJBridge::semiTransparent((TQPixmap&)*(TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_toGamma(JNIEnv* env, jclass cls, jobject image, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::toGamma((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_toGray(JNIEnv* env, jclass cls, jobject image, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_toMonochrome(JNIEnv* env, jclass cls, jobject image, jobject black, jobject white, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::toMonochrome((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, black), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, white), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_visualActivate(JNIEnv* env, jclass cls, jobject widget, jobject rect) -{ - (void) cls; - TDEIconEffectJBridge::visualActivate((TQWidget*) QtSupport::getQt(env, widget), (TQRect)*(TQRect*) QtSupport::getQt(env, rect)); - return; -} - diff --git a/kdejava/koala/kdejava/KIconEffect.h b/kdejava/koala/kdejava/KIconEffect.h deleted file mode 100644 index 08f329e0..00000000 --- a/kdejava/koala/kdejava/KIconEffect.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconEffect__ -#define __org_kde_koala_TDEIconEffect__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_newTDEIconEffect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_init (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconEffect_hasEffect (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconEffect_fingerprint (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_doublePixels (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_visualActivate (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toGray (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_colorize (JNIEnv *env, jclass, jobject, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toMonochrome (JNIEnv *env, jclass, jobject, jobject, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_deSaturate (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toGamma (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_overlay (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconEffect_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconEffect__ */ diff --git a/kdejava/koala/kdejava/KIconLoader.cpp b/kdejava/koala/kdejava/KIconLoader.cpp deleted file mode 100644 index 4e2c4a73..00000000 --- a/kdejava/koala/kdejava/KIconLoader.cpp +++ /dev/null @@ -1,330 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEIconLoaderJBridge : public TDEIconLoader -{ -public: - TDEIconLoaderJBridge(const TQString& arg1,TDEStandardDirs* arg2) : TDEIconLoader(arg1,arg2) {}; - TDEIconLoaderJBridge(const TQString& arg1) : TDEIconLoader(arg1) {}; - TDEIconLoaderJBridge() : TDEIconLoader() {}; - ~TDEIconLoaderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_addAppDir(JNIEnv* env, jobject obj, jstring appname) -{ -static TQString* _qstring_appname = 0; - ((TDEIconLoader*) QtSupport::getQt(env, obj))->addAppDir((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_addExtraDesktopThemes(JNIEnv* env, jobject obj) -{ - ((TDEIconLoader*) QtSupport::getQt(env, obj))->addExtraDesktopThemes(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconLoader_currentSize(JNIEnv* env, jobject obj, jint group) -{ - jint xret = (jint) ((TDEIconLoader*) QtSupport::getQt(env, obj))->currentSize((TDEIcon::Group) group); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconLoader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_enableDelayedIconSetLoading(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEIconLoader*) QtSupport::getQt(env, obj))->enableDelayedIconSetLoading((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconLoader_extraDesktopThemesAdded(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->extraDesktopThemesAdded(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEIconLoader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_iconEffect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconLoader*) QtSupport::getQt(env, obj))->iconEffect(), "org.kde.koala.TDEIconEffect"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group_or_size) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring name, jint group_or_size, jboolean canReturnNull) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size, (bool) canReturnNull); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconLoader_isDelayedIconSetLoadingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->isDelayedIconSetLoadingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconLoader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ - TQStringList _qlist; -static TQString* _qstring_name = 0; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ - TQStringList _qlist; -static TQString* _qstring_name = 0; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (bool) canReturnNull)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull, jboolean immediateExistenceCheck) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (bool) canReturnNull, (bool) immediateExistenceCheck)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_path_store = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2Z(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store, jboolean canReturnNull) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_path_store = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store), (bool) canReturnNull)), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQMovie", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQMovie", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconLoaderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appname) -{ -static TQString* _qstring_appname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2(JNIEnv* env, jobject obj, jstring appname, jobject dirs) -{ -static TQString* _qstring_appname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (TDEStandardDirs*) QtSupport::getQt(env, dirs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIconsByContext__I(JNIEnv* env, jobject obj, jint group_or_size) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIconsByContext__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size, (TDEIcon::Context) context); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIconsByDir(JNIEnv* env, jobject obj, jstring iconsDir) -{ - TQStringList _qlist; -static TQString* _qstring_iconsDir = 0; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByDir((const TQString&)*(TQString*) QtSupport::toTQString(env, iconsDir, &_qstring_iconsDir)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIcons__I(JNIEnv* env, jobject obj, jint group_or_size) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIcons__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size, (TDEIcon::Context) context); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_reconfigure(JNIEnv* env, jobject obj, jstring _appname, jobject _dirs) -{ -static TQString* _qstring__appname = 0; - ((TDEIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TQString&)*(TQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (TDEStandardDirs*) QtSupport::getQt(env, _dirs)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_unknown(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TDEIconLoaderJBridge::unknown()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KIconLoader.h b/kdejava/koala/kdejava/KIconLoader.h deleted file mode 100644 index d6154a2c..00000000 --- a/kdejava/koala/kdejava/KIconLoader.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconLoader__ -#define __org_kde_koala_TDEIconLoader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_addAppDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2Z (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIcons__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIcons__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByContext__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByContext__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconLoader_currentSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_iconEffect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_reconfigure (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_addExtraDesktopThemes (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_extraDesktopThemesAdded (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_enableDelayedIconSetLoading (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_isDelayedIconSetLoadingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_unknown (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconLoader__ */ diff --git a/kdejava/koala/kdejava/KIconView.cpp b/kdejava/koala/kdejava/KIconView.cpp deleted file mode 100644 index 78b547ab..00000000 --- a/kdejava/koala/kdejava/KIconView.cpp +++ /dev/null @@ -1,890 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEIconViewJBridge : public TDEIconView -{ -public: - 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) { - TDEIconView::emitExecute(arg1,arg2); - return; - } - void protected_updateDragHoldItem(TQDropEvent* arg1) { - TDEIconView::updateDragHoldItem(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TDEIconView::focusOutEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TDEIconView::leaveEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TDEIconView::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TDEIconView::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TDEIconView::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TDEIconView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TDEIconView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TDEIconView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TDEIconView::contentsDropEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TDEIconView::wheelEvent(arg1); - return; - } - void protected_cancelPendingHeldSignal() { - TDEIconView::cancelPendingHeldSignal(); - return; - } - void protected_slotOnItem(TQIconViewItem* arg1) { - TDEIconView::slotOnItem(arg1); - return; - } - void protected_slotOnViewport() { - TDEIconView::slotOnViewport(); - return; - } - void protected_slotSettingsChanged(int arg1) { - TDEIconView::slotSettingsChanged(arg1); - return; - } - void protected_slotAutoSelect() { - TDEIconView::slotAutoSelect(); - return; - } - ~TDEIconViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void doAutoScroll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","doAutoScroll")) { - TQIconView::doAutoScroll(); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQIconView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void setItemTextBackground(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQIconView::setItemTextBackground(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TDEIconView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEIconView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void slotUpdate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","slotUpdate")) { - TQIconView::slotUpdate(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void updateContents() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","updateContents")) { - TQIconView::updateContents(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQIconView::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","clear")) { - TQIconView::clear(); - } - return; - } - void 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")) { - TDEIconView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQIconView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TDEIconView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQIconView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void repaintItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::repaintItem(arg1); - } - return; - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","clearSelection")) { - TQIconView::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TDEIconView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void insertInGrid(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::insertInGrid(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void 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")) { - TDEIconView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TDEIconView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQIconView::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQIconView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","invertSelection")) { - TQIconView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void drawRubber(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { - TQIconView::drawRubber(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEIconView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void 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")) { - TDEIconView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQIconView::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void 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")) { - TDEIconView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQIconView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_cancelPendingHeldSignal(JNIEnv* env, jobject obj) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_cancelPendingHeldSignal(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject 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_TDEIconView_finalize(JNIEnv* env, jobject 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_TDEIconView_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconView_iconTextHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconView*) QtSupport::getQt(env, obj))->iconTextHeight(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconView_metaObject(JNIEnv* env, jobject obj) -{ - 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_TDEIconView_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconView*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_newTDEIconView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -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 TDEIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -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 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_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 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_TDEIconView_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_setIconTextHeight(JNIEnv* env, jobject obj, jint n) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->setIconTextHeight((int) n); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_setMode(JNIEnv* env, jobject obj, jint m) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->setMode((TDEIconView::Mode) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotAutoSelect(JNIEnv* env, jobject obj) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotOnItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotOnViewport(JNIEnv* env, jobject obj) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_takeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->takeItem((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_updateDragHoldItem(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_updateDragHoldItem((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_wheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/KIconView.h b/kdejava/koala/kdejava/KIconView.h deleted file mode 100644 index b1f8fdfe..00000000 --- a/kdejava/koala/kdejava/KIconView.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconView__ -#define __org_kde_koala_TDEIconView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconView_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setIconTextHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconView_iconTextHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_emitExecute (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_updateDragHoldItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_cancelPendingHeldSignal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotOnItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotOnViewport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotSettingsChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotAutoSelect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconView__ */ diff --git a/kdejava/koala/kdejava/KIconViewItem.cpp b/kdejava/koala/kdejava/KIconViewItem.cpp deleted file mode 100644 index 84133e1a..00000000 --- a/kdejava/koala/kdejava/KIconViewItem.cpp +++ /dev/null @@ -1,226 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEIconViewItemJBridge : public TDEIconViewItem -{ -public: - TDEIconViewItemJBridge(TQIconView* arg1) : TDEIconViewItem(arg1) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : TDEIconViewItem(arg1,arg2) {}; - TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : TDEIconViewItem(arg1,arg2) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; - TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {}; - TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {}; - void protected_init() { - TDEIconViewItem::init(); - return; - } - void protected_calcRect(const TQString& arg1) { - TDEIconViewItem::calcRect(arg1); - return; - } - void protected_calcRect() { - TDEIconViewItem::calcRect(); - return; - } - void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) { - TDEIconViewItem::paintItem(arg1,arg2); - return; - } - KWordWrap* protected_wordWrap() { - return (KWordWrap*) TDEIconViewItem::wordWrap(); - } - void protected_paintPixmap(TQPainter* arg1,const TQColorGroup& arg2) { - TDEIconViewItem::paintPixmap(arg1,arg2); - return; - } - void protected_paintText(TQPainter* arg1,const TQColorGroup& arg2) { - TDEIconViewItem::paintText(arg1,arg2); - return; - } - ~TDEIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_calcRect__(JNIEnv* env, jobject obj) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_calcRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text_) -{ -static TQString* _qstring_text_ = 0; - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) QtSupport::toTQString(env, text_, &_qstring_text_)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconViewItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconViewItem*)(TDEIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) { - delete (TDEIconViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_init(JNIEnv* env, jobject obj) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject picture) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jobject picture) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject c) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_paintPixmap(JNIEnv* env, jobject obj, jobject p, jobject c) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintPixmap((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_paintText(JNIEnv* env, jobject obj, jobject p, jobject c) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintText((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconViewItem_pixmapSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEIconViewItem*) QtSupport::getQt(env, obj))->pixmapSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_setPixmapSize(JNIEnv* env, jobject obj, jobject size) -{ - ((TDEIconViewItem*) QtSupport::getQt(env, obj))->setPixmapSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconViewItem_wordWrap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_wordWrap(), "org.kde.koala.KWordWrap"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KIconViewItem.h b/kdejava/koala/kdejava/KIconViewItem.h deleted file mode 100644 index 851b57e9..00000000 --- a/kdejava/koala/kdejava/KIconViewItem.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconViewItem__ -#define __org_kde_koala_TDEIconViewItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_setPixmapSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconViewItem_pixmapSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_calcRect__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_calcRect__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintItem (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconViewItem_wordWrap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintPixmap (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintText (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconViewItem__ */ diff --git a/kdejava/koala/kdejava/TDEIconButton.cpp b/kdejava/koala/kdejava/TDEIconButton.cpp new file mode 100644 index 00000000..a462babd --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconButton.cpp @@ -0,0 +1,515 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include +#include + +class TDEIconButtonJBridge : public TDEIconButton +{ +public: + TDEIconButtonJBridge(TQWidget* arg1,const char* arg2) : TDEIconButton(arg1,arg2) {}; + TDEIconButtonJBridge(TQWidget* arg1) : TDEIconButton(arg1) {}; + TDEIconButtonJBridge() : TDEIconButton() {}; + TDEIconButtonJBridge(TDEIconLoader* arg1,TQWidget* arg2,const char* arg3) : TDEIconButton(arg1,arg2,arg3) {}; + TDEIconButtonJBridge(TDEIconLoader* arg1,TQWidget* arg2) : TDEIconButton(arg1,arg2) {}; + ~TDEIconButtonJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQPushButton::resizeEvent(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseDoubleClickEvent(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void show() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","show")) { + TQWidget::show(); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQPushButton::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void styleChange(TQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { + TQWidget::styleChange(arg1); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","hide")) { + TQWidget::hide(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQButton::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imStartEvent(arg1); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQWidget::showEvent(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQButton::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setAccel(const TQKeySequence& arg1) { + if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { + TQButton::setAccel(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TQWidget::closeEvent(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQButton::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::leaveEvent(arg1); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showNormal")) { + TQWidget::showNormal(); + } + return; + } + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imComposeEvent(arg1); + } + return; + } + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQButton::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQButton::mouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void setPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQButton::setPixmap(arg1); + } + return; + } + void fontChange(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { + TQWidget::fontChange(arg1); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQWidget::wheelEvent(arg1); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQPushButton::focusInEvent(arg1); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQButton::keyReleaseEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQWidget::contextMenuEvent(arg1); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEIconButton",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconButton_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEIconButton*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconButton_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEIconButton_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconButton_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEIconButton*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconButton_iconName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEIconButton*) QtSupport::getQt(env, obj))->icon(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEIconButton_iconSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEIconButton*) QtSupport::getQt(env, obj))->iconSize(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconButton_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconButton_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconButton_newTDEIconButton__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconButtonJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject loader, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject loader, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (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_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconButton_newTDEIconButton__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 TDEIconButtonJBridge((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_TDEIconButton_resetIcon(JNIEnv* env, jobject obj) +{ + ((TDEIconButton*) QtSupport::getQt(env, obj))->resetIcon(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconButton_setIconSize(JNIEnv* env, jobject obj, jint size) +{ + ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconSize((int) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconButton_setIconType__II(JNIEnv* env, jobject obj, jint group, jint context) +{ + ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconType((TDEIcon::Group) group, (TDEIcon::Context) context); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconButton_setIconType__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean user) +{ + ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconType((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) user); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconButton_setIcon(JNIEnv* env, jobject obj, jstring icon) +{ +static TQString* _qstring_icon = 0; + ((TDEIconButton*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconButton_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b) +{ + ((TDEIconButton*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconButton_strictIconSize(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEIconButton*) QtSupport::getQt(env, obj))->strictIconSize(); + return xret; +} + diff --git a/kdejava/koala/kdejava/TDEIconButton.h b/kdejava/koala/kdejava/TDEIconButton.h new file mode 100644 index 00000000..d745067f --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconButton.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEIconButton__ +#define __org_kde_koala_TDEIconButton__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconButton_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconButton_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setStrictIconSize (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconButton_strictIconSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconType__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconType__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIcon (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_resetIcon (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconButton_iconName (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconButton_iconSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconButton_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEIconButton__ */ diff --git a/kdejava/koala/kdejava/TDEIconCanvas.cpp b/kdejava/koala/kdejava/TDEIconCanvas.cpp new file mode 100644 index 00000000..f8a1d13d --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconCanvas.cpp @@ -0,0 +1,671 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include +#include + +class TDEIconCanvasJBridge : public TDEIconCanvas +{ +public: + TDEIconCanvasJBridge(TQWidget* arg1,const char* arg2) : TDEIconCanvas(arg1,arg2) {}; + TDEIconCanvasJBridge(TQWidget* arg1) : TDEIconCanvas(arg1) {}; + TDEIconCanvasJBridge() : TDEIconCanvas() {}; + ~TDEIconCanvasJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void doAutoScroll() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","doAutoScroll")) { + TQIconView::doAutoScroll(); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQIconView::resizeEvent(arg1); + } + return; + } + void setFrameRect(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { + TQFrame::setFrameRect(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseDoubleClickEvent(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + void contentsMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEIconView::contentsMouseReleaseEvent(arg1); + } + return; + } + void viewportPaintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQScrollView::viewportPaintEvent(arg1); + } + return; + } + void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseDoubleClickEvent(arg1); + } + return; + } + void viewportMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseReleaseEvent(arg1); + } + return; + } + void setItemTextBackground(const TQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { + TQIconView::setItemTextBackground(arg1); + } + return; + } + void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TDEIconView::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TDEIconView::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void slotUpdate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","slotUpdate")) { + TQIconView::slotUpdate(); + } + return; + } + void drawFrame(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { + TQFrame::drawFrame(arg1); + } + return; + } + void updateContents() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","updateContents")) { + TQIconView::updateContents(); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","hide")) { + TQWidget::hide(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void viewportResizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQScrollView::viewportResizeEvent(arg1); + } + return; + } + void setPalette(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQIconView::setPalette(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQFrame::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imStartEvent(arg1); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","clear")) { + TQIconView::clear(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TDEIconView::contentsDropEvent(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQIconView::showEvent(arg1); + } + return; + } + void viewportContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::viewportContextMenuEvent(arg1); + } + return; + } + void viewportDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQScrollView::viewportDragEnterEvent(arg1); + } + return; + } + void takeItem(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TDEIconView::takeItem(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQIconView::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void repaintItem(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TQIconView::repaintItem(arg1); + } + return; + } + void clearSelection() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","clearSelection")) { + TQIconView::clearSelection(); + } + return; + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setCornerWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQScrollView::setCornerWidget(arg1); + } + return; + } + void contentsDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TDEIconView::contentsDragEnterEvent(arg1); + } + return; + } + void contentsWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::contentsWheelEvent(arg1); + } + return; + } + void insertInGrid(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TQIconView::insertInGrid(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TQWidget::closeEvent(arg1); + } + return; + } + void startDrag() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","startDrag")) { + TQIconView::startDrag(); + } + return; + } + void setFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TDEIconView::setFont(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void contentsDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TDEIconView::contentsDragMoveEvent(arg1); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQIconView::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void contentsMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQIconView::contentsMouseMoveEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void invertSelection() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","invertSelection")) { + TQIconView::invertSelection(); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void drawRubber(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { + TQIconView::drawRubber(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TDEIconView::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); + } + return; + } + void contentsMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEIconView::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showNormal")) { + TQWidget::showNormal(); + } + return; + } + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imComposeEvent(arg1); + } + return; + } + void viewportWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::viewportWheelEvent(arg1); + } + return; + } + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseMoveEvent(arg1); + } + return; + } + void viewportMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void viewportDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQScrollView::viewportDropEvent(arg1); + } + return; + } + void viewportDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQScrollView::viewportDragMoveEvent(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TDEIconView::wheelEvent(arg1); + } + return; + } + void setCurrentItem(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TQIconView::setCurrentItem(arg1); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQIconView::focusInEvent(arg1); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); + } + return; + } + void adjustItems() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","adjustItems")) { + TQIconView::adjustItems(); + } + return; + } + void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEIconView::contentsMouseDoubleClickEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::contextMenuEvent(arg1); + } + return; + } + void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQScrollView::viewportDragLeaveEvent(arg1); + } + return; + } + void contentsContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQIconView::contentsContextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void viewportMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMousePressEvent(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconCanvas_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEIconCanvas*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconCanvas_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEIconCanvas_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconCanvas_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconCanvas*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEIconCanvas*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconCanvas_getCurrent(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEIconCanvas*) QtSupport::getQt(env, obj))->getCurrent(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconCanvas_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconCanvas_loadFiles(JNIEnv* env, jobject obj, jobjectArray files) +{ +static TQStringList* _qlist_files = 0; + ((TDEIconCanvas*) QtSupport::getQt(env, obj))->loadFiles((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconCanvas_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconCanvas*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconCanvasJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconCanvasJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__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 TDEIconCanvasJBridge((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_TDEIconCanvas_stopLoading(JNIEnv* env, jobject obj) +{ + ((TDEIconCanvas*) QtSupport::getQt(env, obj))->stopLoading(); + return; +} + diff --git a/kdejava/koala/kdejava/TDEIconCanvas.h b/kdejava/koala/kdejava/TDEIconCanvas.h new file mode 100644 index 00000000..bdb5349e --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconCanvas.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEIconCanvas__ +#define __org_kde_koala_TDEIconCanvas__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconCanvas_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconCanvas_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_loadFiles (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconCanvas_getCurrent (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_stopLoading (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconCanvas_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEIconCanvas__ */ diff --git a/kdejava/koala/kdejava/TDEIconDialog.cpp b/kdejava/koala/kdejava/TDEIconDialog.cpp new file mode 100644 index 00000000..5fc14ec4 --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconDialog.cpp @@ -0,0 +1,703 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include +#include + +class TDEIconDialogJBridge : public TDEIconDialog +{ +public: + TDEIconDialogJBridge(TQWidget* arg1,const char* arg2) : TDEIconDialog(arg1,arg2) {}; + TDEIconDialogJBridge(TQWidget* arg1) : TDEIconDialog(arg1) {}; + TDEIconDialogJBridge() : TDEIconDialog() {}; + TDEIconDialogJBridge(TDEIconLoader* arg1,TQWidget* arg2,const char* arg3) : TDEIconDialog(arg1,arg2,arg3) {}; + TDEIconDialogJBridge(TDEIconLoader* arg1,TQWidget* arg2) : TDEIconDialog(arg1,arg2) {}; + TDEIconDialogJBridge(TDEIconLoader* arg1) : TDEIconDialog(arg1) {}; + void protected_slotOk() { + TDEIconDialog::slotOk(); + return; + } + ~TDEIconDialogJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void slotDetails() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotDetails")) { + KDialogBase::slotDetails(); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQDialog::resizeEvent(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseDoubleClickEvent(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + void accept() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","accept")) { + TQDialog::accept(); + } + return; + } + void slotHelp() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotHelp")) { + KDialogBase::slotHelp(); + } + return; + } + void slotNo() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotNo")) { + KDialogBase::slotNo(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void styleChange(TQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { + TQWidget::styleChange(arg1); + } + return; + } + void slotDefault() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotDefault")) { + KDialogBase::slotDefault(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void slotUser3() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser3")) { + KDialogBase::slotUser3(); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQWidget::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imStartEvent(arg1); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + KDialogBase::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","polish")) { + KDialog::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQWidget::showEvent(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + KDialogBase::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + KDialogBase::closeEvent(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void slotApply() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotApply")) { + KDialogBase::slotApply(); + } + return; + } + void slotClose() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotClose")) { + KDialogBase::slotClose(); + } + return; + } + void slotCancel() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotCancel")) { + KDialogBase::slotCancel(); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showNormal")) { + TQWidget::showNormal(); + } + return; + } + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imComposeEvent(arg1); + } + return; + } + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void fontChange(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { + TQWidget::fontChange(arg1); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","adjustSize")) { + KDialogBase::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQWidget::wheelEvent(arg1); + } + return; + } + void slotUser1() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser1")) { + KDialogBase::slotUser1(); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusInEvent(arg1); + } + return; + } + void reject() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","reject")) { + TQDialog::reject(); + } + return; + } + void slotTry() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotTry")) { + KDialogBase::slotTry(); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQDialog::contextMenuEvent(arg1); + } + return; + } + void slotYes() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotYes")) { + KDialogBase::slotYes(); + } + return; + } + void slotUser2() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser2")) { + KDialogBase::slotUser2(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconDialog_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEIconDialog*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEIconDialog_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEIconDialog*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconDialog_getIcon__(JNIEnv* env, jclass cls) +{ + TQString _qstring; + (void) cls; + _qstring = TDEIconDialogJBridge::getIcon(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconDialog_getIcon__I(JNIEnv* env, jclass cls, jint group) +{ + TQString _qstring; + (void) cls; + _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconDialog_getIcon__II(JNIEnv* env, jclass cls, jint group, jint context) +{ + TQString _qstring; + (void) cls; + _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconDialog_getIcon__IIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize) +{ + TQString _qstring; + (void) cls; + _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconDialog_getIcon__IIZI(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize) +{ + TQString _qstring; + (void) cls; + _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user) +{ + TQString _qstring; + (void) cls; + _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jobject parent) +{ + TQString _qstring; + (void) cls; + _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (TQWidget*) QtSupport::getQt(env, parent)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jobject parent, jstring caption) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_caption = 0; + _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEIconDialog_iconSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEIconDialog*) QtSupport::getQt(env, obj))->iconSize(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconDialog_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconDialog_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconDialogJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2(JNIEnv* env, jobject obj, jobject loader) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject loader, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject loader, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (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_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__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 TDEIconDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconDialog_openDialog(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEIconDialog*) QtSupport::getQt(env, obj))->openDialog(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_setCustomLocation(JNIEnv* env, jobject obj, jstring location) +{ +static TQString* _qstring_location = 0; + ((TDEIconDialog*) QtSupport::getQt(env, obj))->setCustomLocation((const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_setIconSize(JNIEnv* env, jobject obj, jint size) +{ + ((TDEIconDialog*) QtSupport::getQt(env, obj))->setIconSize((int) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b) +{ + ((TDEIconDialog*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_setup__I(JNIEnv* env, jobject obj, jint group) +{ + ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_setup__II(JNIEnv* env, jobject obj, jint group, jint context) +{ + ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_setup__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize) +{ + ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_setup__IIZI(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize) +{ + ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_setup__IIZIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user) +{ + ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_setup__IIZIZZZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jboolean lockUser, jboolean lockCustomDir) +{ + ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (bool) lockUser, (bool) lockCustomDir); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_showDialog(JNIEnv* env, jobject obj) +{ + ((TDEIconDialog*) QtSupport::getQt(env, obj))->showDialog(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconDialog_slotOk(JNIEnv* env, jobject obj) +{ + ((TDEIconDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconDialog_strictIconSize(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEIconDialog*) QtSupport::getQt(env, obj))->strictIconSize(); + return xret; +} + diff --git a/kdejava/koala/kdejava/TDEIconDialog.h b/kdejava/koala/kdejava/TDEIconDialog.h new file mode 100644 index 00000000..e9afbd72 --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconDialog.h @@ -0,0 +1,51 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEIconDialog__ +#define __org_kde_koala_TDEIconDialog__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconDialog_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setStrictIconSize (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconDialog_strictIconSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setCustomLocation (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setIconSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconDialog_iconSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZIZ (JNIEnv *env, jobject, jint, jint, jboolean, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZI (JNIEnv *env, jobject, jint, jint, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZIZZZ (JNIEnv *env, jobject, jint, jint, jboolean, jint, jboolean, jboolean, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_openDialog (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_showDialog (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZ (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZI (JNIEnv *env, jclass, jint, jint, jboolean, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZ (JNIEnv *env, jclass, jint, jint, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__II (JNIEnv *env, jclass, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__I (JNIEnv *env, jclass, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__ (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_slotOk (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconDialog_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEIconDialog__ */ diff --git a/kdejava/koala/kdejava/TDEIconEffect.cpp b/kdejava/koala/kdejava/TDEIconEffect.cpp new file mode 100644 index 00000000..7b8c8ac5 --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconEffect.cpp @@ -0,0 +1,195 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +class TDEIconEffectJBridge : public TDEIconEffect +{ +public: + TDEIconEffectJBridge() : TDEIconEffect() {}; + ~TDEIconEffectJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jobject rgb2, jboolean trans) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb2), (bool) trans)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jboolean trans) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (bool) trans)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2II(JNIEnv* env, jobject obj, jobject src, jint group, jint state) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) group, (int) state)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jobject rgb2, jboolean trans) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb2), (bool) trans)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jboolean trans) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (bool) trans)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject src, jint group, jint state) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) group, (int) state)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_colorize(JNIEnv* env, jclass cls, jobject image, jobject col, jfloat value) +{ + (void) cls; + TDEIconEffectJBridge::colorize((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (float) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_deSaturate(JNIEnv* env, jclass cls, jobject image, jfloat value) +{ + (void) cls; + TDEIconEffectJBridge::deSaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEIconEffect_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconEffect_doublePixels(JNIEnv* env, jobject obj, jobject src) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->doublePixels((TQImage)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TDEIconEffect*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconEffect_fingerprint(JNIEnv* env, jobject obj, jint group, jint state) +{ + TQString _qstring; + _qstring = ((TDEIconEffect*) QtSupport::getQt(env, obj))->fingerprint((int) group, (int) state); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconEffect_hasEffect(JNIEnv* env, jobject obj, jint group, jint state) +{ + jboolean xret = (jboolean) ((TDEIconEffect*) QtSupport::getQt(env, obj))->hasEffect((int) group, (int) state); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_init(JNIEnv* env, jobject obj) +{ + ((TDEIconEffect*) QtSupport::getQt(env, obj))->init(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconEffect_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_newTDEIconEffect(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconEffectJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_overlay(JNIEnv* env, jclass cls, jobject src, jobject overlay) +{ + (void) cls; + TDEIconEffectJBridge::overlay((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (TQImage&)*(TQImage*) QtSupport::getQt(env, overlay)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) +{ + (void) cls; + TDEIconEffectJBridge::semiTransparent((TQImage&)*(TQImage*) QtSupport::getQt(env, image)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject pixmap) +{ + (void) cls; + TDEIconEffectJBridge::semiTransparent((TQPixmap&)*(TQPixmap*) QtSupport::getQt(env, pixmap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_toGamma(JNIEnv* env, jclass cls, jobject image, jfloat value) +{ + (void) cls; + TDEIconEffectJBridge::toGamma((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_toGray(JNIEnv* env, jclass cls, jobject image, jfloat value) +{ + (void) cls; + TDEIconEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_toMonochrome(JNIEnv* env, jclass cls, jobject image, jobject black, jobject white, jfloat value) +{ + (void) cls; + TDEIconEffectJBridge::toMonochrome((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, black), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, white), (float) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconEffect_visualActivate(JNIEnv* env, jclass cls, jobject widget, jobject rect) +{ + (void) cls; + TDEIconEffectJBridge::visualActivate((TQWidget*) QtSupport::getQt(env, widget), (TQRect)*(TQRect*) QtSupport::getQt(env, rect)); + return; +} + diff --git a/kdejava/koala/kdejava/TDEIconEffect.h b/kdejava/koala/kdejava/TDEIconEffect.h new file mode 100644 index 00000000..08f329e0 --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconEffect.h @@ -0,0 +1,41 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEIconEffect__ +#define __org_kde_koala_TDEIconEffect__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_newTDEIconEffect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_init (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconEffect_hasEffect (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconEffect_fingerprint (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_doublePixels (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_visualActivate (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toGray (JNIEnv *env, jclass, jobject, jfloat); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_colorize (JNIEnv *env, jclass, jobject, jobject, jfloat); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toMonochrome (JNIEnv *env, jclass, jobject, jobject, jobject, jfloat); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_deSaturate (JNIEnv *env, jclass, jobject, jfloat); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toGamma (JNIEnv *env, jclass, jobject, jfloat); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_overlay (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconEffect_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEIconEffect__ */ diff --git a/kdejava/koala/kdejava/TDEIconLoader.cpp b/kdejava/koala/kdejava/TDEIconLoader.cpp new file mode 100644 index 00000000..4e2c4a73 --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconLoader.cpp @@ -0,0 +1,330 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +class TDEIconLoaderJBridge : public TDEIconLoader +{ +public: + TDEIconLoaderJBridge(const TQString& arg1,TDEStandardDirs* arg2) : TDEIconLoader(arg1,arg2) {}; + TDEIconLoaderJBridge(const TQString& arg1) : TDEIconLoader(arg1) {}; + TDEIconLoaderJBridge() : TDEIconLoader() {}; + ~TDEIconLoaderJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconLoader_addAppDir(JNIEnv* env, jobject obj, jstring appname) +{ +static TQString* _qstring_appname = 0; + ((TDEIconLoader*) QtSupport::getQt(env, obj))->addAppDir((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconLoader_addExtraDesktopThemes(JNIEnv* env, jobject obj) +{ + ((TDEIconLoader*) QtSupport::getQt(env, obj))->addExtraDesktopThemes(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEIconLoader_currentSize(JNIEnv* env, jobject obj, jint group) +{ + jint xret = (jint) ((TDEIconLoader*) QtSupport::getQt(env, obj))->currentSize((TDEIcon::Group) group); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconLoader_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEIconLoader_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconLoader_enableDelayedIconSetLoading(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TDEIconLoader*) QtSupport::getQt(env, obj))->enableDelayedIconSetLoading((bool) enable); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconLoader_extraDesktopThemesAdded(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->extraDesktopThemesAdded(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconLoader_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TDEIconLoader*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_iconEffect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconLoader*) QtSupport::getQt(env, obj))->iconEffect(), "org.kde.koala.TDEIconEffect"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group_or_size) +{ + TQString _qstring; +static TQString* _qstring_name = 0; + _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring name, jint group_or_size, jboolean canReturnNull) +{ + TQString _qstring; +static TQString* _qstring_name = 0; + _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size, (bool) canReturnNull); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconLoader_isDelayedIconSetLoadingEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->isDelayedIconSetLoadingEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconLoader_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) +{ + TQStringList _qlist; +static TQString* _qstring_name = 0; + _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) +{ + TQStringList _qlist; +static TQString* _qstring_name = 0; + _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (bool) canReturnNull)), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull, jboolean immediateExistenceCheck) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (bool) canReturnNull, (bool) immediateExistenceCheck)), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_path_store = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store))), "org.kde.qt.TQPixmap", TRUE); + QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2Z(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store, jboolean canReturnNull) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_path_store = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store), (bool) canReturnNull)), "org.kde.qt.TQPixmap", TRUE); + QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQMovie", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQMovie", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) +{ + TQString _qstring; +static TQString* _qstring_name = 0; + _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) +{ + TQString _qstring; +static TQString* _qstring_name = 0; + _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconLoaderJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appname) +{ +static TQString* _qstring_appname = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2(JNIEnv* env, jobject obj, jstring appname, jobject dirs) +{ +static TQString* _qstring_appname = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (TDEStandardDirs*) QtSupport::getQt(env, dirs))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_queryIconsByContext__I(JNIEnv* env, jobject obj, jint group_or_size) +{ + TQStringList _qlist; + _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_queryIconsByContext__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) +{ + TQStringList _qlist; + _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size, (TDEIcon::Context) context); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_queryIconsByDir(JNIEnv* env, jobject obj, jstring iconsDir) +{ + TQStringList _qlist; +static TQString* _qstring_iconsDir = 0; + _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByDir((const TQString&)*(TQString*) QtSupport::toTQString(env, iconsDir, &_qstring_iconsDir)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_queryIcons__I(JNIEnv* env, jobject obj, jint group_or_size) +{ + TQStringList _qlist; + _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_queryIcons__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) +{ + TQStringList _qlist; + _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size, (TDEIcon::Context) context); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconLoader_reconfigure(JNIEnv* env, jobject obj, jstring _appname, jobject _dirs) +{ +static TQString* _qstring__appname = 0; + ((TDEIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TQString&)*(TQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (TDEStandardDirs*) QtSupport::getQt(env, _dirs)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconLoader_unknown(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TDEIconLoaderJBridge::unknown()), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + diff --git a/kdejava/koala/kdejava/TDEIconLoader.h b/kdejava/koala/kdejava/TDEIconLoader.h new file mode 100644 index 00000000..d6154a2c --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconLoader.h @@ -0,0 +1,55 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEIconLoader__ +#define __org_kde_koala_TDEIconLoader__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_addAppDir (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2Z (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIcons__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIcons__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByContext__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByContext__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByDir (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconLoader_currentSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_iconEffect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_reconfigure (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_addExtraDesktopThemes (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_extraDesktopThemesAdded (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_enableDelayedIconSetLoading (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_isDelayedIconSetLoadingEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_unknown (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEIconLoader__ */ diff --git a/kdejava/koala/kdejava/TDEIconView.cpp b/kdejava/koala/kdejava/TDEIconView.cpp new file mode 100644 index 00000000..78b547ab --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconView.cpp @@ -0,0 +1,890 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include +#include + +class TDEIconViewJBridge : public TDEIconView +{ +public: + 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) { + TDEIconView::emitExecute(arg1,arg2); + return; + } + void protected_updateDragHoldItem(TQDropEvent* arg1) { + TDEIconView::updateDragHoldItem(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TDEIconView::focusOutEvent(arg1); + return; + } + void protected_leaveEvent(TQEvent* arg1) { + TDEIconView::leaveEvent(arg1); + return; + } + void protected_contentsMousePressEvent(TQMouseEvent* arg1) { + TDEIconView::contentsMousePressEvent(arg1); + return; + } + void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + TDEIconView::contentsMouseDoubleClickEvent(arg1); + return; + } + void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { + TDEIconView::contentsMouseReleaseEvent(arg1); + return; + } + void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { + TDEIconView::contentsDragEnterEvent(arg1); + return; + } + void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + TDEIconView::contentsDragLeaveEvent(arg1); + return; + } + void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { + TDEIconView::contentsDragMoveEvent(arg1); + return; + } + void protected_contentsDropEvent(TQDropEvent* arg1) { + TDEIconView::contentsDropEvent(arg1); + return; + } + void protected_wheelEvent(TQWheelEvent* arg1) { + TDEIconView::wheelEvent(arg1); + return; + } + void protected_cancelPendingHeldSignal() { + TDEIconView::cancelPendingHeldSignal(); + return; + } + void protected_slotOnItem(TQIconViewItem* arg1) { + TDEIconView::slotOnItem(arg1); + return; + } + void protected_slotOnViewport() { + TDEIconView::slotOnViewport(); + return; + } + void protected_slotSettingsChanged(int arg1) { + TDEIconView::slotSettingsChanged(arg1); + return; + } + void protected_slotAutoSelect() { + TDEIconView::slotAutoSelect(); + return; + } + ~TDEIconViewJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void doAutoScroll() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","doAutoScroll")) { + TQIconView::doAutoScroll(); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQIconView::resizeEvent(arg1); + } + return; + } + void setFrameRect(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { + TQFrame::setFrameRect(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseDoubleClickEvent(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + void contentsMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEIconView::contentsMouseReleaseEvent(arg1); + } + return; + } + void viewportPaintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQScrollView::viewportPaintEvent(arg1); + } + return; + } + void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseDoubleClickEvent(arg1); + } + return; + } + void viewportMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseReleaseEvent(arg1); + } + return; + } + void setItemTextBackground(const TQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { + TQIconView::setItemTextBackground(arg1); + } + return; + } + void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TDEIconView::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TDEIconView::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void slotUpdate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","slotUpdate")) { + TQIconView::slotUpdate(); + } + return; + } + void drawFrame(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { + TQFrame::drawFrame(arg1); + } + return; + } + void updateContents() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","updateContents")) { + TQIconView::updateContents(); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","hide")) { + TQWidget::hide(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void viewportResizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQScrollView::viewportResizeEvent(arg1); + } + return; + } + void setPalette(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQIconView::setPalette(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQFrame::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imStartEvent(arg1); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","clear")) { + TQIconView::clear(); + } + return; + } + void 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")) { + TDEIconView::contentsDropEvent(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQIconView::showEvent(arg1); + } + return; + } + void viewportContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::viewportContextMenuEvent(arg1); + } + return; + } + void viewportDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQScrollView::viewportDragEnterEvent(arg1); + } + return; + } + void takeItem(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TDEIconView::takeItem(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQIconView::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void repaintItem(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TQIconView::repaintItem(arg1); + } + return; + } + void clearSelection() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","clearSelection")) { + TQIconView::clearSelection(); + } + return; + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setCornerWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQScrollView::setCornerWidget(arg1); + } + return; + } + void contentsDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TDEIconView::contentsDragEnterEvent(arg1); + } + return; + } + void contentsWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::contentsWheelEvent(arg1); + } + return; + } + void insertInGrid(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TQIconView::insertInGrid(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TQWidget::closeEvent(arg1); + } + return; + } + void 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")) { + TDEIconView::setFont(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void contentsDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TDEIconView::contentsDragMoveEvent(arg1); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQIconView::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void contentsMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQIconView::contentsMouseMoveEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void invertSelection() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","invertSelection")) { + TQIconView::invertSelection(); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void drawRubber(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { + TQIconView::drawRubber(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TDEIconView::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); + } + return; + } + void contentsMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEIconView::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showNormal")) { + TQWidget::showNormal(); + } + return; + } + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imComposeEvent(arg1); + } + return; + } + void viewportWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::viewportWheelEvent(arg1); + } + return; + } + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseMoveEvent(arg1); + } + return; + } + void viewportMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void viewportDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQScrollView::viewportDropEvent(arg1); + } + return; + } + void viewportDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQScrollView::viewportDragMoveEvent(arg1); + } + return; + } + void 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")) { + TDEIconView::wheelEvent(arg1); + } + return; + } + void setCurrentItem(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TQIconView::setCurrentItem(arg1); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQIconView::focusInEvent(arg1); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); + } + return; + } + void 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")) { + TDEIconView::contentsMouseDoubleClickEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::contextMenuEvent(arg1); + } + return; + } + void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQScrollView::viewportDragLeaveEvent(arg1); + } + return; + } + void contentsContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQIconView::contentsContextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void viewportMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMousePressEvent(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_cancelPendingHeldSignal(JNIEnv* env, jobject obj) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_cancelPendingHeldSignal(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEIconView_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEIconView*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEIconView_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject 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_TDEIconView_finalize(JNIEnv* env, jobject 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_TDEIconView_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEIconView_iconTextHeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEIconView*) QtSupport::getQt(env, obj))->iconTextHeight(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconView_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_leaveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconView_metaObject(JNIEnv* env, jobject obj) +{ + 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_TDEIconView_mode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEIconView*) QtSupport::getQt(env, obj))->mode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_newTDEIconView__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconViewJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +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 TDEIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +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 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_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 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_TDEIconView_setFont(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEIconView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_setIconTextHeight(JNIEnv* env, jobject obj, jint n) +{ + ((TDEIconView*) QtSupport::getQt(env, obj))->setIconTextHeight((int) n); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_setMode(JNIEnv* env, jobject obj, jint m) +{ + ((TDEIconView*) QtSupport::getQt(env, obj))->setMode((TDEIconView::Mode) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_slotAutoSelect(JNIEnv* env, jobject obj) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_slotOnItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_slotOnViewport(JNIEnv* env, jobject obj) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_takeItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TDEIconView*) QtSupport::getQt(env, obj))->takeItem((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_updateDragHoldItem(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_updateDragHoldItem((TQDropEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconView_wheelEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); + return; +} + diff --git a/kdejava/koala/kdejava/TDEIconView.h b/kdejava/koala/kdejava/TDEIconView.h new file mode 100644 index 00000000..b1f8fdfe --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconView.h @@ -0,0 +1,50 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEIconView__ +#define __org_kde_koala_TDEIconView__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconView_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconView_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconView_mode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setIconTextHeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconView_iconTextHeight (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_takeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_emitExecute (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_updateDragHoldItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_leaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDropEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_wheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_cancelPendingHeldSignal (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotOnItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotOnViewport (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotSettingsChanged (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotAutoSelect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconView_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEIconView__ */ diff --git a/kdejava/koala/kdejava/TDEIconViewItem.cpp b/kdejava/koala/kdejava/TDEIconViewItem.cpp new file mode 100644 index 00000000..84133e1a --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconViewItem.cpp @@ -0,0 +1,226 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +class TDEIconViewItemJBridge : public TDEIconViewItem +{ +public: + TDEIconViewItemJBridge(TQIconView* arg1) : TDEIconViewItem(arg1) {}; + TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : TDEIconViewItem(arg1,arg2) {}; + TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : TDEIconViewItem(arg1,arg2) {}; + TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; + TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; + TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {}; + TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; + TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {}; + void protected_init() { + TDEIconViewItem::init(); + return; + } + void protected_calcRect(const TQString& arg1) { + TDEIconViewItem::calcRect(arg1); + return; + } + void protected_calcRect() { + TDEIconViewItem::calcRect(); + return; + } + void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) { + TDEIconViewItem::paintItem(arg1,arg2); + return; + } + KWordWrap* protected_wordWrap() { + return (KWordWrap*) TDEIconViewItem::wordWrap(); + } + void protected_paintPixmap(TQPainter* arg1,const TQColorGroup& arg2) { + TDEIconViewItem::paintPixmap(arg1,arg2); + return; + } + void protected_paintText(TQPainter* arg1,const TQColorGroup& arg2) { + TDEIconViewItem::paintText(arg1,arg2); + return; + } + ~TDEIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_calcRect__(JNIEnv* env, jobject obj) +{ + ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_calcRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text_) +{ +static TQString* _qstring_text_ = 0; + ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) QtSupport::toTQString(env, text_, &_qstring_text_)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEIconViewItem_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconViewItem*)(TDEIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) { + delete (TDEIconViewItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_init(JNIEnv* env, jobject obj) +{ + ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_init(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEIconViewItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject picture) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject icon) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jobject picture) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jobject icon) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject c) +{ + ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_paintPixmap(JNIEnv* env, jobject obj, jobject p, jobject c) +{ + ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintPixmap((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_paintText(JNIEnv* env, jobject obj, jobject p, jobject c) +{ + ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintText((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconViewItem_pixmapSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEIconViewItem*) QtSupport::getQt(env, obj))->pixmapSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEIconViewItem_setPixmapSize(JNIEnv* env, jobject obj, jobject size) +{ + ((TDEIconViewItem*) QtSupport::getQt(env, obj))->setPixmapSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEIconViewItem_wordWrap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_wordWrap(), "org.kde.koala.KWordWrap"); + return xret; +} + diff --git a/kdejava/koala/kdejava/TDEIconViewItem.h b/kdejava/koala/kdejava/TDEIconViewItem.h new file mode 100644 index 00000000..851b57e9 --- /dev/null +++ b/kdejava/koala/kdejava/TDEIconViewItem.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEIconViewItem__ +#define __org_kde_koala_TDEIconViewItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_setPixmapSize (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconViewItem_pixmapSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_init (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_calcRect__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_calcRect__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintItem (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconViewItem_wordWrap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintPixmap (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintText (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconViewItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEIconViewItem__ */ diff --git a/kdejava/koala/org/kde/koala/KIconButton.java b/kdejava/koala/org/kde/koala/KIconButton.java deleted file mode 100644 index a8b2697a..00000000 --- a/kdejava/koala/org/kde/koala/KIconButton.java +++ /dev/null @@ -1,110 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPushButton; - -/** - - A pushbutton for choosing an icon. Pressing on the button will open a - TDEIconDialog for the user to select an icon. The current icon will be - displayed on the button. - See {@link TDEIconButtonSignals} for signals emitted by TDEIconButton - @short A push button that allows selection of an icon. - @see TDEIconDialog - -*/ -public class TDEIconButton extends TQPushButton { - protected TDEIconButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a TDEIconButton using the global iconloader. - @short Constructs a TDEIconButton using the global iconloader. - */ - public TDEIconButton(TQWidget parent, String name) { - super((Class) null); - newTDEIconButton(parent,name); - } - private native void newTDEIconButton(TQWidget parent, String name); - public TDEIconButton(TQWidget parent) { - super((Class) null); - newTDEIconButton(parent); - } - private native void newTDEIconButton(TQWidget parent); - public TDEIconButton() { - super((Class) null); - newTDEIconButton(); - } - private native void newTDEIconButton(); - /** - Constructs a TDEIconButton using a specific TDEIconLoader. - @short Constructs a TDEIconButton using a specific TDEIconLoader. - */ - public TDEIconButton(TDEIconLoader loader, TQWidget parent, String name) { - super((Class) null); - newTDEIconButton(loader,parent,name); - } - private native void newTDEIconButton(TDEIconLoader loader, TQWidget parent, String name); - public TDEIconButton(TDEIconLoader loader, TQWidget parent) { - super((Class) null); - newTDEIconButton(loader,parent); - } - private native void newTDEIconButton(TDEIconLoader loader, TQWidget parent); - /** - Sets a strict icon size policy for allowed icons. When true, - only icons of the specified group's size in setIconType are allowed, - and only icons of that size will be shown in the icon dialog. - @short Sets a strict icon size policy for allowed icons. - */ - public native void setStrictIconSize(boolean b); - /** - Returns true if a strict icon size policy is set. - @short Returns true if a strict icon size policy is set. - */ - public native boolean strictIconSize(); - /** - Sets the icon group and context. Use TDEIcon.NoGroup if you want to - allow icons for any group in the given context. - @short Sets the icon group and context. - */ - public native void setIconType(int group, int context, boolean user); - public native void setIconType(int group, int context); - /** - Sets the button's initial icon. - @short Sets the button's initial icon. - */ - public native void setIcon(String icon); - /** - Resets the icon (reverts to an empty button). - @short Resets the icon (reverts to an empty button). - */ - public native void resetIcon(); - /** - Returns the name of the selected icon. - @short Returns the name of the selected icon. - */ - public native String iconName(); - /** - Sets the size of the icon to be shown / selected. - @short Sets the size of the icon to be shown / selected. - @see TDEIcon#StdSizes - @see #iconSize - */ - public native void setIconSize(int size); - /** - Returns the iconsize set via setIconSize() or 0, if the default - iconsize will be used. - @short Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used. - */ - public native int iconSize(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KIconButtonSignals.java b/kdejava/koala/org/kde/koala/KIconButtonSignals.java deleted file mode 100644 index 73288b36..00000000 --- a/kdejava/koala/org/kde/koala/KIconButtonSignals.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface TDEIconButtonSignals { - /** - Emitted when the icon has changed. - @short Emitted when the icon has changed. - */ - void iconChanged(String icon); -} diff --git a/kdejava/koala/org/kde/koala/KIconCanvas.java b/kdejava/koala/org/kde/koala/KIconCanvas.java deleted file mode 100644 index 68404a84..00000000 --- a/kdejava/koala/org/kde/koala/KIconCanvas.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - Icon canvas for TDEIconDialog. - See {@link TDEIconCanvasSignals} for signals emitted by TDEIconCanvas - @short Icon canvas for TDEIconDialog. - -*/ -public class TDEIconCanvas extends TDEIconView { - protected TDEIconCanvas(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TDEIconCanvas(TQWidget parent, String name) { - super((Class) null); - newTDEIconCanvas(parent,name); - } - private native void newTDEIconCanvas(TQWidget parent, String name); - public TDEIconCanvas(TQWidget parent) { - super((Class) null); - newTDEIconCanvas(parent); - } - private native void newTDEIconCanvas(TQWidget parent); - public TDEIconCanvas() { - super((Class) null); - newTDEIconCanvas(); - } - private native void newTDEIconCanvas(); - /** - Load icons into the canvas. - @short Load icons into the canvas. - */ - public native void loadFiles(String[] files); - /** - Returns the current icon. - @short Returns the current icon. - */ - public native String getCurrent(); - public native void stopLoading(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KIconCanvasSignals.java b/kdejava/koala/org/kde/koala/KIconCanvasSignals.java deleted file mode 100644 index e14c301b..00000000 --- a/kdejava/koala/org/kde/koala/KIconCanvasSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface TDEIconCanvasSignals { - /** - Emitted when the current icon has changed. - @short Emitted when the current icon has changed. - */ - void nameChanged(String arg1); - void startLoading(int arg1); - void progress(int arg1); - void finished(); -} diff --git a/kdejava/koala/org/kde/koala/KIconDialog.java b/kdejava/koala/org/kde/koala/KIconDialog.java deleted file mode 100644 index b23266dd..00000000 --- a/kdejava/koala/org/kde/koala/KIconDialog.java +++ /dev/null @@ -1,159 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - Dialog for interactive selection of icons. Use the function - getIcon() let the user select an icon. - See {@link TDEIconDialogSignals} for signals emitted by TDEIconDialog - @short An icon selection dialog. - -*/ -public class TDEIconDialog extends KDialogBase { - protected TDEIconDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs an icon selection dialog using the global iconloader. - @short Constructs an icon selection dialog using the global iconloader. - */ - public TDEIconDialog(TQWidget parent, String name) { - super((Class) null); - newTDEIconDialog(parent,name); - } - private native void newTDEIconDialog(TQWidget parent, String name); - public TDEIconDialog(TQWidget parent) { - super((Class) null); - newTDEIconDialog(parent); - } - private native void newTDEIconDialog(TQWidget parent); - public TDEIconDialog() { - super((Class) null); - newTDEIconDialog(); - } - private native void newTDEIconDialog(); - /** - Constructs an icon selection dialog using a specific iconloader. - @short Constructs an icon selection dialog using a specific iconloader. - */ - public TDEIconDialog(TDEIconLoader loader, TQWidget parent, String name) { - super((Class) null); - newTDEIconDialog(loader,parent,name); - } - private native void newTDEIconDialog(TDEIconLoader loader, TQWidget parent, String name); - public TDEIconDialog(TDEIconLoader loader, TQWidget parent) { - super((Class) null); - newTDEIconDialog(loader,parent); - } - private native void newTDEIconDialog(TDEIconLoader loader, TQWidget parent); - public TDEIconDialog(TDEIconLoader loader) { - super((Class) null); - newTDEIconDialog(loader); - } - private native void newTDEIconDialog(TDEIconLoader loader); - /** - Sets a strict icon size policy for allowed icons. When true, - only icons of the specified group's size in getIcon() are shown. - When false, icons not available at the desired group's size will - also be selectable. - @short Sets a strict icon size policy for allowed icons. - */ - public native void setStrictIconSize(boolean b); - /** - Returns true if a strict icon size policy is set. - @short Returns true if a strict icon size policy is set. - */ - public native boolean strictIconSize(); - /** - sets a custom icon directory - @short sets a custom icon directory - */ - public native void setCustomLocation(String location); - /** - Sets the size of the icons to be shown / selected. - @short Sets the size of the icons to be shown / selected. - @see TDEIcon#StdSizes - @see #iconSize - */ - public native void setIconSize(int size); - /** - Returns the iconsize set via setIconSize() or 0, if the default - iconsize will be used. - @short Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used. - */ - public native int iconSize(); - /** - Allows you to set the same parameters as in the class method - getIcon(). - @short Allows you to set the same parameters as in the class method getIcon(). - */ - public native void setup(int group, int context, boolean strictIconSize, int iconSize, boolean user); - public native void setup(int group, int context, boolean strictIconSize, int iconSize); - public native void setup(int group, int context, boolean strictIconSize); - public native void setup(int group, int context); - public native void setup(int group); - /** - Allows you to set the same parameters as in the class method - getIcon(), as well as two additional parameters to lock - the choice between system and user dirs and to lock the custom user - dir itself. - @short Allows you to set the same parameters as in the class method getIcon(), as well as two additional parameters to lock the choice between system and user dirs and to lock the custom user dir itself. - */ - public native void setup(int group, int context, boolean strictIconSize, int iconSize, boolean user, boolean lockUser, boolean lockCustomDir); - /** - exec()utes this modal dialog and returns the name of the selected icon, - or null if the dialog was aborted. - @return the name of the icon, suitable for loading with TDEIconLoader. - - @short exec()utes this modal dialog and returns the name of the selected icon, or String.null if the dialog was aborted. - @see #getIcon - */ - public native String openDialog(); - /** - show()es this dialog and emits a newIcon(String) signal when - successful. null will be emitted if the dialog was aborted. - @short show()es this dialog and emits a newIcon(String) signal when successful. - */ - public native void showDialog(); - /** - Pops up the dialog an lets the user select an icon. - @param group The icon group this icon is intended for. Providing the - group shows the icons in the dialog with the same appearance as when - used outside the dialog. - @param context The initial icon context. Initially, the icons having - this context are shown in the dialog. The user can change this. - @param strictIconSize When true, only icons of the specified group's size - are shown, otherwise icon not available in the desired group's size - will also be selectable. - @param iconSize the size of the icons -- the default of the icongroup - if set to 0 - @param user Begin with the "user icons" instead of "system icons". - @param parent The parent widget of the dialog. - @param caption The caption to use for the dialog. - @return The name of the icon, suitable for loading with TDEIconLoader. - - @version New in 3.0 - - @short Pops up the dialog an lets the user select an icon. - */ - public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user, TQWidget parent, String caption); - public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user, TQWidget parent); - public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user); - public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize); - public static native String getIcon(int group, int context, boolean strictIconSize); - public static native String getIcon(int group, int context); - public static native String getIcon(int group); - public static native String getIcon(); - protected native void slotOk(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KIconDialogSignals.java b/kdejava/koala/org/kde/koala/KIconDialogSignals.java deleted file mode 100644 index 0a42e920..00000000 --- a/kdejava/koala/org/kde/koala/KIconDialogSignals.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface TDEIconDialogSignals { - void newIconName(String arg1); -} diff --git a/kdejava/koala/org/kde/koala/KIconEffect.java b/kdejava/koala/org/kde/koala/KIconEffect.java deleted file mode 100644 index 689f1e76..00000000 --- a/kdejava/koala/org/kde/koala/KIconEffect.java +++ /dev/null @@ -1,236 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQImage; -import org.kde.qt.TQWidget; - -/** - - Applies effects to icons. - This class applies effects to icons depending on their state and - group. For example, it can be used to make all disabled icons - in a toolbar gray. - @short Applies effects to icons. - @see TDEIcon - -*/ -public class TDEIconEffect implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEIconEffect(Class dummy){} - - /** - This is the enumeration of all possible icon effects. - Note that 'LastEffect' is no valid icon effect but only - used internally to check for invalid icon effects. - -
  • - NoEffect: Don't apply any icon effect -
  • - -
  • - ToGray: Tints the icon gray -
  • - -
  • - Colorize: Tints the icon with an other color -
  • - -
  • - ToGamma: Change the gamma value of the icon -
  • - -
  • - DeSaturate: Reduce the saturation of the icon -
  • - -
  • - ToMonochrome: Produces a monochrome icon - -
  • @short This is the enumeration of all possible icon effects. - */ - public static final int NoEffect = 0; - public static final int ToGray = 1; - public static final int Colorize = 2; - public static final int ToGamma = 3; - public static final int DeSaturate = 4; - public static final int ToMonochrome = 5; - public static final int LastEffect = 6; - - /** - Create a new TDEIconEffect. - @short Create a new TDEIconEffect. - */ - public TDEIconEffect() { - newTDEIconEffect(); - } - private native void newTDEIconEffect(); - /** - Rereads configuration. - @short Rereads configuration. - */ - public native void init(); - /** - Tests whether an effect has been configured for the given icon group. - @param group the group to check, see TDEIcon.Group - @param state the state to check, see TDEIcon.States - @return true if an effect is configured for the given group - in state, otherwise false. - - @short Tests whether an effect has been configured for the given icon group. - @see TDEIcon#Group - @see TDEIcon#States - */ - public native boolean hasEffect(int group, int state); - /** - Returns a fingerprint for the effect by encoding - the given group and state into a String. This - is useful for caching. - @param group the group, see TDEIcon.Group - @param state the state, see TDEIcon.States - @return the fingerprint of the given group+state - - @short Returns a fingerprint for the effect by encoding the given group and state into a String. - */ - public native String fingerprint(int group, int state); - /** - Applies an effect to an image. The effect to apply depends on the - group and state parameters, and is configured by the user. - @param src The image. - @param group The group for the icon, see TDEIcon.Group - @param state The icon's state, see TDEIcon.States - @return An image with the effect applied. - - @short Applies an effect to an image. - */ - public native TQImage apply(TQImage src, int group, int state); - /** - Applies an effect to an image. - @param src The image. - @param effect The effect to apply, one of TDEIconEffect.Effects. - @param value Strength of the effect. 0 <= value <= 1. - @param rgb Color parameter for effects that need one. - @param trans Add Transparency if trans = true. - @return An image with the effect applied. - - @short Applies an effect to an image. - */ - public native TQImage apply(TQImage src, int effect, float value, TQColor rgb, boolean trans); - /** - @short - */ - public native TQImage apply(TQImage src, int effect, float value, TQColor rgb, TQColor rgb2, boolean trans); - /** - Applies an effect to a pixmap. - @param src The pixmap. - @param group The group for the icon, see TDEIcon.Group - @param state The icon's state, see TDEIcon.States - @return A pixmap with the effect applied. - - @short Applies an effect to a pixmap. - */ - public native TQPixmap apply(TQPixmap src, int group, int state); - /** - Applies an effect to a pixmap. - @param src The pixmap. - @param effect The effect to apply, one of TDEIconEffect.Effects. - @param value Strength of the effect. 0 <= value <= 1. - @param rgb Color parameter for effects that need one. - @param trans Add Transparency if trans = true. - @return A pixmap with the effect applied. - - @short Applies an effect to a pixmap. - */ - public native TQPixmap apply(TQPixmap src, int effect, float value, TQColor rgb, boolean trans); - /** - @short - */ - public native TQPixmap apply(TQPixmap src, int effect, float value, TQColor rgb, TQColor rgb2, boolean trans); - /** - Returns an image twice as large, consisting of 2x2 pixels. - @param src the image. - @return the scaled image. - - @short Returns an image twice as large, consisting of 2x2 pixels. - */ - public native TQImage doublePixels(TQImage src); - /** - Provides visual feedback to show activation of an icon on a widget. - Not strictly an 'icon effect', but in practice that's what it looks - like. - This method does nothing if the global 'Visual feedback on activation' - option is not activated (See kcontrol/Peripherals/Mouse). - @param widget The widget on which the effect should be painted - @param rect This rectangle defines the effect's borders - @short Provides visual feedback to show activation of an icon on a widget. - */ - public static native void visualActivate(TQWidget widget, TQRect rect); - /** - Tints an image gray. - @param image The image - @param value Strength of the effect. 0 <= value <= 1 - @short Tints an image gray. - */ - public static native void toGray(TQImage image, float value); - /** - Colorizes an image with a specific color. - @param image The image - @param col The color with which the image is tinted - @param value Strength of the effect. 0 <= value <= 1 - @short Colorizes an image with a specific color. - */ - public static native void colorize(TQImage image, TQColor col, float value); - /** - Produces a monochrome icon with a given foreground and background color - @param image The image - @param white The color with which the white parts of image are painted - @param black The color with which the black parts of image are painted - @param value Strength of the effect. 0 <= value <= 1 - @short Produces a monochrome icon with a given foreground and background color - */ - public static native void toMonochrome(TQImage image, TQColor black, TQColor white, float value); - /** - Desaturates an image. - @param image The image - @param value Strength of the effect. 0 <= value <= 1 - @short Desaturates an image. - */ - public static native void deSaturate(TQImage image, float value); - /** - Changes the gamma value of an image. - @param image The image - @param value Strength of the effect. 0 <= value <= 1 - @short Changes the gamma value of an image. - */ - public static native void toGamma(TQImage image, float value); - /** - Renders an image semi-transparent. - @param image The image - @short Renders an image semi-transparent. - */ - public static native void semiTransparent(TQImage image); - /** - Renders a pixmap semi-transparent. - @param pixmap The pixmap - @short Renders a pixmap semi-transparent. - */ - public static native void semiTransparent(TQPixmap pixmap); - /** - Overlays an image with an other image. - @param src The image - @param overlay The image to overlay src with - @short Overlays an image with an other image. - */ - public static native void overlay(TQImage src, TQImage overlay); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KIconLoader.java b/kdejava/koala/org/kde/koala/KIconLoader.java deleted file mode 100644 index 5ace9688..00000000 --- a/kdejava/koala/org/kde/koala/KIconLoader.java +++ /dev/null @@ -1,348 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMovie; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; -import org.kde.qt.TQIconSet; - -/** - - Iconloader for KDE. - TDEIconLoader will load the current icon theme and all its base themes. - Icons will be searched in any of these themes. Additionally, it caches - icons and applies effects according the the user's preferences. - In KDE, it is encouraged to load icons by "Group". An icon group is a - location on the screen where icons are being used. Standard groups are: - Desktop, Toolbar, MainToolbar, Small and Panel. Each group has some - centrally configured properties bound to it, including the icon size - and effects. This makes it possible to offer a consistent icon look in - all KDE applications. - The standard groups are defined below. - -
  • - TDEIcon.Desktop: Icons in the iconview of konqueror, kdesktop and similar apps. -
  • - -
  • - TDEIcon.Toolbar: Icons in toolbars. -
  • - -
  • - TDEIcon.MainToolbar: Icons in the main toolbars. -
  • - -
  • - TDEIcon.Small: Various small (typical 16x16) places: titlebars, listviews - and menu entries. -
  • - -
  • - TDEIcon.Panel: Icons in kicker's panel -
  • - The icons are stored on disk in an icon theme or in a standalone - directory. The icon theme directories contain multiple sizes and/or - depths for the same icon. The iconloader will load the correct one based - on the icon group and the current theme. Icon themes are stored globally - in share/icons, or, application specific in share/apps/$appdir/icons. - The standalone directories contain just one version of an icon. The - directories that are searched are: $appdir/pics and $appdir/toolbar. - Icons in these directories can be loaded by using the special group - "User". - @short Iconloader for KDE. - -*/ -public class TDEIconLoader implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TDEIconLoader(Class dummy){} - - /** - Constructs an iconloader. - @param appname Add the data directories of this application to the - icon search path for the "User" group. The default argument adds the - directories of the current application. - @param dirs the TDEStandardDirs object to use. If null the global one is used - Usually, you use the default iconloader, which can be accessed via - TDEGlobal.iconLoader(), so you hardly ever have to create an - iconloader object yourself. That one is the current TDEInstance's - (typically TDEApplication's) iconloader. - @short Constructs an iconloader. - @see TDEGlobal#iconLoader - @see TDEInstance#iconLoader - */ - public TDEIconLoader(String appname, TDEStandardDirs dirs) { - newTDEIconLoader(appname,dirs); - } - private native void newTDEIconLoader(String appname, TDEStandardDirs dirs); - public TDEIconLoader(String appname) { - newTDEIconLoader(appname); - } - private native void newTDEIconLoader(String appname); - public TDEIconLoader() { - newTDEIconLoader(); - } - private native void newTDEIconLoader(); - /** - Adds appname to the list of application specific directories. - @param appname The application name. - @short Adds appname to the list of application specific directories. - */ - public native void addAppDir(String appname); - /** - Loads an icon. It will try very hard to find an icon which is - suitable. If no exact match is found, a close match is searched. - If neither an exact nor a close match is found, a null pixmap or - the "unknown" pixmap is returned, depending on the value of the - canReturnNull parameter. - @param name The name of the icon, without extension. - @param group The icon group. This will specify the size of and effects to - be applied to the icon. - @param size If nonzero, this overrides the size specified by group. - See TDEIcon.StdSizes. - @param state The icon state: DefaultState, ActiveState or - DisabledState. Depending on the user's preferences, the iconloader - may apply a visual effect to hint about its state. - @param path_store If not null, the path of the icon is stored here. - @param canReturnNull Can return a null pixmap? If false, the - "unknown" pixmap is returned when no appropriate icon has been found. - @return the TQPixmap. Can be null when not found, depending on - canReturnNull. - - @short Loads an icon. - */ - public native TQPixmap loadIcon(String name, int group, int size, int state, StringBuffer path_store, boolean canReturnNull); - public native TQPixmap loadIcon(String name, int group, int size, int state, StringBuffer path_store); - public native TQPixmap loadIcon(String name, int group, int size, int state); - public native TQPixmap loadIcon(String name, int group, int size); - public native TQPixmap loadIcon(String name, int group); - /** - Creates an icon set, that will do on-demand loading of the icon. - Loading itself is done by calling loadIcon . - @param name The name of the icon, without extension. - @param group The icon group. This will specify the size of and effects to - be applied to the icon. - @param size If nonzero, this overrides the size specified by group. - See TDEIcon.StdSizes. - @param canReturnNull Can return a null iconset? If false, iconset - containing the "unknown" pixmap is returned when no appropriate icon has - been found. - @param immediateExistenceCheck If true on-demand icon loading will be - disabled for canReturnNull and a null iconset may be returned immediately - @return the icon set. Can be null when not found, depending on - canReturnNull. - - @short Creates an icon set, that will do on-demand loading of the icon. - */ - public native TQIconSet loadIconSet(String name, int group, int size, boolean canReturnNull, boolean immediateExistenceCheck); - /** - Creates an icon set, that will do on-demand loading of the icon. - Loading itself is done by calling loadIcon . - @param name The name of the icon, without extension. - @param group The icon group. This will specify the size of and effects to - be applied to the icon. - @param size If nonzero, this overrides the size specified by group. - See TDEIcon.StdSizes. - @param canReturnNull Can return a null iconset? If false, iconset - containing the "unknown" pixmap is returned when no appropriate icon has - been found. - @return the icon set. Can be null when not found, depending on - canReturnNull. - - @short Creates an icon set, that will do on-demand loading of the icon. - */ - public native TQIconSet loadIconSet(String name, int group, int size, boolean canReturnNull); - /** - Creates an icon set, that will do on-demand loading of the icon. - Loading itself is done by calling loadIcon . - @param name The name of the icon, without extension. - @param group The icon group. This will specify the size of and effects to - be applied to the icon. - @param size If nonzero, this overrides the size specified by group. - See TDEIcon.StdSizes. - @return the icon set. Can be null when not found - - @short Creates an icon set, that will do on-demand loading of the icon. - */ - public native TQIconSet loadIconSet(String name, int group, int size); - public native TQIconSet loadIconSet(String name, int group); - /** - Returns the path of an icon. - @param name The name of the icon, without extension. If an absolute - path is supplied for this parameter, iconPath will return it - directly. - @param group_or_size If positive, search icons whose size is - specified by the icon group group_or_size. If negative, search - icons whose size is - group_or_size. - See TDEIcon.Group and TDEIcon.StdSizes - @param canReturnNull Can return a null string? If not, a path to the - "unknown" icon will be returned. - @return the path of an icon, can be null or the "unknown" icon when - not found, depending on canReturnNull. - - @short Returns the path of an icon. - */ - public native String iconPath(String name, int group_or_size, boolean canReturnNull); - public native String iconPath(String name, int group_or_size); - /** - Loads an animated icon. - @param name The name of the icon. - @param group The icon group. See loadIcon(). - @param size Override the default size for group. - See TDEIcon.StdSizes. - @return A TQMovie object. Can be null if not found. - - @short Loads an animated icon. - */ - public native TQMovie loadMovie(String name, int group, int size); - public native TQMovie loadMovie(String name, int group); - /** - Returns the path to an animated icon. - @param name The name of the icon. - @param group The icon group. See loadIcon(). - @param size Override the default size for group. - See TDEIcon.StdSizes. - @return the full path to the movie, ready to be passed to TQMovie's constructor. - Empty string if not found. - - @short Returns the path to an animated icon. - */ - public native String moviePath(String name, int group, int size); - public native String moviePath(String name, int group); - /** - Loads an animated icon as a series of still frames. If you want to load - a .mng animation as TQMovie instead, please use loadMovie() instead. - @param name The name of the icon. - @param group The icon group. See loadIcon(). - @param size Override the default size for group. - See TDEIcon.StdSizes. - @return An ArrayList containing the absolute path of all the frames - making up the animation. - - @short Loads an animated icon as a series of still frames. - */ - public native ArrayList loadAnimated(String name, int group, int size); - public native ArrayList loadAnimated(String name, int group); - /** - Queries all available icons for a specific group, having a specific - context. - @param group_or_size If positive, search icons whose size is - specified by the icon group group_or_size. If negative, search - icons whose size is - group_or_size. - See TDEIcon.Group and TDEIcon.StdSizes - @param context The icon context. - @return a list of all icons - - @short Queries all available icons for a specific group, having a specific context. - */ - public native ArrayList queryIcons(int group_or_size, int context); - public native ArrayList queryIcons(int group_or_size); - /** - Queries all available icons for a specific context. - @param group_or_size The icon preferred group or size. If available - at this group or size, those icons will be returned, in other case, - icons of undefined size will be returned. Positive numbers are groups, - negative numbers are negated sizes. See TDEIcon.Group and - TDEIcon.StdSizes - @param context The icon context. - @return An ArrayList containing the icon names - available for that context - - @short Queries all available icons for a specific context. - */ - public native ArrayList queryIconsByContext(int group_or_size, int context); - public native ArrayList queryIconsByContext(int group_or_size); - /** - Returns a list of all icons (.png or .xpm extension) in the - given directory. - @param iconsDir the directory to search in - @return An ArrayList containing the icon paths - - @short Returns a list of all icons ( . - */ - public native ArrayList queryIconsByDir(String iconsDir); - /** - Returns the current size of the group. - @param group the group to check. - @return the current size for an icon group. - - @short Returns the current size of the group. - */ - public native int currentSize(int group); - /** - Returns a pointer to the current theme. Can be used to query - available and default sizes for groups. - @return a pointer to the current theme. 0 if no theme set. - - @short Returns a pointer to the current theme. - */ - // TDEIconTheme* theme(); >>>> NOT CONVERTED - /** - Returns a pointer to the TDEIconEffect object used by the icon loader. - @return the TDEIconEffect. - - @short Returns a pointer to the TDEIconEffect object used by the icon loader. - */ - public native TDEIconEffect iconEffect(); - /** - Called by TDEInstance.newIconLoader to reconfigure the icon loader. - @param _appname the new application name - @param _dirs the new standard directories. If 0, the directories - from TDEGlobal will be taken. - @short Called by TDEInstance.newIconLoader to reconfigure the icon loader. - */ - public native void reconfigure(String _appname, TDEStandardDirs _dirs); - /** - Adds all the default themes from other desktops at the end of - the list of icon themes. - @short Adds all the default themes from other desktops at the end of the list of icon themes. - */ - public native void addExtraDesktopThemes(); - /** - Returns if the default icon themes of other desktops have been added - to the list of icon themes where icons are searched. - @short Returns if the default icon themes of other desktops have been added to the list of icon themes where icons are searched. - */ - public native boolean extraDesktopThemesAdded(); - /** - Enables on-demand icon loading for TQIconSets using TQIconFactory. - Icons loaded via loadIconSet() will be loaded as soon as they - need to be displayed, not earlier. - Note that enabling or disabling this only affects loadIconSet() - calls after this setting is changed. - The default is disabled, as the iconloader object must not be - destroyed before all those iconsets are destroyed. - (Some broken applications use temporary TDEIconLoader objects). - Every TDEInstance 's iconloader has this feature enabled. - @param enable true to enable delayed icon loading, false to disable - @short Enables on-demand icon loading for TQIconSets using TQIconFactory. - @see #isDelayedIconSetLoadingEnabled - @see org.kde.qt.TQIconFactory - */ - public native void enableDelayedIconSetLoading(boolean enable); - /** - Checks whether delayed loading for TQIconSet is enabled. - @return whether icons for TQIconSets will be loaded on demand. - - @short Checks whether delayed loading for TQIconSet is enabled. - @see #enableDelayedIconSetLoading - @see org.kde.qt.TQIconFactory - */ - public native boolean isDelayedIconSetLoadingEnabled(); - /** - Returns the unknown icon. An icon that is used when no other icon - can be found. - @return the unknown pixmap - - @short Returns the unknown icon. - */ - public static native TQPixmap unknown(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KIconView.java b/kdejava/koala/org/kde/koala/KIconView.java deleted file mode 100644 index 6a1cf163..00000000 --- a/kdejava/koala/org/kde/koala/KIconView.java +++ /dev/null @@ -1,151 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQIconViewItem; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragLeaveEvent; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQIconView; - -/** - - This Widget extends the functionality of TQIconView to honor the system - wide settings for Single Click/Double Click mode, Auto Selection and - Change Cursor over Link. - There is a new signal executed(). It gets connected to either - TQIconView.clicked() or TQIconView.doubleClicked() depending on the KDE - wide Single Click/Double Click settings. It is strongly recommended that - you use this signal instead of the above mentioned. This way you don't - need to care about the current settings. - If you want to get informed when the user selects something connect to the - TQIconView.selectionChanged() signal. - See {@link TDEIconViewSignals} for signals emitted by TDEIconView - @short A variant of TQIconView that honors KDE's system-wide settings. - -*/ -public class TDEIconView extends TQIconView { - protected TDEIconView(Class dummy){super((Class) null);} - /** - TDEIconView has two different operating modes. Execute mode is depending - on the configuration of single-click or double-click where the signal - executed() will be emitted upon click/double-click. - In Select mode, this signal will not be emitted. - Default is Execute mode. - @short TDEIconView has two different operating modes. - */ - public static final int Execute = 0; - public static final int Select = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public TDEIconView(TQWidget parent, String name, int f) { - super((Class) null); - newTDEIconView(parent,name,f); - } - private native void newTDEIconView(TQWidget parent, String name, int f); - public TDEIconView(TQWidget parent, String name) { - super((Class) null); - newTDEIconView(parent,name); - } - private native void newTDEIconView(TQWidget parent, String name); - public TDEIconView(TQWidget parent) { - super((Class) null); - newTDEIconView(parent); - } - private native void newTDEIconView(TQWidget parent); - public TDEIconView() { - super((Class) null); - newTDEIconView(); - } - private native void newTDEIconView(); - /** - Sets the mode to Execute or Select. - -
  • - In Execute mode, the signal executed() - will be emitted when the user clicks/double-clicks an item. -
  • - -
  • - Select mode is - the normal TQIconView mode. -
  • - Default is Execute. - @short Sets the mode to Execute or Select. - */ - public native void setMode(int m); - /** - @return the current Mode, either Execute or Select. - - @short - */ - public native int mode(); - /** - Reimplemented for internal purposes - @short Reimplemented for internal purposes - */ - public native void setFont(TQFont arg1); - /** - Set the maximum number of lines that will be used to display icon text. - Setting this value will enable word-wrap, too. - @param n Number of lines - @short Set the maximum number of lines that will be used to display icon text. - */ - public native void setIconTextHeight(int n); - /** - @return The height of icon text in lines - - @short - */ - public native int iconTextHeight(); - /** - Reimplemented for held() signal behavior internal purposes - @short Reimplemented for held() signal behavior internal purposes - */ - public native void takeItem(TQIconViewItem item); - protected native void emitExecute(TQIconViewItem item, TQPoint pos); - protected native void updateDragHoldItem(TQDropEvent e); - protected native void focusOutEvent(TQFocusEvent fe); - protected native void leaveEvent(TQEvent e); - protected native void contentsMousePressEvent(TQMouseEvent e); - protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); - protected native void contentsMouseReleaseEvent(TQMouseEvent e); - protected native void contentsDragEnterEvent(TQDragEnterEvent e); - protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); - protected native void contentsDragMoveEvent(TQDragMoveEvent e); - protected native void contentsDropEvent(TQDropEvent e); - protected native void wheelEvent(TQWheelEvent e); - /** - This method allows to handle correctly cases where a subclass - needs the held() signal to not be triggered without calling - a TDEIconView.contentsDragEvent() method (which have side effects - because they forward to TQIconView). - @short This method allows to handle correctly cases where a subclass needs the held() signal to not be triggered without calling a TDEIconView.contentsDrag Event() method (which have side effects because they forward to TQIconView). - */ - protected native void cancelPendingHeldSignal(); - protected native void slotOnItem(TQIconViewItem item); - protected native void slotOnViewport(); - protected native void slotSettingsChanged(int arg1); - /** - Auto selection happend. - @short Auto selection happend. - */ - protected native void slotAutoSelect(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KIconViewItem.java b/kdejava/koala/org/kde/koala/KIconViewItem.java deleted file mode 100644 index f9331e73..00000000 --- a/kdejava/koala/org/kde/koala/KIconViewItem.java +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQIconViewItem; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQIconView; -import org.kde.qt.TQPicture; -import org.kde.qt.TQColorGroup; -import org.kde.qt.TQIconViewItem; - -/** - - TDEIconViewItem exists to improve the word-wrap functionality of TQIconViewItem - Use TDEIconViewItem instead of TQIconViewItem for any iconview item you might have :) - @author David Faure - - @short A variant of TQIconViewItem that wraps words better. - -*/ -public class TDEIconViewItem extends TQIconViewItem { - protected TDEIconViewItem(Class dummy){super((Class) null);} - public TDEIconViewItem(TQIconView parent) { - super((Class) null); - newTDEIconViewItem(parent); - } - private native void newTDEIconViewItem(TQIconView parent); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after) { - super((Class) null); - newTDEIconViewItem(parent,after); - } - private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after); - public TDEIconViewItem(TQIconView parent, String text) { - super((Class) null); - newTDEIconViewItem(parent,text); - } - private native void newTDEIconViewItem(TQIconView parent, String text); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text) { - super((Class) null); - newTDEIconViewItem(parent,after,text); - } - private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text); - public TDEIconViewItem(TQIconView parent, String text, TQPixmap icon) { - super((Class) null); - newTDEIconViewItem(parent,text,icon); - } - private native void newTDEIconViewItem(TQIconView parent, String text, TQPixmap icon); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) { - super((Class) null); - newTDEIconViewItem(parent,after,text,icon); - } - private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon); - public TDEIconViewItem(TQIconView parent, String text, TQPicture picture) { - super((Class) null); - newTDEIconViewItem(parent,text,picture); - } - private native void newTDEIconViewItem(TQIconView parent, String text, TQPicture picture); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) { - super((Class) null); - newTDEIconViewItem(parent,after,text,picture); - } - private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture); - /** - Using this function, you can specify a custom size for the pixmap. The - geometry of the item will be calculated to let a pixmap of the given size - fit in the iconView without needing an update. - This may be useful if you want to change the pixmap later without breaking - the layout. A possible use of this function is to replace a fileItem icon - by a larger pixmap (preview). - @param size The size to use - @short Using this function, you can specify a custom size for the pixmap. - */ - public native void setPixmapSize(TQSize size); - /** - @return The size set by setPixmapSize() or TQSize( 0, 0 ) - - @short - */ - public native TQSize pixmapSize(); - protected native void init(); - protected native void calcRect(String text_); - protected native void calcRect(); - protected native void paintItem(TQPainter p, TQColorGroup c); - protected native KWordWrap wordWrap(); - protected native void paintPixmap(TQPainter p, TQColorGroup c); - protected native void paintText(TQPainter p, TQColorGroup c); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KIconViewSignals.java b/kdejava/koala/org/kde/koala/KIconViewSignals.java deleted file mode 100644 index 8d76c5bc..00000000 --- a/kdejava/koala/org/kde/koala/KIconViewSignals.java +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQIconViewItem; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragLeaveEvent; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; - -public interface TDEIconViewSignals { - /** - This signal is emitted whenever the user executes an iconview item. - That means depending on the KDE wide Single Click/Double Click - setting the user clicked or double clicked on that item. - @param item is the pointer to the executed iconview item. - Note that you may not delete any TQIconViewItem objects in slots - connected to this signal. - @short This signal is emitted whenever the user executes an iconview item. - */ - void executed(TQIconViewItem item); - /** - This signal is emitted whenever the user executes an iconview item. - That means depending on the KDE wide Single Click/Double Click - setting the user clicked or double clicked on that item. - @param item is the pointer to the executed iconview item. - @param pos is the position where the user has clicked - Note that you may not delete any TQIconViewItem objects in slots - connected to this signal. - @short This signal is emitted whenever the user executes an iconview item. - */ - void executed(TQIconViewItem item, TQPoint pos); - /** - This signal is emitted whenever the user hold something on an iconview - during a drag'n'drop. - @param item is the pointer to the iconview item the hold event occur. - Note that you may not delete any TQIconViewItem objects in slots - connected to this signal. - @short This signal is emitted whenever the user hold something on an iconview during a drag'n'drop. - */ - void held(TQIconViewItem item); - /** - This signal gets emitted whenever the user double clicks into the - iconview. - @param item is the pointer to the clicked iconview item. - @param pos is the position where the user has clicked, and - Note that you may not delete any TQIconViewItem objects in slots - connected to this signal. - This signal is more or less here for the sake of completeness. - You should normally not need to use this. In most cases it's better - to use executed() instead. - @short This signal gets emitted whenever the user double clicks into the iconview. - */ - void doubleClicked(TQIconViewItem item, TQPoint pos); -} diff --git a/kdejava/koala/org/kde/koala/TDEIconButton.java b/kdejava/koala/org/kde/koala/TDEIconButton.java new file mode 100644 index 00000000..a8b2697a --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEIconButton.java @@ -0,0 +1,110 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPushButton; + +/** + + A pushbutton for choosing an icon. Pressing on the button will open a + TDEIconDialog for the user to select an icon. The current icon will be + displayed on the button. + See {@link TDEIconButtonSignals} for signals emitted by TDEIconButton + @short A push button that allows selection of an icon. + @see TDEIconDialog + +*/ +public class TDEIconButton extends TQPushButton { + protected TDEIconButton(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Constructs a TDEIconButton using the global iconloader. + @short Constructs a TDEIconButton using the global iconloader. + */ + public TDEIconButton(TQWidget parent, String name) { + super((Class) null); + newTDEIconButton(parent,name); + } + private native void newTDEIconButton(TQWidget parent, String name); + public TDEIconButton(TQWidget parent) { + super((Class) null); + newTDEIconButton(parent); + } + private native void newTDEIconButton(TQWidget parent); + public TDEIconButton() { + super((Class) null); + newTDEIconButton(); + } + private native void newTDEIconButton(); + /** + Constructs a TDEIconButton using a specific TDEIconLoader. + @short Constructs a TDEIconButton using a specific TDEIconLoader. + */ + public TDEIconButton(TDEIconLoader loader, TQWidget parent, String name) { + super((Class) null); + newTDEIconButton(loader,parent,name); + } + private native void newTDEIconButton(TDEIconLoader loader, TQWidget parent, String name); + public TDEIconButton(TDEIconLoader loader, TQWidget parent) { + super((Class) null); + newTDEIconButton(loader,parent); + } + private native void newTDEIconButton(TDEIconLoader loader, TQWidget parent); + /** + Sets a strict icon size policy for allowed icons. When true, + only icons of the specified group's size in setIconType are allowed, + and only icons of that size will be shown in the icon dialog. + @short Sets a strict icon size policy for allowed icons. + */ + public native void setStrictIconSize(boolean b); + /** + Returns true if a strict icon size policy is set. + @short Returns true if a strict icon size policy is set. + */ + public native boolean strictIconSize(); + /** + Sets the icon group and context. Use TDEIcon.NoGroup if you want to + allow icons for any group in the given context. + @short Sets the icon group and context. + */ + public native void setIconType(int group, int context, boolean user); + public native void setIconType(int group, int context); + /** + Sets the button's initial icon. + @short Sets the button's initial icon. + */ + public native void setIcon(String icon); + /** + Resets the icon (reverts to an empty button). + @short Resets the icon (reverts to an empty button). + */ + public native void resetIcon(); + /** + Returns the name of the selected icon. + @short Returns the name of the selected icon. + */ + public native String iconName(); + /** + Sets the size of the icon to be shown / selected. + @short Sets the size of the icon to be shown / selected. + @see TDEIcon#StdSizes + @see #iconSize + */ + public native void setIconSize(int size); + /** + Returns the iconsize set via setIconSize() or 0, if the default + iconsize will be used. + @short Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used. + */ + public native int iconSize(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/TDEIconButtonSignals.java b/kdejava/koala/org/kde/koala/TDEIconButtonSignals.java new file mode 100644 index 00000000..73288b36 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEIconButtonSignals.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQWidget; + +public interface TDEIconButtonSignals { + /** + Emitted when the icon has changed. + @short Emitted when the icon has changed. + */ + void iconChanged(String icon); +} diff --git a/kdejava/koala/org/kde/koala/TDEIconCanvas.java b/kdejava/koala/org/kde/koala/TDEIconCanvas.java new file mode 100644 index 00000000..68404a84 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEIconCanvas.java @@ -0,0 +1,52 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQWidget; + +/** + + Icon canvas for TDEIconDialog. + See {@link TDEIconCanvasSignals} for signals emitted by TDEIconCanvas + @short Icon canvas for TDEIconDialog. + +*/ +public class TDEIconCanvas extends TDEIconView { + protected TDEIconCanvas(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TDEIconCanvas(TQWidget parent, String name) { + super((Class) null); + newTDEIconCanvas(parent,name); + } + private native void newTDEIconCanvas(TQWidget parent, String name); + public TDEIconCanvas(TQWidget parent) { + super((Class) null); + newTDEIconCanvas(parent); + } + private native void newTDEIconCanvas(TQWidget parent); + public TDEIconCanvas() { + super((Class) null); + newTDEIconCanvas(); + } + private native void newTDEIconCanvas(); + /** + Load icons into the canvas. + @short Load icons into the canvas. + */ + public native void loadFiles(String[] files); + /** + Returns the current icon. + @short Returns the current icon. + */ + public native String getCurrent(); + public native void stopLoading(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/TDEIconCanvasSignals.java b/kdejava/koala/org/kde/koala/TDEIconCanvasSignals.java new file mode 100644 index 00000000..e14c301b --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEIconCanvasSignals.java @@ -0,0 +1,17 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQWidget; + +public interface TDEIconCanvasSignals { + /** + Emitted when the current icon has changed. + @short Emitted when the current icon has changed. + */ + void nameChanged(String arg1); + void startLoading(int arg1); + void progress(int arg1); + void finished(); +} diff --git a/kdejava/koala/org/kde/koala/TDEIconDialog.java b/kdejava/koala/org/kde/koala/TDEIconDialog.java new file mode 100644 index 00000000..b23266dd --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEIconDialog.java @@ -0,0 +1,159 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQWidget; + +/** + + Dialog for interactive selection of icons. Use the function + getIcon() let the user select an icon. + See {@link TDEIconDialogSignals} for signals emitted by TDEIconDialog + @short An icon selection dialog. + +*/ +public class TDEIconDialog extends KDialogBase { + protected TDEIconDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Constructs an icon selection dialog using the global iconloader. + @short Constructs an icon selection dialog using the global iconloader. + */ + public TDEIconDialog(TQWidget parent, String name) { + super((Class) null); + newTDEIconDialog(parent,name); + } + private native void newTDEIconDialog(TQWidget parent, String name); + public TDEIconDialog(TQWidget parent) { + super((Class) null); + newTDEIconDialog(parent); + } + private native void newTDEIconDialog(TQWidget parent); + public TDEIconDialog() { + super((Class) null); + newTDEIconDialog(); + } + private native void newTDEIconDialog(); + /** + Constructs an icon selection dialog using a specific iconloader. + @short Constructs an icon selection dialog using a specific iconloader. + */ + public TDEIconDialog(TDEIconLoader loader, TQWidget parent, String name) { + super((Class) null); + newTDEIconDialog(loader,parent,name); + } + private native void newTDEIconDialog(TDEIconLoader loader, TQWidget parent, String name); + public TDEIconDialog(TDEIconLoader loader, TQWidget parent) { + super((Class) null); + newTDEIconDialog(loader,parent); + } + private native void newTDEIconDialog(TDEIconLoader loader, TQWidget parent); + public TDEIconDialog(TDEIconLoader loader) { + super((Class) null); + newTDEIconDialog(loader); + } + private native void newTDEIconDialog(TDEIconLoader loader); + /** + Sets a strict icon size policy for allowed icons. When true, + only icons of the specified group's size in getIcon() are shown. + When false, icons not available at the desired group's size will + also be selectable. + @short Sets a strict icon size policy for allowed icons. + */ + public native void setStrictIconSize(boolean b); + /** + Returns true if a strict icon size policy is set. + @short Returns true if a strict icon size policy is set. + */ + public native boolean strictIconSize(); + /** + sets a custom icon directory + @short sets a custom icon directory + */ + public native void setCustomLocation(String location); + /** + Sets the size of the icons to be shown / selected. + @short Sets the size of the icons to be shown / selected. + @see TDEIcon#StdSizes + @see #iconSize + */ + public native void setIconSize(int size); + /** + Returns the iconsize set via setIconSize() or 0, if the default + iconsize will be used. + @short Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used. + */ + public native int iconSize(); + /** + Allows you to set the same parameters as in the class method + getIcon(). + @short Allows you to set the same parameters as in the class method getIcon(). + */ + public native void setup(int group, int context, boolean strictIconSize, int iconSize, boolean user); + public native void setup(int group, int context, boolean strictIconSize, int iconSize); + public native void setup(int group, int context, boolean strictIconSize); + public native void setup(int group, int context); + public native void setup(int group); + /** + Allows you to set the same parameters as in the class method + getIcon(), as well as two additional parameters to lock + the choice between system and user dirs and to lock the custom user + dir itself. + @short Allows you to set the same parameters as in the class method getIcon(), as well as two additional parameters to lock the choice between system and user dirs and to lock the custom user dir itself. + */ + public native void setup(int group, int context, boolean strictIconSize, int iconSize, boolean user, boolean lockUser, boolean lockCustomDir); + /** + exec()utes this modal dialog and returns the name of the selected icon, + or null if the dialog was aborted. + @return the name of the icon, suitable for loading with TDEIconLoader. + + @short exec()utes this modal dialog and returns the name of the selected icon, or String.null if the dialog was aborted. + @see #getIcon + */ + public native String openDialog(); + /** + show()es this dialog and emits a newIcon(String) signal when + successful. null will be emitted if the dialog was aborted. + @short show()es this dialog and emits a newIcon(String) signal when successful. + */ + public native void showDialog(); + /** + Pops up the dialog an lets the user select an icon. + @param group The icon group this icon is intended for. Providing the + group shows the icons in the dialog with the same appearance as when + used outside the dialog. + @param context The initial icon context. Initially, the icons having + this context are shown in the dialog. The user can change this. + @param strictIconSize When true, only icons of the specified group's size + are shown, otherwise icon not available in the desired group's size + will also be selectable. + @param iconSize the size of the icons -- the default of the icongroup + if set to 0 + @param user Begin with the "user icons" instead of "system icons". + @param parent The parent widget of the dialog. + @param caption The caption to use for the dialog. + @return The name of the icon, suitable for loading with TDEIconLoader. + + @version New in 3.0 + + @short Pops up the dialog an lets the user select an icon. + */ + public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user, TQWidget parent, String caption); + public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user, TQWidget parent); + public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user); + public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize); + public static native String getIcon(int group, int context, boolean strictIconSize); + public static native String getIcon(int group, int context); + public static native String getIcon(int group); + public static native String getIcon(); + protected native void slotOk(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/TDEIconDialogSignals.java b/kdejava/koala/org/kde/koala/TDEIconDialogSignals.java new file mode 100644 index 00000000..0a42e920 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEIconDialogSignals.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQWidget; + +public interface TDEIconDialogSignals { + void newIconName(String arg1); +} diff --git a/kdejava/koala/org/kde/koala/TDEIconEffect.java b/kdejava/koala/org/kde/koala/TDEIconEffect.java new file mode 100644 index 00000000..689f1e76 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEIconEffect.java @@ -0,0 +1,236 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; +import org.kde.qt.QtSupport; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQImage; +import org.kde.qt.TQWidget; + +/** + + Applies effects to icons. + This class applies effects to icons depending on their state and + group. For example, it can be used to make all disabled icons + in a toolbar gray. + @short Applies effects to icons. + @see TDEIcon + +*/ +public class TDEIconEffect implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TDEIconEffect(Class dummy){} + + /** + This is the enumeration of all possible icon effects. + Note that 'LastEffect' is no valid icon effect but only + used internally to check for invalid icon effects. + +
  • + NoEffect: Don't apply any icon effect +
  • + +
  • + ToGray: Tints the icon gray +
  • + +
  • + Colorize: Tints the icon with an other color +
  • + +
  • + ToGamma: Change the gamma value of the icon +
  • + +
  • + DeSaturate: Reduce the saturation of the icon +
  • + +
  • + ToMonochrome: Produces a monochrome icon + +
  • @short This is the enumeration of all possible icon effects. + */ + public static final int NoEffect = 0; + public static final int ToGray = 1; + public static final int Colorize = 2; + public static final int ToGamma = 3; + public static final int DeSaturate = 4; + public static final int ToMonochrome = 5; + public static final int LastEffect = 6; + + /** + Create a new TDEIconEffect. + @short Create a new TDEIconEffect. + */ + public TDEIconEffect() { + newTDEIconEffect(); + } + private native void newTDEIconEffect(); + /** + Rereads configuration. + @short Rereads configuration. + */ + public native void init(); + /** + Tests whether an effect has been configured for the given icon group. + @param group the group to check, see TDEIcon.Group + @param state the state to check, see TDEIcon.States + @return true if an effect is configured for the given group + in state, otherwise false. + + @short Tests whether an effect has been configured for the given icon group. + @see TDEIcon#Group + @see TDEIcon#States + */ + public native boolean hasEffect(int group, int state); + /** + Returns a fingerprint for the effect by encoding + the given group and state into a String. This + is useful for caching. + @param group the group, see TDEIcon.Group + @param state the state, see TDEIcon.States + @return the fingerprint of the given group+state + + @short Returns a fingerprint for the effect by encoding the given group and state into a String. + */ + public native String fingerprint(int group, int state); + /** + Applies an effect to an image. The effect to apply depends on the + group and state parameters, and is configured by the user. + @param src The image. + @param group The group for the icon, see TDEIcon.Group + @param state The icon's state, see TDEIcon.States + @return An image with the effect applied. + + @short Applies an effect to an image. + */ + public native TQImage apply(TQImage src, int group, int state); + /** + Applies an effect to an image. + @param src The image. + @param effect The effect to apply, one of TDEIconEffect.Effects. + @param value Strength of the effect. 0 <= value <= 1. + @param rgb Color parameter for effects that need one. + @param trans Add Transparency if trans = true. + @return An image with the effect applied. + + @short Applies an effect to an image. + */ + public native TQImage apply(TQImage src, int effect, float value, TQColor rgb, boolean trans); + /** + @short + */ + public native TQImage apply(TQImage src, int effect, float value, TQColor rgb, TQColor rgb2, boolean trans); + /** + Applies an effect to a pixmap. + @param src The pixmap. + @param group The group for the icon, see TDEIcon.Group + @param state The icon's state, see TDEIcon.States + @return A pixmap with the effect applied. + + @short Applies an effect to a pixmap. + */ + public native TQPixmap apply(TQPixmap src, int group, int state); + /** + Applies an effect to a pixmap. + @param src The pixmap. + @param effect The effect to apply, one of TDEIconEffect.Effects. + @param value Strength of the effect. 0 <= value <= 1. + @param rgb Color parameter for effects that need one. + @param trans Add Transparency if trans = true. + @return A pixmap with the effect applied. + + @short Applies an effect to a pixmap. + */ + public native TQPixmap apply(TQPixmap src, int effect, float value, TQColor rgb, boolean trans); + /** + @short + */ + public native TQPixmap apply(TQPixmap src, int effect, float value, TQColor rgb, TQColor rgb2, boolean trans); + /** + Returns an image twice as large, consisting of 2x2 pixels. + @param src the image. + @return the scaled image. + + @short Returns an image twice as large, consisting of 2x2 pixels. + */ + public native TQImage doublePixels(TQImage src); + /** + Provides visual feedback to show activation of an icon on a widget. + Not strictly an 'icon effect', but in practice that's what it looks + like. + This method does nothing if the global 'Visual feedback on activation' + option is not activated (See kcontrol/Peripherals/Mouse). + @param widget The widget on which the effect should be painted + @param rect This rectangle defines the effect's borders + @short Provides visual feedback to show activation of an icon on a widget. + */ + public static native void visualActivate(TQWidget widget, TQRect rect); + /** + Tints an image gray. + @param image The image + @param value Strength of the effect. 0 <= value <= 1 + @short Tints an image gray. + */ + public static native void toGray(TQImage image, float value); + /** + Colorizes an image with a specific color. + @param image The image + @param col The color with which the image is tinted + @param value Strength of the effect. 0 <= value <= 1 + @short Colorizes an image with a specific color. + */ + public static native void colorize(TQImage image, TQColor col, float value); + /** + Produces a monochrome icon with a given foreground and background color + @param image The image + @param white The color with which the white parts of image are painted + @param black The color with which the black parts of image are painted + @param value Strength of the effect. 0 <= value <= 1 + @short Produces a monochrome icon with a given foreground and background color + */ + public static native void toMonochrome(TQImage image, TQColor black, TQColor white, float value); + /** + Desaturates an image. + @param image The image + @param value Strength of the effect. 0 <= value <= 1 + @short Desaturates an image. + */ + public static native void deSaturate(TQImage image, float value); + /** + Changes the gamma value of an image. + @param image The image + @param value Strength of the effect. 0 <= value <= 1 + @short Changes the gamma value of an image. + */ + public static native void toGamma(TQImage image, float value); + /** + Renders an image semi-transparent. + @param image The image + @short Renders an image semi-transparent. + */ + public static native void semiTransparent(TQImage image); + /** + Renders a pixmap semi-transparent. + @param pixmap The pixmap + @short Renders a pixmap semi-transparent. + */ + public static native void semiTransparent(TQPixmap pixmap); + /** + Overlays an image with an other image. + @param src The image + @param overlay The image to overlay src with + @short Overlays an image with an other image. + */ + public static native void overlay(TQImage src, TQImage overlay); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/TDEIconLoader.java b/kdejava/koala/org/kde/koala/TDEIconLoader.java new file mode 100644 index 00000000..5ace9688 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEIconLoader.java @@ -0,0 +1,348 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQMovie; +import org.kde.qt.QtSupport; +import org.kde.qt.TQPixmap; +import java.util.ArrayList; +import org.kde.qt.TQIconSet; + +/** + + Iconloader for KDE. + TDEIconLoader will load the current icon theme and all its base themes. + Icons will be searched in any of these themes. Additionally, it caches + icons and applies effects according the the user's preferences. + In KDE, it is encouraged to load icons by "Group". An icon group is a + location on the screen where icons are being used. Standard groups are: + Desktop, Toolbar, MainToolbar, Small and Panel. Each group has some + centrally configured properties bound to it, including the icon size + and effects. This makes it possible to offer a consistent icon look in + all KDE applications. + The standard groups are defined below. + +
  • + TDEIcon.Desktop: Icons in the iconview of konqueror, kdesktop and similar apps. +
  • + +
  • + TDEIcon.Toolbar: Icons in toolbars. +
  • + +
  • + TDEIcon.MainToolbar: Icons in the main toolbars. +
  • + +
  • + TDEIcon.Small: Various small (typical 16x16) places: titlebars, listviews + and menu entries. +
  • + +
  • + TDEIcon.Panel: Icons in kicker's panel +
  • + The icons are stored on disk in an icon theme or in a standalone + directory. The icon theme directories contain multiple sizes and/or + depths for the same icon. The iconloader will load the correct one based + on the icon group and the current theme. Icon themes are stored globally + in share/icons, or, application specific in share/apps/$appdir/icons. + The standalone directories contain just one version of an icon. The + directories that are searched are: $appdir/pics and $appdir/toolbar. + Icons in these directories can be loaded by using the special group + "User". + @short Iconloader for KDE. + +*/ +public class TDEIconLoader implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TDEIconLoader(Class dummy){} + + /** + Constructs an iconloader. + @param appname Add the data directories of this application to the + icon search path for the "User" group. The default argument adds the + directories of the current application. + @param dirs the TDEStandardDirs object to use. If null the global one is used + Usually, you use the default iconloader, which can be accessed via + TDEGlobal.iconLoader(), so you hardly ever have to create an + iconloader object yourself. That one is the current TDEInstance's + (typically TDEApplication's) iconloader. + @short Constructs an iconloader. + @see TDEGlobal#iconLoader + @see TDEInstance#iconLoader + */ + public TDEIconLoader(String appname, TDEStandardDirs dirs) { + newTDEIconLoader(appname,dirs); + } + private native void newTDEIconLoader(String appname, TDEStandardDirs dirs); + public TDEIconLoader(String appname) { + newTDEIconLoader(appname); + } + private native void newTDEIconLoader(String appname); + public TDEIconLoader() { + newTDEIconLoader(); + } + private native void newTDEIconLoader(); + /** + Adds appname to the list of application specific directories. + @param appname The application name. + @short Adds appname to the list of application specific directories. + */ + public native void addAppDir(String appname); + /** + Loads an icon. It will try very hard to find an icon which is + suitable. If no exact match is found, a close match is searched. + If neither an exact nor a close match is found, a null pixmap or + the "unknown" pixmap is returned, depending on the value of the + canReturnNull parameter. + @param name The name of the icon, without extension. + @param group The icon group. This will specify the size of and effects to + be applied to the icon. + @param size If nonzero, this overrides the size specified by group. + See TDEIcon.StdSizes. + @param state The icon state: DefaultState, ActiveState or + DisabledState. Depending on the user's preferences, the iconloader + may apply a visual effect to hint about its state. + @param path_store If not null, the path of the icon is stored here. + @param canReturnNull Can return a null pixmap? If false, the + "unknown" pixmap is returned when no appropriate icon has been found. + @return the TQPixmap. Can be null when not found, depending on + canReturnNull. + + @short Loads an icon. + */ + public native TQPixmap loadIcon(String name, int group, int size, int state, StringBuffer path_store, boolean canReturnNull); + public native TQPixmap loadIcon(String name, int group, int size, int state, StringBuffer path_store); + public native TQPixmap loadIcon(String name, int group, int size, int state); + public native TQPixmap loadIcon(String name, int group, int size); + public native TQPixmap loadIcon(String name, int group); + /** + Creates an icon set, that will do on-demand loading of the icon. + Loading itself is done by calling loadIcon . + @param name The name of the icon, without extension. + @param group The icon group. This will specify the size of and effects to + be applied to the icon. + @param size If nonzero, this overrides the size specified by group. + See TDEIcon.StdSizes. + @param canReturnNull Can return a null iconset? If false, iconset + containing the "unknown" pixmap is returned when no appropriate icon has + been found. + @param immediateExistenceCheck If true on-demand icon loading will be + disabled for canReturnNull and a null iconset may be returned immediately + @return the icon set. Can be null when not found, depending on + canReturnNull. + + @short Creates an icon set, that will do on-demand loading of the icon. + */ + public native TQIconSet loadIconSet(String name, int group, int size, boolean canReturnNull, boolean immediateExistenceCheck); + /** + Creates an icon set, that will do on-demand loading of the icon. + Loading itself is done by calling loadIcon . + @param name The name of the icon, without extension. + @param group The icon group. This will specify the size of and effects to + be applied to the icon. + @param size If nonzero, this overrides the size specified by group. + See TDEIcon.StdSizes. + @param canReturnNull Can return a null iconset? If false, iconset + containing the "unknown" pixmap is returned when no appropriate icon has + been found. + @return the icon set. Can be null when not found, depending on + canReturnNull. + + @short Creates an icon set, that will do on-demand loading of the icon. + */ + public native TQIconSet loadIconSet(String name, int group, int size, boolean canReturnNull); + /** + Creates an icon set, that will do on-demand loading of the icon. + Loading itself is done by calling loadIcon . + @param name The name of the icon, without extension. + @param group The icon group. This will specify the size of and effects to + be applied to the icon. + @param size If nonzero, this overrides the size specified by group. + See TDEIcon.StdSizes. + @return the icon set. Can be null when not found + + @short Creates an icon set, that will do on-demand loading of the icon. + */ + public native TQIconSet loadIconSet(String name, int group, int size); + public native TQIconSet loadIconSet(String name, int group); + /** + Returns the path of an icon. + @param name The name of the icon, without extension. If an absolute + path is supplied for this parameter, iconPath will return it + directly. + @param group_or_size If positive, search icons whose size is + specified by the icon group group_or_size. If negative, search + icons whose size is - group_or_size. + See TDEIcon.Group and TDEIcon.StdSizes + @param canReturnNull Can return a null string? If not, a path to the + "unknown" icon will be returned. + @return the path of an icon, can be null or the "unknown" icon when + not found, depending on canReturnNull. + + @short Returns the path of an icon. + */ + public native String iconPath(String name, int group_or_size, boolean canReturnNull); + public native String iconPath(String name, int group_or_size); + /** + Loads an animated icon. + @param name The name of the icon. + @param group The icon group. See loadIcon(). + @param size Override the default size for group. + See TDEIcon.StdSizes. + @return A TQMovie object. Can be null if not found. + + @short Loads an animated icon. + */ + public native TQMovie loadMovie(String name, int group, int size); + public native TQMovie loadMovie(String name, int group); + /** + Returns the path to an animated icon. + @param name The name of the icon. + @param group The icon group. See loadIcon(). + @param size Override the default size for group. + See TDEIcon.StdSizes. + @return the full path to the movie, ready to be passed to TQMovie's constructor. + Empty string if not found. + + @short Returns the path to an animated icon. + */ + public native String moviePath(String name, int group, int size); + public native String moviePath(String name, int group); + /** + Loads an animated icon as a series of still frames. If you want to load + a .mng animation as TQMovie instead, please use loadMovie() instead. + @param name The name of the icon. + @param group The icon group. See loadIcon(). + @param size Override the default size for group. + See TDEIcon.StdSizes. + @return An ArrayList containing the absolute path of all the frames + making up the animation. + + @short Loads an animated icon as a series of still frames. + */ + public native ArrayList loadAnimated(String name, int group, int size); + public native ArrayList loadAnimated(String name, int group); + /** + Queries all available icons for a specific group, having a specific + context. + @param group_or_size If positive, search icons whose size is + specified by the icon group group_or_size. If negative, search + icons whose size is - group_or_size. + See TDEIcon.Group and TDEIcon.StdSizes + @param context The icon context. + @return a list of all icons + + @short Queries all available icons for a specific group, having a specific context. + */ + public native ArrayList queryIcons(int group_or_size, int context); + public native ArrayList queryIcons(int group_or_size); + /** + Queries all available icons for a specific context. + @param group_or_size The icon preferred group or size. If available + at this group or size, those icons will be returned, in other case, + icons of undefined size will be returned. Positive numbers are groups, + negative numbers are negated sizes. See TDEIcon.Group and + TDEIcon.StdSizes + @param context The icon context. + @return An ArrayList containing the icon names + available for that context + + @short Queries all available icons for a specific context. + */ + public native ArrayList queryIconsByContext(int group_or_size, int context); + public native ArrayList queryIconsByContext(int group_or_size); + /** + Returns a list of all icons (.png or .xpm extension) in the + given directory. + @param iconsDir the directory to search in + @return An ArrayList containing the icon paths + + @short Returns a list of all icons ( . + */ + public native ArrayList queryIconsByDir(String iconsDir); + /** + Returns the current size of the group. + @param group the group to check. + @return the current size for an icon group. + + @short Returns the current size of the group. + */ + public native int currentSize(int group); + /** + Returns a pointer to the current theme. Can be used to query + available and default sizes for groups. + @return a pointer to the current theme. 0 if no theme set. + + @short Returns a pointer to the current theme. + */ + // TDEIconTheme* theme(); >>>> NOT CONVERTED + /** + Returns a pointer to the TDEIconEffect object used by the icon loader. + @return the TDEIconEffect. + + @short Returns a pointer to the TDEIconEffect object used by the icon loader. + */ + public native TDEIconEffect iconEffect(); + /** + Called by TDEInstance.newIconLoader to reconfigure the icon loader. + @param _appname the new application name + @param _dirs the new standard directories. If 0, the directories + from TDEGlobal will be taken. + @short Called by TDEInstance.newIconLoader to reconfigure the icon loader. + */ + public native void reconfigure(String _appname, TDEStandardDirs _dirs); + /** + Adds all the default themes from other desktops at the end of + the list of icon themes. + @short Adds all the default themes from other desktops at the end of the list of icon themes. + */ + public native void addExtraDesktopThemes(); + /** + Returns if the default icon themes of other desktops have been added + to the list of icon themes where icons are searched. + @short Returns if the default icon themes of other desktops have been added to the list of icon themes where icons are searched. + */ + public native boolean extraDesktopThemesAdded(); + /** + Enables on-demand icon loading for TQIconSets using TQIconFactory. + Icons loaded via loadIconSet() will be loaded as soon as they + need to be displayed, not earlier. + Note that enabling or disabling this only affects loadIconSet() + calls after this setting is changed. + The default is disabled, as the iconloader object must not be + destroyed before all those iconsets are destroyed. + (Some broken applications use temporary TDEIconLoader objects). + Every TDEInstance 's iconloader has this feature enabled. + @param enable true to enable delayed icon loading, false to disable + @short Enables on-demand icon loading for TQIconSets using TQIconFactory. + @see #isDelayedIconSetLoadingEnabled + @see org.kde.qt.TQIconFactory + */ + public native void enableDelayedIconSetLoading(boolean enable); + /** + Checks whether delayed loading for TQIconSet is enabled. + @return whether icons for TQIconSets will be loaded on demand. + + @short Checks whether delayed loading for TQIconSet is enabled. + @see #enableDelayedIconSetLoading + @see org.kde.qt.TQIconFactory + */ + public native boolean isDelayedIconSetLoadingEnabled(); + /** + Returns the unknown icon. An icon that is used when no other icon + can be found. + @return the unknown pixmap + + @short Returns the unknown icon. + */ + public static native TQPixmap unknown(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/TDEIconView.java b/kdejava/koala/org/kde/koala/TDEIconView.java new file mode 100644 index 00000000..6a1cf163 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEIconView.java @@ -0,0 +1,151 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQIconViewItem; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragLeaveEvent; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQIconView; + +/** + + This Widget extends the functionality of TQIconView to honor the system + wide settings for Single Click/Double Click mode, Auto Selection and + Change Cursor over Link. + There is a new signal executed(). It gets connected to either + TQIconView.clicked() or TQIconView.doubleClicked() depending on the KDE + wide Single Click/Double Click settings. It is strongly recommended that + you use this signal instead of the above mentioned. This way you don't + need to care about the current settings. + If you want to get informed when the user selects something connect to the + TQIconView.selectionChanged() signal. + See {@link TDEIconViewSignals} for signals emitted by TDEIconView + @short A variant of TQIconView that honors KDE's system-wide settings. + +*/ +public class TDEIconView extends TQIconView { + protected TDEIconView(Class dummy){super((Class) null);} + /** + TDEIconView has two different operating modes. Execute mode is depending + on the configuration of single-click or double-click where the signal + executed() will be emitted upon click/double-click. + In Select mode, this signal will not be emitted. + Default is Execute mode. + @short TDEIconView has two different operating modes. + */ + public static final int Execute = 0; + public static final int Select = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TDEIconView(TQWidget parent, String name, int f) { + super((Class) null); + newTDEIconView(parent,name,f); + } + private native void newTDEIconView(TQWidget parent, String name, int f); + public TDEIconView(TQWidget parent, String name) { + super((Class) null); + newTDEIconView(parent,name); + } + private native void newTDEIconView(TQWidget parent, String name); + public TDEIconView(TQWidget parent) { + super((Class) null); + newTDEIconView(parent); + } + private native void newTDEIconView(TQWidget parent); + public TDEIconView() { + super((Class) null); + newTDEIconView(); + } + private native void newTDEIconView(); + /** + Sets the mode to Execute or Select. + +
  • + In Execute mode, the signal executed() + will be emitted when the user clicks/double-clicks an item. +
  • + +
  • + Select mode is + the normal TQIconView mode. +
  • + Default is Execute. + @short Sets the mode to Execute or Select. + */ + public native void setMode(int m); + /** + @return the current Mode, either Execute or Select. + + @short + */ + public native int mode(); + /** + Reimplemented for internal purposes + @short Reimplemented for internal purposes + */ + public native void setFont(TQFont arg1); + /** + Set the maximum number of lines that will be used to display icon text. + Setting this value will enable word-wrap, too. + @param n Number of lines + @short Set the maximum number of lines that will be used to display icon text. + */ + public native void setIconTextHeight(int n); + /** + @return The height of icon text in lines + + @short + */ + public native int iconTextHeight(); + /** + Reimplemented for held() signal behavior internal purposes + @short Reimplemented for held() signal behavior internal purposes + */ + public native void takeItem(TQIconViewItem item); + protected native void emitExecute(TQIconViewItem item, TQPoint pos); + protected native void updateDragHoldItem(TQDropEvent e); + protected native void focusOutEvent(TQFocusEvent fe); + protected native void leaveEvent(TQEvent e); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); + protected native void contentsMouseReleaseEvent(TQMouseEvent e); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDropEvent(TQDropEvent e); + protected native void wheelEvent(TQWheelEvent e); + /** + This method allows to handle correctly cases where a subclass + needs the held() signal to not be triggered without calling + a TDEIconView.contentsDragEvent() method (which have side effects + because they forward to TQIconView). + @short This method allows to handle correctly cases where a subclass needs the held() signal to not be triggered without calling a TDEIconView.contentsDrag Event() method (which have side effects because they forward to TQIconView). + */ + protected native void cancelPendingHeldSignal(); + protected native void slotOnItem(TQIconViewItem item); + protected native void slotOnViewport(); + protected native void slotSettingsChanged(int arg1); + /** + Auto selection happend. + @short Auto selection happend. + */ + protected native void slotAutoSelect(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/TDEIconViewItem.java b/kdejava/koala/org/kde/koala/TDEIconViewItem.java new file mode 100644 index 00000000..f9331e73 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEIconViewItem.java @@ -0,0 +1,96 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQIconViewItem; +import org.kde.qt.QtSupport; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQIconView; +import org.kde.qt.TQPicture; +import org.kde.qt.TQColorGroup; +import org.kde.qt.TQIconViewItem; + +/** + + TDEIconViewItem exists to improve the word-wrap functionality of TQIconViewItem + Use TDEIconViewItem instead of TQIconViewItem for any iconview item you might have :) + @author David Faure + + @short A variant of TQIconViewItem that wraps words better. + +*/ +public class TDEIconViewItem extends TQIconViewItem { + protected TDEIconViewItem(Class dummy){super((Class) null);} + public TDEIconViewItem(TQIconView parent) { + super((Class) null); + newTDEIconViewItem(parent); + } + private native void newTDEIconViewItem(TQIconView parent); + public TDEIconViewItem(TQIconView parent, TQIconViewItem after) { + super((Class) null); + newTDEIconViewItem(parent,after); + } + private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after); + public TDEIconViewItem(TQIconView parent, String text) { + super((Class) null); + newTDEIconViewItem(parent,text); + } + private native void newTDEIconViewItem(TQIconView parent, String text); + public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text) { + super((Class) null); + newTDEIconViewItem(parent,after,text); + } + private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text); + public TDEIconViewItem(TQIconView parent, String text, TQPixmap icon) { + super((Class) null); + newTDEIconViewItem(parent,text,icon); + } + private native void newTDEIconViewItem(TQIconView parent, String text, TQPixmap icon); + public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) { + super((Class) null); + newTDEIconViewItem(parent,after,text,icon); + } + private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon); + public TDEIconViewItem(TQIconView parent, String text, TQPicture picture) { + super((Class) null); + newTDEIconViewItem(parent,text,picture); + } + private native void newTDEIconViewItem(TQIconView parent, String text, TQPicture picture); + public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) { + super((Class) null); + newTDEIconViewItem(parent,after,text,picture); + } + private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture); + /** + Using this function, you can specify a custom size for the pixmap. The + geometry of the item will be calculated to let a pixmap of the given size + fit in the iconView without needing an update. + This may be useful if you want to change the pixmap later without breaking + the layout. A possible use of this function is to replace a fileItem icon + by a larger pixmap (preview). + @param size The size to use + @short Using this function, you can specify a custom size for the pixmap. + */ + public native void setPixmapSize(TQSize size); + /** + @return The size set by setPixmapSize() or TQSize( 0, 0 ) + + @short + */ + public native TQSize pixmapSize(); + protected native void init(); + protected native void calcRect(String text_); + protected native void calcRect(); + protected native void paintItem(TQPainter p, TQColorGroup c); + protected native KWordWrap wordWrap(); + protected native void paintPixmap(TQPainter p, TQColorGroup c); + protected native void paintText(TQPainter p, TQColorGroup c); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/TDEIconViewSignals.java b/kdejava/koala/org/kde/koala/TDEIconViewSignals.java new file mode 100644 index 00000000..8d76c5bc --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEIconViewSignals.java @@ -0,0 +1,63 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.TQIconViewItem; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragLeaveEvent; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; + +public interface TDEIconViewSignals { + /** + This signal is emitted whenever the user executes an iconview item. + That means depending on the KDE wide Single Click/Double Click + setting the user clicked or double clicked on that item. + @param item is the pointer to the executed iconview item. + Note that you may not delete any TQIconViewItem objects in slots + connected to this signal. + @short This signal is emitted whenever the user executes an iconview item. + */ + void executed(TQIconViewItem item); + /** + This signal is emitted whenever the user executes an iconview item. + That means depending on the KDE wide Single Click/Double Click + setting the user clicked or double clicked on that item. + @param item is the pointer to the executed iconview item. + @param pos is the position where the user has clicked + Note that you may not delete any TQIconViewItem objects in slots + connected to this signal. + @short This signal is emitted whenever the user executes an iconview item. + */ + void executed(TQIconViewItem item, TQPoint pos); + /** + This signal is emitted whenever the user hold something on an iconview + during a drag'n'drop. + @param item is the pointer to the iconview item the hold event occur. + Note that you may not delete any TQIconViewItem objects in slots + connected to this signal. + @short This signal is emitted whenever the user hold something on an iconview during a drag'n'drop. + */ + void held(TQIconViewItem item); + /** + This signal gets emitted whenever the user double clicks into the + iconview. + @param item is the pointer to the clicked iconview item. + @param pos is the position where the user has clicked, and + Note that you may not delete any TQIconViewItem objects in slots + connected to this signal. + This signal is more or less here for the sake of completeness. + You should normally not need to use this. In most cases it's better + to use executed() instead. + @short This signal gets emitted whenever the user double clicks into the iconview. + */ + void doubleClicked(TQIconViewItem item, TQPoint pos); +} -- cgit v1.2.1