Browse Source

Update TQt3 property/enum macros

tags/r14.0.0
Darrell Anderson 6 years ago
parent
commit
7227f5a342

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

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

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

@@ -56,7 +56,7 @@ class KEXIFORMUTILS_EXPORT KexiDBAutoField :
56 56
 	/*internal, for design time only*/
57 57
 	TQ_PROPERTY(int fieldTypeInternal READ fieldTypeInternal WRITE setFieldTypeInternal DESIGNABLE true STORED false)
58 58
 	TQ_PROPERTY(TQString fieldCaptionInternal READ fieldCaptionInternal WRITE setFieldCaptionInternal DESIGNABLE true STORED false)
59
-	Q_ENUMS( WidgetType LabelPosition )
59
+	TQ_ENUMS( WidgetType LabelPosition )
60 60
 
61 61
 	public:
62 62
 		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
32 32
 	TQ_PROPERTY(TQString dataSource READ dataSource WRITE setDataSource DESIGNABLE true)
33 33
 	TQ_PROPERTY(TQCString dataSourceMimeType READ dataSourceMimeType WRITE setDataSourceMimeType DESIGNABLE true)
34 34
 	TQ_OVERRIDE( Tristate tristate READ isTristate WRITE setTristate )
35
-	Q_ENUMS( Tristate )
35
+	TQ_ENUMS( Tristate )
36 36
 
37 37
 	public:
38 38
 		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
36 36
 	TQ_PROPERTY(TQString dataSource READ dataSource WRITE setDataSource DESIGNABLE true)
37 37
 	TQ_PROPERTY(TQCString dataSourceMimeType READ dataSourceMimeType WRITE setDataSourceMimeType DESIGNABLE true)
38 38
 	// properties copied from TQDateEdit
39
-	Q_ENUMS( Order )
39
+	TQ_ENUMS( Order )
40 40
 	TQ_PROPERTY( Order order READ order WRITE setOrder DESIGNABLE true)
41 41
 	TQ_PROPERTY( TQDate date READ date WRITE setDate DESIGNABLE true)
42 42
 	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
27 27
 {
28 28
 	Q_OBJECT
29 29
   
30
-//todo	Q_ENUMS( Shape Shadow )
30
+//todo	TQ_ENUMS( Shape Shadow )
31 31
 	TQ_PROPERTY( TQColor frameColor READ frameColor WRITE setFrameColor DESIGNABLE true )
32 32
 //todo	TQ_OVERRIDE( Shape frameShape READ frameShape WRITE setFrameShape )
33 33
 //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 {
42 42
 	TQ_PROPERTY(TQColor gradientColor1 READ gradientColor1 WRITE setGradientColor1 DESIGNABLE true)
43 43
 	TQ_PROPERTY(TQColor gradientColor2 READ gradientColor2 WRITE setGradientColor2 DESIGNABLE true)
44 44
 	TQ_PROPERTY(double blendOpacity READ blendOpacity WRITE setBlendOpacity DESIGNABLE true)
45
-	Q_ENUMS( DisplayMode GradientType )
45
+	TQ_ENUMS( DisplayMode GradientType )
46 46
 
47 47
 	public:
48 48
 		/*!

Loading…
Cancel
Save