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/table | |
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/table')
-rw-r--r-- | examples/table/statistics/statistics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/table/statistics/statistics.cpp b/examples/table/statistics/statistics.cpp index c67c19387..7726ba4cb 100644 --- a/examples/table/statistics/statistics.cpp +++ b/examples/table/statistics/statistics.cpp @@ -39,8 +39,8 @@ Table::Table() adjustColumn( 0 ); // if the user edited something we might need to recalculate the sum - connect( this, SIGNAL( valueChanged( int, int ) ), - this, SLOT( recalcSum( int, int ) ) ); + connect( this, TQ_SIGNAL( valueChanged( int, int ) ), + this, TQ_SLOT( recalcSum( int, int ) ) ); } void Table::initTable() @@ -140,7 +140,7 @@ TQWidget *ComboItem::createEditor() const { // create an editor - a combobox in our case ( (ComboItem*)this )->cb = new TQComboBox( table()->viewport() ); - TQObject::connect( cb, SIGNAL( activated( int ) ), table(), SLOT( doValueChanged() ) ); + TQObject::connect( cb, TQ_SIGNAL( activated( int ) ), table(), TQ_SLOT( doValueChanged() ) ); cb->insertItem( "Yes" ); cb->insertItem( "No" ); // and initialize it |