#include <JQCheckBoxMenuItemBridge.h>
Public Slots | |
void | setText (JNIEnv *env, jstring text) |
Sets text. | |
void | setShortcut (JNIEnv *env, jstring shortcut) |
Sets short cut. | |
void | setIcon (JNIEnv *env, jobject iconSet) |
Sets icon. | |
void | setChecked (JNIEnv *env, jboolean checked) |
Sets whether or not the item is checked. | |
Public Member Functions | |
void | checkedChanged (jint modifiers, jboolean checked) |
Calls checkedChanged method of the JQMenuItemBridge object. | |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes JQCheckBoxMenuItemBridge class. | |
static jlong | newInstance (JNIEnv *env, jobject obj) |
Returns new instance of the bridge object. | |
Protected Slots | |
void | toggledSlot (bool checked) |
Toggled slot. | |
void | stateChangedSlot (int state) |
State changed slot. | |
Protected Member Functions | |
JQCheckBoxMenuItemBridge (JNIEnv *env, jobject obj) | |
Constructs new JQCheckBoxMenuItemBridge object. | |
QCheckBox * | checkBox () const |
Returns check box member. | |
virtual QWidget * | createQWidget () |
Creates QWidget adaptee. | |
virtual QAction * | createQAction () |
Creates QAction adaptee. | |
virtual void | deleteQWidget (QWidget *widget) |
virtual void | deleteQAction (QAction *action) |
virtual QWidget * | convertToQWidget (QAction *action) |
virtual QAction * | convertToQAction (QWidget *widget) |
JQCheckBoxMenuItemBridge::JQCheckBoxMenuItemBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
Constructs new JQCheckBoxMenuItemBridge object.
env | the JNIEnv pointer | |
obj | the JQCheckBoxMenuItem object |
void JQCheckBoxMenuItemBridge::setText | ( | JNIEnv * | env, | |
jstring | text | |||
) | [slot] |
Sets text.
env | the JNIEnv pointer | |
text | the text |
void JQCheckBoxMenuItemBridge::setShortcut | ( | JNIEnv * | env, | |
jstring | shortcut | |||
) | [slot] |
Sets short cut.
env | the JNIEnv pointer | |
shortcut | the shortcut |
void JQCheckBoxMenuItemBridge::setIcon | ( | JNIEnv * | env, | |
jobject | iconSet | |||
) | [slot] |
Sets icon.
env | the JNIEnv pointer | |
iconSet | the icon |
void JQCheckBoxMenuItemBridge::setChecked | ( | JNIEnv * | env, | |
jboolean | checked | |||
) | [slot] |
Sets whether or not the item is checked.
env | the JNIEnv pointer | |
checked | true if checked |
void JQCheckBoxMenuItemBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes JQCheckBoxMenuItemBridge class.
env | the JNIEnv pointer | |
cls | the JQCheckBoxMenuItem class |
FatalError | if failed |
Reimplemented from JQComponentBridge.
jlong JQCheckBoxMenuItemBridge::newInstance | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [static] |
Returns new instance of the bridge object.
env | the JNIEnv pointer | |
obj | the QSwing object |
Reimplemented from JQComponentBridge.
void JQCheckBoxMenuItemBridge::checkedChanged | ( | jint | modifiers, | |
jboolean | checked | |||
) |
Calls checkedChanged
method of the JQMenuItemBridge object.
modifiers | the keyboard modifiers | |
checked | true if the item is checked |
void JQCheckBoxMenuItemBridge::toggledSlot | ( | bool | checked | ) | [protected, slot] |
Toggled slot.
checked | true if the item is checked |
void JQCheckBoxMenuItemBridge::stateChangedSlot | ( | int | state | ) | [protected, slot] |
State changed slot.
state | the state |
QCheckBox * JQCheckBoxMenuItemBridge::checkBox | ( | ) | const [inline, protected] |
Returns check box member.
QWidget * JQCheckBoxMenuItemBridge::createQWidget | ( | ) | [protected, virtual] |
QAction * JQCheckBoxMenuItemBridge::createQAction | ( | ) | [protected, virtual] |
void JQCheckBoxMenuItemBridge::deleteQWidget | ( | QWidget * | widget | ) | [protected, virtual] |
Deletes QWidget.
Reimplemented from JQActionComponentBridge.
void JQCheckBoxMenuItemBridge::deleteQAction | ( | QAction * | action | ) | [protected, virtual] |
Deletes QAction.
Reimplemented from JQActionComponentBridge.
QWidget * JQCheckBoxMenuItemBridge::convertToQWidget | ( | QAction * | action | ) | [protected, virtual] |
Converts QAction into QWidget.
Reimplemented from JQActionComponentBridge.
QAction * JQCheckBoxMenuItemBridge::convertToQAction | ( | QWidget * | widget | ) | [protected, virtual] |
Converts QWidget into QAction.
Reimplemented from JQActionComponentBridge.