From c0332621bc998c9786f4841e86a62b7711fe4abf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:30:32 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- filters/kformula/png/pngexportdia.cpp | 36 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'filters/kformula') diff --git a/filters/kformula/png/pngexportdia.cpp b/filters/kformula/png/pngexportdia.cpp index 938fed78..c63d276d 100644 --- a/filters/kformula/png/pngexportdia.cpp +++ b/filters/kformula/png/pngexportdia.cpp @@ -63,8 +63,8 @@ PNGExportDia::PNGExportDia( const TQDomDocument &dom, const TQString &outFile, T percHeightEdit->setValue( 100 ); connectAll(); - connect( proportional, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( proportionalClicked() ) ); + connect( proportional, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( proportionalClicked() ) ); } PNGExportDia::~PNGExportDia() @@ -74,26 +74,26 @@ PNGExportDia::~PNGExportDia() void PNGExportDia::connectAll() { - connect( widthEdit, TQT_SIGNAL( valueChanged(int) ), - this, TQT_SLOT( widthChanged( int ) ) ); - connect( heightEdit, TQT_SIGNAL( valueChanged(int) ), - this, TQT_SLOT( heightChanged( int ) ) ); - connect( percWidthEdit, TQT_SIGNAL( valueChanged(double) ), - this, TQT_SLOT( percentWidthChanged( double ) ) ); - connect( percHeightEdit, TQT_SIGNAL( valueChanged(double) ), - this, TQT_SLOT( percentHeightChanged(double ) ) ); + connect( widthEdit, TQ_SIGNAL( valueChanged(int) ), + this, TQ_SLOT( widthChanged( int ) ) ); + connect( heightEdit, TQ_SIGNAL( valueChanged(int) ), + this, TQ_SLOT( heightChanged( int ) ) ); + connect( percWidthEdit, TQ_SIGNAL( valueChanged(double) ), + this, TQ_SLOT( percentWidthChanged( double ) ) ); + connect( percHeightEdit, TQ_SIGNAL( valueChanged(double) ), + this, TQ_SLOT( percentHeightChanged(double ) ) ); } void PNGExportDia::disconnectAll() { - disconnect( widthEdit, TQT_SIGNAL( valueChanged(int) ), - this, TQT_SLOT( widthChanged( int ) ) ); - disconnect( heightEdit, TQT_SIGNAL( valueChanged(int) ), - this, TQT_SLOT( heightChanged( int ) ) ); - disconnect( percWidthEdit, TQT_SIGNAL( valueChanged(double) ), - this, TQT_SLOT( percentWidthChanged( double ) ) ); - disconnect( percHeightEdit, TQT_SIGNAL( valueChanged(double) ), - this, TQT_SLOT( percentHeightChanged(double ) ) ); + disconnect( widthEdit, TQ_SIGNAL( valueChanged(int) ), + this, TQ_SLOT( widthChanged( int ) ) ); + disconnect( heightEdit, TQ_SIGNAL( valueChanged(int) ), + this, TQ_SLOT( heightChanged( int ) ) ); + disconnect( percWidthEdit, TQ_SIGNAL( valueChanged(double) ), + this, TQ_SLOT( percentWidthChanged( double ) ) ); + disconnect( percHeightEdit, TQ_SIGNAL( valueChanged(double) ), + this, TQ_SLOT( percentHeightChanged(double ) ) ); } void PNGExportDia::widthChanged( int width ) -- cgit v1.2.1