summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/propertyobject.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /kdevdesigner/designer/propertyobject.h
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'kdevdesigner/designer/propertyobject.h')
-rw-r--r--kdevdesigner/designer/propertyobject.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/kdevdesigner/designer/propertyobject.h b/kdevdesigner/designer/propertyobject.h
new file mode 100644
index 00000000..2590399a
--- /dev/null
+++ b/kdevdesigner/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 *metaObject() 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