summaryrefslogtreecommitdiffstats
path: root/kjsembed/plugins/customqobject_plugin.h
diff options
context:
space:
mode:
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;
};