summaryrefslogtreecommitdiffstats
path: root/kjsembed/plugins/customqobject_plugin.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/plugins/customqobject_plugin.h
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/plugins/customqobject_plugin.h')
-rw-r--r--kjsembed/plugins/customqobject_plugin.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kjsembed/plugins/customqobject_plugin.h b/kjsembed/plugins/customqobject_plugin.h
index b80ac67a..9af6aee6 100644
--- a/kjsembed/plugins/customqobject_plugin.h
+++ b/kjsembed/plugins/customqobject_plugin.h
@@ -19,8 +19,8 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef KJSEMBED_CUSTOMQOBJECT_PLUGIN_H
-#define KJSEMBED_CUSTOMQOBJECT_PLUGIN_H
+#ifndef KJSEMBED_CUSTOMTQOBJECT_PLUGIN_H
+#define KJSEMBED_CUSTOMTQOBJECT_PLUGIN_H
#include <kjsembed/jsbindingplugin.h>
#include <kjsembed/jsproxy_imp.h>
@@ -29,36 +29,36 @@
namespace KJSEmbed {
namespace Bindings {
-class MyCustomQObjectLoader : public JSBindingPlugin
+class MyCustomTQObjectLoader : public JSBindingPlugin
{
public:
- MyCustomQObjectLoader( TQObject *parent, const char *name, const TQStringList &args );
- virtual ~MyCustomQObjectLoader(){;}
+ MyCustomTQObjectLoader( TTQObject *parent, const char *name, const TTQStringList &args );
+ virtual ~MyCustomTQObjectLoader(){;}
KJS::Object createBinding(KJSEmbedPart *jspart, KJS::ExecState *exec, const KJS::List &args) const;
};
-class MyCustomQObjectImp : public TQObject {
+class MyCustomTQObjectImp : public TTQObject {
Q_OBJECT
/** Identifiers for the methods provided by this class. */
enum Mode { On, Off };
Q_PROPERTY(Mode mode READ mode WRITE setMode)
- Q_PROPERTY(TQString thing READ thing WRITE setThing)
+ Q_PROPERTY(TTQString thing READ thing WRITE setThing)
Q_ENUMS(Mode)
public:
- MyCustomQObjectImp( TQObject *parent, const char *name);
- virtual ~MyCustomQObjectImp();
+ MyCustomTQObjectImp( TTQObject *parent, const char *name);
+ virtual ~MyCustomTQObjectImp();
public slots:
Mode mode() const;
void setMode( Mode md);
- TQString thing() const;
- void setThing( const TQString &t);
+ TTQString thing() const;
+ void setThing( const TTQString &t);
private:
Mode m_mode;
- TQString m_thing;
+ TTQString m_thing;
};