diff options
author | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /examples/sql | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/sql')
-rw-r--r-- | examples/sql/overview/custom1/main.cpp | 6 | ||||
-rw-r--r-- | examples/sql/overview/form2/main.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/sql/overview/custom1/main.cpp b/examples/sql/overview/custom1/main.cpp index 808444c7c..adde6e2e3 100644 --- a/examples/sql/overview/custom1/main.cpp +++ b/examples/sql/overview/custom1/main.cpp @@ -13,8 +13,8 @@ CustomEdit::CustomEdit( TQWidget *parent, const char *name ) : TQLineEdit( parent, name ) { - connect( this, SIGNAL(textChanged(const TQString &)), - this, SLOT(changed(const TQString &)) ); + connect( this, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SLOT(changed(const TQString &)) ); } @@ -47,7 +47,7 @@ FormDialog::FormDialog() TQLineEdit *salaryEdit = new TQLineEdit( this ); salaryEdit->setAlignment( TQt::AlignRight ); TQPushButton *saveButton = new TQPushButton( "&Save", this ); - connect( saveButton, SIGNAL(clicked()), this, SLOT(save()) ); + connect( saveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(save()) ); TQGridLayout *grid = new TQGridLayout( this ); grid->addWidget( forenameLabel, 0, 0 ); diff --git a/examples/sql/overview/form2/main.cpp b/examples/sql/overview/form2/main.cpp index 2d5420bdc..115a27420 100644 --- a/examples/sql/overview/form2/main.cpp +++ b/examples/sql/overview/form2/main.cpp @@ -22,7 +22,7 @@ FormDialog::FormDialog() TQLabel *salaryLabel = new TQLabel( "Salary:", this ); TQLineEdit *salaryEdit = new TQLineEdit( this ); TQPushButton *saveButton = new TQPushButton( "&Save", this ); - connect( saveButton, SIGNAL(clicked()), this, SLOT(save()) ); + connect( saveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(save()) ); TQGridLayout *grid = new TQGridLayout( this ); grid->addWidget( forenameLabel, 0, 0 ); |