JQDialogBridge Class Reference

JQDialog Bridge. More...

#include <JQDialogBridge.h>

Inheritance diagram for JQDialogBridge:

JQWindowBridge JQContainerBridge JQComponentBridge QObjectBridge

List of all members.

Public Slots

jint exec (JNIEnv *env)
 Starts modal loop of the dialog.
void done (JNIEnv *env, jint result)
 Stops dialog modal loop.

Public Member Functions

QDialog * qDialog () const
 Returns QDialog adaptee.

Static Public Member Functions

static jlong newInstance (JNIEnv *env, jobject obj)
 Returns new instance of the bridge object.

Protected Member Functions

 JQDialogBridge (JNIEnv *env, jobject obj)
 Constructs new JQDialogBridge object.


Detailed Description

JQDialog Bridge.

Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)
Version:
0.2.0

Constructor & Destructor Documentation

JQDialogBridge::JQDialogBridge ( JNIEnv *  env,
jobject  obj 
) [protected]

Constructs new JQDialogBridge object.

Parameters:
env the JNIEnv pointer
obj the JQDialog object


Member Function Documentation

jint JQDialogBridge::exec ( JNIEnv *  env  )  [slot]

Starts modal loop of the dialog.

Parameters:
env the JNIEnv pointer
Returns:
dialog result

void JQDialogBridge::done ( JNIEnv *  env,
jint  result 
) [slot]

Stops dialog modal loop.

Parameters:
env the JNIEnv pointer
result the dialog result

jlong JQDialogBridge::newInstance ( JNIEnv *  env,
jobject  obj 
) [static]

Returns new instance of the bridge object.

Parameters:
env the JNIEnv pointer
obj the QSwing object
Returns:
new instance of the bridge object

Reimplemented from JQWindowBridge.

QDialog * JQDialogBridge::qDialog (  )  const [inline]

Returns QDialog adaptee.

Returns:
QDialog adaptee


Copyright © 2007 ETF and contributors. All Rights Reserved.