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/chalk | |
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/chalk')
-rw-r--r-- | filters/chalk/pdf/kis_pdf_import_widget.cpp | 16 | ||||
-rw-r--r-- | filters/chalk/raw/kis_raw_import.cpp | 14 | ||||
-rw-r--r-- | filters/chalk/tiff/kis_dlg_options_tiff.cpp | 4 |
3 files changed, 17 insertions, 17 deletions
diff --git a/filters/chalk/pdf/kis_pdf_import_widget.cpp b/filters/chalk/pdf/kis_pdf_import_widget.cpp index 572efbd5..bca53d12 100644 --- a/filters/chalk/pdf/kis_pdf_import_widget.cpp +++ b/filters/chalk/pdf/kis_pdf_import_widget.cpp @@ -41,14 +41,14 @@ KisPDFImportWidget::KisPDFImportWidget(Poppler::Document* pdfDoc, TQWidget * par listPages->insertItem(TQString::number( i ) ); } - connect(intWidth, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( updateHRes() ) ); - connect(intHeight, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( updateHVer() ) ); - connect(intHorizontal, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( updateWidth() ) ); - connect(intVertical, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( updateHeight() ) ); - connect(boolAllPages, TQT_SIGNAL( toggled ( bool ) ), this, TQT_SLOT( selectAllPages( bool ) ) ); - connect(boolFirstPage, TQT_SIGNAL( toggled ( bool ) ), this, TQT_SLOT( selectFirstPage( bool ) ) ); - connect(boolSelectionPage, TQT_SIGNAL( toggled ( bool ) ), this, TQT_SLOT( selectSelectionOfPages( bool ) ) ); - connect(listPages, TQT_SIGNAL(selectionChanged () ), this, TQT_SLOT(updateSelectionOfPages())); + connect(intWidth, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( updateHRes() ) ); + connect(intHeight, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( updateHVer() ) ); + connect(intHorizontal, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( updateWidth() ) ); + connect(intVertical, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( updateHeight() ) ); + connect(boolAllPages, TQ_SIGNAL( toggled ( bool ) ), this, TQ_SLOT( selectAllPages( bool ) ) ); + connect(boolFirstPage, TQ_SIGNAL( toggled ( bool ) ), this, TQ_SLOT( selectFirstPage( bool ) ) ); + connect(boolSelectionPage, TQ_SIGNAL( toggled ( bool ) ), this, TQ_SLOT( selectSelectionOfPages( bool ) ) ); + connect(listPages, TQ_SIGNAL(selectionChanged () ), this, TQ_SLOT(updateSelectionOfPages())); } diff --git a/filters/chalk/raw/kis_raw_import.cpp b/filters/chalk/raw/kis_raw_import.cpp index 873fdf2b..2a009792 100644 --- a/filters/chalk/raw/kis_raw_import.cpp +++ b/filters/chalk/raw/kis_raw_import.cpp @@ -86,9 +86,9 @@ KisRawImport::KisRawImport(KoFilter *, const char *, const TQStringList&) m_page = new WdgRawImport(m_dialog); m_dialog -> setMainWidget(m_page); - connect(m_page->bnPreview, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUpdatePreview())); - connect(m_page->grpColorSpace, TQT_SIGNAL(clicked( int )), this, TQT_SLOT(slotFillCmbProfiles())); - connect(m_page->grpChannelDepth, TQT_SIGNAL(clicked( int )), this, TQT_SLOT(slotFillCmbProfiles())); + connect(m_page->bnPreview, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotUpdatePreview())); + connect(m_page->grpColorSpace, TQ_SIGNAL(clicked( int )), this, TQ_SLOT(slotFillCmbProfiles())); + connect(m_page->grpChannelDepth, TQ_SIGNAL(clicked( int )), this, TQ_SLOT(slotFillCmbProfiles())); KisConfig cfg; TQString monitorProfileName = cfg.monitorProfile(); @@ -185,7 +185,7 @@ KoFilter::ConversionStatus KisRawImport::convert(const TQCString& from, const TQ m_progress -> setTotalSteps(0); m_progress -> setCancelButton(0); TQTimer timer; - connect(&timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(incrementProgress())); + connect(&timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(incrementProgress())); timer.start(200); doc -> undoAdapter() -> setUndo(false); @@ -421,9 +421,9 @@ void KisRawImport::getImageData( TQStringList arguments ) } process.setUseShell(true); - connect(&process, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), this, TQT_SLOT(slotReceivedStdout(TDEProcess *, char *, int))); - connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), this, TQT_SLOT(slotReceivedStderr(TDEProcess *, char *, int))); - connect(&process, TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(slotProcessDone())); + connect(&process, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)), this, TQ_SLOT(slotReceivedStdout(TDEProcess *, char *, int))); + connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)), this, TQ_SLOT(slotReceivedStderr(TDEProcess *, char *, int))); + connect(&process, TQ_SIGNAL(processExited(TDEProcess *)), this, TQ_SLOT(slotProcessDone())); kdDebug(41008) << "Starting process\n"; diff --git a/filters/chalk/tiff/kis_dlg_options_tiff.cpp b/filters/chalk/tiff/kis_dlg_options_tiff.cpp index 70e67938..43857e9b 100644 --- a/filters/chalk/tiff/kis_dlg_options_tiff.cpp +++ b/filters/chalk/tiff/kis_dlg_options_tiff.cpp @@ -35,8 +35,8 @@ KisDlgOptionsTIFF::KisDlgOptionsTIFF(TQWidget *parent, const char *name) { optionswdg = new KisWdgOptionsTIFF(this); activated(0); - connect(optionswdg->kComboBoxCompressionType, TQT_SIGNAL(activated ( int )), this, TQT_SLOT(activated ( int ) )); - connect(optionswdg->flatten, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(flattenToggled( bool) ) ); + connect(optionswdg->kComboBoxCompressionType, TQ_SIGNAL(activated ( int )), this, TQ_SLOT(activated ( int ) )); + connect(optionswdg->flatten, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(flattenToggled( bool) ) ); setMainWidget(optionswdg); kapp->restoreOverrideCursor(); setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum) ); |