summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/propertyobject.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /kdevdesigner/designer/propertyobject.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/designer/propertyobject.h')
-rw-r--r--kdevdesigner/designer/propertyobject.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kdevdesigner/designer/propertyobject.h b/kdevdesigner/designer/propertyobject.h
index c8445239..784fa74b 100644
--- a/kdevdesigner/designer/propertyobject.h
+++ b/kdevdesigner/designer/propertyobject.h
@@ -1,42 +1,42 @@
#ifndef PROPERTYOBJECT_H
#define PROPERTYOBJECT_H
-#include <qobject.h>
-#include <qwidgetlist.h>
-#include <qcursor.h>
+#include <tqobject.h>
+#include <tqwidgetlist.h>
+#include <tqcursor.h>
class PropertyObject : public QObject
{
public:
- QMetaObject *metaObject() const { return (QMetaObject*)mobj; }
+ TQMetaObject *metaObject() const { return (TQMetaObject*)mobj; }
const char *className() const { return "PropertyObject"; }
- QObject* qObject() { return (QObject*)this; }
+ TQObject* qObject() { return (TQObject*)this; }
private:
- static QMetaObject *metaObj;
+ static TQMetaObject *metaObj;
public:
- PropertyObject( const QWidgetList &objs );
-
- bool setProperty( const char *name, const QVariant& value );
- QVariant property( const char *name ) const;
-
- void mdPropertyChanged( const QString &property, bool changed );
- bool mdIsPropertyChanged( const QString &property );
- void mdSetPropertyComment( const QString &property, const QString &comment );
- QString mdPropertyComment( const QString &property );
- void mdSetFakeProperty( const QString &property, const QVariant &value );
- QVariant mdFakeProperty( const QString &property );
- void mdSetCursor( const QCursor &c );
- QCursor mdCursor();
- void mdSetPixmapKey( int pixmap, const QString &arg );
- QString mdPixmapKey( int pixmap );
- void mdSetExportMacro( const QString &macro );
- QString mdExportMacro();
- QWidgetList widgetList() const { return objects; }
+ PropertyObject( const TQWidgetList &objs );
+
+ bool setProperty( const char *name, const TQVariant& value );
+ TQVariant property( const char *name ) const;
+
+ void mdPropertyChanged( const TQString &property, bool changed );
+ bool mdIsPropertyChanged( const TQString &property );
+ void mdSetPropertyComment( const TQString &property, const TQString &comment );
+ TQString mdPropertyComment( const TQString &property );
+ void mdSetFakeProperty( const TQString &property, const TQVariant &value );
+ TQVariant mdFakeProperty( const TQString &property );
+ void mdSetCursor( const TQCursor &c );
+ TQCursor mdCursor();
+ void mdSetPixmapKey( int pixmap, const TQString &arg );
+ TQString mdPixmapKey( int pixmap );
+ void mdSetExportMacro( const TQString &macro );
+ TQString mdExportMacro();
+ TQWidgetList widgetList() const { return objects; }
private:
- QWidgetList objects;
- const QMetaObject *mobj;
+ TQWidgetList objects;
+ const TQMetaObject *mobj;
};