diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-04 12:36:03 +0900 |
commit | c0332621bc998c9786f4841e86a62b7711fe4abf (patch) | |
tree | 38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /filters/kformula | |
parent | 6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff) | |
download | koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'filters/kformula')
-rw-r--r-- | filters/kformula/png/pngexportdia.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
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 ) |