summaryrefslogtreecommitdiffstats
path: root/examples/sql/overview
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/overview')
-rw-r--r--examples/sql/overview/custom1/main.h4
-rw-r--r--examples/sql/overview/form2/main.h2
-rw-r--r--examples/sql/overview/table3/main.h4
-rw-r--r--examples/sql/overview/table4/main.h6
4 files changed, 8 insertions, 8 deletions
diff --git a/examples/sql/overview/custom1/main.h b/examples/sql/overview/custom1/main.h
index 3ffd1c1c6..7ee9d5ddc 100644
--- a/examples/sql/overview/custom1/main.h
+++ b/examples/sql/overview/custom1/main.h
@@ -21,7 +21,7 @@
class CustomEdit : public TQLineEdit
{
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( TQString upperLine READ upperLine WRITE setUpperLine )
public:
CustomEdit( TQWidget *parent=0, const char *name=0 );
@@ -36,7 +36,7 @@ class CustomEdit : public TQLineEdit
class FormDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
FormDialog();
~FormDialog();
diff --git a/examples/sql/overview/form2/main.h b/examples/sql/overview/form2/main.h
index ddd91039e..c3d251e6b 100644
--- a/examples/sql/overview/form2/main.h
+++ b/examples/sql/overview/form2/main.h
@@ -20,7 +20,7 @@
class FormDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
FormDialog();
~FormDialog();
diff --git a/examples/sql/overview/table3/main.h b/examples/sql/overview/table3/main.h
index e93e6ee7b..8720dbb6f 100644
--- a/examples/sql/overview/table3/main.h
+++ b/examples/sql/overview/table3/main.h
@@ -18,7 +18,7 @@
class StatusPicker : public TQComboBox
{
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( int statusid READ statusId WRITE setStatusId )
public:
StatusPicker( TQWidget *parent=0, const char *name=0 );
@@ -31,7 +31,7 @@ class StatusPicker : public TQComboBox
class CustomSqlEditorFactory : public TQSqlEditorFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQWidget *createEditor( TQWidget *parent, const TQSqlField *field );
};
diff --git a/examples/sql/overview/table4/main.h b/examples/sql/overview/table4/main.h
index ecd878b1c..184d69777 100644
--- a/examples/sql/overview/table4/main.h
+++ b/examples/sql/overview/table4/main.h
@@ -20,7 +20,7 @@
class StatusPicker : public TQComboBox
{
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( int statusid READ statusId WRITE setStatusId )
public:
StatusPicker( TQWidget *parent=0, const char *name=0 );
@@ -33,7 +33,7 @@ private:
class CustomTable : public TQDataTable
{
- Q_OBJECT
+ TQ_OBJECT
public:
CustomTable(
TQSqlCursor *cursor, bool autoPopulate = FALSE,
@@ -47,7 +47,7 @@ public:
class CustomSqlEditorFactory : public TQSqlEditorFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQWidget *createEditor( TQWidget *parent, const TQSqlField *field );
};