summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QClipboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QClipboard.cpp')
-rw-r--r--qtjava/javalib/qtjava/QClipboard.cpp70
1 files changed, 35 insertions, 35 deletions
diff --git a/qtjava/javalib/qtjava/QClipboard.cpp b/qtjava/javalib/qtjava/QClipboard.cpp
index c655e4bb..1177cf5c 100644
--- a/qtjava/javalib/qtjava/QClipboard.cpp
+++ b/qtjava/javalib/qtjava/QClipboard.cpp
@@ -1,9 +1,9 @@
//Auto-generated by kalyptus. DO NOT EDIT.
-#include <qclipboard.h>
-#include <qpixmap.h>
-#include <qimage.h>
-#include <qstring.h>
-#include <qcstring.h>
+#include <tqclipboard.h>
+#include <tqpixmap.h>
+#include <tqimage.h>
+#include <tqstring.h>
+#include <tqcstring.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QClipboard.h>
@@ -47,21 +47,21 @@ Java_org_kde_qt_QClipboard_data__I(JNIEnv* env, jobject obj, jint mode)
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QClipboard_image__(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QClipboard*) QtSupport::getQt(env, obj))->image()), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((QClipboard*) QtSupport::getQt(env, obj))->image()), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QClipboard_image__I(JNIEnv* env, jobject obj, jint mode)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QClipboard*) QtSupport::getQt(env, obj))->image((QClipboard::Mode) mode)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((QClipboard*) QtSupport::getQt(env, obj))->image((QClipboard::Mode) mode)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QClipboard_metaObject(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((QClipboard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((QClipboard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret;
}
@@ -82,14 +82,14 @@ Java_org_kde_qt_QClipboard_ownsSelection(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QClipboard_pixmap__(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(((QClipboard*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.QPixmap", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((QClipboard*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QClipboard_pixmap__I(JNIEnv* env, jobject obj, jint mode)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(((QClipboard*) QtSupport::getQt(env, obj))->pixmap((QClipboard::Mode) mode)), "org.kde.qt.QPixmap", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((QClipboard*) QtSupport::getQt(env, obj))->pixmap((QClipboard::Mode) mode)), "org.kde.qt.TQPixmap", TRUE);
return xret;
}
@@ -103,42 +103,42 @@ Java_org_kde_qt_QClipboard_selectionModeEnabled(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_qt_QClipboard_setData__Lorg_kde_qt_QMimeSourceInterface_2(JNIEnv* env, jobject obj, jobject arg1)
{
- ((QClipboard*) QtSupport::getQt(env, obj))->setData((QMimeSource*) QtSupport::mimeSource(env, arg1));
+ ((QClipboard*) QtSupport::getQt(env, obj))->setData((TQMimeSource*) QtSupport::mimeSource(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QClipboard_setData__Lorg_kde_qt_QMimeSourceInterface_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode)
{
- ((QClipboard*) QtSupport::getQt(env, obj))->setData((QMimeSource*) QtSupport::mimeSource(env, arg1), (QClipboard::Mode) mode);
+ ((QClipboard*) QtSupport::getQt(env, obj))->setData((TQMimeSource*) QtSupport::mimeSource(env, arg1), (QClipboard::Mode) mode);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QClipboard_setImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1)
{
- ((QClipboard*) QtSupport::getQt(env, obj))->setImage((const QImage&)*(const QImage*) QtSupport::getQt(env, arg1));
+ ((QClipboard*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QClipboard_setImage__Lorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode)
{
- ((QClipboard*) QtSupport::getQt(env, obj))->setImage((const QImage&)*(const QImage*) QtSupport::getQt(env, arg1), (QClipboard::Mode) mode);
+ ((QClipboard*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1), (QClipboard::Mode) mode);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QClipboard_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1)
{
- ((QClipboard*) QtSupport::getQt(env, obj))->setPixmap((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, arg1));
+ ((QClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QClipboard_setPixmap__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode)
{
- ((QClipboard*) QtSupport::getQt(env, obj))->setPixmap((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, arg1), (QClipboard::Mode) mode);
+ ((QClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (QClipboard::Mode) mode);
return;
}
@@ -152,16 +152,16 @@ Java_org_kde_qt_QClipboard_setSelectionMode(JNIEnv* env, jobject obj, jboolean e
JNIEXPORT void JNICALL
Java_org_kde_qt_QClipboard_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
-static QString* _qstring_arg1 = 0;
- ((QClipboard*) QtSupport::getQt(env, obj))->setText((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1));
+static TQString* _qstring_arg1 = 0;
+ ((QClipboard*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QClipboard_setText__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint mode)
{
-static QString* _qstring_arg1 = 0;
- ((QClipboard*) QtSupport::getQt(env, obj))->setText((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (QClipboard::Mode) mode);
+static TQString* _qstring_arg1 = 0;
+ ((QClipboard*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (QClipboard::Mode) mode);
return;
}
@@ -175,7 +175,7 @@ Java_org_kde_qt_QClipboard_supportsSelection(JNIEnv* env, jobject obj)
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QClipboard_text__(JNIEnv* env, jobject obj)
{
- QString _qstring;
+ TQString _qstring;
_qstring = ((QClipboard*) QtSupport::getQt(env, obj))->text();
return QtSupport::fromQString(env, &_qstring);
}
@@ -183,7 +183,7 @@ Java_org_kde_qt_QClipboard_text__(JNIEnv* env, jobject obj)
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QClipboard_text__I(JNIEnv* env, jobject obj, jint mode)
{
- QString _qstring;
+ TQString _qstring;
_qstring = ((QClipboard*) QtSupport::getQt(env, obj))->text((QClipboard::Mode) mode);
return QtSupport::fromQString(env, &_qstring);
}
@@ -191,12 +191,12 @@ Java_org_kde_qt_QClipboard_text__I(JNIEnv* env, jobject obj, jint mode)
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QClipboard_text__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject subtype)
{
- QString _qstring;
-static QCString* _qcstring_subtype = 0;
+ TQString _qstring;
+static TQCString* _qcstring_subtype = 0;
if (_qcstring_subtype == 0) {
- _qcstring_subtype = new QCString();
+ _qcstring_subtype = new TQCString();
}
- _qstring = ((QClipboard*) QtSupport::getQt(env, obj))->text((QCString&)*(QCString*) _qcstring_subtype);
+ _qstring = ((QClipboard*) QtSupport::getQt(env, obj))->text((TQCString&)*(TQCString*) _qcstring_subtype);
QtSupport::fromQCStringToStringBuffer(env, _qcstring_subtype, subtype);
return QtSupport::fromQString(env, &_qstring);
}
@@ -204,12 +204,12 @@ static QCString* _qcstring_subtype = 0;
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QClipboard_text__Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jobject subtype, jint mode)
{
- QString _qstring;
-static QCString* _qcstring_subtype = 0;
+ TQString _qstring;
+static TQCString* _qcstring_subtype = 0;
if (_qcstring_subtype == 0) {
- _qcstring_subtype = new QCString();
+ _qcstring_subtype = new TQCString();
}
- _qstring = ((QClipboard*) QtSupport::getQt(env, obj))->text((QCString&)*(QCString*) _qcstring_subtype, (QClipboard::Mode) mode);
+ _qstring = ((QClipboard*) QtSupport::getQt(env, obj))->text((TQCString&)*(TQCString*) _qcstring_subtype, (QClipboard::Mode) mode);
QtSupport::fromQCStringToStringBuffer(env, _qcstring_subtype, subtype);
return QtSupport::fromQString(env, &_qstring);
}
@@ -217,9 +217,9 @@ static QCString* _qcstring_subtype = 0;
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QClipboard_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
- QString _qstring;
+ TQString _qstring;
(void) cls;
-static QCString* _qstring_arg1 = 0;
+static TQCString* _qstring_arg1 = 0;
_qstring = QClipboard::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
return QtSupport::fromQString(env, &_qstring);
}
@@ -227,10 +227,10 @@ static QCString* _qstring_arg1 = 0;
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QClipboard_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
- QString _qstring;
+ TQString _qstring;
(void) cls;
-static QCString* _qstring_arg1 = 0;
-static QCString* _qstring_arg2 = 0;
+static TQCString* _qstring_arg1 = 0;
+static TQCString* _qstring_arg2 = 0;
_qstring = QClipboard::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
return QtSupport::fromQString(env, &_qstring);
}