Rename KIcon to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 698b9b64bf
commit 4769a4b79b

@ -2413,7 +2413,7 @@ sub preParseClass
$className eq 'KParts::Plugin::PluginInfo' || $className eq 'KParts::Plugin::PluginInfo' ||
$className eq 'KProtocolInfo::ExtraField' || $className eq 'KProtocolInfo::ExtraField' ||
$className eq 'KXMLGUIClient::StateChange' || $className eq 'KXMLGUIClient::StateChange' ||
$className eq 'KIconTheme' || $className eq 'TDEIconTheme' ||
$className eq 'KEditListBox::CustomEditor' || $className eq 'KEditListBox::CustomEditor' ||
$className eq 'TDEIO::KBookmarkMenuNSImporter' || $className eq 'TDEIO::KBookmarkMenuNSImporter' ||
$className eq 'KPerDomainSettings' || $className eq 'KPerDomainSettings' ||
@ -3821,7 +3821,7 @@ sub generateMethod($$$$$$$$$)
$name = "iconSize"; $name = "iconSize";
} elsif ( $name eq 'size' and $javaClassName eq 'TDEFontCombo' ) { } elsif ( $name eq 'size' and $javaClassName eq 'TDEFontCombo' ) {
$name = "pointSize"; $name = "pointSize";
} elsif ($javaSignature eq "icon()" and $javaClassName eq 'KIconButton') { } elsif ($javaSignature eq "icon()" and $javaClassName eq 'TDEIconButton') {
$name = "iconName"; $name = "iconName";
} elsif ($javaSignature eq "close()" and $javaClassName eq 'KDirOperator') { } elsif ($javaSignature eq "close()" and $javaClassName eq 'KDirOperator') {
$name = "closeLoading"; $name = "closeLoading";

@ -720,7 +720,7 @@ sub preParseClass
$className eq 'KParts::Plugin::PluginInfo' || $className eq 'KParts::Plugin::PluginInfo' ||
$className eq 'KProtocolInfo::ExtraField' || $className eq 'KProtocolInfo::ExtraField' ||
$className eq 'KXMLGUIClient::StateChange' || $className eq 'KXMLGUIClient::StateChange' ||
$className eq 'KIconTheme' || $className eq 'TDEIconTheme' ||
$className eq 'KEditListBox::CustomEditor' || $className eq 'KEditListBox::CustomEditor' ||
$className eq 'TDEIO::KBookmarkMenuNSImporter' || $className eq 'TDEIO::KBookmarkMenuNSImporter' ||
$className eq 'KPerDomainSettings' || $className eq 'KPerDomainSettings' ||
@ -1900,7 +1900,7 @@ sub generateMethod($$$$$$$)
$name = "paletteName"; $name = "paletteName";
} elsif ( $name eq 'size' and $javaClassName eq 'TDEFontCombo' ) { } elsif ( $name eq 'size' and $javaClassName eq 'TDEFontCombo' ) {
$name = "pointSize"; $name = "pointSize";
} elsif ($javaSignature eq "icon()" and $javaClassName eq 'KIconButton') { } elsif ($javaSignature eq "icon()" and $javaClassName eq 'TDEIconButton') {
$name = "iconName"; $name = "iconName";
} elsif ($javaSignature eq "close()" and $javaClassName eq 'KDirOperator') { } elsif ($javaSignature eq "close()" and $javaClassName eq 'KDirOperator') {
$name = "closeLoading"; $name = "closeLoading";

@ -740,7 +740,7 @@ sub preParseClass
$className eq 'KParts::Plugin::PluginInfo' || $className eq 'KParts::Plugin::PluginInfo' ||
$className eq 'KProtocolInfo::ExtraField' || $className eq 'KProtocolInfo::ExtraField' ||
$className eq 'KXMLGUIClient::StateChange' || $className eq 'KXMLGUIClient::StateChange' ||
$className eq 'KIconTheme' || $className eq 'TDEIconTheme' ||
$className eq 'KEditListBox::CustomEditor' || $className eq 'KEditListBox::CustomEditor' ||
$className eq 'TDEIO::KBookmarkMenuNSImporter' || $className eq 'TDEIO::KBookmarkMenuNSImporter' ||
$className eq 'KPerDomainSettings' || $className eq 'KPerDomainSettings' ||
@ -1948,7 +1948,7 @@ sub generateMethod($$$$$$$)
$name = "paletteName"; $name = "paletteName";
} elsif ( $name eq 'size' and $csharpClassName eq 'TDEFontCombo' ) { } elsif ( $name eq 'size' and $csharpClassName eq 'TDEFontCombo' ) {
$name = "pointSize"; $name = "pointSize";
} elsif ($csharpSignature eq "icon()" and $csharpClassName eq 'KIconButton') { } elsif ($csharpSignature eq "icon()" and $csharpClassName eq 'TDEIconButton') {
$name = "iconName"; $name = "iconName";
} elsif ($csharpSignature eq "close()" and $csharpClassName eq 'KDirOperator') { } elsif ($csharpSignature eq "close()" and $csharpClassName eq 'KDirOperator') {
$name = "closeLoading"; $name = "closeLoading";

@ -374,7 +374,7 @@ sub preParseClass
$className eq 'KParts::Plugin::PluginInfo' || $className eq 'KParts::Plugin::PluginInfo' ||
$className eq 'KProtocolInfo::ExtraField' || $className eq 'KProtocolInfo::ExtraField' ||
$className eq 'KXMLGUIClient::StateChange' || $className eq 'KXMLGUIClient::StateChange' ||
$className eq 'KIconTheme' || $className eq 'TDEIconTheme' ||
$className eq 'KEditListBox::CustomEditor' || $className eq 'KEditListBox::CustomEditor' ||
$className eq 'TDEIO::KBookmarkMenuNSImporter' || $className eq 'TDEIO::KBookmarkMenuNSImporter' ||
$className eq 'KExtendedSocket' || $className eq 'KExtendedSocket' ||

@ -944,16 +944,16 @@ BEGIN
'KIOTestSlow' => 'kde_KIOTestSlow*', 'KIOTestSlow' => 'kde_KIOTestSlow*',
'KIOTestSlow*' => 'kde_KIOTestSlow*', 'KIOTestSlow*' => 'kde_KIOTestSlow*',
'KIPC*' => 'kde_KIPC*', 'KIPC*' => 'kde_KIPC*',
'KIcon' => 'kde_KIcon*' , 'TDEIcon' => 'kde_TDEIcon*' ,
'KIcon*' => 'kde_KIcon*', 'TDEIcon*' => 'kde_TDEIcon*',
'KIconButton*' => 'kde_KIconButton*', 'TDEIconButton*' => 'kde_TDEIconButton*',
'KIconCanvas*' => 'kde_KIconCanvas*', 'TDEIconCanvas*' => 'kde_TDEIconCanvas*',
'KIconDialog*' => 'kde_KIconDialog*', 'TDEIconDialog*' => 'kde_TDEIconDialog*',
'KIconEffect*' => 'kde_KIconEffect*' , 'TDEIconEffect*' => 'kde_TDEIconEffect*' ,
'KIconLoader*' => 'kde_KIconLoader*' , 'TDEIconLoader*' => 'kde_TDEIconLoader*' ,
'KIconSelectAction*' => 'kde_KIconSelectAction*', 'TDEIconSelectAction*' => 'kde_TDEIconSelectAction*',
'KIconView*' => 'kde_KIconView*', 'TDEIconView*' => 'kde_TDEIconView*',
'KIconViewItem*' => 'kde_KIconViewItem*', 'TDEIconViewItem*' => 'kde_TDEIconViewItem*',
'KImageEffect*' => 'kde_KImageEffect*', 'KImageEffect*' => 'kde_KImageEffect*',
'KImageFilePreview*' => 'kde_KImageFilePreview*', 'KImageFilePreview*' => 'kde_KImageFilePreview*',
'KImageIO*' => 'kde_KImageIO*', 'KImageIO*' => 'kde_KImageIO*',
@ -2802,8 +2802,8 @@ BEGIN
'KKeyX11*' => 'kde_KKeyX11*', 'KKeyX11*' => 'kde_KKeyX11*',
'TDEAccelActions' => 'kde_TDEAccelActions*', 'TDEAccelActions' => 'kde_TDEAccelActions*',
'KRandomSequence&' => 'kde_KRandomSequence*', 'KRandomSequence&' => 'kde_KRandomSequence*',
'KIcon::Context' => 'int', 'TDEIcon::Context' => 'int',
'KIcon::Group' => 'int', 'TDEIcon::Group' => 'int',
); );

@ -207,7 +207,7 @@
* Fixed incorrect classname strings in TDEHTMLPart event handler callbacks * Fixed incorrect classname strings in TDEHTMLPart event handler callbacks
2002-02-13 Richard Dale <duke@tipitina.demon.co.uk> 2002-02-13 Richard Dale <duke@tipitina.demon.co.uk>
* TDEConfigBase - Fixed readListEntry(), writeListEntry() methods. * TDEConfigBase - Fixed readListEntry(), writeListEntry() methods.
* Functions in KIconLoader, such as BarIcon(), converted to java * Functions in TDEIconLoader, such as BarIcon(), converted to java
static methods. static methods.
* TDEAccel - Fixed java slot connections * TDEAccel - Fixed java slot connections
* JNI function name link problems in KURL.directory() and * JNI function name link problems in KURL.directory() and

File diff suppressed because one or more lines are too long

@ -51,7 +51,7 @@ public class KScribbleApp extends TDEMainWindow implements Resource {
private int untitledCount = 0; private int untitledCount = 0;
private ArrayList pDocList; private ArrayList pDocList;
private TDEApplication kapp; private TDEApplication kapp;
private KIconLoader k = new KIconLoader(); private TDEIconLoader k = new TDEIconLoader();
/** construtor of KScribbleApp, calls all init functions to create the application. /** construtor of KScribbleApp, calls all init functions to create the application.
*/ */

@ -24,7 +24,7 @@ public class KScribbleView extends TQScrollView {
private int action = IDLE; private int action = IDLE;
private TQRect select = new TQRect(); private TQRect select = new TQRect();
private KIconLoader k = new KIconLoader(); private TDEIconLoader k = new TDEIconLoader();
private TQImageDrag qid; private TQImageDrag qid;
public KScribbleView(KScribbleDoc pDoc, TQWidget parent, String name, int wflags) { public KScribbleView(KScribbleDoc pDoc, TQWidget parent, String name, int wflags) {

@ -184,7 +184,7 @@ Java_org_kde_koala_KDE_IconSize__I(JNIEnv* env, jclass cls, jint group)
{ {
(void) cls; (void) cls;
(void) env; (void) env;
jint xret = (jint) ::IconSize((KIcon::Group) group); jint xret = (jint) ::IconSize((TDEIcon::Group) group);
return xret; return xret;
} }
@ -192,7 +192,7 @@ JNIEXPORT jint JNICALL
Java_org_kde_koala_KDE_IconSize__ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jint group, jobject instance) Java_org_kde_koala_KDE_IconSize__ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jint group, jobject instance)
{ {
(void) cls; (void) cls;
jint xret = (jint) ::IconSize((KIcon::Group) group, (TDEInstance*) QtSupport::getQt(env, instance)); jint xret = (jint) ::IconSize((TDEIcon::Group) group, (TDEInstance*) QtSupport::getQt(env, instance));
return xret; return xret;
} }
@ -817,7 +817,7 @@ Java_org_kde_koala_KDE_op_1incr__I(JNIEnv* env, jclass cls, jint group)
{ {
(void) cls; (void) cls;
(void) env; (void) env;
jint xret = (jint) ::operator++((KIcon::Group&) group); jint xret = (jint) ::operator++((TDEIcon::Group&) group);
return xret; return xret;
} }
@ -826,7 +826,7 @@ Java_org_kde_koala_KDE_op_1incr__II(JNIEnv* env, jclass cls, jint group, jint ar
{ {
(void) cls; (void) cls;
(void) env; (void) env;
jint xret = (jint) ::operator++((KIcon::Group&) group, (int) arg2); jint xret = (jint) ::operator++((TDEIcon::Group&) group, (int) arg2);
return xret; return xret;
} }

@ -17,16 +17,16 @@ class KDEDesktopMimeTypeJBridge : public KDEDesktopMimeType
public: public:
KDEDesktopMimeTypeJBridge(KDesktopFile* arg1) : KDEDesktopMimeType(arg1) {}; KDEDesktopMimeTypeJBridge(KDesktopFile* arg1) : KDEDesktopMimeType(arg1) {};
KDEDesktopMimeTypeJBridge(TQDataStream& arg1,int arg2) : KDEDesktopMimeType(arg1,arg2) {}; KDEDesktopMimeTypeJBridge(TQDataStream& arg1,int arg2) : KDEDesktopMimeType(arg1,arg2) {};
TQPixmap protected_pixmap(KIcon::Group arg1,int arg2,int arg3,TQString* arg4) { TQPixmap protected_pixmap(TDEIcon::Group arg1,int arg2,int arg3,TQString* arg4) {
return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2,arg3,arg4); return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2,arg3,arg4);
} }
TQPixmap protected_pixmap(KIcon::Group arg1,int arg2,int arg3) { TQPixmap protected_pixmap(TDEIcon::Group arg1,int arg2,int arg3) {
return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2,arg3); return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2,arg3);
} }
TQPixmap protected_pixmap(KIcon::Group arg1,int arg2) { TQPixmap protected_pixmap(TDEIcon::Group arg1,int arg2) {
return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2); return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2);
} }
TQPixmap protected_pixmap(KIcon::Group arg1) { TQPixmap protected_pixmap(TDEIcon::Group arg1) {
return (TQPixmap) KDEDesktopMimeType::pixmap(arg1); return (TQPixmap) KDEDesktopMimeType::pixmap(arg1);
} }
static pid_t protected_runFSDevice(const KURL& arg1,const KSimpleConfig& arg2) { static pid_t protected_runFSDevice(const KURL& arg1,const KSimpleConfig& arg2) {
@ -124,21 +124,21 @@ Java_org_kde_koala_KDEDesktopMimeType_newKDEDesktopMimeType__Lorg_kde_qt_QDataSt
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KDEDesktopMimeType_pixmap__I(JNIEnv* env, jobject obj, jint group) Java_org_kde_koala_KDEDesktopMimeType_pixmap__I(JNIEnv* env, jobject obj, jint group)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((KIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KDEDesktopMimeType_pixmap__II(JNIEnv* env, jobject obj, jint group, jint force_size) Java_org_kde_koala_KDEDesktopMimeType_pixmap__II(JNIEnv* env, jobject obj, jint group, jint force_size)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((KIcon::Group) group, (int) force_size)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group, (int) force_size)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KDEDesktopMimeType_pixmap__III(JNIEnv* env, jobject obj, jint group, jint force_size, jint state) Java_org_kde_koala_KDEDesktopMimeType_pixmap__III(JNIEnv* env, jobject obj, jint group, jint force_size, jint state)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((KIcon::Group) group, (int) force_size, (int) state)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group, (int) force_size, (int) state)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
@ -146,7 +146,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_koala_KDEDesktopMimeType_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint group, jint force_size, jint state, jobject path) Java_org_kde_koala_KDEDesktopMimeType_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint group, jint force_size, jint state, jobject path)
{ {
static TQString* _qstring_path = 0; static TQString* _qstring_path = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((KIcon::Group) group, (int) force_size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path, &_qstring_path))), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group, (int) force_size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path, &_qstring_path))), "org.kde.qt.TQPixmap", TRUE);
QtSupport::fromTQStringToStringBuffer(env, _qstring_path, path); QtSupport::fromTQStringToStringBuffer(env, _qstring_path, path);
return xret; return xret;
} }
@ -154,21 +154,21 @@ static TQString* _qstring_path = 0;
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject _url, jint _group) Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject _url, jint _group)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (KIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2II(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size) Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2II(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (KIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2III(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state) Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2III(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (KIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
@ -176,7 +176,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state, jobject _path) Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state, jobject _path)
{ {
static TQString* _qstring__path = 0; static TQString* _qstring__path = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (KIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE);
QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path);
return xret; return xret;
} }

@ -146,7 +146,7 @@ public:
} }
void contentsMouseReleaseEvent(TQMouseEvent* arg1) { void contentsMouseReleaseEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
KIconView::contentsMouseReleaseEvent(arg1); TDEIconView::contentsMouseReleaseEvent(arg1);
} }
return; return;
} }
@ -206,7 +206,7 @@ public:
} }
void focusOutEvent(TQFocusEvent* arg1) { void focusOutEvent(TQFocusEvent* arg1) {
if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) {
KIconView::focusOutEvent(arg1); TDEIconView::focusOutEvent(arg1);
} }
return; return;
} }
@ -356,7 +356,7 @@ public:
} }
void takeItem(TQIconViewItem* arg1) { void takeItem(TQIconViewItem* arg1) {
if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) {
KIconView::takeItem(arg1); TDEIconView::takeItem(arg1);
} }
return; return;
} }
@ -437,7 +437,7 @@ public:
} }
void setFont(const TQFont& arg1) { void setFont(const TQFont& arg1) {
if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) {
KIconView::setFont(arg1); TDEIconView::setFont(arg1);
} }
return; return;
} }
@ -509,7 +509,7 @@ public:
} }
void leaveEvent(TQEvent* arg1) { void leaveEvent(TQEvent* arg1) {
if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) {
KIconView::leaveEvent(arg1); TDEIconView::leaveEvent(arg1);
} }
return; return;
} }
@ -521,7 +521,7 @@ public:
} }
void contentsMousePressEvent(TQMouseEvent* arg1) { void contentsMousePressEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
KIconView::contentsMousePressEvent(arg1); TDEIconView::contentsMousePressEvent(arg1);
} }
return; return;
} }
@ -599,7 +599,7 @@ public:
} }
void wheelEvent(TQWheelEvent* arg1) { void wheelEvent(TQWheelEvent* arg1) {
if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) {
KIconView::wheelEvent(arg1); TDEIconView::wheelEvent(arg1);
} }
return; return;
} }
@ -647,7 +647,7 @@ public:
} }
void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
KIconView::contentsMouseDoubleClickEvent(arg1); TDEIconView::contentsMouseDoubleClickEvent(arg1);
} }
return; return;
} }

@ -72,21 +72,21 @@ Java_org_kde_koala_KGuiItem_iconSet__(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGuiItem_iconSet__I(JNIEnv* env, jobject obj, jint arg1) Java_org_kde_koala_KGuiItem_iconSet__I(JNIEnv* env, jobject obj, jint arg1)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((KIcon::Group) arg1)), "org.kde.qt.TQIconSet", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) arg1)), "org.kde.qt.TQIconSet", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGuiItem_iconSet__II(JNIEnv* env, jobject obj, jint arg1, jint size) Java_org_kde_koala_KGuiItem_iconSet__II(JNIEnv* env, jobject obj, jint arg1, jint size)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((KIcon::Group) arg1, (int) size)), "org.kde.qt.TQIconSet", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) arg1, (int) size)), "org.kde.qt.TQIconSet", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGuiItem_iconSet__IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jint arg1, jint size, jobject instance) Java_org_kde_koala_KGuiItem_iconSet__IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jint arg1, jint size, jobject instance)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((KIcon::Group) arg1, (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) arg1, (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE);
return xret; return xret;
} }

@ -5,17 +5,17 @@
#include <qtjava/QtSupport.h> #include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h> #include <kdejava/KDESupport.h>
#include <kdejava/KIconButton.h> #include <kdejava/TDEIconButton.h>
class KIconButtonJBridge : public KIconButton class TDEIconButtonJBridge : public TDEIconButton
{ {
public: public:
KIconButtonJBridge(TQWidget* arg1,const char* arg2) : KIconButton(arg1,arg2) {}; TDEIconButtonJBridge(TQWidget* arg1,const char* arg2) : TDEIconButton(arg1,arg2) {};
KIconButtonJBridge(TQWidget* arg1) : KIconButton(arg1) {}; TDEIconButtonJBridge(TQWidget* arg1) : TDEIconButton(arg1) {};
KIconButtonJBridge() : KIconButton() {}; TDEIconButtonJBridge() : TDEIconButton() {};
KIconButtonJBridge(KIconLoader* arg1,TQWidget* arg2,const char* arg3) : KIconButton(arg1,arg2,arg3) {}; TDEIconButtonJBridge(TDEIconLoader* arg1,TQWidget* arg2,const char* arg3) : TDEIconButton(arg1,arg2,arg3) {};
KIconButtonJBridge(KIconLoader* arg1,TQWidget* arg2) : KIconButton(arg1,arg2) {}; TDEIconButtonJBridge(TDEIconLoader* arg1,TQWidget* arg2) : TDEIconButton(arg1,arg2) {};
~KIconButtonJBridge() {QtSupport::qtKeyDeleted(this);} ~TDEIconButtonJBridge() {QtSupport::qtKeyDeleted(this);}
void dragLeaveEvent(TQDragLeaveEvent* arg1) { void dragLeaveEvent(TQDragLeaveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
TQWidget::dragLeaveEvent(arg1); TQWidget::dragLeaveEvent(arg1);
@ -47,7 +47,7 @@ public:
return; return;
} }
void setActiveWindow() { void setActiveWindow() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconButton","setActiveWindow")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","setActiveWindow")) {
TQWidget::setActiveWindow(); TQWidget::setActiveWindow();
} }
return; return;
@ -59,7 +59,7 @@ public:
return; return;
} }
void show() { void show() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconButton","show")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","show")) {
TQWidget::show(); TQWidget::show();
} }
return; return;
@ -71,7 +71,7 @@ public:
return; return;
} }
void setFocus() { void setFocus() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconButton","setFocus")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","setFocus")) {
TQWidget::setFocus(); TQWidget::setFocus();
} }
return; return;
@ -89,7 +89,7 @@ public:
return; return;
} }
void hide() { void hide() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconButton","hide")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","hide")) {
TQWidget::hide(); TQWidget::hide();
} }
return; return;
@ -125,7 +125,7 @@ public:
return; return;
} }
void unsetCursor() { void unsetCursor() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconButton","unsetCursor")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","unsetCursor")) {
TQWidget::unsetCursor(); TQWidget::unsetCursor();
} }
return; return;
@ -143,13 +143,13 @@ public:
return; return;
} }
void polish() { void polish() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconButton","polish")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","polish")) {
TQWidget::polish(); TQWidget::polish();
} }
return; return;
} }
void showMaximized() { void showMaximized() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconButton","showMaximized")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showMaximized")) {
TQWidget::showMaximized(); TQWidget::showMaximized();
} }
return; return;
@ -248,7 +248,7 @@ public:
return; return;
} }
void showNormal() { void showNormal() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconButton","showNormal")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showNormal")) {
TQWidget::showNormal(); TQWidget::showNormal();
} }
return; return;
@ -296,7 +296,7 @@ public:
return; return;
} }
void adjustSize() { void adjustSize() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconButton","adjustSize")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","adjustSize")) {
TQWidget::adjustSize(); TQWidget::adjustSize();
} }
return; return;
@ -344,14 +344,14 @@ public:
return; return;
} }
bool eventFilter(TQObject* object,TQEvent* event) { bool eventFilter(TQObject* object,TQEvent* event) {
if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KIconButton",object,event)) { if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEIconButton",object,event)) {
return TQObject::eventFilter(object,event); return TQObject::eventFilter(object,event);
} else { } else {
return TRUE; return TRUE;
} }
} }
void showMinimized() { void showMinimized() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconButton","showMinimized")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showMinimized")) {
TQWidget::showMinimized(); TQWidget::showMinimized();
} }
return; return;
@ -359,157 +359,157 @@ public:
}; };
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconButton_className(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconButton_className(JNIEnv* env, jobject obj)
{ {
const char* _qstring; const char* _qstring;
_qstring = ((KIconButton*) QtSupport::getQt(env, obj))->className(); _qstring = ((TDEIconButton*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring); return QtSupport::fromCharString(env, (char *) _qstring);
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_dispose(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconButton_dispose(JNIEnv* env, jobject obj)
{ {
Java_org_kde_koala_KIconButton_finalize(env, obj); Java_org_kde_koala_TDEIconButton_finalize(env, obj);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_finalize(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconButton_finalize(JNIEnv* env, jobject obj)
{ {
if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KIconButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
delete (KIconButton*)QtSupport::getQt(env, obj); delete (TDEIconButton*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0); QtSupport::setQt(env, obj, 0);
} }
return; return;
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconButton_iconName(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconButton_iconName(JNIEnv* env, jobject obj)
{ {
TQString _qstring; TQString _qstring;
_qstring = ((KIconButton*) QtSupport::getQt(env, obj))->icon(); _qstring = ((TDEIconButton*) QtSupport::getQt(env, obj))->icon();
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jint JNICALL JNIEXPORT jint JNICALL
Java_org_kde_koala_KIconButton_iconSize(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconButton_iconSize(JNIEnv* env, jobject obj)
{ {
jint xret = (jint) ((KIconButton*) QtSupport::getQt(env, obj))->iconSize(); jint xret = (jint) ((TDEIconButton*) QtSupport::getQt(env, obj))->iconSize();
return xret; return xret;
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIconButton_isDisposed(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconButton_isDisposed(JNIEnv* env, jobject obj)
{ {
return (QtSupport::getQt(env, obj) == 0); return (QtSupport::getQt(env, obj) == 0);
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconButton_metaObject(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconButton_metaObject(JNIEnv* env, jobject obj)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)((KIconButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret; return xret;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_newKIconButton__(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconButton_newTDEIconButton__(JNIEnv* env, jobject obj)
{ {
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconButtonJBridge()); QtSupport::setQt(env, obj, new TDEIconButtonJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_newKIconButton__Lorg_kde_koala_KIconLoader_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject loader, jobject parent) 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) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconButtonJBridge((KIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_newKIconButton__Lorg_kde_koala_KIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject loader, jobject parent, jstring name) 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; static TQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconButtonJBridge((KIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); 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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_newKIconButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent)
{ {
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TQWidget*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_newKIconButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) 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; static TQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); 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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_resetIcon(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconButton_resetIcon(JNIEnv* env, jobject obj)
{ {
((KIconButton*) QtSupport::getQt(env, obj))->resetIcon(); ((TDEIconButton*) QtSupport::getQt(env, obj))->resetIcon();
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_setIconSize(JNIEnv* env, jobject obj, jint size) Java_org_kde_koala_TDEIconButton_setIconSize(JNIEnv* env, jobject obj, jint size)
{ {
((KIconButton*) QtSupport::getQt(env, obj))->setIconSize((int) size); ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconSize((int) size);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_setIconType__II(JNIEnv* env, jobject obj, jint group, jint context) Java_org_kde_koala_TDEIconButton_setIconType__II(JNIEnv* env, jobject obj, jint group, jint context)
{ {
((KIconButton*) QtSupport::getQt(env, obj))->setIconType((KIcon::Group) group, (KIcon::Context) context); ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconType((TDEIcon::Group) group, (TDEIcon::Context) context);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_setIconType__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean user) Java_org_kde_koala_TDEIconButton_setIconType__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean user)
{ {
((KIconButton*) QtSupport::getQt(env, obj))->setIconType((KIcon::Group) group, (KIcon::Context) context, (bool) user); ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconType((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) user);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_setIcon(JNIEnv* env, jobject obj, jstring icon) Java_org_kde_koala_TDEIconButton_setIcon(JNIEnv* env, jobject obj, jstring icon)
{ {
static TQString* _qstring_icon = 0; static TQString* _qstring_icon = 0;
((KIconButton*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); ((TDEIconButton*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon));
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconButton_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b) Java_org_kde_koala_TDEIconButton_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b)
{ {
((KIconButton*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b); ((TDEIconButton*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b);
return; return;
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIconButton_strictIconSize(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconButton_strictIconSize(JNIEnv* env, jobject obj)
{ {
jboolean xret = (jboolean) ((KIconButton*) QtSupport::getQt(env, obj))->strictIconSize(); jboolean xret = (jboolean) ((TDEIconButton*) QtSupport::getQt(env, obj))->strictIconSize();
return xret; return xret;
} }

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */ /* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KIconButton__ #ifndef __org_kde_koala_TDEIconButton__
#define __org_kde_koala_KIconButton__ #define __org_kde_koala_TDEIconButton__
#include <jni.h> #include <jni.h>
@ -10,28 +10,28 @@ extern "C"
{ {
#endif #endif
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconButton_metaObject (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconButton_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconButton_className (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconButton_className (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconButton_newKIconButton__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_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconButton_newKIconButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); 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_KIconButton_newKIconButton__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__ (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconButton_newKIconButton__Lorg_kde_koala_KIconLoader_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_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconButton_newKIconButton__Lorg_kde_koala_KIconLoader_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); 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_KIconButton_setStrictIconSize (JNIEnv *env, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setStrictIconSize (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconButton_strictIconSize (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconButton_strictIconSize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconButton_setIconType__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); 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_KIconButton_setIconType__II (JNIEnv *env, jobject, jint, jint); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconType__II (JNIEnv *env, jobject, jint, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconButton_setIcon (JNIEnv *env, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIcon (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconButton_resetIcon (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_resetIcon (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconButton_iconName (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconButton_iconName (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconButton_setIconSize (JNIEnv *env, jobject, jint); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconSize (JNIEnv *env, jobject, jint);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIconButton_iconSize (JNIEnv *env, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconButton_iconSize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconButton_finalize (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconButton_dispose (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconButton_isDisposed (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconButton_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __org_kde_koala_KIconButton__ */ #endif /* __org_kde_koala_TDEIconButton__ */

@ -5,15 +5,15 @@
#include <qtjava/QtSupport.h> #include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h> #include <kdejava/KDESupport.h>
#include <kdejava/KIconCanvas.h> #include <kdejava/TDEIconCanvas.h>
class KIconCanvasJBridge : public KIconCanvas class TDEIconCanvasJBridge : public TDEIconCanvas
{ {
public: public:
KIconCanvasJBridge(TQWidget* arg1,const char* arg2) : KIconCanvas(arg1,arg2) {}; TDEIconCanvasJBridge(TQWidget* arg1,const char* arg2) : TDEIconCanvas(arg1,arg2) {};
KIconCanvasJBridge(TQWidget* arg1) : KIconCanvas(arg1) {}; TDEIconCanvasJBridge(TQWidget* arg1) : TDEIconCanvas(arg1) {};
KIconCanvasJBridge() : KIconCanvas() {}; TDEIconCanvasJBridge() : TDEIconCanvas() {};
~KIconCanvasJBridge() {QtSupport::qtKeyDeleted(this);} ~TDEIconCanvasJBridge() {QtSupport::qtKeyDeleted(this);}
void dragLeaveEvent(TQDragLeaveEvent* arg1) { void dragLeaveEvent(TQDragLeaveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
TQWidget::dragLeaveEvent(arg1); TQWidget::dragLeaveEvent(arg1);
@ -27,7 +27,7 @@ public:
return; return;
} }
void doAutoScroll() { void doAutoScroll() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","doAutoScroll")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","doAutoScroll")) {
TQIconView::doAutoScroll(); TQIconView::doAutoScroll();
} }
return; return;
@ -58,7 +58,7 @@ public:
} }
void contentsMouseReleaseEvent(TQMouseEvent* arg1) { void contentsMouseReleaseEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
KIconView::contentsMouseReleaseEvent(arg1); TDEIconView::contentsMouseReleaseEvent(arg1);
} }
return; return;
} }
@ -88,12 +88,12 @@ public:
} }
void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
KIconView::contentsDragLeaveEvent(arg1); TDEIconView::contentsDragLeaveEvent(arg1);
} }
return; return;
} }
void setActiveWindow() { void setActiveWindow() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","setActiveWindow")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","setActiveWindow")) {
TQWidget::setActiveWindow(); TQWidget::setActiveWindow();
} }
return; return;
@ -106,12 +106,12 @@ public:
} }
void focusOutEvent(TQFocusEvent* arg1) { void focusOutEvent(TQFocusEvent* arg1) {
if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) {
KIconView::focusOutEvent(arg1); TDEIconView::focusOutEvent(arg1);
} }
return; return;
} }
void setFocus() { void setFocus() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","setFocus")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","setFocus")) {
TQWidget::setFocus(); TQWidget::setFocus();
} }
return; return;
@ -123,7 +123,7 @@ public:
return; return;
} }
void slotUpdate() { void slotUpdate() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","slotUpdate")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","slotUpdate")) {
TQIconView::slotUpdate(); TQIconView::slotUpdate();
} }
return; return;
@ -135,13 +135,13 @@ public:
return; return;
} }
void updateContents() { void updateContents() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","updateContents")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","updateContents")) {
TQIconView::updateContents(); TQIconView::updateContents();
} }
return; return;
} }
void hide() { void hide() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","hide")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","hide")) {
TQWidget::hide(); TQWidget::hide();
} }
return; return;
@ -183,20 +183,20 @@ public:
return; return;
} }
void clear() { void clear() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","clear")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","clear")) {
TQIconView::clear(); TQIconView::clear();
} }
return; return;
} }
void unsetCursor() { void unsetCursor() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","unsetCursor")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","unsetCursor")) {
TQWidget::unsetCursor(); TQWidget::unsetCursor();
} }
return; return;
} }
void contentsDropEvent(TQDropEvent* arg1) { void contentsDropEvent(TQDropEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) {
KIconView::contentsDropEvent(arg1); TDEIconView::contentsDropEvent(arg1);
} }
return; return;
} }
@ -213,13 +213,13 @@ public:
return; return;
} }
void polish() { void polish() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","polish")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","polish")) {
TQWidget::polish(); TQWidget::polish();
} }
return; return;
} }
void showMaximized() { void showMaximized() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","showMaximized")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showMaximized")) {
TQWidget::showMaximized(); TQWidget::showMaximized();
} }
return; return;
@ -250,7 +250,7 @@ public:
} }
void takeItem(TQIconViewItem* arg1) { void takeItem(TQIconViewItem* arg1) {
if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) {
KIconView::takeItem(arg1); TDEIconView::takeItem(arg1);
} }
return; return;
} }
@ -270,7 +270,7 @@ public:
return; return;
} }
void clearSelection() { void clearSelection() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","clearSelection")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","clearSelection")) {
TQIconView::clearSelection(); TQIconView::clearSelection();
} }
return; return;
@ -289,7 +289,7 @@ public:
} }
void contentsDragEnterEvent(TQDragEnterEvent* arg1) { void contentsDragEnterEvent(TQDragEnterEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) {
KIconView::contentsDragEnterEvent(arg1); TDEIconView::contentsDragEnterEvent(arg1);
} }
return; return;
} }
@ -318,14 +318,14 @@ public:
return; return;
} }
void startDrag() { void startDrag() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","startDrag")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","startDrag")) {
TQIconView::startDrag(); TQIconView::startDrag();
} }
return; return;
} }
void setFont(const TQFont& arg1) { void setFont(const TQFont& arg1) {
if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) {
KIconView::setFont(arg1); TDEIconView::setFont(arg1);
} }
return; return;
} }
@ -337,7 +337,7 @@ public:
} }
void contentsDragMoveEvent(TQDragMoveEvent* arg1) { void contentsDragMoveEvent(TQDragMoveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) {
KIconView::contentsDragMoveEvent(arg1); TDEIconView::contentsDragMoveEvent(arg1);
} }
return; return;
} }
@ -378,7 +378,7 @@ public:
return; return;
} }
void invertSelection() { void invertSelection() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","invertSelection")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","invertSelection")) {
TQIconView::invertSelection(); TQIconView::invertSelection();
} }
return; return;
@ -397,7 +397,7 @@ public:
} }
void leaveEvent(TQEvent* arg1) { void leaveEvent(TQEvent* arg1) {
if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) {
KIconView::leaveEvent(arg1); TDEIconView::leaveEvent(arg1);
} }
return; return;
} }
@ -409,18 +409,18 @@ public:
} }
void contentsMousePressEvent(TQMouseEvent* arg1) { void contentsMousePressEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
KIconView::contentsMousePressEvent(arg1); TDEIconView::contentsMousePressEvent(arg1);
} }
return; return;
} }
void updateMask() { void updateMask() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","updateMask")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","updateMask")) {
TQWidget::updateMask(); TQWidget::updateMask();
} }
return; return;
} }
void showNormal() { void showNormal() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","showNormal")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showNormal")) {
TQWidget::showNormal(); TQWidget::showNormal();
} }
return; return;
@ -480,14 +480,14 @@ public:
return; return;
} }
void adjustSize() { void adjustSize() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","adjustSize")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","adjustSize")) {
TQWidget::adjustSize(); TQWidget::adjustSize();
} }
return; return;
} }
void wheelEvent(TQWheelEvent* arg1) { void wheelEvent(TQWheelEvent* arg1) {
if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) {
KIconView::wheelEvent(arg1); TDEIconView::wheelEvent(arg1);
} }
return; return;
} }
@ -528,14 +528,14 @@ public:
return; return;
} }
void adjustItems() { void adjustItems() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","adjustItems")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","adjustItems")) {
TQIconView::adjustItems(); TQIconView::adjustItems();
} }
return; return;
} }
void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
KIconView::contentsMouseDoubleClickEvent(arg1); TDEIconView::contentsMouseDoubleClickEvent(arg1);
} }
return; return;
} }
@ -570,7 +570,7 @@ public:
return; return;
} }
void showMinimized() { void showMinimized() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconCanvas","showMinimized")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showMinimized")) {
TQWidget::showMinimized(); TQWidget::showMinimized();
} }
return; return;
@ -578,94 +578,94 @@ public:
}; };
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconCanvas_className(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconCanvas_className(JNIEnv* env, jobject obj)
{ {
const char* _qstring; const char* _qstring;
_qstring = ((KIconCanvas*) QtSupport::getQt(env, obj))->className(); _qstring = ((TDEIconCanvas*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring); return QtSupport::fromCharString(env, (char *) _qstring);
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconCanvas_dispose(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconCanvas_dispose(JNIEnv* env, jobject obj)
{ {
Java_org_kde_koala_KIconCanvas_finalize(env, obj); Java_org_kde_koala_TDEIconCanvas_finalize(env, obj);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconCanvas_finalize(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconCanvas_finalize(JNIEnv* env, jobject obj)
{ {
if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KIconCanvas*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconCanvas*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
delete (KIconCanvas*)QtSupport::getQt(env, obj); delete (TDEIconCanvas*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0); QtSupport::setQt(env, obj, 0);
} }
return; return;
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconCanvas_getCurrent(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconCanvas_getCurrent(JNIEnv* env, jobject obj)
{ {
TQString _qstring; TQString _qstring;
_qstring = ((KIconCanvas*) QtSupport::getQt(env, obj))->getCurrent(); _qstring = ((TDEIconCanvas*) QtSupport::getQt(env, obj))->getCurrent();
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIconCanvas_isDisposed(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconCanvas_isDisposed(JNIEnv* env, jobject obj)
{ {
return (QtSupport::getQt(env, obj) == 0); return (QtSupport::getQt(env, obj) == 0);
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconCanvas_loadFiles(JNIEnv* env, jobject obj, jobjectArray files) Java_org_kde_koala_TDEIconCanvas_loadFiles(JNIEnv* env, jobject obj, jobjectArray files)
{ {
static TQStringList* _qlist_files = 0; static TQStringList* _qlist_files = 0;
((KIconCanvas*) QtSupport::getQt(env, obj))->loadFiles((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files)); ((TDEIconCanvas*) QtSupport::getQt(env, obj))->loadFiles((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files));
return; return;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconCanvas_metaObject(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconCanvas_metaObject(JNIEnv* env, jobject obj)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)((KIconCanvas*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconCanvas*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret; return xret;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconCanvas_newKIconCanvas__(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__(JNIEnv* env, jobject obj)
{ {
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconCanvasJBridge()); QtSupport::setQt(env, obj, new TDEIconCanvasJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconCanvas_newKIconCanvas__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent)
{ {
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconCanvasJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setQt(env, obj, new TDEIconCanvasJBridge((TQWidget*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconCanvas_newKIconCanvas__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) 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; static TQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconCanvasJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); 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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconCanvas_stopLoading(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconCanvas_stopLoading(JNIEnv* env, jobject obj)
{ {
((KIconCanvas*) QtSupport::getQt(env, obj))->stopLoading(); ((TDEIconCanvas*) QtSupport::getQt(env, obj))->stopLoading();
return; return;
} }

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */ /* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KIconCanvas__ #ifndef __org_kde_koala_TDEIconCanvas__
#define __org_kde_koala_KIconCanvas__ #define __org_kde_koala_TDEIconCanvas__
#include <jni.h> #include <jni.h>
@ -10,20 +10,20 @@ extern "C"
{ {
#endif #endif
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconCanvas_metaObject (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconCanvas_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconCanvas_className (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconCanvas_className (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconCanvas_newKIconCanvas__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_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconCanvas_newKIconCanvas__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); 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_KIconCanvas_newKIconCanvas__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__ (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconCanvas_loadFiles (JNIEnv *env, jobject, jobjectArray); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_loadFiles (JNIEnv *env, jobject, jobjectArray);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconCanvas_getCurrent (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconCanvas_getCurrent (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconCanvas_stopLoading (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_stopLoading (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconCanvas_finalize (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconCanvas_dispose (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconCanvas_isDisposed (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconCanvas_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __org_kde_koala_KIconCanvas__ */ #endif /* __org_kde_koala_TDEIconCanvas__ */

@ -5,22 +5,22 @@
#include <qtjava/QtSupport.h> #include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h> #include <kdejava/KDESupport.h>
#include <kdejava/KIconDialog.h> #include <kdejava/TDEIconDialog.h>
class KIconDialogJBridge : public KIconDialog class TDEIconDialogJBridge : public TDEIconDialog
{ {
public: public:
KIconDialogJBridge(TQWidget* arg1,const char* arg2) : KIconDialog(arg1,arg2) {}; TDEIconDialogJBridge(TQWidget* arg1,const char* arg2) : TDEIconDialog(arg1,arg2) {};
KIconDialogJBridge(TQWidget* arg1) : KIconDialog(arg1) {}; TDEIconDialogJBridge(TQWidget* arg1) : TDEIconDialog(arg1) {};
KIconDialogJBridge() : KIconDialog() {}; TDEIconDialogJBridge() : TDEIconDialog() {};
KIconDialogJBridge(KIconLoader* arg1,TQWidget* arg2,const char* arg3) : KIconDialog(arg1,arg2,arg3) {}; TDEIconDialogJBridge(TDEIconLoader* arg1,TQWidget* arg2,const char* arg3) : TDEIconDialog(arg1,arg2,arg3) {};
KIconDialogJBridge(KIconLoader* arg1,TQWidget* arg2) : KIconDialog(arg1,arg2) {}; TDEIconDialogJBridge(TDEIconLoader* arg1,TQWidget* arg2) : TDEIconDialog(arg1,arg2) {};
KIconDialogJBridge(KIconLoader* arg1) : KIconDialog(arg1) {}; TDEIconDialogJBridge(TDEIconLoader* arg1) : TDEIconDialog(arg1) {};
void protected_slotOk() { void protected_slotOk() {
KIconDialog::slotOk(); TDEIconDialog::slotOk();
return; return;
} }
~KIconDialogJBridge() {QtSupport::qtKeyDeleted(this);} ~TDEIconDialogJBridge() {QtSupport::qtKeyDeleted(this);}
void dragLeaveEvent(TQDragLeaveEvent* arg1) { void dragLeaveEvent(TQDragLeaveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
TQWidget::dragLeaveEvent(arg1); TQWidget::dragLeaveEvent(arg1);
@ -28,7 +28,7 @@ public:
return; return;
} }
void slotDetails() { void slotDetails() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotDetails")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotDetails")) {
KDialogBase::slotDetails(); KDialogBase::slotDetails();
} }
return; return;
@ -58,25 +58,25 @@ public:
return; return;
} }
void accept() { void accept() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","accept")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","accept")) {
TQDialog::accept(); TQDialog::accept();
} }
return; return;
} }
void slotHelp() { void slotHelp() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotHelp")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotHelp")) {
KDialogBase::slotHelp(); KDialogBase::slotHelp();
} }
return; return;
} }
void slotNo() { void slotNo() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotNo")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotNo")) {
KDialogBase::slotNo(); KDialogBase::slotNo();
} }
return; return;
} }
void setActiveWindow() { void setActiveWindow() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","setActiveWindow")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","setActiveWindow")) {
TQWidget::setActiveWindow(); TQWidget::setActiveWindow();
} }
return; return;
@ -94,7 +94,7 @@ public:
return; return;
} }
void setFocus() { void setFocus() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","setFocus")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","setFocus")) {
TQWidget::setFocus(); TQWidget::setFocus();
} }
return; return;
@ -112,7 +112,7 @@ public:
return; return;
} }
void slotDefault() { void slotDefault() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotDefault")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotDefault")) {
KDialogBase::slotDefault(); KDialogBase::slotDefault();
} }
return; return;
@ -136,7 +136,7 @@ public:
return; return;
} }
void slotUser3() { void slotUser3() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotUser3")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser3")) {
KDialogBase::slotUser3(); KDialogBase::slotUser3();
} }
return; return;
@ -154,7 +154,7 @@ public:
return; return;
} }
void unsetCursor() { void unsetCursor() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","unsetCursor")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","unsetCursor")) {
TQWidget::unsetCursor(); TQWidget::unsetCursor();
} }
return; return;
@ -172,13 +172,13 @@ public:
return; return;
} }
void polish() { void polish() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","polish")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","polish")) {
KDialog::polish(); KDialog::polish();
} }
return; return;
} }
void showMaximized() { void showMaximized() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","showMaximized")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showMaximized")) {
TQWidget::showMaximized(); TQWidget::showMaximized();
} }
return; return;
@ -229,19 +229,19 @@ public:
return; return;
} }
void slotApply() { void slotApply() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotApply")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotApply")) {
KDialogBase::slotApply(); KDialogBase::slotApply();
} }
return; return;
} }
void slotClose() { void slotClose() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotClose")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotClose")) {
KDialogBase::slotClose(); KDialogBase::slotClose();
} }
return; return;
} }
void slotCancel() { void slotCancel() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotCancel")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotCancel")) {
KDialogBase::slotCancel(); KDialogBase::slotCancel();
} }
return; return;
@ -295,13 +295,13 @@ public:
return; return;
} }
void updateMask() { void updateMask() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","updateMask")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","updateMask")) {
TQWidget::updateMask(); TQWidget::updateMask();
} }
return; return;
} }
void showNormal() { void showNormal() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","showNormal")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showNormal")) {
TQWidget::showNormal(); TQWidget::showNormal();
} }
return; return;
@ -343,7 +343,7 @@ public:
return; return;
} }
void adjustSize() { void adjustSize() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","adjustSize")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","adjustSize")) {
KDialogBase::adjustSize(); KDialogBase::adjustSize();
} }
return; return;
@ -355,7 +355,7 @@ public:
return; return;
} }
void slotUser1() { void slotUser1() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotUser1")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser1")) {
KDialogBase::slotUser1(); KDialogBase::slotUser1();
} }
return; return;
@ -379,13 +379,13 @@ public:
return; return;
} }
void reject() { void reject() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","reject")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","reject")) {
TQDialog::reject(); TQDialog::reject();
} }
return; return;
} }
void slotTry() { void slotTry() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotTry")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotTry")) {
KDialogBase::slotTry(); KDialogBase::slotTry();
} }
return; return;
@ -409,19 +409,19 @@ public:
return; return;
} }
void slotYes() { void slotYes() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotYes")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotYes")) {
KDialogBase::slotYes(); KDialogBase::slotYes();
} }
return; return;
} }
void slotUser2() { void slotUser2() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","slotUser2")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser2")) {
KDialogBase::slotUser2(); KDialogBase::slotUser2();
} }
return; return;
} }
void showMinimized() { void showMinimized() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KIconDialog","showMinimized")) { if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showMinimized")) {
TQWidget::showMinimized(); TQWidget::showMinimized();
} }
return; return;
@ -429,275 +429,275 @@ public:
}; };
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconDialog_className(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconDialog_className(JNIEnv* env, jobject obj)
{ {
const char* _qstring; const char* _qstring;
_qstring = ((KIconDialog*) QtSupport::getQt(env, obj))->className(); _qstring = ((TDEIconDialog*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring); return QtSupport::fromCharString(env, (char *) _qstring);
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_dispose(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconDialog_dispose(JNIEnv* env, jobject obj)
{ {
Java_org_kde_koala_KIconDialog_finalize(env, obj); Java_org_kde_koala_TDEIconDialog_finalize(env, obj);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_finalize(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconDialog_finalize(JNIEnv* env, jobject obj)
{ {
if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KIconDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
delete (KIconDialog*)QtSupport::getQt(env, obj); delete (TDEIconDialog*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0); QtSupport::setQt(env, obj, 0);
} }
return; return;
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconDialog_getIcon__(JNIEnv* env, jclass cls) Java_org_kde_koala_TDEIconDialog_getIcon__(JNIEnv* env, jclass cls)
{ {
TQString _qstring; TQString _qstring;
(void) cls; (void) cls;
_qstring = KIconDialogJBridge::getIcon(); _qstring = TDEIconDialogJBridge::getIcon();
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconDialog_getIcon__I(JNIEnv* env, jclass cls, jint group) Java_org_kde_koala_TDEIconDialog_getIcon__I(JNIEnv* env, jclass cls, jint group)
{ {
TQString _qstring; TQString _qstring;
(void) cls; (void) cls;
_qstring = KIconDialogJBridge::getIcon((KIcon::Group) group); _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group);
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconDialog_getIcon__II(JNIEnv* env, jclass cls, jint group, jint context) Java_org_kde_koala_TDEIconDialog_getIcon__II(JNIEnv* env, jclass cls, jint group, jint context)
{ {
TQString _qstring; TQString _qstring;
(void) cls; (void) cls;
_qstring = KIconDialogJBridge::getIcon((KIcon::Group) group, (KIcon::Context) context); _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context);
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconDialog_getIcon__IIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize) Java_org_kde_koala_TDEIconDialog_getIcon__IIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize)
{ {
TQString _qstring; TQString _qstring;
(void) cls; (void) cls;
_qstring = KIconDialogJBridge::getIcon((KIcon::Group) group, (KIcon::Context) context, (bool) strictIconSize); _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize);
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconDialog_getIcon__IIZI(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize) Java_org_kde_koala_TDEIconDialog_getIcon__IIZI(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize)
{ {
TQString _qstring; TQString _qstring;
(void) cls; (void) cls;
_qstring = KIconDialogJBridge::getIcon((KIcon::Group) group, (KIcon::Context) context, (bool) strictIconSize, (int) iconSize); _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize);
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconDialog_getIcon__IIZIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user) Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user)
{ {
TQString _qstring; TQString _qstring;
(void) cls; (void) cls;
_qstring = KIconDialogJBridge::getIcon((KIcon::Group) group, (KIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user); _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user);
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jobject parent) 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; TQString _qstring;
(void) cls; (void) cls;
_qstring = KIconDialogJBridge::getIcon((KIcon::Group) group, (KIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (TQWidget*) QtSupport::getQt(env, parent)); _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); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconDialog_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) 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; TQString _qstring;
(void) cls; (void) cls;
static TQString* _qstring_caption = 0; static TQString* _qstring_caption = 0;
_qstring = KIconDialogJBridge::getIcon((KIcon::Group) group, (KIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); _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); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jint JNICALL JNIEXPORT jint JNICALL
Java_org_kde_koala_KIconDialog_iconSize(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconDialog_iconSize(JNIEnv* env, jobject obj)
{ {
jint xret = (jint) ((KIconDialog*) QtSupport::getQt(env, obj))->iconSize(); jint xret = (jint) ((TDEIconDialog*) QtSupport::getQt(env, obj))->iconSize();
return xret; return xret;
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIconDialog_isDisposed(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconDialog_isDisposed(JNIEnv* env, jobject obj)
{ {
return (QtSupport::getQt(env, obj) == 0); return (QtSupport::getQt(env, obj) == 0);
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconDialog_metaObject(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconDialog_metaObject(JNIEnv* env, jobject obj)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)((KIconDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret; return xret;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_newKIconDialog__(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__(JNIEnv* env, jobject obj)
{ {
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconDialogJBridge()); QtSupport::setQt(env, obj, new TDEIconDialogJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_newKIconDialog__Lorg_kde_koala_KIconLoader_2(JNIEnv* env, jobject obj, jobject loader) Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2(JNIEnv* env, jobject obj, jobject loader)
{ {
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconDialogJBridge((KIconLoader*) QtSupport::getQt(env, loader))); QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_newKIconDialog__Lorg_kde_koala_KIconLoader_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject loader, jobject parent) 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) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconDialogJBridge((KIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_newKIconDialog__Lorg_kde_koala_KIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject loader, jobject parent, jstring name) 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; static TQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconDialogJBridge((KIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); 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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_newKIconDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent)
{ {
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TQWidget*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_newKIconDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) 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; static TQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); 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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconDialog_openDialog(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconDialog_openDialog(JNIEnv* env, jobject obj)
{ {
TQString _qstring; TQString _qstring;
_qstring = ((KIconDialog*) QtSupport::getQt(env, obj))->openDialog(); _qstring = ((TDEIconDialog*) QtSupport::getQt(env, obj))->openDialog();
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_setCustomLocation(JNIEnv* env, jobject obj, jstring location) Java_org_kde_koala_TDEIconDialog_setCustomLocation(JNIEnv* env, jobject obj, jstring location)
{ {
static TQString* _qstring_location = 0; static TQString* _qstring_location = 0;
((KIconDialog*) QtSupport::getQt(env, obj))->setCustomLocation((const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location)); ((TDEIconDialog*) QtSupport::getQt(env, obj))->setCustomLocation((const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location));
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_setIconSize(JNIEnv* env, jobject obj, jint size) Java_org_kde_koala_TDEIconDialog_setIconSize(JNIEnv* env, jobject obj, jint size)
{ {
((KIconDialog*) QtSupport::getQt(env, obj))->setIconSize((int) size); ((TDEIconDialog*) QtSupport::getQt(env, obj))->setIconSize((int) size);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b) Java_org_kde_koala_TDEIconDialog_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b)
{ {
((KIconDialog*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b); ((TDEIconDialog*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_setup__I(JNIEnv* env, jobject obj, jint group) Java_org_kde_koala_TDEIconDialog_setup__I(JNIEnv* env, jobject obj, jint group)
{ {
((KIconDialog*) QtSupport::getQt(env, obj))->setup((KIcon::Group) group); ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_setup__II(JNIEnv* env, jobject obj, jint group, jint context) Java_org_kde_koala_TDEIconDialog_setup__II(JNIEnv* env, jobject obj, jint group, jint context)
{ {
((KIconDialog*) QtSupport::getQt(env, obj))->setup((KIcon::Group) group, (KIcon::Context) context); ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_setup__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize) Java_org_kde_koala_TDEIconDialog_setup__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize)
{ {
((KIconDialog*) QtSupport::getQt(env, obj))->setup((KIcon::Group) group, (KIcon::Context) context, (bool) strictIconSize); ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_setup__IIZI(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize) Java_org_kde_koala_TDEIconDialog_setup__IIZI(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize)
{ {
((KIconDialog*) QtSupport::getQt(env, obj))->setup((KIcon::Group) group, (KIcon::Context) context, (bool) strictIconSize, (int) iconSize); ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_setup__IIZIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user) Java_org_kde_koala_TDEIconDialog_setup__IIZIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user)
{ {
((KIconDialog*) QtSupport::getQt(env, obj))->setup((KIcon::Group) group, (KIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user); ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_setup__IIZIZZZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jboolean lockUser, jboolean lockCustomDir) 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)
{ {
((KIconDialog*) QtSupport::getQt(env, obj))->setup((KIcon::Group) group, (KIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (bool) lockUser, (bool) lockCustomDir); ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (bool) lockUser, (bool) lockCustomDir);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_showDialog(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconDialog_showDialog(JNIEnv* env, jobject obj)
{ {
((KIconDialog*) QtSupport::getQt(env, obj))->showDialog(); ((TDEIconDialog*) QtSupport::getQt(env, obj))->showDialog();
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconDialog_slotOk(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconDialog_slotOk(JNIEnv* env, jobject obj)
{ {
((KIconDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); ((TDEIconDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk();
return; return;
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIconDialog_strictIconSize(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconDialog_strictIconSize(JNIEnv* env, jobject obj)
{ {
jboolean xret = (jboolean) ((KIconDialog*) QtSupport::getQt(env, obj))->strictIconSize(); jboolean xret = (jboolean) ((TDEIconDialog*) QtSupport::getQt(env, obj))->strictIconSize();
return xret; return xret;
} }

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */ /* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KIconDialog__ #ifndef __org_kde_koala_TDEIconDialog__
#define __org_kde_koala_KIconDialog__ #define __org_kde_koala_TDEIconDialog__
#include <jni.h> #include <jni.h>
@ -10,42 +10,42 @@ extern "C"
{ {
#endif #endif
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconDialog_metaObject (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconDialog_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconDialog_className (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_className (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_newKIconDialog__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_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_newKIconDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); 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_KIconDialog_newKIconDialog__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__ (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_newKIconDialog__Lorg_kde_koala_KIconLoader_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_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_newKIconDialog__Lorg_kde_koala_KIconLoader_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); 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_KIconDialog_newKIconDialog__Lorg_kde_koala_KIconLoader_2 (JNIEnv *env, 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_KIconDialog_setStrictIconSize (JNIEnv *env, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setStrictIconSize (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconDialog_strictIconSize (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconDialog_strictIconSize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_setCustomLocation (JNIEnv *env, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setCustomLocation (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_setIconSize (JNIEnv *env, jobject, jint); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setIconSize (JNIEnv *env, jobject, jint);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIconDialog_iconSize (JNIEnv *env, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconDialog_iconSize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_setup__IIZIZ (JNIEnv *env, jobject, jint, jint, jboolean, jint, jboolean); 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_KIconDialog_setup__IIZI (JNIEnv *env, jobject, jint, jint, jboolean, jint); 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_KIconDialog_setup__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); 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_KIconDialog_setup__II (JNIEnv *env, jobject, jint, jint); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__II (JNIEnv *env, jobject, jint, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_setup__I (JNIEnv *env, jobject, jint); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__I (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_setup__IIZIZZZ (JNIEnv *env, jobject, jint, jint, jboolean, jint, jboolean, jboolean, jboolean); 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_KIconDialog_openDialog (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_openDialog (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_showDialog (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_showDialog (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconDialog_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_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconDialog_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__IIZIZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconDialog_getIcon__IIZIZ (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean); 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_KIconDialog_getIcon__IIZI (JNIEnv *env, jclass, jint, jint, jboolean, jint); 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_KIconDialog_getIcon__IIZ (JNIEnv *env, jclass, jint, jint, jboolean); 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_KIconDialog_getIcon__II (JNIEnv *env, jclass, jint, jint); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__II (JNIEnv *env, jclass, jint, jint);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconDialog_getIcon__I (JNIEnv *env, jclass, jint); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__I (JNIEnv *env, jclass, jint);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconDialog_getIcon__ (JNIEnv *env, jclass); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__ (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_slotOk (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_slotOk (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_finalize (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconDialog_dispose (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconDialog_isDisposed (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconDialog_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __org_kde_koala_KIconDialog__ */ #endif /* __org_kde_koala_TDEIconDialog__ */

@ -8,188 +8,188 @@
#include <qtjava/QtSupport.h> #include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h> #include <kdejava/KDESupport.h>
#include <kdejava/KIconEffect.h> #include <kdejava/TDEIconEffect.h>
class KIconEffectJBridge : public KIconEffect class TDEIconEffectJBridge : public TDEIconEffect
{ {
public: public:
KIconEffectJBridge() : KIconEffect() {}; TDEIconEffectJBridge() : TDEIconEffect() {};
~KIconEffectJBridge() {QtSupport::qtKeyDeleted(this);} ~TDEIconEffectJBridge() {QtSupport::qtKeyDeleted(this);}
}; };
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconEffect_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) 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(((KIconEffect*) 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); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jboolean trans) 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(((KIconEffect*) 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); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconEffect_apply__Lorg_kde_qt_QImage_2II(JNIEnv* env, jobject obj, jobject src, jint group, jint state) 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(((KIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) group, (int) state)), "org.kde.qt.TQImage", TRUE); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconEffect_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) 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(((KIconEffect*) 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); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jboolean trans) 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(((KIconEffect*) 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); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconEffect_apply__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject src, jint group, jint state) 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(((KIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) group, (int) state)), "org.kde.qt.TQPixmap", TRUE); 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; return xret;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_colorize(JNIEnv* env, jclass cls, jobject image, jobject col, jfloat value) Java_org_kde_koala_TDEIconEffect_colorize(JNIEnv* env, jclass cls, jobject image, jobject col, jfloat value)
{ {
(void) cls; (void) cls;
KIconEffectJBridge::colorize((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (float) value); TDEIconEffectJBridge::colorize((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (float) value);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_deSaturate(JNIEnv* env, jclass cls, jobject image, jfloat value) Java_org_kde_koala_TDEIconEffect_deSaturate(JNIEnv* env, jclass cls, jobject image, jfloat value)
{ {
(void) cls; (void) cls;
KIconEffectJBridge::deSaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); TDEIconEffectJBridge::deSaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_dispose(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconEffect_dispose(JNIEnv* env, jobject obj)
{ {
Java_org_kde_koala_KIconEffect_finalize(env, obj); Java_org_kde_koala_TDEIconEffect_finalize(env, obj);
return; return;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconEffect_doublePixels(JNIEnv* env, jobject obj, jobject src) Java_org_kde_koala_TDEIconEffect_doublePixels(JNIEnv* env, jobject obj, jobject src)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((KIconEffect*) QtSupport::getQt(env, obj))->doublePixels((TQImage)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); 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; return xret;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_finalize(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconEffect_finalize(JNIEnv* env, jobject obj)
{ {
if (QtSupport::allocatedInJavaWorld(env, obj)) { if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (KIconEffect*)QtSupport::getQt(env, obj); delete (TDEIconEffect*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0); QtSupport::setQt(env, obj, 0);
} }
return; return;
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconEffect_fingerprint(JNIEnv* env, jobject obj, jint group, jint state) Java_org_kde_koala_TDEIconEffect_fingerprint(JNIEnv* env, jobject obj, jint group, jint state)
{ {
TQString _qstring; TQString _qstring;
_qstring = ((KIconEffect*) QtSupport::getQt(env, obj))->fingerprint((int) group, (int) state); _qstring = ((TDEIconEffect*) QtSupport::getQt(env, obj))->fingerprint((int) group, (int) state);
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIconEffect_hasEffect(JNIEnv* env, jobject obj, jint group, jint state) Java_org_kde_koala_TDEIconEffect_hasEffect(JNIEnv* env, jobject obj, jint group, jint state)
{ {
jboolean xret = (jboolean) ((KIconEffect*) QtSupport::getQt(env, obj))->hasEffect((int) group, (int) state); jboolean xret = (jboolean) ((TDEIconEffect*) QtSupport::getQt(env, obj))->hasEffect((int) group, (int) state);
return xret; return xret;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_init(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconEffect_init(JNIEnv* env, jobject obj)
{ {
((KIconEffect*) QtSupport::getQt(env, obj))->init(); ((TDEIconEffect*) QtSupport::getQt(env, obj))->init();
return; return;
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIconEffect_isDisposed(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconEffect_isDisposed(JNIEnv* env, jobject obj)
{ {
return (QtSupport::getQt(env, obj) == 0); return (QtSupport::getQt(env, obj) == 0);
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_newKIconEffect(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconEffect_newTDEIconEffect(JNIEnv* env, jobject obj)
{ {
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconEffectJBridge()); QtSupport::setQt(env, obj, new TDEIconEffectJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_overlay(JNIEnv* env, jclass cls, jobject src, jobject overlay) Java_org_kde_koala_TDEIconEffect_overlay(JNIEnv* env, jclass cls, jobject src, jobject overlay)
{ {
(void) cls; (void) cls;
KIconEffectJBridge::overlay((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (TQImage&)*(TQImage*) QtSupport::getQt(env, overlay)); TDEIconEffectJBridge::overlay((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (TQImage&)*(TQImage*) QtSupport::getQt(env, overlay));
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_semiTransparent__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image)
{ {
(void) cls; (void) cls;
KIconEffectJBridge::semiTransparent((TQImage&)*(TQImage*) QtSupport::getQt(env, image)); TDEIconEffectJBridge::semiTransparent((TQImage&)*(TQImage*) QtSupport::getQt(env, image));
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_semiTransparent__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject pixmap) Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject pixmap)
{ {
(void) cls; (void) cls;
KIconEffectJBridge::semiTransparent((TQPixmap&)*(TQPixmap*) QtSupport::getQt(env, pixmap)); TDEIconEffectJBridge::semiTransparent((TQPixmap&)*(TQPixmap*) QtSupport::getQt(env, pixmap));
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_toGamma(JNIEnv* env, jclass cls, jobject image, jfloat value) Java_org_kde_koala_TDEIconEffect_toGamma(JNIEnv* env, jclass cls, jobject image, jfloat value)
{ {
(void) cls; (void) cls;
KIconEffectJBridge::toGamma((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); TDEIconEffectJBridge::toGamma((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_toGray(JNIEnv* env, jclass cls, jobject image, jfloat value) Java_org_kde_koala_TDEIconEffect_toGray(JNIEnv* env, jclass cls, jobject image, jfloat value)
{ {
(void) cls; (void) cls;
KIconEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); TDEIconEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_toMonochrome(JNIEnv* env, jclass cls, jobject image, jobject black, jobject white, jfloat value) Java_org_kde_koala_TDEIconEffect_toMonochrome(JNIEnv* env, jclass cls, jobject image, jobject black, jobject white, jfloat value)
{ {
(void) cls; (void) cls;
KIconEffectJBridge::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); 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; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconEffect_visualActivate(JNIEnv* env, jclass cls, jobject widget, jobject rect) Java_org_kde_koala_TDEIconEffect_visualActivate(JNIEnv* env, jclass cls, jobject widget, jobject rect)
{ {
(void) cls; (void) cls;
KIconEffectJBridge::visualActivate((TQWidget*) QtSupport::getQt(env, widget), (TQRect)*(TQRect*) QtSupport::getQt(env, rect)); TDEIconEffectJBridge::visualActivate((TQWidget*) QtSupport::getQt(env, widget), (TQRect)*(TQRect*) QtSupport::getQt(env, rect));
return; return;
} }

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */ /* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KIconEffect__ #ifndef __org_kde_koala_TDEIconEffect__
#define __org_kde_koala_KIconEffect__ #define __org_kde_koala_TDEIconEffect__
#include <jni.h> #include <jni.h>
@ -10,32 +10,32 @@ extern "C"
{ {
#endif #endif
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconEffect_newKIconEffect (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_newTDEIconEffect (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconEffect_init (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_init (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconEffect_hasEffect (JNIEnv *env, jobject, jint, jint); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconEffect_hasEffect (JNIEnv *env, jobject, jint, jint);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconEffect_fingerprint (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_KIconEffect_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_2II (JNIEnv *env, jobject, jobject, jint, jint);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconEffect_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_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconEffect_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_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_KIconEffect_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_2II (JNIEnv *env, jobject, jobject, jint, jint);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconEffect_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_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconEffect_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_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_KIconEffect_doublePixels (JNIEnv *env, jobject, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_doublePixels (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconEffect_visualActivate (JNIEnv *env, jclass, 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_KIconEffect_toGray (JNIEnv *env, jclass, jobject, jfloat); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toGray (JNIEnv *env, jclass, jobject, jfloat);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconEffect_colorize (JNIEnv *env, jclass, jobject, 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_KIconEffect_toMonochrome (JNIEnv *env, jclass, jobject, 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_KIconEffect_deSaturate (JNIEnv *env, jclass, 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_KIconEffect_toGamma (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_KIconEffect_semiTransparent__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); 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_KIconEffect_semiTransparent__Lorg_kde_qt_QPixmap_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_KIconEffect_overlay (JNIEnv *env, jclass, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_overlay (JNIEnv *env, jclass, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconEffect_finalize (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconEffect_dispose (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconEffect_isDisposed (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconEffect_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __org_kde_koala_KIconEffect__ */ #endif /* __org_kde_koala_TDEIconEffect__ */

@ -9,322 +9,322 @@
#include <qtjava/QtSupport.h> #include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h> #include <kdejava/KDESupport.h>
#include <kdejava/KIconLoader.h> #include <kdejava/TDEIconLoader.h>
class KIconLoaderJBridge : public KIconLoader class TDEIconLoaderJBridge : public TDEIconLoader
{ {
public: public:
KIconLoaderJBridge(const TQString& arg1,TDEStandardDirs* arg2) : KIconLoader(arg1,arg2) {}; TDEIconLoaderJBridge(const TQString& arg1,TDEStandardDirs* arg2) : TDEIconLoader(arg1,arg2) {};
KIconLoaderJBridge(const TQString& arg1) : KIconLoader(arg1) {}; TDEIconLoaderJBridge(const TQString& arg1) : TDEIconLoader(arg1) {};
KIconLoaderJBridge() : KIconLoader() {}; TDEIconLoaderJBridge() : TDEIconLoader() {};
~KIconLoaderJBridge() {QtSupport::qtKeyDeleted(this);} ~TDEIconLoaderJBridge() {QtSupport::qtKeyDeleted(this);}
}; };
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconLoader_addAppDir(JNIEnv* env, jobject obj, jstring appname) Java_org_kde_koala_TDEIconLoader_addAppDir(JNIEnv* env, jobject obj, jstring appname)
{ {
static TQString* _qstring_appname = 0; static TQString* _qstring_appname = 0;
((KIconLoader*) QtSupport::getQt(env, obj))->addAppDir((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); ((TDEIconLoader*) QtSupport::getQt(env, obj))->addAppDir((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname));
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconLoader_addExtraDesktopThemes(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconLoader_addExtraDesktopThemes(JNIEnv* env, jobject obj)
{ {
((KIconLoader*) QtSupport::getQt(env, obj))->addExtraDesktopThemes(); ((TDEIconLoader*) QtSupport::getQt(env, obj))->addExtraDesktopThemes();
return; return;
} }
JNIEXPORT jint JNICALL JNIEXPORT jint JNICALL
Java_org_kde_koala_KIconLoader_currentSize(JNIEnv* env, jobject obj, jint group) Java_org_kde_koala_TDEIconLoader_currentSize(JNIEnv* env, jobject obj, jint group)
{ {
jint xret = (jint) ((KIconLoader*) QtSupport::getQt(env, obj))->currentSize((KIcon::Group) group); jint xret = (jint) ((TDEIconLoader*) QtSupport::getQt(env, obj))->currentSize((TDEIcon::Group) group);
return xret; return xret;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconLoader_dispose(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconLoader_dispose(JNIEnv* env, jobject obj)
{ {
Java_org_kde_koala_KIconLoader_finalize(env, obj); Java_org_kde_koala_TDEIconLoader_finalize(env, obj);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconLoader_enableDelayedIconSetLoading(JNIEnv* env, jobject obj, jboolean enable) Java_org_kde_koala_TDEIconLoader_enableDelayedIconSetLoading(JNIEnv* env, jobject obj, jboolean enable)
{ {
((KIconLoader*) QtSupport::getQt(env, obj))->enableDelayedIconSetLoading((bool) enable); ((TDEIconLoader*) QtSupport::getQt(env, obj))->enableDelayedIconSetLoading((bool) enable);
return; return;
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIconLoader_extraDesktopThemesAdded(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconLoader_extraDesktopThemesAdded(JNIEnv* env, jobject obj)
{ {
jboolean xret = (jboolean) ((KIconLoader*) QtSupport::getQt(env, obj))->extraDesktopThemesAdded(); jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->extraDesktopThemesAdded();
return xret; return xret;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconLoader_finalize(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconLoader_finalize(JNIEnv* env, jobject obj)
{ {
if (QtSupport::allocatedInJavaWorld(env, obj)) { if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (KIconLoader*)QtSupport::getQt(env, obj); delete (TDEIconLoader*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0); QtSupport::setQt(env, obj, 0);
} }
return; return;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_iconEffect(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconLoader_iconEffect(JNIEnv* env, jobject obj)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)((KIconLoader*) QtSupport::getQt(env, obj))->iconEffect(), "org.kde.koala.KIconEffect"); jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconLoader*) QtSupport::getQt(env, obj))->iconEffect(), "org.kde.koala.TDEIconEffect");
return xret; return xret;
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconLoader_iconPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group_or_size) Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group_or_size)
{ {
TQString _qstring; TQString _qstring;
static TQString* _qstring_name = 0; static TQString* _qstring_name = 0;
_qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size); _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); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconLoader_iconPath__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring name, jint group_or_size, jboolean canReturnNull) Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring name, jint group_or_size, jboolean canReturnNull)
{ {
TQString _qstring; TQString _qstring;
static TQString* _qstring_name = 0; static TQString* _qstring_name = 0;
_qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size, (bool) canReturnNull); _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); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIconLoader_isDelayedIconSetLoadingEnabled(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconLoader_isDelayedIconSetLoadingEnabled(JNIEnv* env, jobject obj)
{ {
jboolean xret = (jboolean) ((KIconLoader*) QtSupport::getQt(env, obj))->isDelayedIconSetLoadingEnabled(); jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->isDelayedIconSetLoadingEnabled();
return xret; return xret;
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIconLoader_isDisposed(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconLoader_isDisposed(JNIEnv* env, jobject obj)
{ {
return (QtSupport::getQt(env, obj) == 0); return (QtSupport::getQt(env, obj) == 0);
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadAnimated__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group)
{ {
TQStringList _qlist; TQStringList _qlist;
static TQString* _qstring_name = 0; static TQString* _qstring_name = 0;
_qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group); _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); return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadAnimated__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size)
{ {
TQStringList _qlist; TQStringList _qlist;
static TQString* _qstring_name = 0; static TQString* _qstring_name = 0;
_qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size); _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); return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadIconSet__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group)
{ {
static TQString* _qstring_name = 0; static TQString* _qstring_name = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadIconSet__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) 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; static TQString* _qstring_name = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadIconSet__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull) 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; static TQString* _qstring_name = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (bool) canReturnNull)), "org.kde.qt.TQIconSet", TRUE); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadIconSet__Ljava_lang_String_2IIZZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull, jboolean immediateExistenceCheck) 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; static TQString* _qstring_name = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (bool) canReturnNull, (bool) immediateExistenceCheck)), "org.kde.qt.TQIconSet", TRUE); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group)
{ {
static TQString* _qstring_name = 0; static TQString* _qstring_name = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadIcon__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) 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; static TQString* _qstring_name = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size)), "org.kde.qt.TQPixmap", TRUE); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadIcon__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state) 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; static TQString* _qstring_name = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store) 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_name = 0;
static TQString* _qstring_path_store = 0; static TQString* _qstring_path_store = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store))), "org.kde.qt.TQPixmap", TRUE); 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); QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_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) 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_name = 0;
static TQString* _qstring_path_store = 0; static TQString* _qstring_path_store = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store), (bool) canReturnNull)), "org.kde.qt.TQPixmap", TRUE); 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); QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group)
{ {
static TQString* _qstring_name = 0; static TQString* _qstring_name = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((KIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group)), "org.kde.qt.TQMovie", TRUE); 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; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_loadMovie__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) 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; static TQString* _qstring_name = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((KIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size)), "org.kde.qt.TQMovie", TRUE); 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; return xret;
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconLoader_moviePath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group)
{ {
TQString _qstring; TQString _qstring;
static TQString* _qstring_name = 0; static TQString* _qstring_name = 0;
_qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group); _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group);
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIconLoader_moviePath__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size)
{ {
TQString _qstring; TQString _qstring;
static TQString* _qstring_name = 0; static TQString* _qstring_name = 0;
_qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size); _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); return QtSupport::fromTQString(env, &_qstring);
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconLoader_newKIconLoader__(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__(JNIEnv* env, jobject obj)
{ {
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconLoaderJBridge()); QtSupport::setQt(env, obj, new TDEIconLoaderJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appname) Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appname)
{ {
static TQString* _qstring_appname = 0; static TQString* _qstring_appname = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname))); QtSupport::setQt(env, obj, new TDEIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2(JNIEnv* env, jobject obj, jstring appname, jobject dirs) 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; static TQString* _qstring_appname = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (TDEStandardDirs*) QtSupport::getQt(env, dirs))); 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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_queryIconsByContext__I(JNIEnv* env, jobject obj, jint group_or_size) Java_org_kde_koala_TDEIconLoader_queryIconsByContext__I(JNIEnv* env, jobject obj, jint group_or_size)
{ {
TQStringList _qlist; TQStringList _qlist;
_qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size); _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size);
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_queryIconsByContext__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) Java_org_kde_koala_TDEIconLoader_queryIconsByContext__II(JNIEnv* env, jobject obj, jint group_or_size, jint context)
{ {
TQStringList _qlist; TQStringList _qlist;
_qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size, (KIcon::Context) context); _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size, (TDEIcon::Context) context);
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_queryIconsByDir(JNIEnv* env, jobject obj, jstring iconsDir) Java_org_kde_koala_TDEIconLoader_queryIconsByDir(JNIEnv* env, jobject obj, jstring iconsDir)
{ {
TQStringList _qlist; TQStringList _qlist;
static TQString* _qstring_iconsDir = 0; static TQString* _qstring_iconsDir = 0;
_qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIconsByDir((const TQString&)*(TQString*) QtSupport::toTQString(env, iconsDir, &_qstring_iconsDir)); _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByDir((const TQString&)*(TQString*) QtSupport::toTQString(env, iconsDir, &_qstring_iconsDir));
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_queryIcons__I(JNIEnv* env, jobject obj, jint group_or_size) Java_org_kde_koala_TDEIconLoader_queryIcons__I(JNIEnv* env, jobject obj, jint group_or_size)
{ {
TQStringList _qlist; TQStringList _qlist;
_qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size); _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size);
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_queryIcons__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) Java_org_kde_koala_TDEIconLoader_queryIcons__II(JNIEnv* env, jobject obj, jint group_or_size, jint context)
{ {
TQStringList _qlist; TQStringList _qlist;
_qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size, (KIcon::Context) context); _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size, (TDEIcon::Context) context);
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconLoader_reconfigure(JNIEnv* env, jobject obj, jstring _appname, jobject _dirs) Java_org_kde_koala_TDEIconLoader_reconfigure(JNIEnv* env, jobject obj, jstring _appname, jobject _dirs)
{ {
static TQString* _qstring__appname = 0; static TQString* _qstring__appname = 0;
((KIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TQString&)*(TQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (TDEStandardDirs*) QtSupport::getQt(env, _dirs)); ((TDEIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TQString&)*(TQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (TDEStandardDirs*) QtSupport::getQt(env, _dirs));
return; return;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconLoader_unknown(JNIEnv* env, jclass cls) Java_org_kde_koala_TDEIconLoader_unknown(JNIEnv* env, jclass cls)
{ {
(void) cls; (void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KIconLoaderJBridge::unknown()), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TDEIconLoaderJBridge::unknown()), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */ /* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KIconLoader__ #ifndef __org_kde_koala_TDEIconLoader__
#define __org_kde_koala_KIconLoader__ #define __org_kde_koala_TDEIconLoader__
#include <jni.h> #include <jni.h>
@ -10,46 +10,46 @@ extern "C"
{ {
#endif #endif
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_newKIconLoader__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_2Lorg_kde_koala_TDEStandardDirs_2 (JNIEnv *env, jobject, jstring, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); 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_KIconLoader_newKIconLoader__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__ (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_addAppDir (JNIEnv *env, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_addAppDir (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_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_2Z (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_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_2IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_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_2III (JNIEnv *env, jobject, jstring, jint, jint, jint);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadIcon__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, 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_KIconLoader_loadIcon__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, 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_KIconLoader_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_2IIZZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_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_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadIconSet__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); 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_KIconLoader_loadIconSet__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, 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_KIconLoader_iconPath__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); 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_KIconLoader_iconPath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); 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_KIconLoader_loadMovie__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, 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_KIconLoader_loadMovie__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, 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_KIconLoader_moviePath__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, 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_KIconLoader_moviePath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, 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_KIconLoader_loadAnimated__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, 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_KIconLoader_loadAnimated__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, 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_KIconLoader_queryIcons__II (JNIEnv *env, jobject, jint, 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_KIconLoader_queryIcons__I (JNIEnv *env, jobject, jint); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIcons__I (JNIEnv *env, jobject, jint);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_queryIconsByContext__II (JNIEnv *env, jobject, jint, 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_KIconLoader_queryIconsByContext__I (JNIEnv *env, jobject, jint); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByContext__I (JNIEnv *env, jobject, jint);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_queryIconsByDir (JNIEnv *env, jobject, jstring); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByDir (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIconLoader_currentSize (JNIEnv *env, jobject, jint); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconLoader_currentSize (JNIEnv *env, jobject, jint);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_iconEffect (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_iconEffect (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_reconfigure (JNIEnv *env, jobject, jstring, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_reconfigure (JNIEnv *env, jobject, jstring, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_addExtraDesktopThemes (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_addExtraDesktopThemes (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconLoader_extraDesktopThemesAdded (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_extraDesktopThemesAdded (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_enableDelayedIconSetLoading (JNIEnv *env, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_enableDelayedIconSetLoading (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconLoader_isDelayedIconSetLoadingEnabled (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_isDelayedIconSetLoadingEnabled (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_unknown (JNIEnv *env, jclass); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_unknown (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_finalize (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_dispose (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconLoader_isDisposed (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __org_kde_koala_KIconLoader__ */ #endif /* __org_kde_koala_TDEIconLoader__ */

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

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */ /* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KIconView__ #ifndef __org_kde_koala_TDEIconView__
#define __org_kde_koala_KIconView__ #define __org_kde_koala_TDEIconView__
#include <jni.h> #include <jni.h>
@ -10,41 +10,41 @@ extern "C"
{ {
#endif #endif
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconView_metaObject (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconView_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconView_className (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconView_className (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_newKIconView__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_2I (JNIEnv *env, jobject, jobject, jstring, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_newKIconView__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_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_newKIconView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); 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_KIconView_newKIconView__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__ (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_setMode (JNIEnv *env, jobject, jint); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setMode (JNIEnv *env, jobject, jint);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIconView_mode (JNIEnv *env, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconView_mode (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_setFont (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setFont (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_setIconTextHeight (JNIEnv *env, jobject, jint); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setIconTextHeight (JNIEnv *env, jobject, jint);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIconView_iconTextHeight (JNIEnv *env, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconView_iconTextHeight (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_takeItem (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_takeItem (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_emitExecute (JNIEnv *env, jobject, 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_KIconView_updateDragHoldItem (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_updateDragHoldItem (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_focusOutEvent (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_KIconView_leaveEvent (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_KIconView_contentsMousePressEvent (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_KIconView_contentsMouseDoubleClickEvent (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_KIconView_contentsMouseReleaseEvent (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_KIconView_contentsDragEnterEvent (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_KIconView_contentsDragLeaveEvent (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_KIconView_contentsDragMoveEvent (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_KIconView_contentsDropEvent (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_KIconView_wheelEvent (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_KIconView_cancelPendingHeldSignal (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_cancelPendingHeldSignal (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_slotOnItem (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotOnItem (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_slotOnViewport (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotOnViewport (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_slotSettingsChanged (JNIEnv *env, jobject, jint); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotSettingsChanged (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_slotAutoSelect (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotAutoSelect (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_finalize (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconView_dispose (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconView_isDisposed (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconView_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __org_kde_koala_KIconView__ */ #endif /* __org_kde_koala_TDEIconView__ */

@ -8,219 +8,219 @@
#include <qtjava/QtSupport.h> #include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h> #include <kdejava/KDESupport.h>
#include <kdejava/KIconViewItem.h> #include <kdejava/TDEIconViewItem.h>
class KIconViewItemJBridge : public KIconViewItem class TDEIconViewItemJBridge : public TDEIconViewItem
{ {
public: public:
KIconViewItemJBridge(TQIconView* arg1) : KIconViewItem(arg1) {}; TDEIconViewItemJBridge(TQIconView* arg1) : TDEIconViewItem(arg1) {};
KIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : KIconViewItem(arg1,arg2) {}; TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : TDEIconViewItem(arg1,arg2) {};
KIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : KIconViewItem(arg1,arg2) {}; TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : TDEIconViewItem(arg1,arg2) {};
KIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : KIconViewItem(arg1,arg2,arg3) {}; TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : TDEIconViewItem(arg1,arg2,arg3) {};
KIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : KIconViewItem(arg1,arg2,arg3) {}; TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : TDEIconViewItem(arg1,arg2,arg3) {};
KIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : KIconViewItem(arg1,arg2,arg3,arg4) {}; TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {};
KIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : KIconViewItem(arg1,arg2,arg3) {}; TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : TDEIconViewItem(arg1,arg2,arg3) {};
KIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : KIconViewItem(arg1,arg2,arg3,arg4) {}; TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {};
void protected_init() { void protected_init() {
KIconViewItem::init(); TDEIconViewItem::init();
return; return;
} }
void protected_calcRect(const TQString& arg1) { void protected_calcRect(const TQString& arg1) {
KIconViewItem::calcRect(arg1); TDEIconViewItem::calcRect(arg1);
return; return;
} }
void protected_calcRect() { void protected_calcRect() {
KIconViewItem::calcRect(); TDEIconViewItem::calcRect();
return; return;
} }
void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) { void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) {
KIconViewItem::paintItem(arg1,arg2); TDEIconViewItem::paintItem(arg1,arg2);
return; return;
} }
KWordWrap* protected_wordWrap() { KWordWrap* protected_wordWrap() {
return (KWordWrap*) KIconViewItem::wordWrap(); return (KWordWrap*) TDEIconViewItem::wordWrap();
} }
void protected_paintPixmap(TQPainter* arg1,const TQColorGroup& arg2) { void protected_paintPixmap(TQPainter* arg1,const TQColorGroup& arg2) {
KIconViewItem::paintPixmap(arg1,arg2); TDEIconViewItem::paintPixmap(arg1,arg2);
return; return;
} }
void protected_paintText(TQPainter* arg1,const TQColorGroup& arg2) { void protected_paintText(TQPainter* arg1,const TQColorGroup& arg2) {
KIconViewItem::paintText(arg1,arg2); TDEIconViewItem::paintText(arg1,arg2);
return; return;
} }
~KIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);} ~TDEIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);}
}; };
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_calcRect__(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconViewItem_calcRect__(JNIEnv* env, jobject obj)
{ {
((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect(); ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect();
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_calcRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text_) Java_org_kde_koala_TDEIconViewItem_calcRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text_)
{ {
static TQString* _qstring_text_ = 0; static TQString* _qstring_text_ = 0;
((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) QtSupport::toTQString(env, text_, &_qstring_text_)); ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) QtSupport::toTQString(env, text_, &_qstring_text_));
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_dispose(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconViewItem_dispose(JNIEnv* env, jobject obj)
{ {
Java_org_kde_koala_KIconViewItem_finalize(env, obj); Java_org_kde_koala_TDEIconViewItem_finalize(env, obj);
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_finalize(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconViewItem_finalize(JNIEnv* env, jobject obj)
{ {
if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconViewItem*)(KIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) { if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconViewItem*)(TDEIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) {
delete (KIconViewItem*)QtSupport::getQt(env, obj); delete (TDEIconViewItem*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0); QtSupport::setQt(env, obj, 0);
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_init(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconViewItem_init(JNIEnv* env, jobject obj)
{ {
((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_init(); ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_init();
return; return;
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIconViewItem_isDisposed(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconViewItem_isDisposed(JNIEnv* env, jobject obj)
{ {
return (QtSupport::getQt(env, obj) == 0); return (QtSupport::getQt(env, obj) == 0);
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2(JNIEnv* env, jobject obj, jobject parent) Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2(JNIEnv* env, jobject obj, jobject parent)
{ {
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent))); QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text) 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; static TQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); 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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject picture) 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; static TQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture))); 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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject icon) 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; static TQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon))); 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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) 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) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after))); QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text) 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; static TQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); 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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__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) 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; static TQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconViewItemJBridge((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::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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_newKIconViewItem__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) 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; static TQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconViewItemJBridge((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::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)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject c) Java_org_kde_koala_TDEIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject c)
{ {
((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c));
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_paintPixmap(JNIEnv* env, jobject obj, jobject p, jobject c) Java_org_kde_koala_TDEIconViewItem_paintPixmap(JNIEnv* env, jobject obj, jobject p, jobject c)
{ {
((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintPixmap((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintPixmap((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c));
return; return;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_paintText(JNIEnv* env, jobject obj, jobject p, jobject c) Java_org_kde_koala_TDEIconViewItem_paintText(JNIEnv* env, jobject obj, jobject p, jobject c)
{ {
((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintText((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintText((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c));
return; return;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconViewItem_pixmapSize(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconViewItem_pixmapSize(JNIEnv* env, jobject obj)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KIconViewItem*) QtSupport::getQt(env, obj))->pixmapSize()), "org.kde.qt.TQSize", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEIconViewItem*) QtSupport::getQt(env, obj))->pixmapSize()), "org.kde.qt.TQSize", TRUE);
return xret; return xret;
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KIconViewItem_setPixmapSize(JNIEnv* env, jobject obj, jobject size) Java_org_kde_koala_TDEIconViewItem_setPixmapSize(JNIEnv* env, jobject obj, jobject size)
{ {
((KIconViewItem*) QtSupport::getQt(env, obj))->setPixmapSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)); ((TDEIconViewItem*) QtSupport::getQt(env, obj))->setPixmapSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size));
return; return;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIconViewItem_wordWrap(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEIconViewItem_wordWrap(JNIEnv* env, jobject obj)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)((KIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_wordWrap(), "org.kde.koala.KWordWrap"); jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_wordWrap(), "org.kde.koala.KWordWrap");
return xret; return xret;
} }

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */ /* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KIconViewItem__ #ifndef __org_kde_koala_TDEIconViewItem__
#define __org_kde_koala_KIconViewItem__ #define __org_kde_koala_TDEIconViewItem__
#include <jni.h> #include <jni.h>
@ -10,29 +10,29 @@ extern "C"
{ {
#endif #endif
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_newKIconViewItem__Lorg_kde_qt_QIconView_2 (JNIEnv *env, jobject, jobject); 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_KIconViewItem_newKIconViewItem__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_2Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_newKIconViewItem__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_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_newKIconViewItem__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_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_newKIconViewItem__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_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_newKIconViewItem__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_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_KIconViewItem_newKIconViewItem__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_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject, jstring, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_newKIconViewItem__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_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_KIconViewItem_setPixmapSize (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_setPixmapSize (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconViewItem_pixmapSize (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconViewItem_pixmapSize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_init (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_init (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_calcRect__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); 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_KIconViewItem_calcRect__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_calcRect__ (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_paintItem (JNIEnv *env, jobject, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintItem (JNIEnv *env, jobject, jobject, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconViewItem_wordWrap (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconViewItem_wordWrap (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_paintPixmap (JNIEnv *env, jobject, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintPixmap (JNIEnv *env, jobject, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_paintText (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_KIconViewItem_finalize (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconViewItem_dispose (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIconViewItem_isDisposed (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconViewItem_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __org_kde_koala_KIconViewItem__ */ #endif /* __org_kde_koala_TDEIconViewItem__ */

@ -9,7 +9,7 @@
class KMimeSourceFactoryJBridge : public KMimeSourceFactory class KMimeSourceFactoryJBridge : public KMimeSourceFactory
{ {
public: public:
KMimeSourceFactoryJBridge(KIconLoader* arg1) : KMimeSourceFactory(arg1) {}; KMimeSourceFactoryJBridge(TDEIconLoader* arg1) : KMimeSourceFactory(arg1) {};
KMimeSourceFactoryJBridge() : KMimeSourceFactory() {}; KMimeSourceFactoryJBridge() : KMimeSourceFactory() {};
~KMimeSourceFactoryJBridge() {QtSupport::qtKeyDeleted(this);} ~KMimeSourceFactoryJBridge() {QtSupport::qtKeyDeleted(this);}
}; };
@ -58,10 +58,10 @@ Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__(JNIEnv* env, jobje
} }
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__Lorg_kde_koala_KIconLoader_2(JNIEnv* env, jobject obj, jobject loader) Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__Lorg_kde_koala_TDEIconLoader_2(JNIEnv* env, jobject obj, jobject loader)
{ {
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KMimeSourceFactoryJBridge((KIconLoader*) QtSupport::getQt(env, loader))); QtSupport::setQt(env, obj, new KMimeSourceFactoryJBridge((TDEIconLoader*) QtSupport::getQt(env, loader)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;

@ -10,7 +10,7 @@ extern "C"
{ {
#endif #endif
extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__Lorg_kde_koala_KIconLoader_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__Lorg_kde_koala_TDEIconLoader_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__ (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeSourceFactory_makeAbsolute (JNIEnv *env, jobject, jstring, jstring); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeSourceFactory_makeAbsolute (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_finalize (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_finalize (JNIEnv *env, jobject);

@ -292,7 +292,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JI(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group) Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JI(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group)
{ {
(void) cls; (void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (KIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
@ -300,7 +300,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JII(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group, jint _force_size) Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JII(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group, jint _force_size)
{ {
(void) cls; (void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (KIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
@ -308,7 +308,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JIII(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group, jint _force_size, jint _state) Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JIII(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group, jint _force_size, jint _state)
{ {
(void) cls; (void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (KIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
@ -317,7 +317,7 @@ Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JIIILjava_lang_S
{ {
(void) cls; (void) cls;
static TQString* _qstring__path = 0; static TQString* _qstring__path = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (KIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE);
QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path);
return xret; return xret;
} }
@ -325,21 +325,21 @@ static TQString* _qstring__path = 0;
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMimeType_pixmap__I(JNIEnv* env, jobject obj, jint group) Java_org_kde_koala_KMimeType_pixmap__I(JNIEnv* env, jobject obj, jint group)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((KIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMimeType_pixmap__II(JNIEnv* env, jobject obj, jint group, jint force_size) Java_org_kde_koala_KMimeType_pixmap__II(JNIEnv* env, jobject obj, jint group, jint force_size)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((KIcon::Group) group, (int) force_size)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group, (int) force_size)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMimeType_pixmap__III(JNIEnv* env, jobject obj, jint group, jint force_size, jint state) Java_org_kde_koala_KMimeType_pixmap__III(JNIEnv* env, jobject obj, jint group, jint force_size, jint state)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((KIcon::Group) group, (int) force_size, (int) state)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group, (int) force_size, (int) state)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
@ -347,7 +347,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMimeType_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint group, jint force_size, jint state, jobject path) Java_org_kde_koala_KMimeType_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint group, jint force_size, jint state, jobject path)
{ {
static TQString* _qstring_path = 0; static TQString* _qstring_path = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((KIcon::Group) group, (int) force_size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path, &_qstring_path))), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group, (int) force_size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path, &_qstring_path))), "org.kde.qt.TQPixmap", TRUE);
QtSupport::fromTQStringToStringBuffer(env, _qstring_path, path); QtSupport::fromTQStringToStringBuffer(env, _qstring_path, path);
return xret; return xret;
} }
@ -355,21 +355,21 @@ static TQString* _qstring_path = 0;
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject _url, jint _group) Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject _url, jint _group)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (KIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2II(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size) Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2II(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (KIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2III(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state) Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2III(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (KIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
@ -377,7 +377,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state, jobject _path) Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state, jobject _path)
{ {
static TQString* _qstring__path = 0; static TQString* _qstring__path = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (KIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE);
QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path);
return xret; return xret;
} }

@ -333,21 +333,21 @@ Java_org_kde_koala_KService_path(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KService_pixmap__I(JNIEnv* env, jobject obj, jint _group) Java_org_kde_koala_KService_pixmap__I(JNIEnv* env, jobject obj, jint _group)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((KIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KService_pixmap__II(JNIEnv* env, jobject obj, jint _group, jint _force_size) Java_org_kde_koala_KService_pixmap__II(JNIEnv* env, jobject obj, jint _group, jint _force_size)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((KIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_KService_pixmap__III(JNIEnv* env, jobject obj, jint _group, jint _force_size, jint _state) Java_org_kde_koala_KService_pixmap__III(JNIEnv* env, jobject obj, jint _group, jint _force_size, jint _state)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((KIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE);
return xret; return xret;
} }
@ -355,7 +355,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_koala_KService_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint _group, jint _force_size, jint _state, jobject _path) Java_org_kde_koala_KService_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint _group, jint _force_size, jint _state, jobject _path)
{ {
static TQString* _qstring__path = 0; static TQString* _qstring__path = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((KIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE);
QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path);
return xret; return xret;
} }

@ -532,7 +532,7 @@ Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_St
{ {
static TQString* _qstring_description = 0; static TQString* _qstring_description = 0;
static TQString* _qstring_icon = 0; static TQString* _qstring_icon = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertDynamicItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KIcon::Group) group), "org.kde.koala.KURLBarItem"); jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertDynamicItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group), "org.kde.koala.KURLBarItem");
return xret; return xret;
} }
@ -566,7 +566,7 @@ Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z
{ {
static TQString* _qstring_description = 0; static TQString* _qstring_description = 0;
static TQString* _qstring_icon = 0; static TQString* _qstring_icon = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (bool) applicationLocal, (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KIcon::Group) group), "org.kde.koala.KURLBarItem"); jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (bool) applicationLocal, (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group), "org.kde.koala.KURLBarItem");
return xret; return xret;
} }

@ -12,11 +12,11 @@
class KURLBarItemJBridge : public KURLBarItem class KURLBarItemJBridge : public KURLBarItem
{ {
public: public:
KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4,const TQString& arg5,KIcon::Group arg6) : KURLBarItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4,const TQString& arg5,TDEIcon::Group arg6) : KURLBarItem(arg1,arg2,arg3,arg4,arg5,arg6) {};
KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4,const TQString& arg5) : KURLBarItem(arg1,arg2,arg3,arg4,arg5) {}; KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4,const TQString& arg5) : KURLBarItem(arg1,arg2,arg3,arg4,arg5) {};
KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4) : KURLBarItem(arg1,arg2,arg3,arg4) {}; KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4) : KURLBarItem(arg1,arg2,arg3,arg4) {};
KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3) : KURLBarItem(arg1,arg2,arg3) {}; KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3) : KURLBarItem(arg1,arg2,arg3) {};
KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4,KIcon::Group arg5) : KURLBarItem(arg1,arg2,arg3,arg4,arg5) {}; KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4,TDEIcon::Group arg5) : KURLBarItem(arg1,arg2,arg3,arg4,arg5) {};
KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4) : KURLBarItem(arg1,arg2,arg3,arg4) {}; KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4) : KURLBarItem(arg1,arg2,arg3,arg4) {};
KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3) : KURLBarItem(arg1,arg2,arg3) {}; KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3) : KURLBarItem(arg1,arg2,arg3) {};
KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2) : KURLBarItem(arg1,arg2) {}; KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2) : KURLBarItem(arg1,arg2) {};
@ -133,7 +133,7 @@ Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_
static TQString* _qstring_description = 0; static TQString* _qstring_description = 0;
static TQString* _qstring_icon = 0; static TQString* _qstring_icon = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KIcon::Group) group)); QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
@ -178,7 +178,7 @@ Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_
static TQString* _qstring_description = 0; static TQString* _qstring_description = 0;
static TQString* _qstring_icon = 0; static TQString* _qstring_icon = 0;
if (QtSupport::getQt(env, obj) == 0) { if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) persistent, (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KIcon::Group) group)); QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) persistent, (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
} }
return; return;
@ -225,7 +225,7 @@ JNIEXPORT void JNICALL
Java_org_kde_koala_KURLBarItem_setIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint group) Java_org_kde_koala_KURLBarItem_setIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint group)
{ {
static TQString* _qstring_icon = 0; static TQString* _qstring_icon = 0;
((KURLBarItem*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KIcon::Group) group); ((KURLBarItem*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group);
return; return;
} }

File diff suppressed because one or more lines are too long

@ -319,14 +319,14 @@ Java_org_kde_koala_TDEAction_iconSet__(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDEAction_iconSet__I(JNIEnv* env, jobject obj, jint group) Java_org_kde_koala_TDEAction_iconSet__I(JNIEnv* env, jobject obj, jint group)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((KIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE);
return xret; return xret;
} }
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDEAction_iconSet__II(JNIEnv* env, jobject obj, jint group, jint size) Java_org_kde_koala_TDEAction_iconSet__II(JNIEnv* env, jobject obj, jint group, jint size)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((KIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE); jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE);
return xret; return xret;
} }

@ -332,7 +332,7 @@ Java_org_kde_koala_TDEApplication_guiEnabled(JNIEnv* env, jclass cls)
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDEApplication_iconLoader(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEApplication_iconLoader(JNIEnv* env, jobject obj)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->iconLoader(), "org.kde.koala.KIconLoader"); jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->iconLoader(), "org.kde.koala.TDEIconLoader");
return xret; return xret;
} }

@ -75,7 +75,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDEGlobal_iconLoader(JNIEnv* env, jclass cls) Java_org_kde_koala_TDEGlobal_iconLoader(JNIEnv* env, jclass cls)
{ {
(void) cls; (void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::iconLoader(), "org.kde.koala.KIconLoader"); jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::iconLoader(), "org.kde.koala.TDEIconLoader");
return xret; return xret;
} }

@ -61,7 +61,7 @@ Java_org_kde_koala_TDEInstance_finalize(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDEInstance_iconLoader(JNIEnv* env, jobject obj) Java_org_kde_koala_TDEInstance_iconLoader(JNIEnv* env, jobject obj)
{ {
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->iconLoader(), "org.kde.koala.KIconLoader"); jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->iconLoader(), "org.kde.koala.TDEIconLoader");
return xret; return xret;
} }

@ -93,7 +93,7 @@ public class KAnimWidget extends TQFrame {
public native String icons(); public native String icons();
/** /**
Sets the name of the animated icons to load. This will use the Sets the name of the animated icons to load. This will use the
KIconLoader.loadAnimated method for the actual loading. TDEIconLoader.loadAnimated method for the actual loading.
@param icons The name of the icons to use for the animation @param icons The name of the icons to use for the animation
@short Sets the name of the animated icons to load. @short Sets the name of the animated icons to load.
*/ */

@ -201,122 +201,122 @@ public class KDE {
*/ */
// TQString ASN1_INTEGER_QString(ASN1_INTEGER* arg1); >>>> NOT CONVERTED // TQString ASN1_INTEGER_QString(ASN1_INTEGER* arg1); >>>> NOT CONVERTED
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a desktop icon. Load a desktop icon.
@short {@link KIconLoader} Load a desktop icon. @short {@link TDEIconLoader} Load a desktop icon.
*/ */
public static native TQPixmap DesktopIcon(String name, int size, int state, TDEInstanceInterface instance); public static native TQPixmap DesktopIcon(String name, int size, int state, TDEInstanceInterface instance);
public static native TQPixmap DesktopIcon(String name, int size, int state); public static native TQPixmap DesktopIcon(String name, int size, int state);
public static native TQPixmap DesktopIcon(String name, int size); public static native TQPixmap DesktopIcon(String name, int size);
public static native TQPixmap DesktopIcon(String name); public static native TQPixmap DesktopIcon(String name);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a desktop icon. Load a desktop icon.
@short {@link KIconLoader} Load a desktop icon. @short {@link TDEIconLoader} Load a desktop icon.
*/ */
public static native TQPixmap DesktopIcon(String name, TDEInstanceInterface instance); public static native TQPixmap DesktopIcon(String name, TDEInstanceInterface instance);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a desktop icon, and apply the necessary effects to get an IconSet. Load a desktop icon, and apply the necessary effects to get an IconSet.
@short {@link KIconLoader} Load a desktop icon, and apply the necessary effects to get an IconSet. @short {@link TDEIconLoader} Load a desktop icon, and apply the necessary effects to get an IconSet.
*/ */
public static native TQIconSet DesktopIconSet(String name, int size, TDEInstanceInterface instance); public static native TQIconSet DesktopIconSet(String name, int size, TDEInstanceInterface instance);
public static native TQIconSet DesktopIconSet(String name, int size); public static native TQIconSet DesktopIconSet(String name, int size);
public static native TQIconSet DesktopIconSet(String name); public static native TQIconSet DesktopIconSet(String name);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a toolbar icon. Load a toolbar icon.
@short {@link KIconLoader} Load a toolbar icon. @short {@link TDEIconLoader} Load a toolbar icon.
*/ */
public static native TQPixmap BarIcon(String name, int size, int state, TDEInstanceInterface instance); public static native TQPixmap BarIcon(String name, int size, int state, TDEInstanceInterface instance);
public static native TQPixmap BarIcon(String name, int size, int state); public static native TQPixmap BarIcon(String name, int size, int state);
public static native TQPixmap BarIcon(String name, int size); public static native TQPixmap BarIcon(String name, int size);
public static native TQPixmap BarIcon(String name); public static native TQPixmap BarIcon(String name);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a toolbar icon. Load a toolbar icon.
@short {@link KIconLoader} Load a toolbar icon. @short {@link TDEIconLoader} Load a toolbar icon.
*/ */
public static native TQPixmap BarIcon(String name, TDEInstanceInterface instance); public static native TQPixmap BarIcon(String name, TDEInstanceInterface instance);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a toolbar icon, and apply the necessary effects to get an IconSet. Load a toolbar icon, and apply the necessary effects to get an IconSet.
@short {@link KIconLoader} Load a toolbar icon, and apply the necessary effects to get an IconSet. @short {@link TDEIconLoader} Load a toolbar icon, and apply the necessary effects to get an IconSet.
*/ */
public static native TQIconSet BarIconSet(String name, int size, TDEInstanceInterface instance); public static native TQIconSet BarIconSet(String name, int size, TDEInstanceInterface instance);
public static native TQIconSet BarIconSet(String name, int size); public static native TQIconSet BarIconSet(String name, int size);
public static native TQIconSet BarIconSet(String name); public static native TQIconSet BarIconSet(String name);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a small icon. Load a small icon.
@short {@link KIconLoader} Load a small icon. @short {@link TDEIconLoader} Load a small icon.
*/ */
public static native TQPixmap SmallIcon(String name, int size, int state, TDEInstanceInterface instance); public static native TQPixmap SmallIcon(String name, int size, int state, TDEInstanceInterface instance);
public static native TQPixmap SmallIcon(String name, int size, int state); public static native TQPixmap SmallIcon(String name, int size, int state);
public static native TQPixmap SmallIcon(String name, int size); public static native TQPixmap SmallIcon(String name, int size);
public static native TQPixmap SmallIcon(String name); public static native TQPixmap SmallIcon(String name);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a small icon. Load a small icon.
@short {@link KIconLoader} Load a small icon. @short {@link TDEIconLoader} Load a small icon.
*/ */
public static native TQPixmap SmallIcon(String name, TDEInstanceInterface instance); public static native TQPixmap SmallIcon(String name, TDEInstanceInterface instance);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a small icon, and apply the necessary effects to get an IconSet. Load a small icon, and apply the necessary effects to get an IconSet.
@short {@link KIconLoader} Load a small icon, and apply the necessary effects to get an IconSet. @short {@link TDEIconLoader} Load a small icon, and apply the necessary effects to get an IconSet.
*/ */
public static native TQIconSet SmallIconSet(String name, int size, TDEInstanceInterface instance); public static native TQIconSet SmallIconSet(String name, int size, TDEInstanceInterface instance);
public static native TQIconSet SmallIconSet(String name, int size); public static native TQIconSet SmallIconSet(String name, int size);
public static native TQIconSet SmallIconSet(String name); public static native TQIconSet SmallIconSet(String name);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a main toolbar icon. Load a main toolbar icon.
@short {@link KIconLoader} Load a main toolbar icon. @short {@link TDEIconLoader} Load a main toolbar icon.
*/ */
public static native TQPixmap MainBarIcon(String name, int size, int state, TDEInstanceInterface instance); public static native TQPixmap MainBarIcon(String name, int size, int state, TDEInstanceInterface instance);
public static native TQPixmap MainBarIcon(String name, int size, int state); public static native TQPixmap MainBarIcon(String name, int size, int state);
public static native TQPixmap MainBarIcon(String name, int size); public static native TQPixmap MainBarIcon(String name, int size);
public static native TQPixmap MainBarIcon(String name); public static native TQPixmap MainBarIcon(String name);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a main toolbar icon. Load a main toolbar icon.
@short {@link KIconLoader} Load a main toolbar icon. @short {@link TDEIconLoader} Load a main toolbar icon.
*/ */
public static native TQPixmap MainBarIcon(String name, TDEInstanceInterface instance); public static native TQPixmap MainBarIcon(String name, TDEInstanceInterface instance);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a main toolbar icon, and apply the effects to get an IconSet. Load a main toolbar icon, and apply the effects to get an IconSet.
@short {@link KIconLoader} Load a main toolbar icon, and apply the effects to get an IconSet. @short {@link TDEIconLoader} Load a main toolbar icon, and apply the effects to get an IconSet.
*/ */
public static native TQIconSet MainBarIconSet(String name, int size, TDEInstanceInterface instance); public static native TQIconSet MainBarIconSet(String name, int size, TDEInstanceInterface instance);
public static native TQIconSet MainBarIconSet(String name, int size); public static native TQIconSet MainBarIconSet(String name, int size);
public static native TQIconSet MainBarIconSet(String name); public static native TQIconSet MainBarIconSet(String name);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a user icon. User icons are searched in $appdir/pics. Load a user icon. User icons are searched in $appdir/pics.
@short {@link KIconLoader} Load a user icon. @short {@link TDEIconLoader} Load a user icon.
*/ */
public static native TQPixmap UserIcon(String name, int state, TDEInstanceInterface instance); public static native TQPixmap UserIcon(String name, int state, TDEInstanceInterface instance);
public static native TQPixmap UserIcon(String name, int state); public static native TQPixmap UserIcon(String name, int state);
public static native TQPixmap UserIcon(String name); public static native TQPixmap UserIcon(String name);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a user icon. User icons are searched in $appdir/pics. Load a user icon. User icons are searched in $appdir/pics.
@short {@link KIconLoader} Load a user icon. @short {@link TDEIconLoader} Load a user icon.
*/ */
public static native TQPixmap UserIcon(String name, TDEInstanceInterface instance); public static native TQPixmap UserIcon(String name, TDEInstanceInterface instance);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Load a user icon, and apply the effects to get an IconSet. Load a user icon, and apply the effects to get an IconSet.
@short {@link KIconLoader} Load a user icon, and apply the effects to get an IconSet. @short {@link TDEIconLoader} Load a user icon, and apply the effects to get an IconSet.
*/ */
public static native TQIconSet UserIconSet(String name, TDEInstanceInterface instance); public static native TQIconSet UserIconSet(String name, TDEInstanceInterface instance);
public static native TQIconSet UserIconSet(String name); public static native TQIconSet UserIconSet(String name);
/** /**
{@link KIconLoader} {@link TDEIconLoader}
Returns the current icon size for a specific group. Returns the current icon size for a specific group.
@short {@link KIconLoader} Returns the current icon size for a specific group. @short {@link TDEIconLoader} Returns the current icon size for a specific group.
*/ */
public static native int IconSize(int group, TDEInstanceInterface instance); public static native int IconSize(int group, TDEInstanceInterface instance);
public static native int IconSize(int group); public static native int IconSize(int group);

@ -29,7 +29,7 @@ import org.kde.qt.TQDragObject;
@see KFileDetailView @see KFileDetailView
*/ */
public class KFileIconView extends KIconView implements KFileViewInterface { public class KFileIconView extends TDEIconView implements KFileViewInterface {
protected KFileIconView(Class dummy){super((Class) null);} protected KFileIconView(Class dummy){super((Class) null);}
public native TQMetaObject metaObject(); public native TQMetaObject metaObject();
public native String className(); public native String className();
@ -58,12 +58,12 @@ public class KFileIconView extends KIconView implements KFileViewInterface {
public native KFileItem nextItem(KFileItem arg1); public native KFileItem nextItem(KFileItem arg1);
public native KFileItem prevItem(KFileItem arg1); public native KFileItem prevItem(KFileItem arg1);
/** /**
Sets the size of the icons to show. Defaults to KIcon.SizeSmall. Sets the size of the icons to show. Defaults to TDEIcon.SizeSmall.
@short Sets the size of the icons to show. @short Sets the size of the icons to show.
*/ */
public native void setIconSize(int size); public native void setIconSize(int size);
/** /**
Sets the size of the previews. Defaults to KIcon.SizeLarge. Sets the size of the previews. Defaults to TDEIcon.SizeLarge.
@short Sets the size of the previews. @short Sets the size of the previews.
*/ */
public native void setPreviewSize(int size); public native void setPreviewSize(int size);

@ -13,7 +13,7 @@ import org.kde.qt.TQIconView;
@short An item for the iconview, that has a reference to its corresponding KFileItem. @short An item for the iconview, that has a reference to its corresponding KFileItem.
*/ */
public class KFileIconViewItem extends KIconViewItem { public class KFileIconViewItem extends TDEIconViewItem {
protected KFileIconViewItem(Class dummy){super((Class) null);} protected KFileIconViewItem(Class dummy){super((Class) null);}
public KFileIconViewItem(TQIconView parent, String text, TQPixmap pixmap, KFileItem fi) { public KFileIconViewItem(TQIconView parent, String text, TQPixmap pixmap, KFileItem fi) {
super((Class) null); super((Class) null);

@ -351,8 +351,8 @@ public class KFileItem implements QtSupport {
Returns a pixmap representing the file. Returns a pixmap representing the file.
@param _size Size for the pixmap in pixels. Zero will return the @param _size Size for the pixmap in pixels. Zero will return the
globally configured default size. globally configured default size.
@param _state The state of the icon: KIcon.DefaultState, @param _state The state of the icon: TDEIcon.DefaultState,
KIcon.ActiveState or KIcon.DisabledState. TDEIcon.ActiveState or TDEIcon.DisabledState.
@return the pixmap @return the pixmap
@short Returns a pixmap representing the file. @short Returns a pixmap representing the file.
@ -360,12 +360,12 @@ public class KFileItem implements QtSupport {
public native TQPixmap pixmap(int _size, int _state); public native TQPixmap pixmap(int _size, int _state);
public native TQPixmap pixmap(int _size); public native TQPixmap pixmap(int _size);
/** /**
Returns the overlays (bitfield of KIcon.Overlay flags) that are used Returns the overlays (bitfield of TDEIcon.Overlay flags) that are used
for this item's pixmap. Overlays are used to show for example, whether for this item's pixmap. Overlays are used to show for example, whether
a file can be modified. a file can be modified.
@return the overlays of the pixmap @return the overlays of the pixmap
@short Returns the overlays (bitfield of KIcon. Overlay flags) that are used for this item's pixmap. @short Returns the overlays (bitfield of TDEIcon. Overlay flags) that are used for this item's pixmap.
*/ */
public native int overlays(); public native int overlays();
/** /**

@ -10,50 +10,50 @@ import org.kde.qt.TQPushButton;
/** /**
A pushbutton for choosing an icon. Pressing on the button will open a A pushbutton for choosing an icon. Pressing on the button will open a
KIconDialog for the user to select an icon. The current icon will be TDEIconDialog for the user to select an icon. The current icon will be
displayed on the button. displayed on the button.
See {@link KIconButtonSignals} for signals emitted by KIconButton See {@link TDEIconButtonSignals} for signals emitted by TDEIconButton
@short A push button that allows selection of an icon. @short A push button that allows selection of an icon.
@see KIconDialog @see TDEIconDialog
*/ */
public class KIconButton extends TQPushButton { public class TDEIconButton extends TQPushButton {
protected KIconButton(Class dummy){super((Class) null);} protected TDEIconButton(Class dummy){super((Class) null);}
public native TQMetaObject metaObject(); public native TQMetaObject metaObject();
public native String className(); public native String className();
/** /**
Constructs a KIconButton using the global iconloader. Constructs a TDEIconButton using the global iconloader.
@short Constructs a KIconButton using the global iconloader. @short Constructs a TDEIconButton using the global iconloader.
*/ */
public KIconButton(TQWidget parent, String name) { public TDEIconButton(TQWidget parent, String name) {
super((Class) null); super((Class) null);
newKIconButton(parent,name); newTDEIconButton(parent,name);
} }
private native void newKIconButton(TQWidget parent, String name); private native void newTDEIconButton(TQWidget parent, String name);
public KIconButton(TQWidget parent) { public TDEIconButton(TQWidget parent) {
super((Class) null); super((Class) null);
newKIconButton(parent); newTDEIconButton(parent);
} }
private native void newKIconButton(TQWidget parent); private native void newTDEIconButton(TQWidget parent);
public KIconButton() { public TDEIconButton() {
super((Class) null); super((Class) null);
newKIconButton(); newTDEIconButton();
} }
private native void newKIconButton(); private native void newTDEIconButton();
/** /**
Constructs a KIconButton using a specific KIconLoader. Constructs a TDEIconButton using a specific TDEIconLoader.
@short Constructs a KIconButton using a specific KIconLoader. @short Constructs a TDEIconButton using a specific TDEIconLoader.
*/ */
public KIconButton(KIconLoader loader, TQWidget parent, String name) { public TDEIconButton(TDEIconLoader loader, TQWidget parent, String name) {
super((Class) null); super((Class) null);
newKIconButton(loader,parent,name); newTDEIconButton(loader,parent,name);
} }
private native void newKIconButton(KIconLoader loader, TQWidget parent, String name); private native void newTDEIconButton(TDEIconLoader loader, TQWidget parent, String name);
public KIconButton(KIconLoader loader, TQWidget parent) { public TDEIconButton(TDEIconLoader loader, TQWidget parent) {
super((Class) null); super((Class) null);
newKIconButton(loader,parent); newTDEIconButton(loader,parent);
} }
private native void newKIconButton(KIconLoader loader, TQWidget parent); private native void newTDEIconButton(TDEIconLoader loader, TQWidget parent);
/** /**
Sets a strict icon size policy for allowed icons. When true, Sets a strict icon size policy for allowed icons. When true,
only icons of the specified group's size in setIconType are allowed, only icons of the specified group's size in setIconType are allowed,
@ -67,7 +67,7 @@ public class KIconButton extends TQPushButton {
*/ */
public native boolean strictIconSize(); public native boolean strictIconSize();
/** /**
Sets the icon group and context. Use KIcon.NoGroup if you want to Sets the icon group and context. Use TDEIcon.NoGroup if you want to
allow icons for any group in the given context. allow icons for any group in the given context.
@short Sets the icon group and context. @short Sets the icon group and context.
*/ */
@ -91,7 +91,7 @@ public class KIconButton extends TQPushButton {
/** /**
Sets the size of the icon to be shown / selected. Sets the size of the icon to be shown / selected.
@short Sets the size of the icon to be shown / selected. @short Sets the size of the icon to be shown / selected.
@see KIcon#StdSizes @see TDEIcon#StdSizes
@see #iconSize @see #iconSize
*/ */
public native void setIconSize(int size); public native void setIconSize(int size);

@ -5,7 +5,7 @@ import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport; import org.kde.qt.QtSupport;
import org.kde.qt.TQWidget; import org.kde.qt.TQWidget;
public interface KIconButtonSignals { public interface TDEIconButtonSignals {
/** /**
Emitted when the icon has changed. Emitted when the icon has changed.
@short Emitted when the icon has changed. @short Emitted when the icon has changed.

@ -8,30 +8,30 @@ import org.kde.qt.TQWidget;
/** /**
Icon canvas for KIconDialog. Icon canvas for TDEIconDialog.
See {@link KIconCanvasSignals} for signals emitted by KIconCanvas See {@link TDEIconCanvasSignals} for signals emitted by TDEIconCanvas
@short Icon canvas for KIconDialog. @short Icon canvas for TDEIconDialog.
*/ */
public class KIconCanvas extends KIconView { public class TDEIconCanvas extends TDEIconView {
protected KIconCanvas(Class dummy){super((Class) null);} protected TDEIconCanvas(Class dummy){super((Class) null);}
public native TQMetaObject metaObject(); public native TQMetaObject metaObject();
public native String className(); public native String className();
public KIconCanvas(TQWidget parent, String name) { public TDEIconCanvas(TQWidget parent, String name) {
super((Class) null); super((Class) null);
newKIconCanvas(parent,name); newTDEIconCanvas(parent,name);
} }
private native void newKIconCanvas(TQWidget parent, String name); private native void newTDEIconCanvas(TQWidget parent, String name);
public KIconCanvas(TQWidget parent) { public TDEIconCanvas(TQWidget parent) {
super((Class) null); super((Class) null);
newKIconCanvas(parent); newTDEIconCanvas(parent);
} }
private native void newKIconCanvas(TQWidget parent); private native void newTDEIconCanvas(TQWidget parent);
public KIconCanvas() { public TDEIconCanvas() {
super((Class) null); super((Class) null);
newKIconCanvas(); newTDEIconCanvas();
} }
private native void newKIconCanvas(); private native void newTDEIconCanvas();
/** /**
Load icons into the canvas. Load icons into the canvas.
@short Load icons into the canvas. @short Load icons into the canvas.

@ -5,7 +5,7 @@ import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport; import org.kde.qt.QtSupport;
import org.kde.qt.TQWidget; import org.kde.qt.TQWidget;
public interface KIconCanvasSignals { public interface TDEIconCanvasSignals {
/** /**
Emitted when the current icon has changed. Emitted when the current icon has changed.
@short Emitted when the current icon has changed. @short Emitted when the current icon has changed.

@ -10,52 +10,52 @@ import org.kde.qt.TQWidget;
Dialog for interactive selection of icons. Use the function Dialog for interactive selection of icons. Use the function
getIcon() let the user select an icon. getIcon() let the user select an icon.
See {@link KIconDialogSignals} for signals emitted by KIconDialog See {@link TDEIconDialogSignals} for signals emitted by TDEIconDialog
@short An icon selection dialog. @short An icon selection dialog.
*/ */
public class KIconDialog extends KDialogBase { public class TDEIconDialog extends KDialogBase {
protected KIconDialog(Class dummy){super((Class) null);} protected TDEIconDialog(Class dummy){super((Class) null);}
public native TQMetaObject metaObject(); public native TQMetaObject metaObject();
public native String className(); public native String className();
/** /**
Constructs an icon selection dialog using the global iconloader. Constructs an icon selection dialog using the global iconloader.
@short Constructs an icon selection dialog using the global iconloader. @short Constructs an icon selection dialog using the global iconloader.
*/ */
public KIconDialog(TQWidget parent, String name) { public TDEIconDialog(TQWidget parent, String name) {
super((Class) null); super((Class) null);
newKIconDialog(parent,name); newTDEIconDialog(parent,name);
} }
private native void newKIconDialog(TQWidget parent, String name); private native void newTDEIconDialog(TQWidget parent, String name);
public KIconDialog(TQWidget parent) { public TDEIconDialog(TQWidget parent) {
super((Class) null); super((Class) null);
newKIconDialog(parent); newTDEIconDialog(parent);
} }
private native void newKIconDialog(TQWidget parent); private native void newTDEIconDialog(TQWidget parent);
public KIconDialog() { public TDEIconDialog() {
super((Class) null); super((Class) null);
newKIconDialog(); newTDEIconDialog();
} }
private native void newKIconDialog(); private native void newTDEIconDialog();
/** /**
Constructs an icon selection dialog using a specific iconloader. Constructs an icon selection dialog using a specific iconloader.
@short Constructs an icon selection dialog using a specific iconloader. @short Constructs an icon selection dialog using a specific iconloader.
*/ */
public KIconDialog(KIconLoader loader, TQWidget parent, String name) { public TDEIconDialog(TDEIconLoader loader, TQWidget parent, String name) {
super((Class) null); super((Class) null);
newKIconDialog(loader,parent,name); newTDEIconDialog(loader,parent,name);
} }
private native void newKIconDialog(KIconLoader loader, TQWidget parent, String name); private native void newTDEIconDialog(TDEIconLoader loader, TQWidget parent, String name);
public KIconDialog(KIconLoader loader, TQWidget parent) { public TDEIconDialog(TDEIconLoader loader, TQWidget parent) {
super((Class) null); super((Class) null);
newKIconDialog(loader,parent); newTDEIconDialog(loader,parent);
} }
private native void newKIconDialog(KIconLoader loader, TQWidget parent); private native void newTDEIconDialog(TDEIconLoader loader, TQWidget parent);
public KIconDialog(KIconLoader loader) { public TDEIconDialog(TDEIconLoader loader) {
super((Class) null); super((Class) null);
newKIconDialog(loader); newTDEIconDialog(loader);
} }
private native void newKIconDialog(KIconLoader loader); private native void newTDEIconDialog(TDEIconLoader loader);
/** /**
Sets a strict icon size policy for allowed icons. When true, Sets a strict icon size policy for allowed icons. When true,
only icons of the specified group's size in getIcon() are shown. only icons of the specified group's size in getIcon() are shown.
@ -77,7 +77,7 @@ public class KIconDialog extends KDialogBase {
/** /**
Sets the size of the icons to be shown / selected. Sets the size of the icons to be shown / selected.
@short Sets the size of the icons to be shown / selected. @short Sets the size of the icons to be shown / selected.
@see KIcon#StdSizes @see TDEIcon#StdSizes
@see #iconSize @see #iconSize
*/ */
public native void setIconSize(int size); public native void setIconSize(int size);
@ -108,7 +108,7 @@ public class KIconDialog extends KDialogBase {
/** /**
exec()utes this modal dialog and returns the name of the selected icon, exec()utes this modal dialog and returns the name of the selected icon,
or null if the dialog was aborted. or null if the dialog was aborted.
@return the name of the icon, suitable for loading with KIconLoader. @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. @short exec()utes this modal dialog and returns the name of the selected icon, or String.null if the dialog was aborted.
@see #getIcon @see #getIcon
@ -135,7 +135,7 @@ public class KIconDialog extends KDialogBase {
@param user Begin with the "user icons" instead of "system icons". @param user Begin with the "user icons" instead of "system icons".
@param parent The parent widget of the dialog. @param parent The parent widget of the dialog.
@param caption The caption to use for the dialog. @param caption The caption to use for the dialog.
@return The name of the icon, suitable for loading with KIconLoader. @return The name of the icon, suitable for loading with TDEIconLoader.
@version New in 3.0 @version New in 3.0

@ -5,6 +5,6 @@ import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport; import org.kde.qt.QtSupport;
import org.kde.qt.TQWidget; import org.kde.qt.TQWidget;
public interface KIconDialogSignals { public interface TDEIconDialogSignals {
void newIconName(String arg1); void newIconName(String arg1);
} }

@ -16,13 +16,13 @@ import org.kde.qt.TQWidget;
group. For example, it can be used to make all disabled icons group. For example, it can be used to make all disabled icons
in a toolbar gray. in a toolbar gray.
@short Applies effects to icons. @short Applies effects to icons.
@see KIcon @see TDEIcon
*/ */
public class KIconEffect implements QtSupport { public class TDEIconEffect implements QtSupport {
private long _qt; private long _qt;
private boolean _allocatedInJavaWorld = true; private boolean _allocatedInJavaWorld = true;
protected KIconEffect(Class dummy){} protected TDEIconEffect(Class dummy){}
/** /**
This is the enumeration of all possible icon effects. This is the enumeration of all possible icon effects.
@ -63,13 +63,13 @@ public class KIconEffect implements QtSupport {
public static final int LastEffect = 6; public static final int LastEffect = 6;
/** /**
Create a new KIconEffect. Create a new TDEIconEffect.
@short Create a new KIconEffect. @short Create a new TDEIconEffect.
*/ */
public KIconEffect() { public TDEIconEffect() {
newKIconEffect(); newTDEIconEffect();
} }
private native void newKIconEffect(); private native void newTDEIconEffect();
/** /**
Rereads configuration. Rereads configuration.
@short Rereads configuration. @short Rereads configuration.
@ -77,22 +77,22 @@ public class KIconEffect implements QtSupport {
public native void init(); public native void init();
/** /**
Tests whether an effect has been configured for the given icon group. Tests whether an effect has been configured for the given icon group.
@param group the group to check, see KIcon.Group @param group the group to check, see TDEIcon.Group
@param state the state to check, see KIcon.States @param state the state to check, see TDEIcon.States
@return true if an effect is configured for the given <code>group</code> @return true if an effect is configured for the given <code>group</code>
in <code>state</code>, otherwise false. in <code>state</code>, otherwise false.
@short Tests whether an effect has been configured for the given icon group. @short Tests whether an effect has been configured for the given icon group.
@see KIcon#Group @see TDEIcon#Group
@see KIcon#States @see TDEIcon#States
*/ */
public native boolean hasEffect(int group, int state); public native boolean hasEffect(int group, int state);
/** /**
Returns a fingerprint for the effect by encoding Returns a fingerprint for the effect by encoding
the given <code>group</code> and <code>state</code> into a String. This the given <code>group</code> and <code>state</code> into a String. This
is useful for caching. is useful for caching.
@param group the group, see KIcon.Group @param group the group, see TDEIcon.Group
@param state the state, see KIcon.States @param state the state, see TDEIcon.States
@return the fingerprint of the given <code>group</code>+<code>state</code> @return the fingerprint of the given <code>group</code>+<code>state</code>
@short Returns a fingerprint for the effect by encoding the given <code>group</code> and <code>state</code> into a String. @short Returns a fingerprint for the effect by encoding the given <code>group</code> and <code>state</code> into a String.
@ -102,8 +102,8 @@ public class KIconEffect implements QtSupport {
Applies an effect to an image. The effect to apply depends on the Applies an effect to an image. The effect to apply depends on the
<code>group</code> and <code>state</code> parameters, and is configured by the user. <code>group</code> and <code>state</code> parameters, and is configured by the user.
@param src The image. @param src The image.
@param group The group for the icon, see KIcon.Group @param group The group for the icon, see TDEIcon.Group
@param state The icon's state, see KIcon.States @param state The icon's state, see TDEIcon.States
@return An image with the effect applied. @return An image with the effect applied.
@short Applies an effect to an image. @short Applies an effect to an image.
@ -112,7 +112,7 @@ public class KIconEffect implements QtSupport {
/** /**
Applies an effect to an image. Applies an effect to an image.
@param src The image. @param src The image.
@param effect The effect to apply, one of KIconEffect.Effects. @param effect The effect to apply, one of TDEIconEffect.Effects.
@param value Strength of the effect. 0 <= <code>value</code> <= 1. @param value Strength of the effect. 0 <= <code>value</code> <= 1.
@param rgb Color parameter for effects that need one. @param rgb Color parameter for effects that need one.
@param trans Add Transparency if trans = true. @param trans Add Transparency if trans = true.
@ -128,8 +128,8 @@ public class KIconEffect implements QtSupport {
/** /**
Applies an effect to a pixmap. Applies an effect to a pixmap.
@param src The pixmap. @param src The pixmap.
@param group The group for the icon, see KIcon.Group @param group The group for the icon, see TDEIcon.Group
@param state The icon's state, see KIcon.States @param state The icon's state, see TDEIcon.States
@return A pixmap with the effect applied. @return A pixmap with the effect applied.
@short Applies an effect to a pixmap. @short Applies an effect to a pixmap.
@ -138,7 +138,7 @@ public class KIconEffect implements QtSupport {
/** /**
Applies an effect to a pixmap. Applies an effect to a pixmap.
@param src The pixmap. @param src The pixmap.
@param effect The effect to apply, one of KIconEffect.Effects. @param effect The effect to apply, one of TDEIconEffect.Effects.
@param value Strength of the effect. 0 <= <code>value</code> <= 1. @param value Strength of the effect. 0 <= <code>value</code> <= 1.
@param rgb Color parameter for effects that need one. @param rgb Color parameter for effects that need one.
@param trans Add Transparency if trans = true. @param trans Add Transparency if trans = true.

@ -11,7 +11,7 @@ import org.kde.qt.TQIconSet;
/** /**
Iconloader for KDE. Iconloader for KDE.
KIconLoader will load the current icon theme and all its base themes. 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 will be searched in any of these themes. Additionally, it caches
icons and applies effects according the the user's preferences. 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 In KDE, it is encouraged to load icons by "Group". An icon group is a
@ -23,24 +23,24 @@ import org.kde.qt.TQIconSet;
The standard groups are defined below. The standard groups are defined below.
<li> <li>
KIcon.Desktop: Icons in the iconview of konqueror, kdesktop and similar apps. TDEIcon.Desktop: Icons in the iconview of konqueror, kdesktop and similar apps.
</li> </li>
<li> <li>
KIcon.Toolbar: Icons in toolbars. TDEIcon.Toolbar: Icons in toolbars.
</li> </li>
<li> <li>
KIcon.MainToolbar: Icons in the main toolbars. TDEIcon.MainToolbar: Icons in the main toolbars.
</li> </li>
<li> <li>
KIcon.Small: Various small (typical 16x16) places: titlebars, listviews TDEIcon.Small: Various small (typical 16x16) places: titlebars, listviews
and menu entries. and menu entries.
</li> </li>
<li> <li>
KIcon.Panel: Icons in kicker's panel TDEIcon.Panel: Icons in kicker's panel
</li> </li>
The icons are stored on disk in an icon theme or in a standalone The icons are stored on disk in an icon theme or in a standalone
directory. The icon theme directories contain multiple sizes and/or directory. The icon theme directories contain multiple sizes and/or
@ -54,10 +54,10 @@ import org.kde.qt.TQIconSet;
@short Iconloader for KDE. @short Iconloader for KDE.
*/ */
public class KIconLoader implements QtSupport { public class TDEIconLoader implements QtSupport {
private long _qt; private long _qt;
private boolean _allocatedInJavaWorld = true; private boolean _allocatedInJavaWorld = true;
protected KIconLoader(Class dummy){} protected TDEIconLoader(Class dummy){}
/** /**
Constructs an iconloader. Constructs an iconloader.
@ -73,18 +73,18 @@ public class KIconLoader implements QtSupport {
@see TDEGlobal#iconLoader @see TDEGlobal#iconLoader
@see TDEInstance#iconLoader @see TDEInstance#iconLoader
*/ */
public KIconLoader(String appname, TDEStandardDirs dirs) { public TDEIconLoader(String appname, TDEStandardDirs dirs) {
newKIconLoader(appname,dirs); newTDEIconLoader(appname,dirs);
} }
private native void newKIconLoader(String appname, TDEStandardDirs dirs); private native void newTDEIconLoader(String appname, TDEStandardDirs dirs);
public KIconLoader(String appname) { public TDEIconLoader(String appname) {
newKIconLoader(appname); newTDEIconLoader(appname);
} }
private native void newKIconLoader(String appname); private native void newTDEIconLoader(String appname);
public KIconLoader() { public TDEIconLoader() {
newKIconLoader(); newTDEIconLoader();
} }
private native void newKIconLoader(); private native void newTDEIconLoader();
/** /**
Adds <code>appname</code> to the list of application specific directories. Adds <code>appname</code> to the list of application specific directories.
@param appname The application name. @param appname The application name.
@ -101,7 +101,7 @@ public class KIconLoader implements QtSupport {
@param group The icon group. This will specify the size of and effects to @param group The icon group. This will specify the size of and effects to
be applied to the icon. be applied to the icon.
@param size If nonzero, this overrides the size specified by <code>group.</code> @param size If nonzero, this overrides the size specified by <code>group.</code>
See KIcon.StdSizes. See TDEIcon.StdSizes.
@param state The icon state: <code>DefaultState</code>, <code>ActiveState</code> or @param state The icon state: <code>DefaultState</code>, <code>ActiveState</code> or
<code>DisabledState.</code> Depending on the user's preferences, the iconloader <code>DisabledState.</code> Depending on the user's preferences, the iconloader
may apply a visual effect to hint about its state. may apply a visual effect to hint about its state.
@ -125,7 +125,7 @@ public class KIconLoader implements QtSupport {
@param group The icon group. This will specify the size of and effects to @param group The icon group. This will specify the size of and effects to
be applied to the icon. be applied to the icon.
@param size If nonzero, this overrides the size specified by <code>group.</code> @param size If nonzero, this overrides the size specified by <code>group.</code>
See KIcon.StdSizes. See TDEIcon.StdSizes.
@param canReturnNull Can return a null iconset? If false, iconset @param canReturnNull Can return a null iconset? If false, iconset
containing the "unknown" pixmap is returned when no appropriate icon has containing the "unknown" pixmap is returned when no appropriate icon has
been found. been found.
@ -144,7 +144,7 @@ public class KIconLoader implements QtSupport {
@param group The icon group. This will specify the size of and effects to @param group The icon group. This will specify the size of and effects to
be applied to the icon. be applied to the icon.
@param size If nonzero, this overrides the size specified by <code>group.</code> @param size If nonzero, this overrides the size specified by <code>group.</code>
See KIcon.StdSizes. See TDEIcon.StdSizes.
@param canReturnNull Can return a null iconset? If false, iconset @param canReturnNull Can return a null iconset? If false, iconset
containing the "unknown" pixmap is returned when no appropriate icon has containing the "unknown" pixmap is returned when no appropriate icon has
been found. been found.
@ -161,7 +161,7 @@ public class KIconLoader implements QtSupport {
@param group The icon group. This will specify the size of and effects to @param group The icon group. This will specify the size of and effects to
be applied to the icon. be applied to the icon.
@param size If nonzero, this overrides the size specified by <code>group.</code> @param size If nonzero, this overrides the size specified by <code>group.</code>
See KIcon.StdSizes. See TDEIcon.StdSizes.
@return the icon set. Can be null when not found @return the icon set. Can be null when not found
@short Creates an icon set, that will do on-demand loading of the icon. @short Creates an icon set, that will do on-demand loading of the icon.
@ -176,7 +176,7 @@ public class KIconLoader implements QtSupport {
@param group_or_size If positive, search icons whose size is @param group_or_size If positive, search icons whose size is
specified by the icon group <code>group_or_size.</code> If negative, search specified by the icon group <code>group_or_size.</code> If negative, search
icons whose size is - <code>group_or_size.</code> icons whose size is - <code>group_or_size.</code>
See KIcon.Group and KIcon.StdSizes See TDEIcon.Group and TDEIcon.StdSizes
@param canReturnNull Can return a null string? If not, a path to the @param canReturnNull Can return a null string? If not, a path to the
"unknown" icon will be returned. "unknown" icon will be returned.
@return the path of an icon, can be null or the "unknown" icon when @return the path of an icon, can be null or the "unknown" icon when
@ -191,7 +191,7 @@ public class KIconLoader implements QtSupport {
@param name The name of the icon. @param name The name of the icon.
@param group The icon group. See loadIcon(). @param group The icon group. See loadIcon().
@param size Override the default size for <code>group.</code> @param size Override the default size for <code>group.</code>
See KIcon.StdSizes. See TDEIcon.StdSizes.
@return A TQMovie object. Can be null if not found. @return A TQMovie object. Can be null if not found.
@short Loads an animated icon. @short Loads an animated icon.
@ -203,7 +203,7 @@ public class KIconLoader implements QtSupport {
@param name The name of the icon. @param name The name of the icon.
@param group The icon group. See loadIcon(). @param group The icon group. See loadIcon().
@param size Override the default size for <code>group.</code> @param size Override the default size for <code>group.</code>
See KIcon.StdSizes. See TDEIcon.StdSizes.
@return the full path to the movie, ready to be passed to TQMovie's constructor. @return the full path to the movie, ready to be passed to TQMovie's constructor.
Empty string if not found. Empty string if not found.
@ -217,7 +217,7 @@ public class KIconLoader implements QtSupport {
@param name The name of the icon. @param name The name of the icon.
@param group The icon group. See loadIcon(). @param group The icon group. See loadIcon().
@param size Override the default size for <code>group.</code> @param size Override the default size for <code>group.</code>
See KIcon.StdSizes. See TDEIcon.StdSizes.
@return An ArrayList containing the absolute path of all the frames @return An ArrayList containing the absolute path of all the frames
making up the animation. making up the animation.
@ -231,7 +231,7 @@ public class KIconLoader implements QtSupport {
@param group_or_size If positive, search icons whose size is @param group_or_size If positive, search icons whose size is
specified by the icon group <code>group_or_size.</code> If negative, search specified by the icon group <code>group_or_size.</code> If negative, search
icons whose size is - <code>group_or_size.</code> icons whose size is - <code>group_or_size.</code>
See KIcon.Group and KIcon.StdSizes See TDEIcon.Group and TDEIcon.StdSizes
@param context The icon context. @param context The icon context.
@return a list of all icons @return a list of all icons
@ -244,8 +244,8 @@ public class KIconLoader implements QtSupport {
@param group_or_size The icon preferred group or size. If available @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, at this group or size, those icons will be returned, in other case,
icons of undefined size will be returned. Positive numbers are groups, icons of undefined size will be returned. Positive numbers are groups,
negative numbers are negated sizes. See KIcon.Group and negative numbers are negated sizes. See TDEIcon.Group and
KIcon.StdSizes TDEIcon.StdSizes
@param context The icon context. @param context The icon context.
@return An ArrayList containing the icon names @return An ArrayList containing the icon names
available for that context available for that context
@ -278,14 +278,14 @@ public class KIconLoader implements QtSupport {
@short Returns a pointer to the current theme. @short Returns a pointer to the current theme.
*/ */
// KIconTheme* theme(); >>>> NOT CONVERTED // TDEIconTheme* theme(); >>>> NOT CONVERTED
/** /**
Returns a pointer to the KIconEffect object used by the icon loader. Returns a pointer to the TDEIconEffect object used by the icon loader.
@return the KIconEffect. @return the TDEIconEffect.
@short Returns a pointer to the KIconEffect object used by the icon loader. @short Returns a pointer to the TDEIconEffect object used by the icon loader.
*/ */
public native KIconEffect iconEffect(); public native TDEIconEffect iconEffect();
/** /**
Called by TDEInstance.newIconLoader to reconfigure the icon loader. Called by TDEInstance.newIconLoader to reconfigure the icon loader.
@param _appname the new application name @param _appname the new application name
@ -314,7 +314,7 @@ public class KIconLoader implements QtSupport {
calls after this setting is changed. calls after this setting is changed.
The default is disabled, as the iconloader object must not be The default is disabled, as the iconloader object must not be
destroyed before all those iconsets are destroyed. destroyed before all those iconsets are destroyed.
(Some broken applications use temporary KIconLoader objects). (Some broken applications use temporary TDEIconLoader objects).
Every TDEInstance 's iconloader has this feature enabled. Every TDEInstance 's iconloader has this feature enabled.
@param enable true to enable delayed icon loading, false to disable @param enable true to enable delayed icon loading, false to disable
@short Enables on-demand icon loading for TQIconSets using TQIconFactory. @short Enables on-demand icon loading for TQIconSets using TQIconFactory.

@ -30,45 +30,45 @@ import org.kde.qt.TQIconView;
need to care about the current settings. need to care about the current settings.
If you want to get informed when the user selects something connect to the If you want to get informed when the user selects something connect to the
TQIconView.selectionChanged() signal. TQIconView.selectionChanged() signal.
See {@link KIconViewSignals} for signals emitted by KIconView See {@link TDEIconViewSignals} for signals emitted by TDEIconView
@short A variant of TQIconView that honors KDE's system-wide settings. @short A variant of TQIconView that honors KDE's system-wide settings.
*/ */
public class KIconView extends TQIconView { public class TDEIconView extends TQIconView {
protected KIconView(Class dummy){super((Class) null);} protected TDEIconView(Class dummy){super((Class) null);}
/** /**
KIconView has two different operating modes. Execute mode is depending TDEIconView has two different operating modes. Execute mode is depending
on the configuration of single-click or double-click where the signal on the configuration of single-click or double-click where the signal
executed() will be emitted upon click/double-click. executed() will be emitted upon click/double-click.
In Select mode, this signal will not be emitted. In Select mode, this signal will not be emitted.
Default is Execute mode. Default is Execute mode.
@short KIconView has two different operating modes. @short TDEIconView has two different operating modes.
*/ */
public static final int Execute = 0; public static final int Execute = 0;
public static final int Select = 1; public static final int Select = 1;
public native TQMetaObject metaObject(); public native TQMetaObject metaObject();
public native String className(); public native String className();
public KIconView(TQWidget parent, String name, int f) { public TDEIconView(TQWidget parent, String name, int f) {
super((Class) null); super((Class) null);
newKIconView(parent,name,f); newTDEIconView(parent,name,f);
} }
private native void newKIconView(TQWidget parent, String name, int f); private native void newTDEIconView(TQWidget parent, String name, int f);
public KIconView(TQWidget parent, String name) { public TDEIconView(TQWidget parent, String name) {
super((Class) null); super((Class) null);
newKIconView(parent,name); newTDEIconView(parent,name);
} }
private native void newKIconView(TQWidget parent, String name); private native void newTDEIconView(TQWidget parent, String name);
public KIconView(TQWidget parent) { public TDEIconView(TQWidget parent) {
super((Class) null); super((Class) null);
newKIconView(parent); newTDEIconView(parent);
} }
private native void newKIconView(TQWidget parent); private native void newTDEIconView(TQWidget parent);
public KIconView() { public TDEIconView() {
super((Class) null); super((Class) null);
newKIconView(); newTDEIconView();
} }
private native void newKIconView(); private native void newTDEIconView();
/** /**
Sets the mode to Execute or Select. Sets the mode to Execute or Select.
@ -129,9 +129,9 @@ public class KIconView extends TQIconView {
/** /**
This method allows to handle correctly cases where a subclass This method allows to handle correctly cases where a subclass
needs the held() signal to not be triggered without calling needs the held() signal to not be triggered without calling
a KIconView.contentsDragEvent() method (which have side effects a TDEIconView.contentsDragEvent() method (which have side effects
because they forward to TQIconView). 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 KIconView.contentsDrag Event() 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 cancelPendingHeldSignal();
protected native void slotOnItem(TQIconViewItem item); protected native void slotOnItem(TQIconViewItem item);

@ -14,55 +14,55 @@ import org.kde.qt.TQIconViewItem;
/** /**
KIconViewItem exists to improve the word-wrap functionality of TQIconViewItem TDEIconViewItem exists to improve the word-wrap functionality of TQIconViewItem
Use KIconViewItem instead of TQIconViewItem for any iconview item you might have :) Use TDEIconViewItem instead of TQIconViewItem for any iconview item you might have :)
@author David Faure <david@mandrakesoft.com> @author David Faure <david@mandrakesoft.com>
@short A variant of TQIconViewItem that wraps words better. @short A variant of TQIconViewItem that wraps words better.
*/ */
public class KIconViewItem extends TQIconViewItem { public class TDEIconViewItem extends TQIconViewItem {
protected KIconViewItem(Class dummy){super((Class) null);} protected TDEIconViewItem(Class dummy){super((Class) null);}
public KIconViewItem(TQIconView parent) { public TDEIconViewItem(TQIconView parent) {
super((Class) null); super((Class) null);
newKIconViewItem(parent); newTDEIconViewItem(parent);
} }
private native void newKIconViewItem(TQIconView parent); private native void newTDEIconViewItem(TQIconView parent);
public KIconViewItem(TQIconView parent, TQIconViewItem after) { public TDEIconViewItem(TQIconView parent, TQIconViewItem after) {
super((Class) null); super((Class) null);
newKIconViewItem(parent,after); newTDEIconViewItem(parent,after);
} }
private native void newKIconViewItem(TQIconView parent, TQIconViewItem after); private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after);
public KIconViewItem(TQIconView parent, String text) { public TDEIconViewItem(TQIconView parent, String text) {
super((Class) null); super((Class) null);
newKIconViewItem(parent,text); newTDEIconViewItem(parent,text);
} }
private native void newKIconViewItem(TQIconView parent, String text); private native void newTDEIconViewItem(TQIconView parent, String text);
public KIconViewItem(TQIconView parent, TQIconViewItem after, String text) { public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text) {
super((Class) null); super((Class) null);
newKIconViewItem(parent,after,text); newTDEIconViewItem(parent,after,text);
} }
private native void newKIconViewItem(TQIconView parent, TQIconViewItem after, String text); private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text);
public KIconViewItem(TQIconView parent, String text, TQPixmap icon) { public TDEIconViewItem(TQIconView parent, String text, TQPixmap icon) {
super((Class) null); super((Class) null);
newKIconViewItem(parent,text,icon); newTDEIconViewItem(parent,text,icon);
} }
private native void newKIconViewItem(TQIconView parent, String text, TQPixmap icon); private native void newTDEIconViewItem(TQIconView parent, String text, TQPixmap icon);
public KIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) { public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) {
super((Class) null); super((Class) null);
newKIconViewItem(parent,after,text,icon); newTDEIconViewItem(parent,after,text,icon);
} }
private native void newKIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon); private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon);
public KIconViewItem(TQIconView parent, String text, TQPicture picture) { public TDEIconViewItem(TQIconView parent, String text, TQPicture picture) {
super((Class) null); super((Class) null);
newKIconViewItem(parent,text,picture); newTDEIconViewItem(parent,text,picture);
} }
private native void newKIconViewItem(TQIconView parent, String text, TQPicture picture); private native void newTDEIconViewItem(TQIconView parent, String text, TQPicture picture);
public KIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) { public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) {
super((Class) null); super((Class) null);
newKIconViewItem(parent,after,text,picture); newTDEIconViewItem(parent,after,text,picture);
} }
private native void newKIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture 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 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 geometry of the item will be calculated to let a pixmap of the given size

@ -16,7 +16,7 @@ import org.kde.qt.TQEvent;
import org.kde.qt.TQWidget; import org.kde.qt.TQWidget;
import org.kde.qt.TQWheelEvent; import org.kde.qt.TQWheelEvent;
public interface KIconViewSignals { public interface TDEIconViewSignals {
/** /**
This signal is emitted whenever the user executes an iconview item. This signal is emitted whenever the user executes an iconview item.
That means depending on the KDE wide Single Click/Double Click That means depending on the KDE wide Single Click/Double Click

@ -7,13 +7,13 @@ import org.kde.qt.TQMimeSourceFactory;
/** /**
An extension to TQMimeSourceFactory that uses KIconLoader to An extension to TQMimeSourceFactory that uses TDEIconLoader to
find images. find images.
Normally you don't have to instantiate this class at all, TDEApplication does that for Normally you don't have to instantiate this class at all, TDEApplication does that for
you automagically and sets TQMimeSourceFactory.setDefaultFactory(). you automagically and sets TQMimeSourceFactory.setDefaultFactory().
@author Peter Putzer <putzer@kde.org> @author Peter Putzer <putzer@kde.org>
@short An extension to TQMimeSourceFactory that uses KIconLoader to find images. @short An extension to TQMimeSourceFactory that uses TDEIconLoader to find images.
*/ */
public class KMimeSourceFactory extends TQMimeSourceFactory { public class KMimeSourceFactory extends TQMimeSourceFactory {
@ -23,11 +23,11 @@ public class KMimeSourceFactory extends TQMimeSourceFactory {
@param loader is the iconloader used to find images. @param loader is the iconloader used to find images.
@short Constructor. @short Constructor.
*/ */
public KMimeSourceFactory(KIconLoader loader) { public KMimeSourceFactory(TDEIconLoader loader) {
super((Class) null); super((Class) null);
newKMimeSourceFactory(loader); newKMimeSourceFactory(loader);
} }
private native void newKMimeSourceFactory(KIconLoader loader); private native void newKMimeSourceFactory(TDEIconLoader loader);
public KMimeSourceFactory() { public KMimeSourceFactory() {
super((Class) null); super((Class) null);
newKMimeSourceFactory(); newKMimeSourceFactory();

@ -95,8 +95,8 @@ public class KMimeType extends KServiceType {
@param group The icon group where the icon is going to be used. @param group The icon group where the icon is going to be used.
@param force_size Override globallly configured icon size. @param force_size Override globallly configured icon size.
Use 0 for the default size Use 0 for the default size
@param state The icon state, one of: <code>KIcon</code>.DefaultState, @param state The icon state, one of: <code>TDEIcon</code>.DefaultState,
<code>KIcon</code>.ActiveState or <code>KIcon</code>.DisabledState. <code>TDEIcon</code>.ActiveState or <code>TDEIcon</code>.DisabledState.
@param path Output parameter to get the full path. Seldom needed. @param path Output parameter to get the full path. Seldom needed.
Ignored if 0 Ignored if 0
@return the pixmap of the mime type, can be a default icon if not found @return the pixmap of the mime type, can be a default icon if not found
@ -115,8 +115,8 @@ public class KMimeType extends KServiceType {
@param _group The icon group where the icon is going to be used. @param _group The icon group where the icon is going to be used.
@param _force_size Override globallly configured icon size. @param _force_size Override globallly configured icon size.
Use 0 for the default size Use 0 for the default size
@param _state The icon state, one of: KIcon.DefaultState, @param _state The icon state, one of: TDEIcon.DefaultState,
KIcon.ActiveState or KIcon.DisabledState. TDEIcon.ActiveState or TDEIcon.DisabledState.
@param _path Output parameter to get the full path. Seldom needed. @param _path Output parameter to get the full path. Seldom needed.
Ignored if 0 Ignored if 0
@return the pixmap of the URL, can be a default icon if not found @return the pixmap of the URL, can be a default icon if not found
@ -222,8 +222,8 @@ public class KMimeType extends KServiceType {
@param _group The icon group where the icon is going to be used. @param _group The icon group where the icon is going to be used.
@param _force_size Override globally configured icon size. @param _force_size Override globally configured icon size.
Use 0 for the default size Use 0 for the default size
@param _state The icon state, one of: KIcon.DefaultState, @param _state The icon state, one of: TDEIcon.DefaultState,
KIcon.ActiveState or KIcon.DisabledState. TDEIcon.ActiveState or TDEIcon.DisabledState.
@param _path Output parameter to get the full path. Seldom needed. @param _path Output parameter to get the full path. Seldom needed.
Ignored if 0 Ignored if 0
@return the pixmap of the URL, can be a default icon if not found @return the pixmap of the URL, can be a default icon if not found
@ -238,7 +238,7 @@ public class KMimeType extends KServiceType {
public static native TQPixmap pixmapForURL(KURL _url); public static native TQPixmap pixmapForURL(KURL _url);
/** /**
The same functionality as pixmapForURL(), but this method returns the name The same functionality as pixmapForURL(), but this method returns the name
of the icon to load. You'll have to use KIconLoader to load the pixmap for it. of the icon to load. You'll have to use TDEIconLoader to load the pixmap for it.
The advantage of this method is that you can store the result, and then use it The advantage of this method is that you can store the result, and then use it
later on for any kind of size. later on for any kind of size.
@param _url URL for the file @param _url URL for the file

@ -25,7 +25,7 @@ public class KPixmapProvider implements QtSupport {
You may subclass this and return a pixmap of size <code>size</code> for <code>text.</code> You may subclass this and return a pixmap of size <code>size</code> for <code>text.</code>
@param text the text that is associated with the pixmap @param text the text that is associated with the pixmap
@param size the size of the icon in pixels, 0 for defaylt size. @param size the size of the icon in pixels, 0 for defaylt size.
See KIcon.StdSize. See TDEIcon.StdSize.
@return the pixmap for the arguments, or null if there is none @return the pixmap for the arguments, or null if there is none
@short You may subclass this and return a pixmap of size <code>size</code> for <code>text.</code> @short You may subclass this and return a pixmap of size <code>size</code> for <code>text.</code>

@ -122,14 +122,14 @@ public class KURLBar extends TQFrame {
public native KURLBarListBox listBox(); public native KURLBarListBox listBox();
/** /**
Sets the default iconsize to be used for items inserted with Sets the default iconsize to be used for items inserted with
insertItem. By default KIcon.SizeMedium. insertItem. By default TDEIcon.SizeMedium.
@short Sets the default iconsize to be used for items inserted with insertItem. @short Sets the default iconsize to be used for items inserted with insertItem.
@see #iconsize @see #iconsize
*/ */
public native void setIconSize(int size); public native void setIconSize(int size);
/** /**
@return the default iconsize used for items inserted with @return the default iconsize used for items inserted with
insertItem. By default KIcon.SizeMedium insertItem. By default TDEIcon.SizeMedium
@short @short
@see #setIconSize @see #setIconSize

@ -94,7 +94,7 @@ public class KURLBarItem extends TQListBoxPixmap {
*/ */
public native void setURL(KURL url); public native void setURL(KURL url);
/** /**
<code>sets</code> the icon for this item. See KIconLoader for a description <code>sets</code> the icon for this item. See TDEIconLoader for a description
of the icon groups. of the icon groups.
@short <code>sets</code> the icon for this item. @short <code>sets</code> the icon for this item.
@see #icon @see #icon

@ -30,7 +30,7 @@ public class KURLPixmapProvider extends KPixmapProvider {
@return the resulting pixmap @return the resulting pixmap
@short Returns a pixmap for <code>url</code> with size <code>size.</code> @short Returns a pixmap for <code>url</code> with size <code>size.</code>
@see KIcon#StdSizes @see TDEIcon#StdSizes
*/ */
public native TQPixmap pixmapFor(String url, int size); public native TQPixmap pixmapFor(String url, int size);
public native TQPixmap pixmapFor(String url); public native TQPixmap pixmapFor(String url);

File diff suppressed because one or more lines are too long

@ -336,7 +336,7 @@ public class TDEAction extends TQObject {
/** /**
Get the TQIconSet from which the icons used to display this action will Get the TQIconSet from which the icons used to display this action will
be chosen. be chosen.
In KDE4 set group default to KIcon.Small while removing the other In KDE4 set group default to TDEIcon.Small while removing the other
iconSet() function. iconSet() function.
@short Get the TQIconSet from which the icons used to display this action will be chosen. @short Get the TQIconSet from which the icons used to display this action will be chosen.
*/ */

@ -1043,7 +1043,7 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac
@short Returns an iconloader object. @short Returns an iconloader object.
*/ */
public native KIconLoader iconLoader(); public native TDEIconLoader iconLoader();
/** /**
Re-allocate the global iconloader. Re-allocate the global iconloader.
@short Re-allocate the global iconloader. @short Re-allocate the global iconloader.

@ -61,7 +61,7 @@ public class TDEGlobal implements QtSupport {
@short Returns an iconloader object. @short Returns an iconloader object.
*/ */
public static native KIconLoader iconLoader(); public static native TDEIconLoader iconLoader();
/** /**
Returns the global locale object. Returns the global locale object.
@return the global locale object @return the global locale object

@ -75,7 +75,7 @@ public class TDEInstance implements QtSupport, TDEInstanceInterface {
@short Returns an iconloader object. @short Returns an iconloader object.
*/ */
public native KIconLoader iconLoader(); public native TDEIconLoader iconLoader();
/** /**
Re-allocate the global iconloader. Re-allocate the global iconloader.
@short Re-allocate the global iconloader. @short Re-allocate the global iconloader.

@ -7,7 +7,7 @@ public interface TDEInstanceInterface {
TDEStandardDirs dirs(); TDEStandardDirs dirs();
TDEConfig config(); TDEConfig config();
TDESharedConfig sharedConfig(); TDESharedConfig sharedConfig();
KIconLoader iconLoader(); TDEIconLoader iconLoader();
void newIconLoader(); void newIconLoader();
TDEAboutData aboutData(); TDEAboutData aboutData();
String instanceName(); String instanceName();

@ -511,7 +511,7 @@ public class TDEMainWindow extends TQMainWindow implements KXMLGUIBuilderInterfa
want to provide access to the help system from the help menu. want to provide access to the help system from the help menu.
Example (adding a help button to the first toolbar): Example (adding a help button to the first toolbar):
<pre> <pre>
KIconLoader &loader = TDEGlobal.iconLoader(); TDEIconLoader &loader = TDEGlobal.iconLoader();
TQPixmap pixmap = loader.loadIcon( "help" ); TQPixmap pixmap = loader.loadIcon( "help" );
toolBar(0).insertButton( pixmap, 0, SIGNAL("clicked()"), toolBar(0).insertButton( pixmap, 0, SIGNAL("clicked()"),
this, SLOT("appHelpActivated()"), true, i18n("Help") ); this, SLOT("appHelpActivated()"), true, i18n("Help") );

@ -66,7 +66,7 @@ import java.util.ArrayList;
</li> </li>
<li> <li>
icon - Icons, see KIconLoader. icon - Icons, see TDEIconLoader.
</li> </li>
<li> <li>

@ -762,13 +762,13 @@ public class TDEToolBar extends TQToolBar {
public native int iconTextId(); public native int iconTextId();
/** /**
Set the icon size to load. Usually you should not call Set the icon size to load. Usually you should not call
this, the icon size is taken care of by KIconLoader this, the icon size is taken care of by TDEIconLoader
and globally configured. and globally configured.
By default, the toolbar will load icons of size 32 for main By default, the toolbar will load icons of size 32 for main
toolbars and 22 for other toolbars toolbars and 22 for other toolbars
@param size The size to use @param size The size to use
@short Set the icon size to load. @short Set the icon size to load.
@see KIconLoader# @see TDEIconLoader#
*/ */
public native void setIconSize(int size); public native void setIconSize(int size);
/** /**

@ -77,7 +77,7 @@ import java.util.*;
konqc.setCompletionObject( s_pCompletion ); konqc.setCompletionObject( s_pCompletion );
TQLabel lblkonq = new TQLabel( konqc, "&Konqueror's ComboBox", w ); TQLabel lblkonq = new TQLabel( konqc, "&Konqueror's ComboBox", w );
// konqc.insertItem( KIconLoader.SmallIcon("www"), // konqc.insertItem( TDEIconLoader.SmallIcon("www"),
// "http://www.kde.org" ); // "http://www.kde.org" );
konqc.insertItem( app.iconLoader().loadIcon("www",0 ), konqc.insertItem( app.iconLoader().loadIcon("www",0 ),
"http://www.kde.org" ); "http://www.kde.org" );

@ -66,7 +66,7 @@ private:
/** /**
* KJS binding for KIconLoader. * KJS binding for TDEIconLoader.
* *
* @author Ian Reinhart Geiser geiseri@kde.org * @author Ian Reinhart Geiser geiseri@kde.org
*/ */

@ -2383,7 +2383,7 @@
2003-11-19 Wednesday 00:58 geiseri 2003-11-19 Wednesday 00:58 geiseri
Added support for KIconLoader and KStdDirs so we can find junk in KDE. Added support for TDEIconLoader and KStdDirs so we can find junk in KDE.
Exposed : Exposed :
findResource, addResourceType, kde_default, findResource, addResourceType, kde_default,
addResourceDir, findResourceDir, saveLocation, addResourceDir, findResourceDir, saveLocation,
@ -4097,7 +4097,7 @@
KDualColorButton, KEditListBox, TDEFontCombo, KGradientSelector, KDualColorButton, KEditListBox, TDEFontCombo, KGradientSelector,
KHistoryCombo, KHSSelector, KLed, TDEListBox, TDEListView, KHistoryCombo, KHSSelector, KLed, TDEListBox, TDEListView,
KLineEdit, KPasswordEdit, KProgress, KPushButton, KLineEdit, KPasswordEdit, KProgress, KPushButton,
KRestrictedLine, KIconButton, KIntSpinBox, KRuler, KRestrictedLine, TDEIconButton, KIntSpinBox, KRuler,
KSqueezedTextLabel, KTextBrowser, KTextEdit, KSqueezedTextLabel, KTextBrowser, KTextEdit,
KURLLabel, KURLRequester, KURLLabel, KURLRequester,
KIntNumInput, KDoubleNumInput, KDoubleSpinBox KIntNumInput, KDoubleNumInput, KDoubleSpinBox

@ -20,7 +20,7 @@ $JS write_docs.js 'Global' 'global' 'The global object.' > $REF/global.html
$JS write_docs.js 'Application' 'application' 'Global application object.' > $REF/application.html $JS write_docs.js 'Application' 'application' 'Global application object.' > $REF/application.html
$JS write_docs.js 'Part' 'part' 'Part used by the interpreter.' > $REF/part.html $JS write_docs.js 'Part' 'part' 'Part used by the interpreter.' > $REF/part.html
$JS write_docs.js 'StdDirs' 'StdDirs' 'Provides access to TDEStandardDirs.' > $REF/stddirs.html $JS write_docs.js 'StdDirs' 'StdDirs' 'Provides access to TDEStandardDirs.' > $REF/stddirs.html
$JS write_docs.js 'StdIcons' 'StdIcons' 'Provides access to the KIconLoader.' > $REF/stdicons.html $JS write_docs.js 'StdIcons' 'StdIcons' 'Provides access to the TDEIconLoader.' > $REF/stdicons.html
# Custom Objects # Custom Objects
$JS write_docs.js 'Image' 'new Image()' 'Bindings to the TQImage class.' > $REF/image.html $JS write_docs.js 'Image' 'new Image()' 'Bindings to the TQImage class.' > $REF/image.html
@ -60,7 +60,7 @@ OBJECTS="$OBJECTS KComboBox TDECModule KDateWidget KDatePicker KDialog"
OBJECTS="$OBJECTS KDualColorButton KEditListBox TDEFontCombo KGradientSelector" OBJECTS="$OBJECTS KDualColorButton KEditListBox TDEFontCombo KGradientSelector"
OBJECTS="$OBJECTS KHistoryCombo KHSSelector KLed TDEListBox TDEListView" OBJECTS="$OBJECTS KHistoryCombo KHSSelector KLed TDEListBox TDEListView"
OBJECTS="$OBJECTS KLineEdit KPasswordEdit KProgress KPushButton" OBJECTS="$OBJECTS KLineEdit KPasswordEdit KProgress KPushButton"
OBJECTS="$OBJECTS KRestrictedLine KIconButton KIntSpinBox KRuler" OBJECTS="$OBJECTS KRestrictedLine TDEIconButton KIntSpinBox KRuler"
OBJECTS="$OBJECTS KSqueezedTextLabel KTextBrowser KTextEdit" OBJECTS="$OBJECTS KSqueezedTextLabel KTextBrowser KTextEdit"
OBJECTS="$OBJECTS KURLLabel KURLRequester" OBJECTS="$OBJECTS KURLLabel KURLRequester"
OBJECTS="$OBJECTS KIntNumInput KDoubleNumInput KDoubleSpinBox" OBJECTS="$OBJECTS KIntNumInput KDoubleNumInput KDoubleSpinBox"

@ -64,8 +64,8 @@ JSConsoleWidget::~JSConsoleWidget()
void JSConsoleWidget::createView() void JSConsoleWidget::createView()
{ {
TQPixmap px( TDEGlobal::iconLoader()->loadIcon("konsole", KIcon::NoGroup, KIcon::SizeSmall) ); TQPixmap px( TDEGlobal::iconLoader()->loadIcon("konsole", TDEIcon::NoGroup, TDEIcon::SizeSmall) );
TQPixmap pxl( TDEGlobal::iconLoader()->loadIcon("konsole", KIcon::NoGroup, KIcon::SizeLarge) ); TQPixmap pxl( TDEGlobal::iconLoader()->loadIcon("konsole", TDEIcon::NoGroup, TDEIcon::SizeLarge) );
setIcon( px ); setIcon( px );
KWin::setIcons( winId(), pxl, px ); KWin::setIcons( winId(), pxl, px );

@ -726,7 +726,7 @@ def UIWidgets.widKHSSelector(parent)
parent.currentPageObj = Page4.new(parent) parent.currentPageObj = Page4.new(parent)
end end
def UIWidgets.widKIconView(parent) def UIWidgets.widTDEIconView(parent)
parent.currentPageObj = PageNotImpl.new(parent) parent.currentPageObj = PageNotImpl.new(parent)
end end

@ -3693,55 +3693,55 @@
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconButton</name> <name>TDEIconButton</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconButtonSignals</name> <name>TDEIconButtonSignals</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconCanvas</name> <name>TDEIconCanvas</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconCanvasSignals</name> <name>TDEIconCanvasSignals</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconDialog</name> <name>TDEIconDialog</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconDialogSignals</name> <name>TDEIconDialogSignals</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconEffect</name> <name>TDEIconEffect</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIcon</name> <name>TDEIcon</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconLoader</name> <name>TDEIconLoader</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconTheme</name> <name>TDEIconTheme</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconViewItem</name> <name>TDEIconViewItem</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconView</name> <name>TDEIconView</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KIconViewSignals</name> <name>TDEIconViewSignals</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>

@ -1,4 +1,4 @@
class KIconCollection class TDEIconCollection
IconInfo = Struct.new(:collection, :id, :filetype) IconInfo = Struct.new(:collection, :id, :filetype)
def initialize(icon_collections) def initialize(icon_collections)
@icon_info = {} @icon_info = {}
@ -50,5 +50,5 @@ icon_collections = {
Icons::EXIT => "exit" Icons::EXIT => "exit"
} }
} }
$kIcons = KIconCollection.new(icon_collections) $kIcons = TDEIconCollection.new(icon_collections)
print "Using TDEDIR == ", $kIcons.tdedir, "\n" print "Using TDEDIR == ", $kIcons.tdedir, "\n"

Loading…
Cancel
Save