From 8155225c9be993acc0512956416d195edfef4eb9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 19 Jan 2011 01:42:14 +0000 Subject: Enable compilation with TQt for Qt4 3.4.0 TP2 This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- nsplugins/viewer/nsplugin.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'nsplugins/viewer/nsplugin.h') diff --git a/nsplugins/viewer/nsplugin.h b/nsplugins/viewer/nsplugin.h index da92edd76..e968eb684 100644 --- a/nsplugins/viewer/nsplugin.h +++ b/nsplugins/viewer/nsplugin.h @@ -63,7 +63,7 @@ class KLibrary; class TQTimer; -class NSPluginStreamBase : public QObject +class NSPluginStreamBase : public TQObject { Q_OBJECT friend class NSPluginInstance; @@ -172,9 +172,9 @@ public: // DCOP functions void shutdown(); int winId() { return _form != 0 ? XtWindow(_form) : 0; } - int setWindow(Q_INT8 remove=0); - void resizePlugin(Q_INT32 w, Q_INT32 h); - void javascriptResult(Q_INT32 id, TQString result); + int setWindow(TQ_INT8 remove=0); + void resizePlugin(TQ_INT32 w, TQ_INT32 h); + void javascriptResult(TQ_INT32 id, TQString result); void displayPlugin(); void gotFocusIn(); void gotFocusOut(); @@ -281,10 +281,10 @@ public: ~NSPluginClass(); TQString getMIMEDescription(); - DCOPRef newInstance(TQString url, TQString mimeType, Q_INT8 embed, + DCOPRef newInstance(TQString url, TQString mimeType, TQ_INT8 embed, TQStringList argn, TQStringList argv, - TQString appId, TQString callbackId, Q_INT8 reload, Q_INT8 post, - TQByteArray postData, Q_UINT32 xembed ); + TQString appId, TQString callbackId, TQ_INT8 reload, TQ_INT8 post, + TQByteArray postData, TQ_UINT32 xembed ); void destroyInstance( NSPluginInstance* inst ); bool error() { return _error; } -- cgit v1.2.3