JQFrameBridge Class Reference

JQFrame Bridge. More...

#include <JQFrameBridge.h>

Inheritance diagram for JQFrameBridge:

JQWindowBridge JQContainerBridge JQComponentBridge QObjectBridge

List of all members.

Public Slots

void setMenuBar (JNIEnv *env, jlong menuBarBridge)
 Sets menu bar.
void addToolBar (JNIEnv *env, jlong toolBarBridge)
 Adds toolbar.
void removeToolBar (JNIEnv *env, jlong toolBarBridge)
 Removes the specified toolbar.
void setContentPane (JNIEnv *env, jlong contentPaneBridge)
 Sets content pane.
void setStatusBar (JNIEnv *env, jlong statusBarBridge)
 Sets status bar.

Public Member Functions

QMainWindow * qMainWindow () const
 Returns QMainWindow adaptee.

Static Public Member Functions

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

Protected Member Functions

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


Detailed Description

JQFrame Bridge.

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

Constructor & Destructor Documentation

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

Constructs new JQFrameBridge object.

Parameters:
env the JNIEnv pointer
obj the JQFrame object


Member Function Documentation

void JQFrameBridge::setMenuBar ( JNIEnv *  env,
jlong  menuBarBridge 
) [slot]

Sets menu bar.

Parameters:
env the JNIEnv pointer
menuBarBridge the menu bar bridge

void JQFrameBridge::addToolBar ( JNIEnv *  env,
jlong  toolBarBridge 
) [slot]

Adds toolbar.

Parameters:
env the JNIEnv pointer
toolBarBridge the toolbar bridge

void JQFrameBridge::removeToolBar ( JNIEnv *  env,
jlong  toolBarBridge 
) [slot]

Removes the specified toolbar.

Parameters:
env the JNIEnv pointer
toolBarBridge the toolbar bridge

void JQFrameBridge::setContentPane ( JNIEnv *  env,
jlong  contentPaneBridge 
) [slot]

Sets content pane.

Parameters:
env the JNIEnv pointer
contentPaneBridge the content pane bridge

void JQFrameBridge::setStatusBar ( JNIEnv *  env,
jlong  statusBarBridge 
) [slot]

Sets status bar.

Parameters:
env the JNIEnv pointer
statusBarBridge the status bar bridge

jlong JQFrameBridge::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.

QMainWindow * JQFrameBridge::qMainWindow (  )  const [inline]

Returns QMainWindow adaptee.

Returns:
QMainWindow adaptee


Copyright © 2007 ETF and contributors. All Rights Reserved.