summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/designer/designer/propertyobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/tools/designer/designer/propertyobject.h')
-rw-r--r--tqtinterface/qt4/tools/designer/designer/propertyobject.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/tqtinterface/qt4/tools/designer/designer/propertyobject.h b/tqtinterface/qt4/tools/designer/designer/propertyobject.h
new file mode 100644
index 0000000..4cfb54f
--- /dev/null
+++ b/tqtinterface/qt4/tools/designer/designer/propertyobject.h
@@ -0,0 +1,43 @@
+#ifndef PROPERTYOBJECT_H
+#define PROPERTYOBJECT_H
+
+#include <tqobject.h>
+#include <tqwidgetlist.h>
+#include <tqcursor.h>
+
+class PropertyObject : public TQObject
+{
+public:
+ TQMetaObject *tqmetaObject() const { return (TQMetaObject*)mobj; }
+ const char *className() const { return "PropertyObject"; }
+ TQObject* qObject() { return (TQObject*)this; }
+private:
+ static TQMetaObject *metaObj;
+
+public:
+ 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:
+ TQWidgetList objects;
+ const TQMetaObject *mobj;
+
+};
+
+#endif