diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /nsplugins/nspluginloader.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'nsplugins/nspluginloader.h')
-rw-r--r-- | nsplugins/nspluginloader.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/nsplugins/nspluginloader.h b/nsplugins/nspluginloader.h index fab3c1364..c8baa7f5a 100644 --- a/nsplugins/nspluginloader.h +++ b/nsplugins/nspluginloader.h @@ -28,11 +28,11 @@ #define __NS_PLUGINLOADER_H__ -#include <qstring.h> -#include <qstringlist.h> -#include <qdict.h> -#include <qobject.h> -#include <qwidget.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqdict.h> +#include <tqobject.h> +#include <tqwidget.h> #include <qxembed.h> #include "NSPluginClassIface_stub.h" @@ -48,28 +48,28 @@ class NSPluginInstance : public EMBEDCLASS Q_OBJECT public: - NSPluginInstance(QWidget *parent); - void init( const QCString& app, const QCString& obj ); + NSPluginInstance(TQWidget *parent); + void init( const TQCString& app, const TQCString& obj ); ~NSPluginInstance(); public: // wrappers - void javascriptResult( int id, QString result ) { stub->javascriptResult( id, result ); } + void javascriptResult( int id, TQString result ) { stub->javascriptResult( id, result ); } private slots: void loadPlugin(); void doLoadPlugin(); protected: - void resizeEvent(QResizeEvent *event); - void showEvent (QShowEvent *); + void resizeEvent(TQResizeEvent *event); + void showEvent (TQShowEvent *); void windowChanged(WId w); - virtual void focusInEvent( QFocusEvent* event ); - virtual void focusOutEvent( QFocusEvent* event ); + virtual void focusInEvent( TQFocusEvent* event ); + virtual void focusOutEvent( TQFocusEvent* event ); class NSPluginLoader *_loader; bool shown; bool inited; int resize_count; - QPushButton *_button; - QGridLayout *_layout; + TQPushButton *_button; + TQGridLayout *_layout; NSPluginInstanceIface_stub* stub; private: // wrappers void displayPlugin(); @@ -86,11 +86,11 @@ public: NSPluginLoader(); ~NSPluginLoader(); - NSPluginInstance *newInstance(QWidget *parent, - QString url, QString mimeType, bool embed, - QStringList argn, QStringList argv, - QString appId, QString callbackId, bool reload, - bool doPost, QByteArray postData); + NSPluginInstance *newInstance(TQWidget *parent, + TQString url, TQString mimeType, bool embed, + TQStringList argn, TQStringList argv, + TQString appId, TQString callbackId, bool reload, + bool doPost, TQByteArray postData); static NSPluginLoader *instance(); void release(); @@ -98,23 +98,23 @@ public: protected: void scanPlugins(); - QString lookup(const QString &mimeType); - QString lookupMimeType(const QString &url); + TQString lookup(const TQString &mimeType); + TQString lookupMimeType(const TQString &url); bool loadViewer(); void unloadViewer(); protected slots: - void applicationRegistered( const QCString& appId ); + void applicationRegistered( const TQCString& appId ); void processTerminated( KProcess *proc ); private: - QStringList _searchPaths; - QDict<QString> _mapping, _filetype; + TQStringList _searchPaths; + TQDict<TQString> _mapping, _filetype; KProcess *_process; bool _running; - QCString _dcopid; + TQCString _dcopid; NSPluginViewerIface_stub *_viewer; bool _useArtsdsp; |