Browse Source

Update TQt3 property/enum macros

tags/r14.0.0
Darrell Anderson 7 years ago
parent
commit
7227f5a342
6 changed files with 6 additions and 6 deletions
  1. +1
    -1
      kexi/formeditor/spring.h
  2. +1
    -1
      kexi/plugins/forms/widgets/kexidbautofield.h
  3. +1
    -1
      kexi/plugins/forms/widgets/kexidbcheckbox.h
  4. +1
    -1
      kexi/plugins/forms/widgets/kexidbdateedit.h
  5. +1
    -1
      kexi/plugins/forms/widgets/kexiframe.h
  6. +1
    -1
      kexi/widget/utils/kexigradientwidget.h

+ 1
- 1
kexi/formeditor/spring.h View File

@@ -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)



+ 1
- 1
kexi/plugins/forms/widgets/kexidbautofield.h View File

@@ -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,


+ 1
- 1
kexi/plugins/forms/widgets/kexidbcheckbox.h View File

@@ -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);


+ 1
- 1
kexi/plugins/forms/widgets/kexidbdateedit.h View File

@@ -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)


+ 1
- 1
kexi/plugins/forms/widgets/kexiframe.h View File

@@ -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 )


+ 1
- 1
kexi/widget/utils/kexigradientwidget.h View File

@@ -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:
/*!


Loading…
Cancel
Save