summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QIconViewItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QIconViewItem.cpp')
-rw-r--r--qtjava/javalib/qtjava/QIconViewItem.cpp254
1 files changed, 127 insertions, 127 deletions
diff --git a/qtjava/javalib/qtjava/QIconViewItem.cpp b/qtjava/javalib/qtjava/QIconViewItem.cpp
index 58fd8b6b..117500a4 100644
--- a/qtjava/javalib/qtjava/QIconViewItem.cpp
+++ b/qtjava/javalib/qtjava/QIconViewItem.cpp
@@ -9,113 +9,113 @@
#include <tqpixmap.h>
#include <qtjava/QtSupport.h>
-#include <qtjava/QIconViewItem.h>
+#include <qtjava/TQIconViewItem.h>
-class QIconViewItemJBridge : public QIconViewItem
+class TQIconViewItemJBridge : public TQIconViewItem
{
public:
- QIconViewItemJBridge(TQIconView* arg1) : TQIconViewItem(arg1) {};
- QIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : TQIconViewItem(arg1,arg2) {};
- QIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : TQIconViewItem(arg1,arg2) {};
- QIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : TQIconViewItem(arg1,arg2,arg3) {};
- QIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : TQIconViewItem(arg1,arg2,arg3) {};
- QIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : TQIconViewItem(arg1,arg2,arg3,arg4) {};
- QIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : TQIconViewItem(arg1,arg2,arg3) {};
- QIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : TQIconViewItem(arg1,arg2,arg3,arg4) {};
+ TQIconViewItemJBridge(TTQIconView* arg1) : TTQIconViewItem(arg1) {};
+ TQIconViewItemJBridge(TTQIconView* arg1,TTQIconViewItem* arg2) : TTQIconViewItem(arg1,arg2) {};
+ TQIconViewItemJBridge(TTQIconView* arg1,const TTQString& arg2) : TTQIconViewItem(arg1,arg2) {};
+ TQIconViewItemJBridge(TTQIconView* arg1,TTQIconViewItem* arg2,const TTQString& arg3) : TTQIconViewItem(arg1,arg2,arg3) {};
+ TQIconViewItemJBridge(TTQIconView* arg1,const TTQString& arg2,const TTQPixmap& arg3) : TTQIconViewItem(arg1,arg2,arg3) {};
+ TQIconViewItemJBridge(TTQIconView* arg1,TTQIconViewItem* arg2,const TTQString& arg3,const TTQPixmap& arg4) : TTQIconViewItem(arg1,arg2,arg3,arg4) {};
+ TQIconViewItemJBridge(TTQIconView* arg1,const TTQString& arg2,const TTQPicture& arg3) : TTQIconViewItem(arg1,arg2,arg3) {};
+ TQIconViewItemJBridge(TTQIconView* arg1,TTQIconViewItem* arg2,const TTQString& arg3,const TTQPicture& arg4) : TTQIconViewItem(arg1,arg2,arg3,arg4) {};
void public_repaint() {
- TQIconViewItem::repaint();
+ TTQIconViewItem::repaint();
return;
}
void protected_removeRenameBox() {
- TQIconViewItem::removeRenameBox();
+ TTQIconViewItem::removeRenameBox();
return;
}
- void protected_calcRect(const TQString& arg1) {
- TQIconViewItem::calcRect(arg1);
+ void protected_calcRect(const TTQString& arg1) {
+ TTQIconViewItem::calcRect(arg1);
return;
}
void protected_calcRect() {
- TQIconViewItem::calcRect();
+ TTQIconViewItem::calcRect();
return;
}
- void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) {
- TQIconViewItem::paintItem(arg1,arg2);
+ void protected_paintItem(TTQPainter* arg1,const TTQColorGroup& arg2) {
+ TTQIconViewItem::paintItem(arg1,arg2);
return;
}
- void protected_paintFocus(TQPainter* arg1,const TQColorGroup& arg2) {
- TQIconViewItem::paintFocus(arg1,arg2);
+ void protected_paintFocus(TTQPainter* arg1,const TTQColorGroup& arg2) {
+ TTQIconViewItem::paintFocus(arg1,arg2);
return;
}
void protected_dragEntered() {
- TQIconViewItem::dragEntered();
+ TTQIconViewItem::dragEntered();
return;
}
void protected_dragLeft() {
- TQIconViewItem::dragLeft();
+ TTQIconViewItem::dragLeft();
return;
}
- void protected_setItemRect(const TQRect& arg1) {
- TQIconViewItem::setItemRect(arg1);
+ void protected_setItemRect(const TTQRect& arg1) {
+ TTQIconViewItem::setItemRect(arg1);
return;
}
- void protected_setTextRect(const TQRect& arg1) {
- TQIconViewItem::setTextRect(arg1);
+ void protected_setTextRect(const TTQRect& arg1) {
+ TTQIconViewItem::setTextRect(arg1);
return;
}
- void protected_setPixmapRect(const TQRect& arg1) {
- TQIconViewItem::setPixmapRect(arg1);
+ void protected_setPixmapRect(const TTQRect& arg1) {
+ TTQIconViewItem::setPixmapRect(arg1);
return;
}
void protected_calcTmpText() {
- TQIconViewItem::calcTmpText();
+ TTQIconViewItem::calcTmpText();
return;
}
- TQString protected_tempText() {
- return (TQString) TQIconViewItem::tempText();
+ TTQString protected_tempText() {
+ return (TTQString) TTQIconViewItem::tempText();
}
- ~QIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);}
+ ~TQIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_acceptDrop(JNIEnv* env, jobject obj, jobject mime)
{
- jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->acceptDrop((const TQMimeSource*) QtSupport::mimeSource(env, mime));
+ jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->acceptDrop((const TTQMimeSource*) QtSupport::mimeSource(env, mime));
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_calcRect__(JNIEnv* env, jobject obj)
{
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect();
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_calcRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text_)
{
-static TQString* _qstring_text_ = 0;
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) QtSupport::toQString(env, text_, &_qstring_text_));
+static TTQString* _qstring_text_ = 0;
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text_, &_qstring_text_));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_calcTmpText(JNIEnv* env, jobject obj)
{
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcTmpText();
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcTmpText();
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_compare(JNIEnv* env, jobject obj, jobject i)
{
- jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->compare((TQIconViewItem*) QtSupport::getQt(env, i));
+ jint xret = (jint) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->compare((TTQIconViewItem*) QtSupport::getQt(env, i));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_contains(JNIEnv* env, jobject obj, jobject pnt)
{
- jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pnt));
+ jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->contains((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pnt));
return xret;
}
@@ -129,36 +129,36 @@ Java_org_kde_qt_QIconViewItem_dispose(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_dragEnabled(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->dragEnabled();
+ jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->dragEnabled();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_dragEntered(JNIEnv* env, jobject obj)
{
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragEntered();
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragEntered();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_dragLeft(JNIEnv* env, jobject obj)
{
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragLeft();
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragLeft();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_dropEnabled(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->dropEnabled();
+ jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->dropEnabled();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_finalize(JNIEnv* env, jobject obj)
{
- if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconViewItem*)(TQIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) {
- delete (TQIconViewItem*)QtSupport::getQt(env, obj);
+ if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQIconViewItem*)(TTQIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) {
+ delete (TTQIconViewItem*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
@@ -167,28 +167,28 @@ Java_org_kde_qt_QIconViewItem_finalize(JNIEnv* env, jobject obj)
JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_height(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->height();
+ jint xret = (jint) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->height();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_iconView(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->iconView(), "org.kde.qt.TQIconView");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconViewItem*) QtSupport::getQt(env, obj))->iconView(), "org.kde.qt.TTQIconView");
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_index(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->index();
+ jint xret = (jint) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->index();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_intersects(JNIEnv* env, jobject obj, jobject r)
{
- jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->intersects((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
+ jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->intersects((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r));
return xret;
}
@@ -201,134 +201,134 @@ Java_org_kde_qt_QIconViewItem_isDisposed(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_isSelectable(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->isSelectable();
+ jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->isSelectable();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_isSelected(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->isSelected();
+ jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->isSelected();
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QIconViewItem_key(JNIEnv* env, jobject obj)
{
- TQString _qstring;
- _qstring = ((TQIconViewItem*) QtSupport::getQt(env, obj))->key();
- return QtSupport::fromQString(env, &_qstring);
+ TTQString _qstring;
+ _qstring = ((TTQIconViewItem*) QtSupport::getQt(env, obj))->key();
+ return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_moveBy__II(JNIEnv* env, jobject obj, jint dx, jint dy)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->moveBy((int) dx, (int) dy);
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->moveBy((int) dx, (int) dy);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_moveBy__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pnt)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->moveBy((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pnt));
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->moveBy((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pnt));
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_move__II(JNIEnv* env, jobject obj, jint x, jint y)
{
- jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->move((int) x, (int) y);
+ jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->move((int) x, (int) y);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_move__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pnt)
{
- jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->move((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pnt));
+ jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->move((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pnt));
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2(JNIEnv* env, jobject obj, jobject parent)
+Java_org_kde_qt_QIconViewItem_newTQIconViewItem__Lorg_kde_qt_QIconView_2(JNIEnv* env, jobject obj, jobject parent)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent)));
+ QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text)
+Java_org_kde_qt_QIconViewItem_newTQIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text)
{
-static TQString* _qstring_text = 0;
+static TTQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)));
+ QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QIconViewItem_newQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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 TTQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture)));
+ QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPicture&)*(const TTQPicture*) QtSupport::getQt(env, picture)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QIconViewItem_newQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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 TTQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon)));
+ QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, icon)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after)
+Java_org_kde_qt_QIconViewItem_newTQIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after)));
+ QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (TTQIconViewItem*) QtSupport::getQt(env, after)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QIconViewItem_newQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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 TTQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)));
+ QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (TTQIconViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QIconViewItem_newQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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 TTQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture)));
+ QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (TTQIconViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPicture&)*(const TTQPicture*) QtSupport::getQt(env, picture)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QIconViewItem_newQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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 TTQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon)));
+ QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (TTQIconViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, icon)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -337,286 +337,286 @@ static TQString* _qstring_text = 0;
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_nextItem(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->nextItem(), "org.kde.qt.TQIconViewItem");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconViewItem*) QtSupport::getQt(env, obj))->nextItem(), "org.kde.qt.TTQIconViewItem");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_paintFocus(JNIEnv* env, jobject obj, jobject p, jobject cg)
{
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintFocus((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintFocus((TTQPainter*) QtSupport::getQt(env, p), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject cg)
{
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TTQPainter*) QtSupport::getQt(env, p), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg));
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_picture(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->picture(), "org.kde.qt.TQPicture");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconViewItem*) QtSupport::getQt(env, obj))->picture(), "org.kde.qt.TTQPicture");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_pixmapRect__(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->pixmapRect()), "org.kde.qt.TQRect", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQIconViewItem*) QtSupport::getQt(env, obj))->pixmapRect()), "org.kde.qt.TTQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_pixmapRect__Z(JNIEnv* env, jobject obj, jboolean relative)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->pixmapRect((bool) relative)), "org.kde.qt.TQRect", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQIconViewItem*) QtSupport::getQt(env, obj))->pixmapRect((bool) relative)), "org.kde.qt.TTQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_pixmap(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconViewItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TTQPixmap");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_pos(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQIconViewItem*) QtSupport::getQt(env, obj))->pos()), "org.kde.qt.TQPoint", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQIconViewItem*) QtSupport::getQt(env, obj))->pos()), "org.kde.qt.TTQPoint", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_prevItem(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->prevItem(), "org.kde.qt.TQIconViewItem");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconViewItem*) QtSupport::getQt(env, obj))->prevItem(), "org.kde.qt.TTQIconViewItem");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_rect(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQIconViewItem*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TTQRect", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_removeRenameBox(JNIEnv* env, jobject obj)
{
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_removeRenameBox();
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_removeRenameBox();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QIconViewItem_renameEnabled(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->renameEnabled();
+ jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->renameEnabled();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_rename(JNIEnv* env, jobject obj)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->rename();
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->rename();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_repaint(JNIEnv* env, jobject obj)
{
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->public_repaint();
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->public_repaint();
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_rtti(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->rtti();
+ jint xret = (jint) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->rtti();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setDragEnabled(JNIEnv* env, jobject obj, jboolean allow)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setDragEnabled((bool) allow);
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setDragEnabled((bool) allow);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setDropEnabled(JNIEnv* env, jobject obj, jboolean allow)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setDropEnabled((bool) allow);
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setDropEnabled((bool) allow);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setItemRect(JNIEnv* env, jobject obj, jobject r)
{
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setItemRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setItemRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setKey(JNIEnv* env, jobject obj, jstring k)
{
-static TQString* _qstring_k = 0;
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setKey((const TQString&)*(TQString*) QtSupport::toQString(env, k, &_qstring_k));
+static TTQString* _qstring_k = 0;
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setKey((const TTQString&)*(TTQString*) QtSupport::toTQString(env, k, &_qstring_k));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setPicture(JNIEnv* env, jobject obj, jobject icon)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPicture((const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, icon));
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setPicture((const TTQPicture&)*(const TTQPicture*) QtSupport::getQt(env, icon));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setPixmapRect(JNIEnv* env, jobject obj, jobject r)
{
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setPixmapRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setPixmapRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon));
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, icon));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2Z(JNIEnv* env, jobject obj, jobject icon, jboolean recalc)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (bool) recalc);
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, icon), (bool) recalc);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2ZZ(JNIEnv* env, jobject obj, jobject icon, jboolean recalc, jboolean redraw)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (bool) recalc, (bool) redraw);
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, icon), (bool) recalc, (bool) redraw);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setRenameEnabled(JNIEnv* env, jobject obj, jboolean allow)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setRenameEnabled((bool) allow);
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setRenameEnabled((bool) allow);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setSelectable(JNIEnv* env, jobject obj, jboolean s)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setSelectable((bool) s);
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setSelectable((bool) s);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setSelected__Z(JNIEnv* env, jobject obj, jboolean s)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setSelected((bool) s);
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setSelected((bool) s);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setSelected__ZZ(JNIEnv* env, jobject obj, jboolean s, jboolean cb)
{
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setSelected((bool) s, (bool) cb);
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setSelected((bool) s, (bool) cb);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setTextRect(JNIEnv* env, jobject obj, jobject r)
{
- ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setTextRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
+ ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setTextRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text)
{
-static TQString* _qstring_text = 0;
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text));
+static TTQString* _qstring_text = 0;
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean recalc)
{
-static TQString* _qstring_text = 0;
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (bool) recalc);
+static TTQString* _qstring_text = 0;
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) recalc);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring text, jboolean recalc, jboolean redraw)
{
-static TQString* _qstring_text = 0;
- ((TQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (bool) recalc, (bool) redraw);
+static TTQString* _qstring_text = 0;
+ ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) recalc, (bool) redraw);
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_size(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQIconViewItem*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQIconViewItem*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TTQSize", TRUE);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QIconViewItem_tempText(JNIEnv* env, jobject obj)
{
- TQString _qstring;
- _qstring = ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_tempText();
- return QtSupport::fromQString(env, &_qstring);
+ TTQString _qstring;
+ _qstring = ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_tempText();
+ return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_textRect__(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->textRect()), "org.kde.qt.TQRect", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQIconViewItem*) QtSupport::getQt(env, obj))->textRect()), "org.kde.qt.TTQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QIconViewItem_textRect__Z(JNIEnv* env, jobject obj, jboolean relative)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->textRect((bool) relative)), "org.kde.qt.TQRect", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQIconViewItem*) QtSupport::getQt(env, obj))->textRect((bool) relative)), "org.kde.qt.TTQRect", TRUE);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QIconViewItem_text(JNIEnv* env, jobject obj)
{
- TQString _qstring;
- _qstring = ((TQIconViewItem*) QtSupport::getQt(env, obj))->text();
- return QtSupport::fromQString(env, &_qstring);
+ TTQString _qstring;
+ _qstring = ((TTQIconViewItem*) QtSupport::getQt(env, obj))->text();
+ return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_width(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->width();
+ jint xret = (jint) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->width();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_x(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->x();
+ jint xret = (jint) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->x();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QIconViewItem_y(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->y();
+ jint xret = (jint) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->y();
return xret;
}