Update TQt3 property/enum macros

pull/1/head
Darrell Anderson 12 years ago
parent 7ccb7f8d09
commit 7227f5a342

@ -37,7 +37,7 @@ class KFORMEDITOR_EXPORT Spring : public TQWidget
{ {
Q_OBJECT Q_OBJECT
Q_ENUMS(SizeType) TQ_ENUMS(SizeType)
TQ_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation) TQ_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
TQ_PROPERTY(SizeType sizeType READ sizeType WRITE setSizeType) TQ_PROPERTY(SizeType sizeType READ sizeType WRITE setSizeType)

@ -56,7 +56,7 @@ class KEXIFORMUTILS_EXPORT KexiDBAutoField :
/*internal, for design time only*/ /*internal, for design time only*/
TQ_PROPERTY(int fieldTypeInternal READ fieldTypeInternal WRITE setFieldTypeInternal DESIGNABLE true STORED false) TQ_PROPERTY(int fieldTypeInternal READ fieldTypeInternal WRITE setFieldTypeInternal DESIGNABLE true STORED false)
TQ_PROPERTY(TQString fieldCaptionInternal READ fieldCaptionInternal WRITE setFieldCaptionInternal DESIGNABLE true STORED false) TQ_PROPERTY(TQString fieldCaptionInternal READ fieldCaptionInternal WRITE setFieldCaptionInternal DESIGNABLE true STORED false)
Q_ENUMS( WidgetType LabelPosition ) TQ_ENUMS( WidgetType LabelPosition )
public: public:
enum WidgetType { Auto = 100, Text, Integer, Double, Boolean, Date, Time, DateTime, enum WidgetType { Auto = 100, Text, Integer, Double, Boolean, Date, Time, DateTime,

@ -32,7 +32,7 @@ class KEXIFORMUTILS_EXPORT KexiDBCheckBox : public TQCheckBox, public KexiFormDa
TQ_PROPERTY(TQString dataSource READ dataSource WRITE setDataSource DESIGNABLE true) TQ_PROPERTY(TQString dataSource READ dataSource WRITE setDataSource DESIGNABLE true)
TQ_PROPERTY(TQCString dataSourceMimeType READ dataSourceMimeType WRITE setDataSourceMimeType DESIGNABLE true) TQ_PROPERTY(TQCString dataSourceMimeType READ dataSourceMimeType WRITE setDataSourceMimeType DESIGNABLE true)
TQ_OVERRIDE( Tristate tristate READ isTristate WRITE setTristate ) TQ_OVERRIDE( Tristate tristate READ isTristate WRITE setTristate )
Q_ENUMS( Tristate ) TQ_ENUMS( Tristate )
public: public:
KexiDBCheckBox(const TQString &text, TQWidget *parent, const char *name=0); KexiDBCheckBox(const TQString &text, TQWidget *parent, const char *name=0);

@ -36,7 +36,7 @@ class KEXIFORMUTILS_EXPORT KexiDBDateEdit : public TQWidget, public KexiFormData
TQ_PROPERTY(TQString dataSource READ dataSource WRITE setDataSource DESIGNABLE true) TQ_PROPERTY(TQString dataSource READ dataSource WRITE setDataSource DESIGNABLE true)
TQ_PROPERTY(TQCString dataSourceMimeType READ dataSourceMimeType WRITE setDataSourceMimeType DESIGNABLE true) TQ_PROPERTY(TQCString dataSourceMimeType READ dataSourceMimeType WRITE setDataSourceMimeType DESIGNABLE true)
// properties copied from TQDateEdit // properties copied from TQDateEdit
Q_ENUMS( Order ) TQ_ENUMS( Order )
TQ_PROPERTY( Order order READ order WRITE setOrder DESIGNABLE true) TQ_PROPERTY( Order order READ order WRITE setOrder DESIGNABLE true)
TQ_PROPERTY( TQDate date READ date WRITE setDate DESIGNABLE true) TQ_PROPERTY( TQDate date READ date WRITE setDate DESIGNABLE true)
TQ_PROPERTY( bool autoAdvance READ autoAdvance WRITE setAutoAdvance DESIGNABLE true) TQ_PROPERTY( bool autoAdvance READ autoAdvance WRITE setAutoAdvance DESIGNABLE true)

@ -27,7 +27,7 @@ class KEXIFORMUTILS_EXPORT KexiFrame : public TQFrame
{ {
Q_OBJECT Q_OBJECT
//todo Q_ENUMS( Shape Shadow ) //todo TQ_ENUMS( Shape Shadow )
TQ_PROPERTY( TQColor frameColor READ frameColor WRITE setFrameColor DESIGNABLE true ) TQ_PROPERTY( TQColor frameColor READ frameColor WRITE setFrameColor DESIGNABLE true )
//todo TQ_OVERRIDE( Shape frameShape READ frameShape WRITE setFrameShape ) //todo TQ_OVERRIDE( Shape frameShape READ frameShape WRITE setFrameShape )
//todo TQ_OVERRIDE( Shadow frameShadow READ frameShadow WRITE setFrameShadow ) //todo TQ_OVERRIDE( Shadow frameShadow READ frameShadow WRITE setFrameShadow )

@ -42,7 +42,7 @@ class KEXIGUIUTILS_EXPORT KexiGradientWidget : public TQWidget {
TQ_PROPERTY(TQColor gradientColor1 READ gradientColor1 WRITE setGradientColor1 DESIGNABLE true) TQ_PROPERTY(TQColor gradientColor1 READ gradientColor1 WRITE setGradientColor1 DESIGNABLE true)
TQ_PROPERTY(TQColor gradientColor2 READ gradientColor2 WRITE setGradientColor2 DESIGNABLE true) TQ_PROPERTY(TQColor gradientColor2 READ gradientColor2 WRITE setGradientColor2 DESIGNABLE true)
TQ_PROPERTY(double blendOpacity READ blendOpacity WRITE setBlendOpacity DESIGNABLE true) TQ_PROPERTY(double blendOpacity READ blendOpacity WRITE setBlendOpacity DESIGNABLE true)
Q_ENUMS( DisplayMode GradientType ) TQ_ENUMS( DisplayMode GradientType )
public: public:
/*! /*!

Loading…
Cancel
Save