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.cpp60
1 files changed, 30 insertions, 30 deletions
diff --git a/qtjava/javalib/qtjava/QClipboard.cpp b/qtjava/javalib/qtjava/QClipboard.cpp
index 2983d53e..b390c9ea 100644
--- a/qtjava/javalib/qtjava/QClipboard.cpp
+++ b/qtjava/javalib/qtjava/QClipboard.cpp
@@ -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 TTQImage(((TQClipboard*) QtSupport::getQt(env, obj))->image()), "org.kde.qt.TTQImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQClipboard*) 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 TTQImage(((TQClipboard*) QtSupport::getQt(env, obj))->image((TQClipboard::Mode) mode)), "org.kde.qt.TTQImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQClipboard*) QtSupport::getQt(env, obj))->image((TQClipboard::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*)((TQClipboard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TQClipboard*) 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 TTQPixmap(((TQClipboard*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TTQPixmap", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQClipboard*) 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 TTQPixmap(((TQClipboard*) QtSupport::getQt(env, obj))->pixmap((TQClipboard::Mode) mode)), "org.kde.qt.TTQPixmap", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQClipboard*) QtSupport::getQt(env, obj))->pixmap((TQClipboard::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)
{
- ((TQClipboard*) QtSupport::getQt(env, obj))->setData((TTQMimeSource*) QtSupport::mimeSource(env, arg1));
+ ((TQClipboard*) 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)
{
- ((TQClipboard*) QtSupport::getQt(env, obj))->setData((TTQMimeSource*) QtSupport::mimeSource(env, arg1), (TQClipboard::Mode) mode);
+ ((TQClipboard*) QtSupport::getQt(env, obj))->setData((TQMimeSource*) QtSupport::mimeSource(env, arg1), (TQClipboard::Mode) mode);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QClipboard_setImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1)
{
- ((TQClipboard*) QtSupport::getQt(env, obj))->setImage((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg1));
+ ((TQClipboard*) 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)
{
- ((TQClipboard*) QtSupport::getQt(env, obj))->setImage((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg1), (TQClipboard::Mode) mode);
+ ((TQClipboard*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1), (TQClipboard::Mode) mode);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QClipboard_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1)
{
- ((TQClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1));
+ ((TQClipboard*) 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)
{
- ((TQClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1), (TQClipboard::Mode) mode);
+ ((TQClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (TQClipboard::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 TTQString* _qstring_arg1 = 0;
- ((TQClipboard*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
+static TQString* _qstring_arg1 = 0;
+ ((TQClipboard*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(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 TTQString* _qstring_arg1 = 0;
- ((TQClipboard*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQClipboard::Mode) mode);
+static TQString* _qstring_arg1 = 0;
+ ((TQClipboard*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQClipboard::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)
{
- TTQString _qstring;
+ TQString _qstring;
_qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text();
return QtSupport::fromTQString(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)
{
- TTQString _qstring;
+ TQString _qstring;
_qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TQClipboard::Mode) mode);
return QtSupport::fromTQString(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)
{
- TTQString _qstring;
-static TTQCString* _qcstring_subtype = 0;
+ TQString _qstring;
+static TQCString* _qcstring_subtype = 0;
if (_qcstring_subtype == 0) {
- _qcstring_subtype = new TTQCString();
+ _qcstring_subtype = new TQCString();
}
- _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TTQCString&)*(TTQCString*) _qcstring_subtype);
+ _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TQCString&)*(TQCString*) _qcstring_subtype);
QtSupport::fromTQCStringToStringBuffer(env, _qcstring_subtype, subtype);
return QtSupport::fromTQString(env, &_qstring);
}
@@ -204,12 +204,12 @@ static TTQCString* _qcstring_subtype = 0;
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QClipboard_text__Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jobject subtype, jint mode)
{
- TTQString _qstring;
-static TTQCString* _qcstring_subtype = 0;
+ TQString _qstring;
+static TQCString* _qcstring_subtype = 0;
if (_qcstring_subtype == 0) {
- _qcstring_subtype = new TTQCString();
+ _qcstring_subtype = new TQCString();
}
- _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TTQCString&)*(TTQCString*) _qcstring_subtype, (TQClipboard::Mode) mode);
+ _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TQCString&)*(TQCString*) _qcstring_subtype, (TQClipboard::Mode) mode);
QtSupport::fromTQCStringToStringBuffer(env, _qcstring_subtype, subtype);
return QtSupport::fromTQString(env, &_qstring);
}
@@ -217,9 +217,9 @@ static TTQCString* _qcstring_subtype = 0;
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QClipboard_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
- TTQString _qstring;
+ TQString _qstring;
(void) cls;
-static TTQCString* _qstring_arg1 = 0;
+static TQCString* _qstring_arg1 = 0;
_qstring = TQClipboard::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
return QtSupport::fromTQString(env, &_qstring);
}
@@ -227,10 +227,10 @@ static TTQCString* _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)
{
- TTQString _qstring;
+ TQString _qstring;
(void) cls;
-static TTQCString* _qstring_arg1 = 0;
-static TTQCString* _qstring_arg2 = 0;
+static TQCString* _qstring_arg1 = 0;
+static TQCString* _qstring_arg2 = 0;
_qstring = TQClipboard::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
return QtSupport::fromTQString(env, &_qstring);
}