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 /kexi/plugins | |
parent | 7ccb7f8d09264e2d0655395b9751b385ff571483 (diff) | |
download | koffice-7227f5a342ea4a7317d74b43e90f798d19d6ddb4.tar.gz koffice-7227f5a342ea4a7317d74b43e90f798d19d6ddb4.zip |
Update TQt3 property/enum macros
Diffstat (limited to 'kexi/plugins')
-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 |
4 files changed, 4 insertions, 4 deletions
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 ) |