diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:22:52 +0900 |
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /filters/kformula | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1.tar.gz koffice-e1b37ac1.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
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 938fed782..c63d276d0 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 ) |
