diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-22 15:01:02 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-22 15:01:02 -0500 |
commit | 7227f5a342ea4a7317d74b43e90f798d19d6ddb4 (patch) | |
tree | 7b69758a4de6a524edf327c31c1bb6b2b32f0d56 | |
parent | 7ccb7f8d09264e2d0655395b9751b385ff571483 (diff) | |
download | koffice-7227f5a342ea4a7317d74b43e90f798d19d6ddb4.tar.gz koffice-7227f5a342ea4a7317d74b43e90f798d19d6ddb4.zip |
Update TQt3 property/enum macros
-rw-r--r-- | kexi/formeditor/spring.h | 2 | ||||
-rw-r--r-- | kexi/plugins/forms/widgets/kexidbautofield.h | 2 | ||||
-rw-r--r-- | kexi/plugins/forms/widgets/kexidbcheckbox.h | 2 | ||||
-rw-r--r-- | kexi/plugins/forms/widgets/kexidbdateedit.h | 2 | ||||
-rw-r--r-- | kexi/plugins/forms/widgets/kexiframe.h | 2 | ||||
-rw-r--r-- | kexi/widget/utils/kexigradientwidget.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/kexi/formeditor/spring.h b/kexi/formeditor/spring.h index 46254cff..09f9cccb 100644 --- a/kexi/formeditor/spring.h +++ b/kexi/formeditor/spring.h @@ -37,7 +37,7 @@ class KFORMEDITOR_EXPORT Spring : public TQWidget { Q_OBJECT - Q_ENUMS(SizeType) + TQ_ENUMS(SizeType) TQ_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation) TQ_PROPERTY(SizeType sizeType READ sizeType WRITE setSizeType) diff --git a/kexi/plugins/forms/widgets/kexidbautofield.h b/kexi/plugins/forms/widgets/kexidbautofield.h index 24423441..b1ba23f3 100644 --- a/kexi/plugins/forms/widgets/kexidbautofield.h +++ b/kexi/plugins/forms/widgets/kexidbautofield.h @@ -56,7 +56,7 @@ class KEXIFORMUTILS_EXPORT KexiDBAutoField : /*internal, for design time only*/ TQ_PROPERTY(int fieldTypeInternal READ fieldTypeInternal WRITE setFieldTypeInternal 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: enum WidgetType { Auto = 100, Text, Integer, Double, Boolean, Date, Time, DateTime, diff --git a/kexi/plugins/forms/widgets/kexidbcheckbox.h b/kexi/plugins/forms/widgets/kexidbcheckbox.h index daaa14be..ecf0da2f 100644 --- a/kexi/plugins/forms/widgets/kexidbcheckbox.h +++ b/kexi/plugins/forms/widgets/kexidbcheckbox.h @@ -32,7 +32,7 @@ class KEXIFORMUTILS_EXPORT KexiDBCheckBox : public TQCheckBox, public KexiFormDa TQ_PROPERTY(TQString dataSource READ dataSource WRITE setDataSource DESIGNABLE true) TQ_PROPERTY(TQCString dataSourceMimeType READ dataSourceMimeType WRITE setDataSourceMimeType DESIGNABLE true) TQ_OVERRIDE( Tristate tristate READ isTristate WRITE setTristate ) - Q_ENUMS( Tristate ) + TQ_ENUMS( Tristate ) public: KexiDBCheckBox(const TQString &text, TQWidget *parent, const char *name=0); diff --git a/kexi/plugins/forms/widgets/kexidbdateedit.h b/kexi/plugins/forms/widgets/kexidbdateedit.h index be97e937..a9ddd6a3 100644 --- a/kexi/plugins/forms/widgets/kexidbdateedit.h +++ b/kexi/plugins/forms/widgets/kexidbdateedit.h @@ -36,7 +36,7 @@ class KEXIFORMUTILS_EXPORT KexiDBDateEdit : public TQWidget, public KexiFormData TQ_PROPERTY(TQString dataSource READ dataSource WRITE setDataSource DESIGNABLE true) TQ_PROPERTY(TQCString dataSourceMimeType READ dataSourceMimeType WRITE setDataSourceMimeType DESIGNABLE true) // properties copied from TQDateEdit - Q_ENUMS( Order ) + TQ_ENUMS( Order ) TQ_PROPERTY( Order order READ order WRITE setOrder DESIGNABLE true) TQ_PROPERTY( TQDate date READ date WRITE setDate DESIGNABLE true) TQ_PROPERTY( bool autoAdvance READ autoAdvance WRITE setAutoAdvance DESIGNABLE true) diff --git a/kexi/plugins/forms/widgets/kexiframe.h b/kexi/plugins/forms/widgets/kexiframe.h index 44197aa4..95aae487 100644 --- a/kexi/plugins/forms/widgets/kexiframe.h +++ b/kexi/plugins/forms/widgets/kexiframe.h @@ -27,7 +27,7 @@ class KEXIFORMUTILS_EXPORT KexiFrame : public TQFrame { Q_OBJECT -//todo Q_ENUMS( Shape Shadow ) +//todo TQ_ENUMS( Shape Shadow ) TQ_PROPERTY( TQColor frameColor READ frameColor WRITE setFrameColor DESIGNABLE true ) //todo TQ_OVERRIDE( Shape frameShape READ frameShape WRITE setFrameShape ) //todo TQ_OVERRIDE( Shadow frameShadow READ frameShadow WRITE setFrameShadow ) diff --git a/kexi/widget/utils/kexigradientwidget.h b/kexi/widget/utils/kexigradientwidget.h index a8feb0fa..8be2e5b5 100644 --- a/kexi/widget/utils/kexigradientwidget.h +++ b/kexi/widget/utils/kexigradientwidget.h @@ -42,7 +42,7 @@ class KEXIGUIUTILS_EXPORT KexiGradientWidget : public TQWidget { TQ_PROPERTY(TQColor gradientColor1 READ gradientColor1 WRITE setGradientColor1 DESIGNABLE true) TQ_PROPERTY(TQColor gradientColor2 READ gradientColor2 WRITE setGradientColor2 DESIGNABLE true) TQ_PROPERTY(double blendOpacity READ blendOpacity WRITE setBlendOpacity DESIGNABLE true) - Q_ENUMS( DisplayMode GradientType ) + TQ_ENUMS( DisplayMode GradientType ) public: /*! |