|
|
@ -473,13 +473,6 @@ Java_org_trinitydesktop_qt_QToolButton_iconSet__(JNIEnv* env, jobject obj)
|
|
|
|
return xret;
|
|
|
|
return xret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_iconSet__Z(JNIEnv* env, jobject obj, jboolean on)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolButton*) QtSupport::getQt(env, obj))->iconSet((bool) on)), "org.trinitydesktop.qt.TQIconSet", TRUE);
|
|
|
|
|
|
|
|
return xret;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_isDisposed(JNIEnv* env, jobject obj)
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_isDisposed(JNIEnv* env, jobject obj)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -588,20 +581,6 @@ static TQCString* _qstring_name = 0;
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_offIconSet(JNIEnv* env, jobject obj)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolButton*) QtSupport::getQt(env, obj))->offIconSet()), "org.trinitydesktop.qt.TQIconSet", TRUE);
|
|
|
|
|
|
|
|
return xret;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_onIconSet(JNIEnv* env, jobject obj)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolButton*) QtSupport::getQt(env, obj))->onIconSet()), "org.trinitydesktop.qt.TQIconSet", TRUE);
|
|
|
|
|
|
|
|
return xret;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_openPopup(JNIEnv* env, jobject obj)
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_openPopup(JNIEnv* env, jobject obj)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -644,27 +623,6 @@ Java_org_trinitydesktop_qt_QToolButton_setIconSet__Lorg_trinitydesktop_qt_QIconS
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_setIconSet__Lorg_trinitydesktop_qt_QIconSet_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean on)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
((TQToolButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1), (bool) on);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_setOffIconSet(JNIEnv* env, jobject obj, jobject arg1)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
((TQToolButton*) QtSupport::getQt(env, obj))->setOffIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1));
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_setOnIconSet(JNIEnv* env, jobject obj, jobject arg1)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
((TQToolButton*) QtSupport::getQt(env, obj))->setOnIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1));
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_setOn(JNIEnv* env, jobject obj, jboolean enable)
|
|
|
|
Java_org_trinitydesktop_qt_QToolButton_setOn(JNIEnv* env, jobject obj, jboolean enable)
|
|
|
|
{
|
|
|
|
{
|
|
|
|