summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KWidgetAction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/KWidgetAction.cpp')
-rw-r--r--kdejava/koala/kdejava/KWidgetAction.cpp62
1 files changed, 31 insertions, 31 deletions
diff --git a/kdejava/koala/kdejava/KWidgetAction.cpp b/kdejava/koala/kdejava/KWidgetAction.cpp
index 5663c6f3..cfc752df 100644
--- a/kdejava/koala/kdejava/KWidgetAction.cpp
+++ b/kdejava/koala/kdejava/KWidgetAction.cpp
@@ -1,6 +1,6 @@
//Auto-generated by kalyptus. DO NOT EDIT.
#include <kactionclasses.h>
-#include <qstring.h>
+#include <tqstring.h>
#include <kshortcut.h>
#include <qtjava/QtSupport.h>
@@ -10,7 +10,7 @@
class KWidgetActionJBridge : public KWidgetAction
{
public:
- KWidgetActionJBridge(QWidget* arg1,const QString& arg2,const KShortcut& arg3,const QObject* arg4,const char* arg5,KActionCollection* arg6,const char* arg7) : KWidgetAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
+ KWidgetActionJBridge(TQWidget* arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,KActionCollection* arg6,const char* arg7) : KWidgetAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
void protected_slotToolbarDestroyed() {
KWidgetAction::slotToolbarDestroyed();
return;
@@ -22,8 +22,8 @@ public:
}
return;
}
- void unplug(QWidget* arg1) {
- if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.QWidget")) {
+ void unplug(TQWidget* arg1) {
+ if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) {
KWidgetAction::unplug(arg1);
}
return;
@@ -37,14 +37,14 @@ public:
}
return;
}
- void removeChild(QObject* arg1) {
- if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
- QObject::removeChild(arg1);
+ void removeChild(TQObject* arg1) {
+ if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
+ TQObject::removeChild(arg1);
}
return;
}
- void setIconSet(const QIconSet& arg1) {
- if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.QIconSet")) {
+ void setIconSet(const TQIconSet& arg1) {
+ if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) {
KAction::setIconSet(arg1);
}
return;
@@ -64,36 +64,36 @@ public:
}
return;
}
- void customEvent(QCustomEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
- QObject::customEvent(arg1);
+ void customEvent(TQCustomEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) {
+ TQObject::customEvent(arg1);
}
return;
}
- void timerEvent(QTimerEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
- QObject::timerEvent(arg1);
+ void timerEvent(TQTimerEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) {
+ TQObject::timerEvent(arg1);
}
return;
}
- void childEvent(QChildEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
- QObject::childEvent(arg1);
+ void childEvent(TQChildEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) {
+ TQObject::childEvent(arg1);
}
return;
}
- void insertChild(QObject* arg1) {
- if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
- QObject::insertChild(arg1);
+ void insertChild(TQObject* arg1) {
+ if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) {
+ TQObject::insertChild(arg1);
}
return;
}
bool isShortcutConfigurable() {
return QtSupport::booleanDelegate(this,"isShortcutConfigurable");
}
- bool eventFilter(QObject* object,QEvent* event) {
+ bool eventFilter(TQObject* object,TQEvent* event) {
if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KWidgetAction",object,event)) {
- return QObject::eventFilter(object,event);
+ return TQObject::eventFilter(object,event);
} else {
return TRUE;
}
@@ -134,17 +134,17 @@ Java_org_kde_koala_KWidgetAction_isDisposed(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KWidgetAction_metaObject(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KWidgetAction_newKWidgetAction(JNIEnv* env, jobject obj, jobject widget, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name)
{
-static QString* _qstring_text = 0;
-static QCString* _qstring_name = 0;
+static TQString* _qstring_text = 0;
+static TQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new KWidgetActionJBridge((QWidget*) QtSupport::getQt(env, widget), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
+ QtSupport::setQt(env, obj, new KWidgetActionJBridge((TQWidget*) QtSupport::getQt(env, widget), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -153,14 +153,14 @@ static QCString* _qstring_name = 0;
JNIEXPORT jint JNICALL
Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget)
{
- jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((QWidget*) QtSupport::getQt(env, widget));
+ jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index)
{
- jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((QWidget*) QtSupport::getQt(env, widget), (int) index);
+ jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index);
return xret;
}
@@ -181,14 +181,14 @@ Java_org_kde_koala_KWidgetAction_slotToolbarDestroyed(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_koala_KWidgetAction_unplug(JNIEnv* env, jobject obj, jobject w)
{
- ((KWidgetAction*) QtSupport::getQt(env, obj))->unplug((QWidget*) QtSupport::getQt(env, w));
+ ((KWidgetAction*) QtSupport::getQt(env, obj))->unplug((TQWidget*) QtSupport::getQt(env, w));
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KWidgetAction_widget(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.QWidget");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget");
return xret;
}