diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kate/kjswrapper/plugin_katekjswrapper.h | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/kjswrapper/plugin_katekjswrapper.h')
-rw-r--r-- | kate/kjswrapper/plugin_katekjswrapper.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kate/kjswrapper/plugin_katekjswrapper.h b/kate/kjswrapper/plugin_katekjswrapper.h index f04043e..9256b4c 100644 --- a/kate/kjswrapper/plugin_katekjswrapper.h +++ b/kate/kjswrapper/plugin_katekjswrapper.h @@ -34,15 +34,15 @@ #include <klibloader.h> #include <klocale.h> #include <kurlrequester.h> -#include <qcheckbox.h> -#include <qvaluelist.h> +#include <tqcheckbox.h> +#include <tqvaluelist.h> #include <kjs/value.h> #include <kjs/object.h> -#include <qvbox.h> -#include <qptrdict.h> +#include <tqvbox.h> +#include <tqptrdict.h> #include <kxmlguiclient.h> -#include <qvaluelist.h> -#include <qguardedptr.h> +#include <tqvaluelist.h> +#include <tqguardedptr.h> namespace Kate { class PluginConfigPage; @@ -75,7 +75,7 @@ class PluginKateKJSWrapper : public Kate::Plugin, Q_OBJECT public: - PluginKateKJSWrapper( QObject* parent = 0, const char* name = 0, const QStringList& = QStringList() ); + PluginKateKJSWrapper( TQObject* parent = 0, const char* name = 0, const TQStringList& = TQStringList() ); virtual ~PluginKateKJSWrapper(); void addView (Kate::MainWindow *win); @@ -84,12 +84,12 @@ class PluginKateKJSWrapper : public Kate::Plugin, Kate::View *kv; - QPtrDict<class PluginKateKJSWrapperView> m_views; + TQPtrDict<class PluginKateKJSWrapperView> m_views; uint configPages () const; - Kate::PluginConfigPage *configPage (uint , QWidget *w, const char *name=0); - QString configPageName(uint) const; - QString configPageFullName(uint) const; - QPixmap configPagePixmap (uint /*number = 0*/, + Kate::PluginConfigPage *configPage (uint , TQWidget *w, const char *name=0); + TQString configPageName(uint) const; + TQString configPageFullName(uint) const; + TQPixmap configPagePixmap (uint /*number = 0*/, int /*size = KIcon::SizeSmall*/) const; PluginKateKJSWrapperView *getViewObject(Kate::MainWindow *win); @@ -104,12 +104,12 @@ class PluginKateKJSWrapper : public Kate::Plugin, friend class KateKJSWrapperConfigPage; KJSEmbed::KJSEmbedPart *m_part; Kate::JS::Bindings *m_kateAppBindings; - //QValueList<KJS::Value> m_configPageFactories; + //TQValueList<KJS::Value> m_configPageFactories; KJS::Value m_configPageFactories; KJS::Value m_toolViewConstructors; KJS::Value m_newWindowHandler; KJS::Value m_removeWindowHandler; - QString m_scriptname; + TQString m_scriptname; }; @@ -120,7 +120,7 @@ class KateKJSWrapperConfigPage : public Kate::PluginConfigPage friend class PluginKateKJSWrapper; public: - KateKJSWrapperConfigPage(KJS::Object pageConstructor,PluginKateKJSWrapper* parent = 0L, QWidget *parentWidget = 0L); + KateKJSWrapperConfigPage(KJS::Object pageConstructor,PluginKateKJSWrapper* parent = 0L, TQWidget *parentWidget = 0L); ~KateKJSWrapperConfigPage() {}; /** Reimplemented from Kate::PluginConfigPage @@ -157,14 +157,14 @@ class PluginKateKJSWrapperView : public KXMLGUIClient Kate::MainWindow *win; KJS::Object winObj; KJS::Object actionCollectionObj; - QValueList<QGuardedPtr<KMDI::ToolViewAccessor> > toolviews; + TQValueList<TQGuardedPtr<KMDI::ToolViewAccessor> > toolviews; }; namespace Kate { namespace JS { - class ToolView: public QVBox { + class ToolView: public TQVBox { Q_OBJECT public: ToolView(KJS::Object constr, KJS::ExecState *exec, KJSEmbed::JSFactory *factory, KJS::List parameters, const char * name); |