diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:11:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:30:23 +0900 |
commit | 9d73fae3fa66ac8c2563ae42fd403fb0ba449eae (patch) | |
tree | 6a7550af1cdb83694da1b8cb5754962f23e5da47 | |
parent | 11af3bb3653ec9d7d1c6d42906d33c8bcba22a24 (diff) | |
download | kipi-plugins-9d73fae3fa66ac8c2563ae42fd403fb0ba449eae.tar.gz kipi-plugins-9d73fae3fa66ac8c2563ae42fd403fb0ba449eae.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
127 files changed, 1497 insertions, 1497 deletions
diff --git a/kipi-plugins/acquireimages/acquireimagedialog.cpp b/kipi-plugins/acquireimages/acquireimagedialog.cpp index 6ffc3c1..e5293cb 100644 --- a/kipi-plugins/acquireimages/acquireimagedialog.cpp +++ b/kipi-plugins/acquireimages/acquireimagedialog.cpp @@ -129,7 +129,7 @@ AcquireImageDialog::AcquireImageDialog( KIPI::Interface* interface, TQWidget *pa m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); } @@ -292,8 +292,8 @@ void AcquireImageDialog::setupImageOptions(void) //--------------------------------------------- - connect(m_imagesFormat, TQT_SIGNAL(activated(const TQString &)), - this, TQT_SLOT(slotImageFormatChanged(const TQString &))); + connect(m_imagesFormat, TQ_SIGNAL(activated(const TQString &)), + this, TQ_SLOT(slotImageFormatChanged(const TQString &))); } void AcquireImageDialog::setupAlbumsList(void) @@ -359,11 +359,11 @@ void AcquireImageDialog::setupAlbumsList(void) //--------------------------------------------- - connect(m_addNewAlbumButton, TQT_SIGNAL(clicked()), - m_uploadPath, TQT_SLOT(mkdir())); + connect(m_addNewAlbumButton, TQ_SIGNAL(clicked()), + m_uploadPath, TQ_SLOT(mkdir())); - connect(m_uploadPath, TQT_SIGNAL( folderItemSelected( const KURL & ) ), - this, TQT_SLOT( slotAlbumSelected( const KURL & ))); + connect(m_uploadPath, TQ_SIGNAL( folderItemSelected( const KURL & ) ), + this, TQ_SLOT( slotAlbumSelected( const KURL & ))); //--------------------------------------------- diff --git a/kipi-plugins/acquireimages/plugin_acquireimages.cpp b/kipi-plugins/acquireimages/plugin_acquireimages.cpp index a8bd7a8..269c4a6 100644 --- a/kipi-plugins/acquireimages/plugin_acquireimages.cpp +++ b/kipi-plugins/acquireimages/plugin_acquireimages.cpp @@ -66,7 +66,7 @@ void Plugin_AcquireImages::setup( TQWidget* widget ) "scanner", // Menu icon. 0, // default shortcut. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "scan_images"); @@ -74,7 +74,7 @@ void Plugin_AcquireImages::setup( TQWidget* widget ) "ksnapshot", // Menu icon. 0, // default shortcut. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "screenshot_images"); @@ -106,8 +106,8 @@ void Plugin_AcquireImages::slotActivate() { m_scanDialog->setMinimumSize(400, 300); - connect(m_scanDialog, TQT_SIGNAL(finalImage(const TQImage &, int)), - this, TQT_SLOT(slotAcquireImageDone(const TQImage &))); + connect(m_scanDialog, TQ_SIGNAL(finalImage(const TQImage &, int)), + this, TQ_SLOT(slotAcquireImageDone(const TQImage &))); } else { diff --git a/kipi-plugins/acquireimages/screenshotdialog.cpp b/kipi-plugins/acquireimages/screenshotdialog.cpp index 5b32281..bea1d7b 100644 --- a/kipi-plugins/acquireimages/screenshotdialog.cpp +++ b/kipi-plugins/acquireimages/screenshotdialog.cpp @@ -117,14 +117,14 @@ ScreenGrabDialog::ScreenGrabDialog( KIPI::Interface* interface, TQWidget *parent //--------------------------------------------- - connect(this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(slotGrab())); + connect(this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(slotGrab())); - connect(this, TQT_SIGNAL(closeClicked()), - this, TQT_SLOT(slotClose())); + connect(this, TQ_SIGNAL(closeClicked()), + this, TQ_SLOT(slotClose())); - connect( &m_grabTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotPerformGrab())); + connect( &m_grabTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotPerformGrab())); //--------------------------------------------- @@ -164,7 +164,7 @@ ScreenGrabDialog::ScreenGrabDialog( KIPI::Interface* interface, TQWidget *parent m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); } diff --git a/kipi-plugins/batchprocessimages/batchprocessimagesdialog.cpp b/kipi-plugins/batchprocessimages/batchprocessimagesdialog.cpp index ef12846..588cf95 100644 --- a/kipi-plugins/batchprocessimages/batchprocessimagesdialog.cpp +++ b/kipi-plugins/batchprocessimages/batchprocessimagesdialog.cpp @@ -239,32 +239,32 @@ BatchProcessImagesDialog::BatchProcessImagesDialog( KURL::List urlList, KIPI::In //--------------------------------------------- - connect(m_listFiles, TQT_SIGNAL(doubleClicked(TQListViewItem *)), - this, TQT_SLOT(slotListDoubleClicked(TQListViewItem *))); + connect(m_listFiles, TQ_SIGNAL(doubleClicked(TQListViewItem *)), + this, TQ_SLOT(slotListDoubleClicked(TQListViewItem *))); - connect(this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(slotProcessStart())); + connect(this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(slotProcessStart())); - connect(m_optionsButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotOptionsClicked())); + connect(m_optionsButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotOptionsClicked())); - connect(m_previewButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotPreview())); + connect(m_previewButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotPreview())); - connect(m_Type, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotTypeChanged(int))); + connect(m_Type, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotTypeChanged(int))); - connect(m_listFiles, TQT_SIGNAL( addedDropItems(TQStringList) ), - this, TQT_SLOT( slotAddDropItems(TQStringList))); + connect(m_listFiles, TQ_SIGNAL( addedDropItems(TQStringList) ), + this, TQ_SLOT( slotAddDropItems(TQStringList))); - connect(m_listFiles, TQT_SIGNAL( currentChanged( TQListViewItem * ) ), - this, TQT_SLOT( slotImageSelected( TQListViewItem * ))); + connect(m_listFiles, TQ_SIGNAL( currentChanged( TQListViewItem * ) ), + this, TQ_SLOT( slotImageSelected( TQListViewItem * ))); - connect(m_addImagesButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotImagesFilesButtonAdd())); + connect(m_addImagesButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotImagesFilesButtonAdd())); - connect(m_remImagesButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotImagesFilesButtonRem())); + connect(m_remImagesButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotImagesFilesButtonRem())); // Get the image files filters from the hosts app. @@ -329,8 +329,8 @@ void BatchProcessImagesDialog::slotImageSelected( TQListViewItem * item ) TDEIO::PreviewJob* m_thumbJob = TDEIO::filePreview( url, m_imageLabel->height() ); - connect(m_thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - this, TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); + connect(m_thumbJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + this, TQ_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); } void BatchProcessImagesDialog::slotGotPreview(const KFileItem* url, const TQPixmap &pixmap) @@ -407,10 +407,10 @@ void BatchProcessImagesDialog::slotProcessStart( void ) } m_convertStatus = UNDER_PROCESS; - disconnect( this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(slotProcessStart())); + disconnect( this, TQ_SIGNAL(user1Clicked()), this, TQ_SLOT(slotProcessStart())); showButtonCancel( false ); setButtonText( User1, i18n("&Stop") ); - connect(this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(slotProcessStop())); + connect(this, TQ_SIGNAL(user1Clicked()), this, TQ_SLOT(slotProcessStop())); m_labelType->setEnabled(false); m_Type->setEnabled(false); @@ -595,14 +595,14 @@ bool BatchProcessImagesDialog::startProcess(void) item->changeOutputMess(m_commandLine + "\n\n"); - connect(m_ProcessusProc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotProcessDone(TDEProcess*))); + connect(m_ProcessusProc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotProcessDone(TDEProcess*))); - connect(m_ProcessusProc, TQT_SIGNAL(receivedStdout(TDEProcess *, char*, int)), - this, TQT_SLOT(slotReadStd(TDEProcess*, char*, int))); + connect(m_ProcessusProc, TQ_SIGNAL(receivedStdout(TDEProcess *, char*, int)), + this, TQ_SLOT(slotReadStd(TDEProcess*, char*, int))); - connect(m_ProcessusProc, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), - this, TQT_SLOT(slotReadStd(TDEProcess*, char*, int))); + connect(m_ProcessusProc, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)), + this, TQ_SLOT(slotReadStd(TDEProcess*, char*, int))); bool result = m_ProcessusProc->start(TDEProcess::NotifyOnExit, TDEProcess::All); if(!result) @@ -792,14 +792,14 @@ void BatchProcessImagesDialog::slotPreview(void) m_addImagesButton->setEnabled(false); m_remImagesButton->setEnabled(false); - disconnect( this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(slotProcessStart())); + disconnect( this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(slotProcessStart())); showButtonCancel( false ); setButtonText( User1, i18n("&Stop") ); - connect(this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(slotPreviewStop())); + connect(this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(slotPreviewStop())); m_previewOutput = ""; m_PreviewProc = new TDEProcess; @@ -809,14 +809,14 @@ void BatchProcessImagesDialog::slotPreview(void) *m_PreviewProc << m_tmpFolder + "/" + TQString::number(getpid()) + "preview.PNG"; m_previewOutput.append( " " + m_tmpFolder + "/" + TQString::number(getpid()) + "preview.PNG\n\n"); - connect(m_PreviewProc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotPreviewProcessDone(TDEProcess*))); + connect(m_PreviewProc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotPreviewProcessDone(TDEProcess*))); - connect(m_PreviewProc, TQT_SIGNAL(receivedStdout(TDEProcess *, char*, int)), - this, TQT_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); + connect(m_PreviewProc, TQ_SIGNAL(receivedStdout(TDEProcess *, char*, int)), + this, TQ_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); - connect(m_PreviewProc, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), - this, TQT_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); + connect(m_PreviewProc, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)), + this, TQ_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); bool result = m_PreviewProc->start(TDEProcess::NotifyOnExit, TDEProcess::All); if(!result) @@ -987,11 +987,11 @@ void BatchProcessImagesDialog::endPreview(void) setButtonText( User1, i18n("&Start") ); - disconnect(this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(slotPreviewStop())); + disconnect(this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(slotPreviewStop())); - connect(this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(slotProcessStart())); + connect(this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(slotProcessStart())); } int BatchProcessImagesDialog::overwriteMode(void) @@ -1045,11 +1045,11 @@ void BatchProcessImagesDialog::endProcess(void) m_convertStatus = PROCESS_DONE; setButtonText( User1, i18n("&Close") ); - disconnect(this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(slotProcessStop())); + disconnect(this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(slotProcessStop())); - connect(this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(slotOk())); + connect(this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(slotOk())); } TQString BatchProcessImagesDialog::RenameTargetImageFile(TQFileInfo *fi) diff --git a/kipi-plugins/batchprocessimages/borderimagesdialog.cpp b/kipi-plugins/batchprocessimages/borderimagesdialog.cpp index 03db3c9..d7bd99e 100644 --- a/kipi-plugins/batchprocessimages/borderimagesdialog.cpp +++ b/kipi-plugins/batchprocessimages/borderimagesdialog.cpp @@ -73,7 +73,7 @@ BorderImagesDialog::BorderImagesDialog( KURL::List urlList, KIPI::Interface* int m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); //--------------------------------------------- diff --git a/kipi-plugins/batchprocessimages/borderoptionsdialog.cpp b/kipi-plugins/batchprocessimages/borderoptionsdialog.cpp index 870e56a..d6bbbb0 100644 --- a/kipi-plugins/batchprocessimages/borderoptionsdialog.cpp +++ b/kipi-plugins/batchprocessimages/borderoptionsdialog.cpp @@ -144,7 +144,7 @@ BorderOptionsDialog::BorderOptionsDialog(TQWidget *parent, int BorderType) TQWhatsThis::add( m_button_frameBorderColor, i18n( "<p>You can select here the border color." )); dvlay->addWidget( m_button_frameBorderColor ); - connect(m_frameBorderWidth, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotFrameBorderWidthChanged(int))); + connect(m_frameBorderWidth, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotFrameBorderWidthChanged(int))); } } diff --git a/kipi-plugins/batchprocessimages/colorimagesdialog.cpp b/kipi-plugins/batchprocessimages/colorimagesdialog.cpp index ea8663c..7be4038 100644 --- a/kipi-plugins/batchprocessimages/colorimagesdialog.cpp +++ b/kipi-plugins/batchprocessimages/colorimagesdialog.cpp @@ -72,7 +72,7 @@ ColorImagesDialog::ColorImagesDialog( KURL::List urlList, KIPI::Interface* inter m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); //--------------------------------------------- diff --git a/kipi-plugins/batchprocessimages/convertimagesdialog.cpp b/kipi-plugins/batchprocessimages/convertimagesdialog.cpp index 47e7b4a..205b6cd 100644 --- a/kipi-plugins/batchprocessimages/convertimagesdialog.cpp +++ b/kipi-plugins/batchprocessimages/convertimagesdialog.cpp @@ -78,7 +78,7 @@ ConvertImagesDialog::ConvertImagesDialog( KURL::List urlList, KIPI::Interface* i m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); //--------------------------------------------- diff --git a/kipi-plugins/batchprocessimages/convertoptionsdialog.cpp b/kipi-plugins/batchprocessimages/convertoptionsdialog.cpp index 325b5f9..c6d5cf8 100644 --- a/kipi-plugins/batchprocessimages/convertoptionsdialog.cpp +++ b/kipi-plugins/batchprocessimages/convertoptionsdialog.cpp @@ -78,7 +78,7 @@ ConvertOptionsDialog::ConvertOptionsDialog(TQWidget *parent, int ImageFormatType "all JPEG operations will use a lossless compression.")); dvlay->addWidget( m_compressLossLess ); - connect(m_compressLossLess, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotCompressLossLessEnabled(bool) ) ); + connect(m_compressLossLess, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotCompressLossLessEnabled(bool) ) ); } } diff --git a/kipi-plugins/batchprocessimages/effectimagesdialog.cpp b/kipi-plugins/batchprocessimages/effectimagesdialog.cpp index 79e5cd3..aac794c 100644 --- a/kipi-plugins/batchprocessimages/effectimagesdialog.cpp +++ b/kipi-plugins/batchprocessimages/effectimagesdialog.cpp @@ -72,7 +72,7 @@ EffectImagesDialog::EffectImagesDialog( KURL::List urlList, KIPI::Interface* int m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); //--------------------------------------------- diff --git a/kipi-plugins/batchprocessimages/filterimagesdialog.cpp b/kipi-plugins/batchprocessimages/filterimagesdialog.cpp index f16081d..85960b7 100644 --- a/kipi-plugins/batchprocessimages/filterimagesdialog.cpp +++ b/kipi-plugins/batchprocessimages/filterimagesdialog.cpp @@ -72,7 +72,7 @@ FilterImagesDialog::FilterImagesDialog( KURL::List urlList, KIPI::Interface* int m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); //--------------------------------------------- diff --git a/kipi-plugins/batchprocessimages/imagepreview.cpp b/kipi-plugins/batchprocessimages/imagepreview.cpp index 364b954..3815579 100644 --- a/kipi-plugins/batchprocessimages/imagepreview.cpp +++ b/kipi-plugins/batchprocessimages/imagepreview.cpp @@ -100,7 +100,7 @@ ImagePreview::ImagePreview(const TQString &fileOrig, const TQString &fileDest, c m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbooks"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbooks"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); //--------------------------------------------- @@ -153,14 +153,14 @@ ImagePreview::ImagePreview(const TQString &fileOrig, const TQString &fileDest, c g2->setColStretch(1,1); g2->addWidget( groupBox2 , 0, 1); - connect( ZoomFactorSlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotZoomFactorValueChanged(int)) ); + connect( ZoomFactorSlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotZoomFactorValueChanged(int)) ); - connect( m_previewOrig, TQT_SIGNAL(wheelEvent(int)), - this, TQT_SLOT(slotWheelChanged(int)) ); + connect( m_previewOrig, TQ_SIGNAL(wheelEvent(int)), + this, TQ_SLOT(slotWheelChanged(int)) ); - connect( m_previewDest, TQT_SIGNAL(wheelEvent(int)), - this, TQT_SLOT(slotWheelChanged(int)) ); + connect( m_previewDest, TQ_SIGNAL(wheelEvent(int)), + this, TQ_SLOT(slotWheelChanged(int)) ); m_previewOrig->setImage(fileOrig, tmpPath); m_previewDest->setImage(fileDest, tmpPath); @@ -267,14 +267,14 @@ void PixmapView::PreviewCal(const TQString &ImagePath, const TQString &/*tmpPath *m_PreviewProc << m_previewFileName; m_previewOutput.append( " -verbose " + ImagePath + " " + m_previewFileName + "\n\n"); - connect(m_PreviewProc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(PreviewProcessDone(TDEProcess*))); + connect(m_PreviewProc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(PreviewProcessDone(TDEProcess*))); - connect(m_PreviewProc, TQT_SIGNAL(receivedStdout(TDEProcess *, char*, int)), - this, TQT_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); + connect(m_PreviewProc, TQ_SIGNAL(receivedStdout(TDEProcess *, char*, int)), + this, TQ_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); - connect(m_PreviewProc, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), - this, TQT_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); + connect(m_PreviewProc, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)), + this, TQ_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); bool result = m_PreviewProc->start(TDEProcess::NotifyOnExit, TDEProcess::All); if(!result) diff --git a/kipi-plugins/batchprocessimages/outputdialog.cpp b/kipi-plugins/batchprocessimages/outputdialog.cpp index d0228ec..af8d7fb 100644 --- a/kipi-plugins/batchprocessimages/outputdialog.cpp +++ b/kipi-plugins/batchprocessimages/outputdialog.cpp @@ -67,7 +67,7 @@ OutputDialog::OutputDialog(TQWidget* parent, TQString caption, TQString Messages m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbooks"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbooks"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); //--------------------------------------------- @@ -85,8 +85,8 @@ OutputDialog::OutputDialog(TQWidget* parent, TQString caption, TQString Messages debugView->append( Messages ); dvlay->addWidget( debugView ); - connect(this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(slotCopyToCliboard())); + connect(this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(slotCopyToCliboard())); resize( 600, 400 ); } diff --git a/kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp b/kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp index 6e54460..98b218b 100644 --- a/kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp +++ b/kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp @@ -84,7 +84,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget ) "borderimages", // Menu icon. 0, // default shortcut. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "batch_border_images"); @@ -92,7 +92,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget ) "colorimages", // Menu icon. 0, // default shortcut. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "batch_color_images"); @@ -100,7 +100,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget ) "convertimages", // Menu icon. 0, // default shortcut. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "batch_convert_images"); @@ -108,7 +108,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget ) "effectimages", // Menu icon. 0, // default shortcut. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "batch_effect_images"); @@ -116,7 +116,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget ) "filterimages", // Menu icon. 0, // default shortcut. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "batch_filter_images"); @@ -124,7 +124,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget ) "renameimages", // Menu icon. 0, // default shortcut. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "batch_rename_images"); @@ -132,7 +132,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget ) "recompressimages", // Menu icon. 0, // default shortcut. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "batch_recompress_images"); @@ -140,7 +140,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget ) "resizeimages", // Menu icon. 0, // default shortcut. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "batch_resize_images"); @@ -173,29 +173,29 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget ) m_action_recompressimages->setEnabled( enable ); m_action_resizeimages->setEnabled( enable ); - connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), - m_action_borderimages, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ), + m_action_borderimages, TQ_SLOT( setEnabled( bool ) ) ); - connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), - m_action_colorimages, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ), + m_action_colorimages, TQ_SLOT( setEnabled( bool ) ) ); - connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), - m_action_convertimages, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ), + m_action_convertimages, TQ_SLOT( setEnabled( bool ) ) ); - connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), - m_action_effectimages, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ), + m_action_effectimages, TQ_SLOT( setEnabled( bool ) ) ); - connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), - m_action_filterimages, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ), + m_action_filterimages, TQ_SLOT( setEnabled( bool ) ) ); - connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), - m_action_renameimages, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ), + m_action_renameimages, TQ_SLOT( setEnabled( bool ) ) ); - connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), - m_action_recompressimages, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ), + m_action_recompressimages, TQ_SLOT( setEnabled( bool ) ) ); - connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), - m_action_resizeimages, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ), + m_action_resizeimages, TQ_SLOT( setEnabled( bool ) ) ); } Plugin_BatchProcessImages::~Plugin_BatchProcessImages() diff --git a/kipi-plugins/batchprocessimages/recompressimagesdialog.cpp b/kipi-plugins/batchprocessimages/recompressimagesdialog.cpp index 4578c91..fd0561a 100644 --- a/kipi-plugins/batchprocessimages/recompressimagesdialog.cpp +++ b/kipi-plugins/batchprocessimages/recompressimagesdialog.cpp @@ -71,7 +71,7 @@ RecompressImagesDialog::RecompressImagesDialog( KURL::List urlList, KIPI::Interf m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); //--------------------------------------------- diff --git a/kipi-plugins/batchprocessimages/recompressoptionsdialog.cpp b/kipi-plugins/batchprocessimages/recompressoptionsdialog.cpp index 71e1c16..8b26b4f 100644 --- a/kipi-plugins/batchprocessimages/recompressoptionsdialog.cpp +++ b/kipi-plugins/batchprocessimages/recompressoptionsdialog.cpp @@ -75,8 +75,8 @@ RecompressOptionsDialog::RecompressOptionsDialog(TQWidget *parent) TQWhatsThis::add( m_compressLossLess, i18n("<p>If this option is enabled, " "all JPEG operations will use lossless compression.")); - connect(m_compressLossLess, TQT_SIGNAL( toggled(bool) ), - this, TQT_SLOT( slotCompressLossLessEnabled(bool) ) ); + connect(m_compressLossLess, TQ_SIGNAL( toggled(bool) ), + this, TQ_SLOT( slotCompressLossLessEnabled(bool) ) ); dvlay->addWidget( groupBox1 ); diff --git a/kipi-plugins/batchprocessimages/renameimagesdialog.cpp b/kipi-plugins/batchprocessimages/renameimagesdialog.cpp index 8313973..9019e34 100644 --- a/kipi-plugins/batchprocessimages/renameimagesdialog.cpp +++ b/kipi-plugins/batchprocessimages/renameimagesdialog.cpp @@ -65,7 +65,7 @@ RenameImagesDialog::RenameImagesDialog(const KURL::List& images, TQPushButton* helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); helpButton->setPopup( helpMenu->menu() ); // gui @@ -75,8 +75,8 @@ RenameImagesDialog::RenameImagesDialog(const KURL::List& images, m_widget = new RenameImagesWidget(box, interface, images); lay->addWidget(m_widget); - connect(this, TQT_SIGNAL(user1Clicked()), - m_widget, TQT_SLOT(slotStart())); + connect(this, TQ_SIGNAL(user1Clicked()), + m_widget, TQ_SLOT(slotStart())); adjustSize(); } diff --git a/kipi-plugins/batchprocessimages/renameimageswidget.cpp b/kipi-plugins/batchprocessimages/renameimageswidget.cpp index 0167745..79efe58 100644 --- a/kipi-plugins/batchprocessimages/renameimageswidget.cpp +++ b/kipi-plugins/batchprocessimages/renameimageswidget.cpp @@ -97,47 +97,47 @@ RenameImagesWidget::RenameImagesWidget(TQWidget *parent, sortMenu->insertItem(i18n("Sort by Date"), BYDATE); m_sortButton->setPopup(sortMenu); - connect(m_listView, TQT_SIGNAL(doubleClicked(TQListViewItem*)), - TQT_SLOT(slotListViewDoubleClicked(TQListViewItem*))); - connect(m_listView, TQT_SIGNAL(selectionChanged(TQListViewItem*)), - TQT_SLOT(slotImageSelected(TQListViewItem*))); - - connect(m_prefixEdit, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotOptionsChanged())); - connect(m_seqSpin, TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(slotOptionsChanged())); - connect(m_addFileNameCheck, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(slotOptionsChanged())); - connect(m_addFileDateCheck, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(slotOptionsChanged())); - connect(m_formatDateCheck, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(slotOptionsChanged())); - connect(m_formatDateEdit, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotOptionsChanged())); - - connect(m_addButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotAddImages())); - connect(m_removeButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotRemoveImage())); - - connect(sortMenu, TQT_SIGNAL(activated(int)), - TQT_SLOT(sortList(int)) ); + connect(m_listView, TQ_SIGNAL(doubleClicked(TQListViewItem*)), + TQ_SLOT(slotListViewDoubleClicked(TQListViewItem*))); + connect(m_listView, TQ_SIGNAL(selectionChanged(TQListViewItem*)), + TQ_SLOT(slotImageSelected(TQListViewItem*))); + + connect(m_prefixEdit, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotOptionsChanged())); + connect(m_seqSpin, TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(slotOptionsChanged())); + connect(m_addFileNameCheck, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(slotOptionsChanged())); + connect(m_addFileDateCheck, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(slotOptionsChanged())); + connect(m_formatDateCheck, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(slotOptionsChanged())); + connect(m_formatDateEdit, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotOptionsChanged())); + + connect(m_addButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotAddImages())); + connect(m_removeButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotRemoveImage())); + + connect(sortMenu, TQ_SIGNAL(activated(int)), + TQ_SLOT(sortList(int)) ); - connect(m_reverseList, TQT_SIGNAL(clicked()), - TQT_SLOT(reverseList()) ); + connect(m_reverseList, TQ_SIGNAL(clicked()), + TQ_SLOT(reverseList()) ); - connect(m_moveUp, TQT_SIGNAL(clicked()), - TQT_SLOT(moveCurrentItemUp()) ); + connect(m_moveUp, TQ_SIGNAL(clicked()), + TQ_SLOT(moveCurrentItemUp()) ); - connect(m_moveDown, TQT_SIGNAL(clicked()), - TQT_SLOT(moveCurrentItemDown()) ); + connect(m_moveDown, TQ_SIGNAL(clicked()), + TQ_SLOT(moveCurrentItemDown()) ); m_timer = new TQTimer(this); m_progress = new TQProgressDialog(this, 0, true); - connect(m_timer, TQT_SIGNAL(timeout()), - TQT_SLOT(slotNext())); - connect(m_progress, TQT_SIGNAL(canceled()), - TQT_SLOT(slotAbort())); + connect(m_timer, TQ_SIGNAL(timeout()), + TQ_SLOT(slotNext())); + connect(m_progress, TQ_SIGNAL(canceled()), + TQ_SLOT(slotAbort())); for (KURL::List::iterator it = m_urlList.begin(); it != m_urlList.end(); ++it) @@ -221,8 +221,8 @@ void RenameImagesWidget::slotImageSelected(TQListViewItem* item) TDEIO::PreviewJob* thumbJob = TDEIO::filePreview(KURL(it->pathSrc()), m_pixLabel->height() ); - connect(thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); + connect(thumbJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + TQ_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); } diff --git a/kipi-plugins/batchprocessimages/resizeimagesdialog.cpp b/kipi-plugins/batchprocessimages/resizeimagesdialog.cpp index 5e63fbd..fb7ccf9 100644 --- a/kipi-plugins/batchprocessimages/resizeimagesdialog.cpp +++ b/kipi-plugins/batchprocessimages/resizeimagesdialog.cpp @@ -73,7 +73,7 @@ ResizeImagesDialog::ResizeImagesDialog( KURL::List urlList, KIPI::Interface* int m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); //--------------------------------------------- diff --git a/kipi-plugins/batchprocessimages/resizeoptionsdialog.cpp b/kipi-plugins/batchprocessimages/resizeoptionsdialog.cpp index 4306f4e..0868a71 100644 --- a/kipi-plugins/batchprocessimages/resizeoptionsdialog.cpp +++ b/kipi-plugins/batchprocessimages/resizeoptionsdialog.cpp @@ -326,8 +326,8 @@ ResizeOptionsDialog::ResizeOptionsDialog(TQWidget *parent, int ResizeType) dvlay->addWidget( groupBox3 ); - connect(m_customSettings, TQT_SIGNAL( toggled(bool) ), - this, TQT_SLOT( slotCustomSettingsEnabled(bool) ) ); + connect(m_customSettings, TQ_SIGNAL( toggled(bool) ), + this, TQ_SLOT( slotCustomSettingsEnabled(bool) ) ); slotCustomSettingsEnabled(false); } diff --git a/kipi-plugins/calendar/calpainter.cpp b/kipi-plugins/calendar/calpainter.cpp index 9e628a5..5c816f7 100644 --- a/kipi-plugins/calendar/calpainter.cpp +++ b/kipi-plugins/calendar/calpainter.cpp @@ -587,7 +587,7 @@ CalBlockPainter::CalBlockPainter(TQObject *parent, int year, int month, pb->h = image_->height() - pb->y; currBlock_ = 0; - TQTimer::singleShot(10, this, TQT_SLOT(slotPaintNextBlock())); + TQTimer::singleShot(10, this, TQ_SLOT(slotPaintNextBlock())); } else { @@ -610,7 +610,7 @@ void CalBlockPainter::slotPaintNextBlock() b.w, b.h); currBlock_++; if (currBlock_ < numBlocks_) { - TQTimer::singleShot(10, this, TQT_SLOT(slotPaintNextBlock())); + TQTimer::singleShot(10, this, TQ_SLOT(slotPaintNextBlock())); emit signalProgress(currBlock_+1, numBlocks_); } else { diff --git a/kipi-plugins/calendar/calselect.cpp b/kipi-plugins/calendar/calselect.cpp index e3662a4..9c1b7f0 100644 --- a/kipi-plugins/calendar/calselect.cpp +++ b/kipi-plugins/calendar/calselect.cpp @@ -77,8 +77,8 @@ void CalSelect::setupView( KIPI::Interface* interface ) yearSpin_->setValue(TDEGlobal::locale()->calendar()->year(TQDate::currentDate())); slotYearChanged(yearSpin_->value()); - connect(yearSpin_, TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(slotYearChanged(int))); + connect(yearSpin_, TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(slotYearChanged(int))); mainLayout->addWidget(yearBox); diff --git a/kipi-plugins/calendar/caltemplate.cpp b/kipi-plugins/calendar/caltemplate.cpp index c9e581a..2384ea6 100644 --- a/kipi-plugins/calendar/caltemplate.cpp +++ b/kipi-plugins/calendar/caltemplate.cpp @@ -95,8 +95,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name) paperSizes << "US Letter"; comboPaperSize_->insertStringList(paperSizes); - connect(comboPaperSize_, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotParamsChanged())); + connect(comboPaperSize_, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotParamsChanged())); // --------------------------------------------------------------- @@ -117,8 +117,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name) gboxLayout->addWidget( btnGroupImagePos_ ); - connect(btnGroupImagePos_, TQT_SIGNAL(clicked(int)), - TQT_SLOT(slotParamsChanged())); + connect(btnGroupImagePos_, TQ_SIGNAL(clicked(int)), + TQ_SLOT(slotParamsChanged())); // --------------------------------------------------------------- @@ -126,8 +126,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name) gboxLayout->addWidget( checkBoxDrawLines_ ); checkBoxDrawLines_->setChecked(true); - connect(checkBoxDrawLines_, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(slotParamsChanged())); + connect(checkBoxDrawLines_, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(slotParamsChanged())); // --------------------------------------------------------------- @@ -140,8 +140,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name) gboxLayout->addLayout( hlayout ); - connect(sliderRatio_, TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(slotParamsChanged())); + connect(sliderRatio_, TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(slotParamsChanged())); // --------------------------------------------------------------- @@ -169,8 +169,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name) gboxLayout->addLayout( hlayout ); - connect(comboFont_, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotParamsChanged())); + connect(comboFont_, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotParamsChanged())); // --------------------------------------------------------------- @@ -184,8 +184,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name) timer_ = new TQTimer(this); - connect(timer_, TQT_SIGNAL(timeout()), - TQT_SLOT(slotUpdatePreview())); + connect(timer_, TQ_SIGNAL(timeout()), + TQ_SLOT(slotUpdatePreview())); timer_->start(0,true); } diff --git a/kipi-plugins/calendar/calwizard.cpp b/kipi-plugins/calendar/calwizard.cpp index 1b00ae2..d0d9487 100644 --- a/kipi-plugins/calendar/calwizard.cpp +++ b/kipi-plugins/calendar/calwizard.cpp @@ -149,7 +149,7 @@ CalWizard::CalWizard( KIPI::Interface* interface, TQWidget *parent ) m_helpButton = helpButton(); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); // ------------------------------------------ @@ -159,8 +159,8 @@ CalWizard::CalWizard( KIPI::Interface* interface, TQWidget *parent ) formatter_ = new CalFormatter(); - connect(this, TQT_SIGNAL(selected(const TQString&)), - TQT_SLOT(slotPageSelected(const TQString&))); + connect(this, TQ_SIGNAL(selected(const TQString&)), + TQ_SLOT(slotPageSelected(const TQString&))); setCaption(i18n("Create Calendar")); } @@ -338,10 +338,10 @@ void CalWizard::slotPrintOnePage() cb_ = new CalBlockPainter(this, cSettings_->getYear(), month, image, angle, formatter_, painter_); - connect(cb_, TQT_SIGNAL(signalCompleted()), - TQT_SLOT(slotPrintOnePage())); - connect(cb_, TQT_SIGNAL(signalProgress(int,int)), - wFinishProgressCurrent_, TQT_SLOT(setProgress(int,int))); + connect(cb_, TQ_SIGNAL(signalCompleted()), + TQ_SLOT(slotPrintOnePage())); + connect(cb_, TQ_SIGNAL(signalProgress(int,int)), + wFinishProgressCurrent_, TQ_SLOT(setProgress(int,int))); } } // NameSpace KIPICalendarPlugin diff --git a/kipi-plugins/calendar/monthwidget.cpp b/kipi-plugins/calendar/monthwidget.cpp index 5433900..87a511e 100644 --- a/kipi-plugins/calendar/monthwidget.cpp +++ b/kipi-plugins/calendar/monthwidget.cpp @@ -137,8 +137,8 @@ void MonthWidget::setImage( const KURL &url ) TDEIO::PreviewJob* thumbJob_ = TDEIO::filePreview( urls,64); - connect(thumbJob_, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - TQT_SLOT(slotGotThumbnaiL(const KFileItem*, const TQPixmap&))); + connect(thumbJob_, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + TQ_SLOT(slotGotThumbnaiL(const KFileItem*, const TQPixmap&))); } void MonthWidget::dropEvent(TQDropEvent* event) diff --git a/kipi-plugins/calendar/plugin_calendar.cpp b/kipi-plugins/calendar/plugin_calendar.cpp index 6f41e71..76b68ee 100644 --- a/kipi-plugins/calendar/plugin_calendar.cpp +++ b/kipi-plugins/calendar/plugin_calendar.cpp @@ -61,7 +61,7 @@ void Plugin_Calendar::setup( TQWidget* widget ) "date", 0, this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "calendar"); diff --git a/kipi-plugins/cdarchiving/cdarchiving.cpp b/kipi-plugins/cdarchiving/cdarchiving.cpp index fd93c20..5e8d128 100644 --- a/kipi-plugins/cdarchiving/cdarchiving.cpp +++ b/kipi-plugins/cdarchiving/cdarchiving.cpp @@ -406,8 +406,8 @@ void CDArchiving::invokeK3b() m_tmpFolder + "/KIPICDArchiving.xml"; kdDebug(51000) << "K3b is started : " << K3bCommandLine.ascii() << endl; - connect(m_Proc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotK3bDone(TDEProcess*))); + connect(m_Proc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotK3bDone(TDEProcess*))); if ( !m_Proc->start(TDEProcess::NotifyOnExit, TDEProcess::All ) ) { @@ -426,7 +426,7 @@ void CDArchiving::invokeK3b() if ( m_useStartBurningProcess == true ) { TQTimer::singleShot(10000, - this, TQT_SLOT(slotK3bStartBurningProcess())); + this, TQ_SLOT(slotK3bStartBurningProcess())); m_k3bPid = m_Proc->pid(); } } diff --git a/kipi-plugins/cdarchiving/cdarchivingdialog.cpp b/kipi-plugins/cdarchiving/cdarchivingdialog.cpp index 62ea6ba..23d9c25 100644 --- a/kipi-plugins/cdarchiving/cdarchivingdialog.cpp +++ b/kipi-plugins/cdarchiving/cdarchivingdialog.cpp @@ -121,7 +121,7 @@ CDArchivingDialog::CDArchivingDialog( KIPI::Interface* interface, TQWidget *pare m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); } @@ -169,11 +169,11 @@ void CDArchivingDialog::setupSelection(void) //--------------------------------------------- - connect( m_mediaFormat, TQT_SIGNAL( highlighted( const TQString & ) ), - this, TQT_SLOT( mediaFormatActived( const TQString & ) ) ); + connect( m_mediaFormat, TQ_SIGNAL( highlighted( const TQString & ) ), + this, TQ_SLOT( mediaFormatActived( const TQString & ) ) ); - connect( m_imageCollectionSelector, TQT_SIGNAL( selectionChanged() ), - this, TQT_SLOT( slotAlbumSelected() ) ); + connect( m_imageCollectionSelector, TQ_SIGNAL( selectionChanged() ), + this, TQ_SLOT( slotAlbumSelected() ) ); } void CDArchivingDialog::setupLookPage(void) @@ -354,62 +354,62 @@ void CDArchivingDialog::setupLookPage(void) vlay->addStretch(1); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_useAutoRunWin32, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_useAutoRunWin32, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_labelTitle, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_labelTitle, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_labelThumbsFileFormat, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_labelThumbsFileFormat, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_labelFontName, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_labelFontName, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_labelFontSize, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_labelFontSize, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_labelForegroundColor, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_labelForegroundColor, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_labelBackgroundColor, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_labelBackgroundColor, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_title, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_title, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_imagesPerRow, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_imagesPerRow, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_fontSize, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_fontSize, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_fontName, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_fontName, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_imageFormat, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_imageFormat, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_thumbnailsSize, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_thumbnailsSize, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_foregroundColor, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_foregroundColor, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_backgroundColor, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_backgroundColor, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_bordersImagesSize, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_bordersImagesSize, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_labelImageBorderSize, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_labelImageBorderSize, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_bordersImagesColor, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_bordersImagesColor, TQ_SLOT(setEnabled(bool))); - connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), - m_labelImageBorderSizeColor, TQT_SLOT(setEnabled(bool))); + connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)), + m_labelImageBorderSizeColor, TQ_SLOT(setEnabled(bool))); } @@ -515,8 +515,8 @@ void CDArchivingDialog::setupBurning(void) label->setBuddy( m_K3bBinPath ); vlay->addWidget(m_K3bBinPath); - connect( m_K3bBinPath, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(UrlChanged(const TQString&))); + connect( m_K3bBinPath, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(UrlChanged(const TQString&))); TQWhatsThis::add( m_K3bBinPath, i18n("<p>The path name to the K3b binary program.") ); diff --git a/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp b/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp index f40d29b..4216f52 100644 --- a/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp +++ b/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp @@ -62,7 +62,7 @@ void Plugin_CDArchiving::setup( TQWidget* widget ) "cd", // Menu icon. 0, this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "cd_archiving"); @@ -125,8 +125,8 @@ void Plugin_CDArchiving::customEvent(TQCustomEvent *event) { m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Archive to CD/DVD")); - connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotCancel())); + connect(m_progressDlg, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotCancel())); m_current = 0; m_progressDlg->show(); @@ -319,8 +319,8 @@ void Plugin_CDArchiving::customEvent(TQCustomEvent *event) m_progressDlg->setButtonCancelText( i18n("&Close") ); #endif - disconnect(m_progressDlg, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotCancel())); + disconnect(m_progressDlg, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotCancel())); // Invoke K3b program. diff --git a/kipi-plugins/findimages/displaycompare.cpp b/kipi-plugins/findimages/displaycompare.cpp index 946b850..5493da1 100644 --- a/kipi-plugins/findimages/displaycompare.cpp +++ b/kipi-plugins/findimages/displaycompare.cpp @@ -151,7 +151,7 @@ DisplayCompare::DisplayCompare(TQWidget* parent, KIPI::Interface* interface, m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); // ---------------------------------------------------- @@ -262,14 +262,14 @@ DisplayCompare::DisplayCompare(TQWidget* parent, KIPI::Interface* interface, // signals and slots connections - connect(this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(slotDelete())); + connect(this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(slotDelete())); - connect(listName, TQT_SIGNAL(selectionChanged ( TQListViewItem * )), - this, TQT_SLOT(slotDisplayLeft(TQListViewItem *))); + connect(listName, TQ_SIGNAL(selectionChanged ( TQListViewItem * )), + this, TQ_SLOT(slotDisplayLeft(TQListViewItem *))); - connect(listEq, TQT_SIGNAL(selectionChanged ( TQListViewItem * )), - this, TQT_SLOT(slotDisplayRight(TQListViewItem *))); + connect(listEq, TQ_SIGNAL(selectionChanged ( TQListViewItem * )), + this, TQ_SLOT(slotDisplayRight(TQListViewItem *))); resize( 700, 600 ); listName->setSelected(listName->firstChild(), true); @@ -367,8 +367,8 @@ void DisplayCompare::slotDisplayLeft(TQListViewItem * item) TDEIO::PreviewJob* thumbJob1 = TDEIO::filePreview( url, preview1->height() ); - connect(thumbJob1, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - TQT_SLOT(slotGotPreview1(const KFileItem*, const TQPixmap&))); + connect(thumbJob1, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + TQ_SLOT(slotGotPreview1(const KFileItem*, const TQPixmap&))); FindDuplicateItem *last = NULL; TQFile *f = NULL; @@ -444,8 +444,8 @@ void DisplayCompare::slotDisplayRight(TQListViewItem * item) TDEIO::PreviewJob* thumbJob2 = TDEIO::filePreview( url, preview2->height() ); - connect(thumbJob2, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - TQT_SLOT(slotGotPreview2(const KFileItem*, const TQPixmap&))); + connect(thumbJob2, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + TQ_SLOT(slotGotPreview2(const KFileItem*, const TQPixmap&))); TDEApplication::restoreOverrideCursor(); } diff --git a/kipi-plugins/findimages/finddupplicatedialog.cpp b/kipi-plugins/findimages/finddupplicatedialog.cpp index a1d043a..dd6925b 100644 --- a/kipi-plugins/findimages/finddupplicatedialog.cpp +++ b/kipi-plugins/findimages/finddupplicatedialog.cpp @@ -105,7 +105,7 @@ FindDuplicateDialog::FindDuplicateDialog( KIPI::Interface* interface, TQWidget * m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); } @@ -193,17 +193,17 @@ void FindDuplicateDialog::setupPageMethod(void) //--------------------------------------------- - connect(m_findMethod, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotfindMethodChanged(int))); + connect(m_findMethod, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotfindMethodChanged(int))); - connect(updateCache, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotUpdateCache())); + connect(updateCache, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotUpdateCache())); - connect(purgeCache, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotPurgeCache())); + connect(purgeCache, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotPurgeCache())); - connect(purgeAllCache, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotPurgeAllCache())); + connect(purgeAllCache, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotPurgeAllCache())); slotfindMethodChanged(m_findMethod->currentItem()); } diff --git a/kipi-plugins/findimages/finddupplicateimages.cpp b/kipi-plugins/findimages/finddupplicateimages.cpp index 291f959..ff37f7a 100644 --- a/kipi-plugins/findimages/finddupplicateimages.cpp +++ b/kipi-plugins/findimages/finddupplicateimages.cpp @@ -140,14 +140,14 @@ bool FindDuplicateImages::execDialog() readSettings(); - connect( m_findDuplicateDialog, TQT_SIGNAL(updateCache(TQStringList)), - this, TQT_SLOT(slotUpdateCache(TQStringList)) ); + connect( m_findDuplicateDialog, TQ_SIGNAL(updateCache(TQStringList)), + this, TQ_SLOT(slotUpdateCache(TQStringList)) ); - connect( m_findDuplicateDialog, TQT_SIGNAL(clearCache(TQStringList)), - this, TQT_SLOT(slotClearCache(TQStringList)) ); + connect( m_findDuplicateDialog, TQ_SIGNAL(clearCache(TQStringList)), + this, TQ_SLOT(slotClearCache(TQStringList)) ); - connect( m_findDuplicateDialog, TQT_SIGNAL(clearAllCache()), - this, TQT_SLOT(slotClearAllCache()) ); + connect( m_findDuplicateDialog, TQ_SIGNAL(clearAllCache()), + this, TQ_SLOT(slotClearAllCache()) ); if ( m_findDuplicateDialog->exec() == TQDialog::Accepted ) { diff --git a/kipi-plugins/findimages/plugin_findimages.cpp b/kipi-plugins/findimages/plugin_findimages.cpp index ce8eb5b..75776ed 100644 --- a/kipi-plugins/findimages/plugin_findimages.cpp +++ b/kipi-plugins/findimages/plugin_findimages.cpp @@ -70,7 +70,7 @@ void Plugin_FindImages::setup( TQWidget* widget ) "finddupplicateimages", 0, this, - TQT_SLOT(slotFindDuplicateImages()), + TQ_SLOT(slotFindDuplicateImages()), actionCollection(), "findduplicateimages"); @@ -103,8 +103,8 @@ void Plugin_FindImages::slotFindDuplicateImages() { m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Find Duplicate Images")); - connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotCancel())); + connect(m_progressDlg, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotCancel())); m_progressDlg->show(); m_findDuplicateOperation->compareAlbums(); } @@ -282,8 +282,8 @@ void Plugin_FindImages::customEvent(TQCustomEvent *event) m_progressDlg->setButtonCancelText( i18n("&Close") ); #endif - disconnect(m_progressDlg, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotCancel())); + disconnect(m_progressDlg, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotCancel())); m_progressDlg->addedAction(i18n("Displaying results..."), KIPI::StartingMessage); diff --git a/kipi-plugins/flickrexport/flickrtalker.cpp b/kipi-plugins/flickrexport/flickrtalker.cpp index 9bc9c22..22d3fcd 100644 --- a/kipi-plugins/flickrexport/flickrtalker.cpp +++ b/kipi-plugins/flickrexport/flickrtalker.cpp @@ -84,8 +84,8 @@ FlickrTalker::FlickrTalker(TQWidget* parent) m_apikey = "49d585bafa0758cb5c58ab67198bf632"; m_secret = "34b39925e6273ffd"; - connect(this, TQT_SIGNAL(signalAuthenticate()), - this, TQT_SLOT(slotAuthenticate())); + connect(this, TQ_SIGNAL(signalAuthenticate()), + this, TQ_SLOT(slotAuthenticate())); } FlickrTalker::~FlickrTalker() @@ -134,11 +134,11 @@ void FlickrTalker::getFrob() job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded"); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_GETFROB; m_authProgressDlg->setLabelText(i18n("Getting the Frob")); @@ -168,11 +168,11 @@ void FlickrTalker::checkToken(const TQString& token) job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded"); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_CHECKTOKEN; m_authProgressDlg->setLabelText(i18n("Checking if previous token is still valid")); @@ -237,11 +237,11 @@ void FlickrTalker::getToken() TDEIO::TransferJob* job = TDEIO::http_post(url, tmp, false); job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded"); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_GETTOKEN; m_job = job; @@ -264,11 +264,11 @@ void FlickrTalker::listPhotoSets() TDEIO::TransferJob* job = TDEIO::http_post(url, tmp, false); job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded" ); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_LISTPHOTOSETS; m_job = job; @@ -302,11 +302,11 @@ void FlickrTalker::getPhotoProperty(const TQString& method, const TQStringList& TDEIO::TransferJob* job = TDEIO::http_post(url, tmp, false); job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded" ); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_GETPHOTOPROPERTY; m_job = job; @@ -436,11 +436,11 @@ bool FlickrTalker::addPhoto(const TQString& photoPath, const FPhotoInfo& info, TDEIO::TransferJob* job = TDEIO::http_post(url, form.formData(), false); job->addMetaData("content-type", form.contentType()); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_ADDPHOTO; m_job = job; diff --git a/kipi-plugins/flickrexport/flickrwidget.cpp b/kipi-plugins/flickrexport/flickrwidget.cpp index 90e479d..4ee56ad 100644 --- a/kipi-plugins/flickrexport/flickrwidget.cpp +++ b/kipi-plugins/flickrexport/flickrwidget.cpp @@ -194,11 +194,11 @@ FlickrWidget::FlickrWidget(TQWidget* parent, KIPI::Interface *iface) // ------------------------------------------------------------------------ - connect(m_resizeCheckBox, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotResizeChecked())); + connect(m_resizeCheckBox, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotResizeChecked())); - connect(m_exportHostTagsCheckBox, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotExportHostTagsChecked())); + connect(m_exportHostTagsCheckBox, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotExportHostTagsChecked())); } FlickrWidget::~FlickrWidget() diff --git a/kipi-plugins/flickrexport/flickrwindow.cpp b/kipi-plugins/flickrexport/flickrwindow.cpp index d67a9a0..985f77d 100644 --- a/kipi-plugins/flickrexport/flickrwindow.cpp +++ b/kipi-plugins/flickrexport/flickrwindow.cpp @@ -104,8 +104,8 @@ FlickrWindow::FlickrWindow(KIPI::Interface* interface, const TQString &tmpFolder setMainWidget(m_widget); m_widget->setMinimumSize(600, 400); - connect(m_imglst, TQT_SIGNAL(signalImageListChanged(bool)), - this, TQT_SLOT(slotImageListChanged(bool))); + connect(m_imglst, TQ_SIGNAL(signalImageListChanged(bool)), + this, TQ_SLOT(slotImageListChanged(bool))); //m_startUploadButton->setEnabled(false); //m_albumView->setRootIsDecorated(true); @@ -130,33 +130,33 @@ FlickrWindow::FlickrWindow(KIPI::Interface* interface, const TQString &tmpFolder KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup(helpMenu->menu()); // -------------------------------------------------------------------------- m_talker = new FlickrTalker(this); - connect(m_talker, TQT_SIGNAL( signalError( const TQString& ) ), - m_talker, TQT_SLOT( slotError( const TQString& ) )); + connect(m_talker, TQ_SIGNAL( signalError( const TQString& ) ), + m_talker, TQ_SLOT( slotError( const TQString& ) )); - connect(m_talker, TQT_SIGNAL( signalBusy( bool ) ), - this, TQT_SLOT( slotBusy( bool ) )); + connect(m_talker, TQ_SIGNAL( signalBusy( bool ) ), + this, TQ_SLOT( slotBusy( bool ) )); - connect(m_talker, TQT_SIGNAL( signalAddPhotoSucceeded() ), - this, TQT_SLOT( slotAddPhotoSucceeded() )); + connect(m_talker, TQ_SIGNAL( signalAddPhotoSucceeded() ), + this, TQ_SLOT( slotAddPhotoSucceeded() )); - connect(m_talker, TQT_SIGNAL( signalAddPhotoFailed( const TQString& ) ), - this, TQT_SLOT( slotAddPhotoFailed( const TQString& ) )); + connect(m_talker, TQ_SIGNAL( signalAddPhotoFailed( const TQString& ) ), + this, TQ_SLOT( slotAddPhotoFailed( const TQString& ) )); - connect(m_talker, TQT_SIGNAL( signalListPhotoSetsSucceeded( const TQValueList<FPhotoSet>& ) ), - this, TQT_SLOT( slotListPhotoSetsResponse( const TQValueList<FPhotoSet>& ) )); + connect(m_talker, TQ_SIGNAL( signalListPhotoSetsSucceeded( const TQValueList<FPhotoSet>& ) ), + this, TQ_SLOT( slotListPhotoSetsResponse( const TQValueList<FPhotoSet>& ) )); - //connect( m_talker, TQT_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ), - // TQT_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) ); + //connect( m_talker, TQ_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ), + // TQ_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) ); - //connect( m_talker, TQT_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ), - // TQT_SLOT( slotPhotos( const TQValueList<GPhoto>& ) ) ); + //connect( m_talker, TQ_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ), + // TQ_SLOT( slotPhotos( const TQValueList<GPhoto>& ) ) ); // -------------------------------------------------------------------------- @@ -164,23 +164,23 @@ FlickrWindow::FlickrWindow(KIPI::Interface* interface, const TQString &tmpFolder m_progressDlg->setAutoReset(true); m_progressDlg->setAutoClose(true); - connect(m_progressDlg, TQT_SIGNAL( canceled() ), - this, TQT_SLOT( slotAddPhotoCancel() )); + connect(m_progressDlg, TQ_SIGNAL( canceled() ), + this, TQ_SLOT( slotAddPhotoCancel() )); - connect(m_changeUserButton, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotUserChangeRequest() )); + connect(m_changeUserButton, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotUserChangeRequest() )); - connect(m_talker, TQT_SIGNAL( signalTokenObtained(const TQString&) ), - this, TQT_SLOT( slotTokenObtained(const TQString&) )); + connect(m_talker, TQ_SIGNAL( signalTokenObtained(const TQString&) ), + this, TQ_SLOT( slotTokenObtained(const TQString&) )); - //connect( m_tagView, TQT_SIGNAL( selectionChanged() ), - // TQT_SLOT( slotTagSelected() ) ); + //connect( m_tagView, TQ_SIGNAL( selectionChanged() ), + // TQ_SLOT( slotTagSelected() ) ); - //connect( m_photoView->browserExtension(), TQT_SIGNAL( openURLRequest( const KURL&, const KParts::URLArgs& ) ), - // TQT_SLOT( slotOpenPhoto( const KURL& ) ) ); + //connect( m_photoView->browserExtension(), TQ_SIGNAL( openURLRequest( const KURL&, const KParts::URLArgs& ) ), + // TQ_SLOT( slotOpenPhoto( const KURL& ) ) ); - //connect( m_newAlbumBtn, TQT_SIGNAL( clicked() ), - // TQT_SLOT( slotNewAlbum() ) ); + //connect( m_newAlbumBtn, TQ_SIGNAL( clicked() ), + // TQ_SLOT( slotNewAlbum() ) ); // -------------------------------------------------------------------------- @@ -190,8 +190,8 @@ FlickrWindow::FlickrWindow(KIPI::Interface* interface, const TQString &tmpFolder m_authProgressDlg->setAutoReset(true); m_authProgressDlg->setAutoClose(true); - connect(m_authProgressDlg, TQT_SIGNAL( canceled() ), - this, TQT_SLOT( slotAuthCancel() )); + connect(m_authProgressDlg, TQ_SIGNAL( canceled() ), + this, TQ_SLOT( slotAuthCancel() )); m_talker->m_authProgressDlg = m_authProgressDlg; m_widget->setEnabled(false); diff --git a/kipi-plugins/flickrexport/imageslist.cpp b/kipi-plugins/flickrexport/imageslist.cpp index 7072d38..3fd6b53 100644 --- a/kipi-plugins/flickrexport/imageslist.cpp +++ b/kipi-plugins/flickrexport/imageslist.cpp @@ -192,14 +192,14 @@ ImagesList::ImagesList(TQWidget* parent, KIPI::Interface *iface) // -------------------------------------------------------- - connect(d->addButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddItems())); + connect(d->addButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddItems())); - connect(d->removeButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRemoveItems())); + connect(d->removeButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRemoveItems())); - connect(d->listView, TQT_SIGNAL(signalDropedItems(const KURL::List&)), - this, TQT_SLOT(slotAddImages(const KURL::List&))); + connect(d->listView, TQ_SIGNAL(signalDropedItems(const KURL::List&)), + this, TQ_SLOT(slotAddImages(const KURL::List&))); // -------------------------------------------------------- @@ -250,8 +250,8 @@ void ImagesList::slotAddImages(const KURL::List& list) TDEIO::PreviewJob *thumbnailJob = TDEIO::filePreview(urls, ICONSIZE); - connect(thumbnailJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnail(const KFileItem*, const TQPixmap&))); + connect(thumbnailJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnail(const KFileItem*, const TQPixmap&))); } void ImagesList::slotGotThumbnail(const KFileItem *item, const TQPixmap& pix) diff --git a/kipi-plugins/flickrexport/login.cpp b/kipi-plugins/flickrexport/login.cpp index bcdec07..b9b4828 100644 --- a/kipi-plugins/flickrexport/login.cpp +++ b/kipi-plugins/flickrexport/login.cpp @@ -99,11 +99,11 @@ FlickrLogin::FlickrLogin(TQWidget* parent, const TQString& header, // --------------------------------------------------------------- - connect(okBtn, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( accept() )); + connect(okBtn, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( accept() )); - connect(cancelBtn, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( reject() )); + connect(cancelBtn, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( reject() )); } FlickrLogin::~FlickrLogin() diff --git a/kipi-plugins/flickrexport/plugin_flickrexport.cpp b/kipi-plugins/flickrexport/plugin_flickrexport.cpp index c90c160..0293df6 100644 --- a/kipi-plugins/flickrexport/plugin_flickrexport.cpp +++ b/kipi-plugins/flickrexport/plugin_flickrexport.cpp @@ -66,7 +66,7 @@ void Plugin_FlickrExport::setup(TQWidget* widget) "www", 0, this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "flickrexport"); diff --git a/kipi-plugins/galleryexport/gallerylist.cpp b/kipi-plugins/galleryexport/gallerylist.cpp index abdad47..c3f7275 100644 --- a/kipi-plugins/galleryexport/gallerylist.cpp +++ b/kipi-plugins/galleryexport/gallerylist.cpp @@ -86,9 +86,9 @@ GalleryList::GalleryList(TQWidget *pParent, Galleries* pGalleries, bool blnShowO mpGalleryList = mpGalleries->asTQListView(page); vb->addWidget(mpGalleryList); - connect(mpGalleryList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(selectionChanged())); - connect(mpGalleryList, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), - this, TQT_SLOT(doubleClicked(TQListViewItem*, const TQPoint&, int))); + connect(mpGalleryList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(selectionChanged())); + connect(mpGalleryList, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), + this, TQ_SLOT(doubleClicked(TQListViewItem*, const TQPoint&, int))); } GalleryList::~GalleryList() diff --git a/kipi-plugins/galleryexport/gallerytalker.cpp b/kipi-plugins/galleryexport/gallerytalker.cpp index f6646e8..92bc47a 100644 --- a/kipi-plugins/galleryexport/gallerytalker.cpp +++ b/kipi-plugins/galleryexport/gallerytalker.cpp @@ -80,10 +80,10 @@ void GalleryTalker::login( const KURL& url, const TQString& name, TDEIO::TransferJob* job = TDEIO::http_post(m_url, form.formData(), false); job->addMetaData("content-type", form.contentType() ); job->addMetaData("cookies", "manual"); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotResult(TDEIO::Job *))); m_state = GE_LOGIN; m_job = job; @@ -107,10 +107,10 @@ void GalleryTalker::listAlbums() job->addMetaData("content-type", form.contentType() ); job->addMetaData("cookies", "manual"); job->addMetaData("setcookies", m_cookie); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotResult(TDEIO::Job *))); m_state = GE_LISTALBUMS; m_job = job; @@ -137,10 +137,10 @@ void GalleryTalker::listPhotos( const TQString& albumName ) job->addMetaData("content-type", form.contentType() ); job->addMetaData("cookies", "manual"); job->addMetaData("setcookies", m_cookie); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotResult(TDEIO::Job *))); m_state = GE_LISTPHOTOS; m_job = job; @@ -176,10 +176,10 @@ void GalleryTalker::createAlbum( const TQString& parentAlbumName, job->addMetaData("content-type", form.contentType() ); job->addMetaData("cookies", "manual"); job->addMetaData("setcookies", m_cookie); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotResult(TDEIO::Job *))); m_state = GE_CREATEALBUM; m_job = job; @@ -251,10 +251,10 @@ bool GalleryTalker::addPhoto( const TQString& albumName, job->addMetaData("content-type", form.contentType()); job->addMetaData("cookies", "manual"); job->addMetaData("setcookies", m_cookie); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotResult(TDEIO::Job *))); m_state = GE_ADDPHOTO; m_job = job; diff --git a/kipi-plugins/galleryexport/gallerywidget.cpp b/kipi-plugins/galleryexport/gallerywidget.cpp index 2b9b7b5..ede3d0e 100644 --- a/kipi-plugins/galleryexport/gallerywidget.cpp +++ b/kipi-plugins/galleryexport/gallerywidget.cpp @@ -129,7 +129,7 @@ GalleryWidget::GalleryWidget( TQWidget* parent, const char* name, WFlags fl ) m_resizeCheckBox->setChecked(false); m_dimensionSpinBox->setEnabled(false); - connect(m_resizeCheckBox, TQT_SIGNAL(clicked()), TQT_SLOT(slotResizeChecked())); + connect(m_resizeCheckBox, TQ_SIGNAL(clicked()), TQ_SLOT(slotResizeChecked())); // ------------------------------------------------------------------------ diff --git a/kipi-plugins/galleryexport/gallerywindow.cpp b/kipi-plugins/galleryexport/gallerywindow.cpp index cdc813d..cc6e320 100644 --- a/kipi-plugins/galleryexport/gallerywindow.cpp +++ b/kipi-plugins/galleryexport/gallerywindow.cpp @@ -93,7 +93,7 @@ GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galle m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); GalleryWidget* widget = new GalleryWidget(this); @@ -118,36 +118,36 @@ GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galle m_progressDlg->setAutoReset( true ); m_progressDlg->setAutoClose( true ); - connect(m_progressDlg, TQT_SIGNAL(canceled()), TQT_SLOT(slotAddPhotoCancel())); + connect(m_progressDlg, TQ_SIGNAL(canceled()), TQ_SLOT(slotAddPhotoCancel())); - connect(m_albumView, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotAlbumSelected())); + connect(m_albumView, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotAlbumSelected())); connect(m_photoView->browserExtension(), - TQT_SIGNAL(openURLRequest(const KURL&, + TQ_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)), - TQT_SLOT(slotOpenPhoto(const KURL&))); + TQ_SLOT(slotOpenPhoto(const KURL&))); - connect(m_newAlbumBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotNewAlbum())); - connect(m_addPhotoBtn, TQT_SIGNAL(clicked()), TQT_SLOT( slotAddPhotos())); + connect(m_newAlbumBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotNewAlbum())); + connect(m_addPhotoBtn, TQ_SIGNAL(clicked()), TQ_SLOT( slotAddPhotos())); // read config TDEConfig config("kipirc"); config.setGroup("GallerySync Settings"); m_talker = new GalleryTalker( this ); - connect( m_talker, TQT_SIGNAL( signalError( const TQString& ) ), - TQT_SLOT( slotError( const TQString& ) ) ); - connect( m_talker, TQT_SIGNAL( signalBusy( bool ) ), - TQT_SLOT( slotBusy( bool ) ) ); - connect( m_talker, TQT_SIGNAL( signalLoginFailed( const TQString& ) ), - TQT_SLOT( slotLoginFailed( const TQString& ) ) ); - connect( m_talker, TQT_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ), - TQT_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) ); - connect( m_talker, TQT_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ), - TQT_SLOT( slotPhotos( const TQValueList<GPhoto>& ) ) ); - connect( m_talker, TQT_SIGNAL( signalAddPhotoSucceeded() ), - TQT_SLOT( slotAddPhotoSucceeded() ) ); - connect( m_talker, TQT_SIGNAL( signalAddPhotoFailed( const TQString& ) ), - TQT_SLOT( slotAddPhotoFailed( const TQString& ) ) ); + connect( m_talker, TQ_SIGNAL( signalError( const TQString& ) ), + TQ_SLOT( slotError( const TQString& ) ) ); + connect( m_talker, TQ_SIGNAL( signalBusy( bool ) ), + TQ_SLOT( slotBusy( bool ) ) ); + connect( m_talker, TQ_SIGNAL( signalLoginFailed( const TQString& ) ), + TQ_SLOT( slotLoginFailed( const TQString& ) ) ); + connect( m_talker, TQ_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ), + TQ_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) ); + connect( m_talker, TQ_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ), + TQ_SLOT( slotPhotos( const TQValueList<GPhoto>& ) ) ); + connect( m_talker, TQ_SIGNAL( signalAddPhotoSucceeded() ), + TQ_SLOT( slotAddPhotoSucceeded() ) ); + connect( m_talker, TQ_SIGNAL( signalAddPhotoFailed( const TQString& ) ), + TQ_SLOT( slotAddPhotoFailed( const TQString& ) ) ); if (config.readBoolEntry("Resize", false)) { @@ -172,7 +172,7 @@ GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galle m_dimensionSpinBox->setValue(config.readNumEntry("Maximum Width", 1600)); - TQTimer::singleShot( 0, this, TQT_SLOT( slotDoLogin() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotDoLogin() ) ); } GalleryWindow::~GalleryWindow() diff --git a/kipi-plugins/galleryexport/plugin_galleryexport.cpp b/kipi-plugins/galleryexport/plugin_galleryexport.cpp index 5da37cc..5e7e444 100644 --- a/kipi-plugins/galleryexport/plugin_galleryexport.cpp +++ b/kipi-plugins/galleryexport/plugin_galleryexport.cpp @@ -77,7 +77,7 @@ void Plugin_GalleryExport::setup(TQWidget* widget) m_action_sync = new TDEAction(i18n("Remote Gallery Sync..."), 0, this, - TQT_SLOT(slotSync()), + TQ_SLOT(slotSync()), actionCollection(), "galleryexport"); m_action_sync->setEnabled(true); @@ -86,7 +86,7 @@ void Plugin_GalleryExport::setup(TQWidget* widget) m_action_configure = new TDEAction(i18n("Remote Galleries..."), 0, this, - TQT_SLOT(slotConfigure()), + TQ_SLOT(slotConfigure()), actionCollection(), "galleryexport"); m_action_configure->setEnabled(true); @@ -95,7 +95,7 @@ void Plugin_GalleryExport::setup(TQWidget* widget) m_action_collection_settings = new TDEAction(i18n("Remote Gallery Settings..."), 0, this, - TQT_SLOT(slotCollectionSettings()), + TQ_SLOT(slotCollectionSettings()), actionCollection(), "galleryexport"); m_action_collection_settings->setEnabled(true); @@ -104,7 +104,7 @@ void Plugin_GalleryExport::setup(TQWidget* widget) m_action_image_setting = new TDEAction(i18n("Remote Gallery Settings..."), 0, this, - TQT_SLOT(slotImageSettings()), + TQ_SLOT(slotImageSettings()), actionCollection(), "galleryexport"); m_action_image_setting->setEnabled(true); diff --git a/kipi-plugins/gpssync/gpsbabelbinary.cpp b/kipi-plugins/gpssync/gpsbabelbinary.cpp index 26a4635..047a59c 100644 --- a/kipi-plugins/gpssync/gpsbabelbinary.cpp +++ b/kipi-plugins/gpssync/gpsbabelbinary.cpp @@ -70,8 +70,8 @@ void GPSBabelBinary::checkSystem() process.clearArguments(); process << path() << "-V"; - connect(&process, TQT_SIGNAL(receivedStdout(TDEProcess *, char*, int)), - this, TQT_SLOT(slotReadStdoutFromGPSBabel(TDEProcess*, char*, int))); + connect(&process, TQ_SIGNAL(receivedStdout(TDEProcess *, char*, int)), + this, TQ_SLOT(slotReadStdoutFromGPSBabel(TDEProcess*, char*, int))); d->available = process.start(TDEProcess::Block, TDEProcess::Stdout); } diff --git a/kipi-plugins/gpssync/gpseditdialog.cpp b/kipi-plugins/gpssync/gpseditdialog.cpp index 0848e07..bc801e1 100644 --- a/kipi-plugins/gpssync/gpseditdialog.cpp +++ b/kipi-plugins/gpssync/gpseditdialog.cpp @@ -153,39 +153,39 @@ GPSEditDialog::GPSEditDialog(TQWidget* parent, const GPSDataContainer& gpsData, KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); helpMenu->menu()->removeItemAt(0); helpMenu->menu()->insertItem(i18n("Plugin Handbook"), - this, TQT_SLOT(slotHelp()), 0, -1, 0); + this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup( helpMenu->menu() ); // --------------------------------------------------------------- - connect(altResetButton, TQT_SIGNAL(released()), - d->altitudeInput, TQT_SLOT(clear())); + connect(altResetButton, TQ_SIGNAL(released()), + d->altitudeInput, TQ_SLOT(clear())); - connect(latResetButton, TQT_SIGNAL(released()), - d->latitudeInput, TQT_SLOT(clear())); + connect(latResetButton, TQ_SIGNAL(released()), + d->latitudeInput, TQ_SLOT(clear())); - connect(lonResetButton, TQT_SIGNAL(released()), - d->longitudeInput, TQT_SLOT(clear())); + connect(lonResetButton, TQ_SIGNAL(released()), + d->longitudeInput, TQ_SLOT(clear())); - connect(d->altitudeInput, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotGPSPositionChanged())); + connect(d->altitudeInput, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotGPSPositionChanged())); - connect(d->latitudeInput, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotGPSPositionChanged())); + connect(d->latitudeInput, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotGPSPositionChanged())); - connect(d->longitudeInput, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotGPSPositionChanged())); + connect(d->longitudeInput, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotGPSPositionChanged())); - connect(d->worldMap, TQT_SIGNAL(signalNewGPSLocationFromMap(const TQString&, const TQString&, const TQString&)), - this, TQT_SLOT(slotNewGPSLocationFromMap(const TQString&, const TQString&, const TQString&))); + connect(d->worldMap, TQ_SIGNAL(signalNewGPSLocationFromMap(const TQString&, const TQString&, const TQString&)), + this, TQ_SLOT(slotNewGPSLocationFromMap(const TQString&, const TQString&, const TQString&))); - connect(d->goButton, TQT_SIGNAL(released()), - this, TQT_SLOT(slotGotoLocation())); + connect(d->goButton, TQ_SIGNAL(released()), + this, TQ_SLOT(slotGotoLocation())); // --------------------------------------------------------------- readSettings(); - TQTimer::singleShot(0, this, TQT_SLOT(slotUpdateWorldMap())); + TQTimer::singleShot(0, this, TQ_SLOT(slotUpdateWorldMap())); } GPSEditDialog::~GPSEditDialog() diff --git a/kipi-plugins/gpssync/gpssyncdialog.cpp b/kipi-plugins/gpssync/gpssyncdialog.cpp index 818f097..2a3e8e7 100644 --- a/kipi-plugins/gpssync/gpssyncdialog.cpp +++ b/kipi-plugins/gpssync/gpssyncdialog.cpp @@ -257,19 +257,19 @@ GPSSyncDialog::GPSSyncDialog( KIPI::Interface* interface, TQWidget* parent) KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); helpMenu->menu()->removeItemAt(0); helpMenu->menu()->insertItem(i18n("Plugin Handbook"), - this, TQT_SLOT(slotHelp()), 0, -1, 0); + this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup( helpMenu->menu() ); // --------------------------------------------------------------- - connect(loadGPXButton, TQT_SIGNAL(released()), - this, TQT_SLOT(slotLoadGPXFile())); + connect(loadGPXButton, TQ_SIGNAL(released()), + this, TQ_SLOT(slotLoadGPXFile())); - connect(d->interpolateBox, TQT_SIGNAL(toggled(bool)), - d->maxTimeLabel, TQT_SLOT(setEnabled(bool))); + connect(d->interpolateBox, TQ_SIGNAL(toggled(bool)), + d->maxTimeLabel, TQ_SLOT(setEnabled(bool))); - connect(d->interpolateBox, TQT_SIGNAL(toggled(bool)), - d->maxTimeInput, TQT_SLOT(setEnabled(bool))); + connect(d->interpolateBox, TQ_SIGNAL(toggled(bool)), + d->maxTimeInput, TQ_SLOT(setEnabled(bool))); readSettings(); } @@ -292,8 +292,8 @@ void GPSSyncDialog::setImages( const KURL::List& images ) TDEIO::PreviewJob *thumbnailJob = TDEIO::filePreview(images, 64); - connect(thumbnailJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnail(const KFileItem*, const TQPixmap&))); + connect(thumbnailJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnail(const KFileItem*, const TQPixmap&))); } void GPSSyncDialog::slotLoadGPXFile() diff --git a/kipi-plugins/gpssync/kmlexportconfig.cpp b/kipi-plugins/gpssync/kmlexportconfig.cpp index 1169f87..23b08f0 100644 --- a/kipi-plugins/gpssync/kmlexportconfig.cpp +++ b/kipi-plugins/gpssync/kmlexportconfig.cpp @@ -270,11 +270,11 @@ KMLExportConfig::KMLExportConfig( TQWidget* parent, const char* name) KMLExportConfigLayout->addWidget( GPXTracksGroupBox, 2, 0 ); - connect( GoogleMapTargetRadioButton_, TQT_SIGNAL( toggled(bool) ), - this, TQT_SLOT( GoogleMapTargetRadioButton__toggled(bool) ) ); + connect( GoogleMapTargetRadioButton_, TQ_SIGNAL( toggled(bool) ), + this, TQ_SLOT( GoogleMapTargetRadioButton__toggled(bool) ) ); - connect( GPXTracksCheckBox_, TQT_SIGNAL( toggled(bool) ), - this, TQT_SLOT( KMLTracksCheckButton__toggled(bool) ) ); + connect( GPXTracksCheckBox_, TQ_SIGNAL( toggled(bool) ), + this, TQ_SLOT( KMLTracksCheckButton__toggled(bool) ) ); // -------------------------------------------------------------- // About data and help button. @@ -289,7 +289,7 @@ KMLExportConfig::KMLExportConfig( TQWidget* parent, const char* name) KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup( helpMenu->menu() ); // -------------------------------------------------------------- diff --git a/kipi-plugins/gpssync/plugin_gpssync.cpp b/kipi-plugins/gpssync/plugin_gpssync.cpp index b3d4179..e4e9e95 100644 --- a/kipi-plugins/gpssync/plugin_gpssync.cpp +++ b/kipi-plugins/gpssync/plugin_gpssync.cpp @@ -79,7 +79,7 @@ void Plugin_GPSSync::setup( TQWidget* widget ) "gpsimagetag", 0, this, - TQT_SLOT(slotGPSSync()), + TQ_SLOT(slotGPSSync()), actionCollection(), "gpssync")); @@ -87,7 +87,7 @@ void Plugin_GPSSync::setup( TQWidget* widget ) 0, 0, this, - TQT_SLOT(slotGPSEdit()), + TQ_SLOT(slotGPSEdit()), actionCollection(), "gpsedit")); @@ -95,7 +95,7 @@ void Plugin_GPSSync::setup( TQWidget* widget ) 0, 0, this, - TQT_SLOT(slotGPSRemove()), + TQ_SLOT(slotGPSRemove()), actionCollection(), "gpsremove")); @@ -106,7 +106,7 @@ void Plugin_GPSSync::setup( TQWidget* widget ) "www", // icon 0, // do never set shortcuts from plugins. this, - TQT_SLOT(slotKMLExport()), + TQ_SLOT(slotKMLExport()), actionCollection(), "kmlexport"); @@ -123,8 +123,8 @@ void Plugin_GPSSync::setup( TQWidget* widget ) KIPI::ImageCollection selection = m_interface->currentSelection(); m_action_geolocation->setEnabled( selection.isValid() && !selection.images().isEmpty() ); - connect( m_interface, TQT_SIGNAL(selectionChanged(bool)), - m_action_geolocation, TQT_SLOT(setEnabled(bool))); + connect( m_interface, TQ_SIGNAL(selectionChanged(bool)), + m_action_geolocation, TQ_SLOT(setEnabled(bool))); } bool Plugin_GPSSync::checkBinaries(TQString &gpsBabelVersion) @@ -315,8 +315,8 @@ void Plugin_GPSSync::slotKMLExport() { KIPIGPSSyncPlugin::KMLExportConfig *kmlExportConfigGui = new KIPIGPSSyncPlugin::KMLExportConfig( kapp->activeWindow(), i18n("KMLExport").ascii()); - connect(kmlExportConfigGui, TQT_SIGNAL(okButtonClicked()), - this, TQT_SLOT(slotKMLGenerate())); + connect(kmlExportConfigGui, TQ_SIGNAL(okButtonClicked()), + this, TQ_SLOT(slotKMLGenerate())); kmlExportConfigGui->show(); } } diff --git a/kipi-plugins/helloworld/plugin_helloworld.cpp b/kipi-plugins/helloworld/plugin_helloworld.cpp index 7678560..db50c3f 100644 --- a/kipi-plugins/helloworld/plugin_helloworld.cpp +++ b/kipi-plugins/helloworld/plugin_helloworld.cpp @@ -62,7 +62,7 @@ void Plugin_HelloWorld::setup( TQWidget* widget ) "misc", 0, // do never set shortcuts from plugins. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "helloworld"); diff --git a/kipi-plugins/htmlexport/plugin.cpp b/kipi-plugins/htmlexport/plugin.cpp index d3e1b6a..f2edbcb 100644 --- a/kipi-plugins/htmlexport/plugin.cpp +++ b/kipi-plugins/htmlexport/plugin.cpp @@ -64,7 +64,7 @@ Plugin::~Plugin() { void Plugin::setup( TQWidget* widget ) { KIPI::Plugin::setup( widget ); d->mAction = new TDEAction(i18n("HTML Gallery..."), "www", 0, - this, TQT_SLOT(slotActivate()), + this, TQ_SLOT(slotActivate()), actionCollection(), "htmlexport"); addAction(d->mAction); } diff --git a/kipi-plugins/htmlexport/wizard.cpp b/kipi-plugins/htmlexport/wizard.cpp index 6b3b6dc..cda397a 100644 --- a/kipi-plugins/htmlexport/wizard.cpp +++ b/kipi-plugins/htmlexport/wizard.cpp @@ -183,7 +183,7 @@ Wizard::Wizard(TQWidget* parent, KIPI::Interface* interface, GalleryInfo* info) // Help button KHelpMenu* helpMenu = new KHelpMenu(this, d->mAbout, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(showHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(showHelp()), 0, -1, 0); helpButton()->setPopup( helpMenu->menu() ); d->mCollectionSelector=new KIPI::ImageCollectionSelector(this, interface); @@ -192,8 +192,8 @@ Wizard::Wizard(TQWidget* parent, KIPI::Interface* interface, GalleryInfo* info) d->mThemePage=new ThemePage(this); d->initThemePage(); addPage(d->mThemePage, i18n("Theme")); - connect(d->mThemePage->mThemeList, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotThemeSelectionChanged()) ); + connect(d->mThemePage->mThemeList, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotThemeSelectionChanged()) ); d->mThemeParametersPage = new ThemeParametersPage(this); addPage(d->mThemeParametersPage, i18n("Theme Parameters")); @@ -205,8 +205,8 @@ Wizard::Wizard(TQWidget* parent, KIPI::Interface* interface, GalleryInfo* info) d->mOutputPage->kcfg_destURL->setMode(KFile::Directory); addPage(d->mOutputPage, i18n("Output")); - connect(d->mOutputPage->kcfg_destURL, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(updateFinishButton()) ); + connect(d->mOutputPage->kcfg_destURL, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(updateFinishButton()) ); d->mConfigManager=new TDEConfigDialogManager(this, d->mInfo); d->mConfigManager->updateWidgets(); diff --git a/kipi-plugins/imageviewer/plugin_viewer.cpp b/kipi-plugins/imageviewer/plugin_viewer.cpp index 4cf2891..ec73beb 100644 --- a/kipi-plugins/imageviewer/plugin_viewer.cpp +++ b/kipi-plugins/imageviewer/plugin_viewer.cpp @@ -60,7 +60,7 @@ void Plugin_viewer::setup( TQWidget* widget ) "ViewerWidget", 0, // do never set shortcuts from plugins. this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "viewer"); addAction(actionViewer); diff --git a/kipi-plugins/imageviewer/viewerwidget.cpp b/kipi-plugins/imageviewer/viewerwidget.cpp index 0f15882..efb0d7f 100644 --- a/kipi-plugins/imageviewer/viewerwidget.cpp +++ b/kipi-plugins/imageviewer/viewerwidget.cpp @@ -121,7 +121,7 @@ ViewerWidget::ViewerWidget(KIPI::Interface* i) { showFullScreen(); // let the cursor dissapear after 2sec of inactivity - connect( &timerMouseMove, TQT_SIGNAL(timeout()),this, TQT_SLOT( timeoutMouseMove()) ); + connect( &timerMouseMove, TQ_SIGNAL(timeout()),this, TQ_SLOT( timeoutMouseMove()) ); timerMouseMove.start(2000); setMouseTracking(true); diff --git a/kipi-plugins/ipodexport/ipodexportdialog.cpp b/kipi-plugins/ipodexport/ipodexportdialog.cpp index e6599c6..1a2d240 100644 --- a/kipi-plugins/ipodexport/ipodexportdialog.cpp +++ b/kipi-plugins/ipodexport/ipodexportdialog.cpp @@ -177,17 +177,17 @@ UploadDialog::UploadDialog( /// connect the signals & slots - connect( m_createAlbumButton, TQT_SIGNAL( clicked() ), TQT_SLOT( createIpodAlbum() ) ); - connect( m_removeAlbumButton, TQT_SIGNAL( clicked() ), TQT_SLOT( deleteIpodAlbum() ) ); - connect( m_renameAlbumButton, TQT_SIGNAL( clicked() ), TQT_SLOT( renameIpodAlbum() ) ); + connect( m_createAlbumButton, TQ_SIGNAL( clicked() ), TQ_SLOT( createIpodAlbum() ) ); + connect( m_removeAlbumButton, TQ_SIGNAL( clicked() ), TQ_SLOT( deleteIpodAlbum() ) ); + connect( m_renameAlbumButton, TQ_SIGNAL( clicked() ), TQ_SLOT( renameIpodAlbum() ) ); - connect( m_uploadList, TQT_SIGNAL( addedDropItems(TQStringList) ), TQT_SLOT( addDropItems(TQStringList) ) ); - connect( m_uploadList, TQT_SIGNAL( currentChanged(TQListViewItem*) ), TQT_SLOT( imageSelected(TQListViewItem*) ) ); - connect( m_ipodAlbumList, TQT_SIGNAL( currentChanged(TQListViewItem*) ), TQT_SLOT( ipodItemSelected(TQListViewItem*) ) ); + connect( m_uploadList, TQ_SIGNAL( addedDropItems(TQStringList) ), TQ_SLOT( addDropItems(TQStringList) ) ); + connect( m_uploadList, TQ_SIGNAL( currentChanged(TQListViewItem*) ), TQ_SLOT( imageSelected(TQListViewItem*) ) ); + connect( m_ipodAlbumList, TQ_SIGNAL( currentChanged(TQListViewItem*) ), TQ_SLOT( ipodItemSelected(TQListViewItem*) ) ); - connect( m_addImagesButton, TQT_SIGNAL( clicked() ), TQT_SLOT( imagesFilesButtonAdd() ) ); - connect( m_remImagesButton, TQT_SIGNAL( clicked() ), TQT_SLOT( imagesFilesButtonRem() ) ); - connect( m_transferImagesButton, TQT_SIGNAL( clicked() ), TQT_SLOT( startTransfer() ) ); + connect( m_addImagesButton, TQ_SIGNAL( clicked() ), TQ_SLOT( imagesFilesButtonAdd() ) ); + connect( m_remImagesButton, TQ_SIGNAL( clicked() ), TQ_SLOT( imagesFilesButtonRem() ) ); + connect( m_transferImagesButton, TQ_SIGNAL( clicked() ), TQ_SLOT( startTransfer() ) ); } void @@ -383,8 +383,8 @@ UploadDialog::imageSelected( TQListViewItem *item ) TDEIO::PreviewJob* m_thumbJob = TDEIO::filePreview( url, m_imagePreview->height() ); - connect( m_thumbJob, TQT_SIGNAL( gotPreview(const KFileItem*, const TQPixmap&) ), - this, TQT_SLOT( gotImagePreview(const KFileItem*, const TQPixmap&) ) ); + connect( m_thumbJob, TQ_SIGNAL( gotPreview(const KFileItem*, const TQPixmap&) ), + this, TQ_SLOT( gotImagePreview(const KFileItem*, const TQPixmap&) ) ); } void @@ -764,7 +764,7 @@ void UploadDialog::refreshDevices() if( !openDevice() ) { m_ipodHeader->setViewType( IpodHeader::NoIpod ); - connect( m_ipodHeader, TQT_SIGNAL( refreshDevices() ), TQT_SLOT( refreshDevices() ) ); + connect( m_ipodHeader, TQ_SIGNAL( refreshDevices() ), TQ_SLOT( refreshDevices() ) ); } else //device opened! hooray! { @@ -775,7 +775,7 @@ void UploadDialog::refreshDevices() { debug() << "the ipod model must be set before photos can be added" << endl; m_ipodHeader->setViewType( IpodHeader::IncompatibleIpod ); - connect( m_ipodHeader, TQT_SIGNAL( updateSysInfo() ), TQT_SLOT( updateSysInfo() ) ); + connect( m_ipodHeader, TQ_SIGNAL( updateSysInfo() ), TQ_SLOT( updateSysInfo() ) ); return; } else diff --git a/kipi-plugins/ipodexport/ipodheader.cpp b/kipi-plugins/ipodexport/ipodheader.cpp index d5885e8..0f59981 100644 --- a/kipi-plugins/ipodexport/ipodheader.cpp +++ b/kipi-plugins/ipodexport/ipodheader.cpp @@ -79,7 +79,7 @@ void IpodHeader::setNoIpod() m_button->show(); m_button->disconnect(); - connect( m_button, TQT_SIGNAL( clicked() ), TQT_SIGNAL( refreshDevices() ) ); + connect( m_button, TQ_SIGNAL( clicked() ), TQ_SIGNAL( refreshDevices() ) ); } void IpodHeader::setIncompatibleIpod() @@ -97,7 +97,7 @@ void IpodHeader::setIncompatibleIpod() m_button->hide(); // FIXME its not implemented! m_button->disconnect(); - connect( m_button, TQT_SIGNAL( clicked() ), TQT_SIGNAL( updateSysInfo() ) ); + connect( m_button, TQ_SIGNAL( clicked() ), TQ_SIGNAL( updateSysInfo() ) ); } diff --git a/kipi-plugins/ipodexport/plugin_ipodexport.cpp b/kipi-plugins/ipodexport/plugin_ipodexport.cpp index 6b1d69f..d753128 100644 --- a/kipi-plugins/ipodexport/plugin_ipodexport.cpp +++ b/kipi-plugins/ipodexport/plugin_ipodexport.cpp @@ -48,7 +48,7 @@ void Plugin_iPodExport::setup( TQWidget* widget ) // this is our action shown in the menubar/toolbar of the mainwindow m_actionImageUpload = new TDEAction( i18n( "Export to iPod..." ), "multimedia-player-unmounted", 0, this, - TQT_SLOT( slotImageUpload() ), actionCollection(), "connectipod"); + TQ_SLOT( slotImageUpload() ), actionCollection(), "connectipod"); addAction( m_actionImageUpload ); diff --git a/kipi-plugins/jpeglossless/convert2grayscale.cpp b/kipi-plugins/jpeglossless/convert2grayscale.cpp index 6370c13..7869103 100644 --- a/kipi-plugins/jpeglossless/convert2grayscale.cpp +++ b/kipi-plugins/jpeglossless/convert2grayscale.cpp @@ -235,8 +235,8 @@ bool ImageGrayScale::image2GrayScaleImageMagick(const TQString& src, const TQStr for (TQValueList<TQCString>::iterator it = args.begin(); it != args.end(); ++it) tqDebug("%s", (const char*)(*it)); - connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), - this, TQT_SLOT(slotReadStderr(TDEProcess*, char*, int))); + connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)), + this, TQ_SLOT(slotReadStderr(TDEProcess*, char*, int))); if (!process.start(TDEProcess::Block, TDEProcess::Stderr)) return false; diff --git a/kipi-plugins/jpeglossless/imageflip.cpp b/kipi-plugins/jpeglossless/imageflip.cpp index 53d9935..0e6e2b9 100644 --- a/kipi-plugins/jpeglossless/imageflip.cpp +++ b/kipi-plugins/jpeglossless/imageflip.cpp @@ -189,8 +189,8 @@ bool ImageFlip::flipImageMagick(const TQString& src, const TQString& dest, FlipA for (TQValueList<TQCString>::iterator it = args.begin(); it != args.end(); ++it) tqDebug("%s", (const char*)(*it)); - connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), - this, TQT_SLOT(slotReadStderr(TDEProcess*, char*, int))); + connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)), + this, TQ_SLOT(slotReadStderr(TDEProcess*, char*, int))); if (!process.start(TDEProcess::Block, TDEProcess::Stderr)) return false; diff --git a/kipi-plugins/jpeglossless/imagerotate.cpp b/kipi-plugins/jpeglossless/imagerotate.cpp index 8a35988..9e76a83 100644 --- a/kipi-plugins/jpeglossless/imagerotate.cpp +++ b/kipi-plugins/jpeglossless/imagerotate.cpp @@ -213,8 +213,8 @@ bool ImageRotate::rotateImageMagick(const TQString& src, const TQString& dest, for (TQValueList<TQCString>::iterator it = args.begin(); it != args.end(); ++it) tqDebug("%s", (const char*)(*it)); - connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), - this, TQT_SLOT(slotReadStderr(TDEProcess*, char*, int))); + connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)), + this, TQ_SLOT(slotReadStderr(TDEProcess*, char*, int))); if (!process.start(TDEProcess::Block, TDEProcess::Stderr)) return false; diff --git a/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp b/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp index 67e5e6b..8726a5a 100644 --- a/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp +++ b/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp @@ -82,7 +82,7 @@ void Plugin_JPEGLossless::setup( TQWidget* widget ) m_action_AutoExif = new TDEAction(i18n("Auto Rotate/Flip Using Exif Information"), 0, 0, this, - TQT_SLOT(slotRotate()), + TQ_SLOT(slotRotate()), actionCollection(), "rotate_exif"); @@ -95,14 +95,14 @@ void Plugin_JPEGLossless::setup( TQWidget* widget ) "object-rotate-left", SHIFT+CTRL+Key_Left, this, - TQT_SLOT(slotRotate()), + TQ_SLOT(slotRotate()), actionCollection(), "object-rotate-left") ); m_action_RotateImage->insert( new TDEAction(i18n("Right"), "object-rotate-right", SHIFT+CTRL+Key_Right, this, - TQT_SLOT(slotRotate()), + TQ_SLOT(slotRotate()), actionCollection(), "object-rotate-right") ); @@ -115,7 +115,7 @@ void Plugin_JPEGLossless::setup( TQWidget* widget ) 0, CTRL+Key_Asterisk, this, - TQT_SLOT(slotFlip()), + TQ_SLOT(slotFlip()), actionCollection(), "flip_horizontal") ); @@ -123,7 +123,7 @@ void Plugin_JPEGLossless::setup( TQWidget* widget ) 0, CTRL+Key_Slash, this, - TQT_SLOT(slotFlip()), + TQ_SLOT(slotFlip()), actionCollection(), "flip_vertical") ); @@ -131,7 +131,7 @@ void Plugin_JPEGLossless::setup( TQWidget* widget ) "grayscaleconvert", 0, this, - TQT_SLOT(slotConvert2GrayScale()), + TQ_SLOT(slotConvert2GrayScale()), actionCollection(), "jpeglossless_convert2grayscale"); @@ -155,17 +155,17 @@ void Plugin_JPEGLossless::setup( TQWidget* widget ) m_thread = new KIPIJPEGLossLessPlugin::ActionThread(interface, this); - connect( interface, TQT_SIGNAL( selectionChanged( bool ) ), - m_action_AutoExif, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( selectionChanged( bool ) ), + m_action_AutoExif, TQ_SLOT( setEnabled( bool ) ) ); - connect( interface, TQT_SIGNAL( selectionChanged( bool ) ), - m_action_RotateImage, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( selectionChanged( bool ) ), + m_action_RotateImage, TQ_SLOT( setEnabled( bool ) ) ); - connect( interface, TQT_SIGNAL( selectionChanged( bool ) ), - m_action_FlipImage, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( selectionChanged( bool ) ), + m_action_FlipImage, TQ_SLOT( setEnabled( bool ) ) ); - connect( interface, TQT_SIGNAL( selectionChanged( bool ) ), - m_action_Convert2GrayScale, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( selectionChanged( bool ) ), + m_action_Convert2GrayScale, TQ_SLOT( setEnabled( bool ) ) ); } Plugin_JPEGLossless::~Plugin_JPEGLossless() @@ -215,8 +215,8 @@ void Plugin_JPEGLossless::slotFlip() m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Flip images %1").arg(title)); - connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotCancel())); + connect(m_progressDlg, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotCancel())); m_progressDlg->show(); @@ -271,8 +271,8 @@ void Plugin_JPEGLossless::slotRotate() m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Rotate images %1").arg(title)); - connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotCancel())); + connect(m_progressDlg, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotCancel())); m_progressDlg->show(); @@ -304,8 +304,8 @@ void Plugin_JPEGLossless::slotConvert2GrayScale() m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Convert images to black & white")); - connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotCancel())); + connect(m_progressDlg, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotCancel())); m_progressDlg->show(); @@ -445,8 +445,8 @@ void Plugin_JPEGLossless::customEvent(TQCustomEvent *event) m_progressDlg->setButtonCancelText( i18n("&Close") ); #endif - disconnect(m_progressDlg, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotCancel())); + disconnect(m_progressDlg, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotCancel())); } else { diff --git a/kipi-plugins/jpeglossless/utils.cpp b/kipi-plugins/jpeglossless/utils.cpp index 4e7811a..3556b92 100644 --- a/kipi-plugins/jpeglossless/utils.cpp +++ b/kipi-plugins/jpeglossless/utils.cpp @@ -151,8 +151,8 @@ bool Utils::updateMetadataImageMagick(const TQString& src, TQString& err) for (TQValueList<TQCString>::iterator it = args.begin(); it != args.end(); ++it) tqDebug("%s", (const char*)(*it)); - connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), - this, TQT_SLOT(slotReadStderr(TDEProcess*, char*, int))); + connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)), + this, TQ_SLOT(slotReadStderr(TDEProcess*, char*, int))); if (!process.start(TDEProcess::Block, TDEProcess::Stderr)) return false; diff --git a/kipi-plugins/kameraklient/camerafolderview.cpp b/kipi-plugins/kameraklient/camerafolderview.cpp index 1e51545..eacf96b 100644 --- a/kipi-plugins/kameraklient/camerafolderview.cpp +++ b/kipi-plugins/kameraklient/camerafolderview.cpp @@ -47,7 +47,7 @@ CameraFolderView::~CameraFolderView() { } void CameraFolderView::setupConnections() { - connect(this, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectionChanged(TQListViewItem*))); + connect(this, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotSelectionChanged(TQListViewItem*))); } void CameraFolderView::addVirtualFolder(const TQString& name) { diff --git a/kipi-plugins/kameraklient/cameraselection.cpp b/kipi-plugins/kameraklient/cameraselection.cpp index 6b3ace5..f271d90 100644 --- a/kipi-plugins/kameraklient/cameraselection.cpp +++ b/kipi-plugins/kameraklient/cameraselection.cpp @@ -73,7 +73,7 @@ CameraSelection::CameraSelection(TQWidget* parent) helpButton_ = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); helpButton_->setPopup( helpMenu->menu() ); TQWidget *page = new TQWidget(this); @@ -135,12 +135,12 @@ CameraSelection::CameraSelection(TQWidget* parent) // Connections -------------------------------------------------- - connect(listView_, TQT_SIGNAL(selectionChanged(TQListViewItem *)), - this, TQT_SLOT(slotSelectionChanged(TQListViewItem *))); + connect(listView_, TQ_SIGNAL(selectionChanged(TQListViewItem *)), + this, TQ_SLOT(slotSelectionChanged(TQListViewItem *))); - connect(portButtonGroup_, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotPortChanged())); + connect(portButtonGroup_, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotPortChanged())); - connect(this, TQT_SIGNAL(okClicked()), this, TQT_SLOT(slotOkClicked())); + connect(this, TQ_SIGNAL(okClicked()), this, TQ_SLOT(slotOkClicked())); // Initialize -------------------------------------------------- diff --git a/kipi-plugins/kameraklient/cameraui.cpp b/kipi-plugins/kameraklient/cameraui.cpp index dd99650..194a2be 100644 --- a/kipi-plugins/kameraklient/cameraui.cpp +++ b/kipi-plugins/kameraklient/cameraui.cpp @@ -159,7 +159,7 @@ CameraUI::CameraUI() : TQWidget() KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); mhelpButton->setPopup( helpMenu->menu() ); // create Camera Box----------------------------------------------------------------------- @@ -243,38 +243,38 @@ void CameraUI::setupAccel() { mCameraUIAccel = new TDEAccel(this); mCameraUIAccel->insert("Select All", i18n("Select All"), i18n("Select all the images from the camera."), - CTRL+Key_A, this, TQT_SLOT(slotSelectAll())); + CTRL+Key_A, this, TQ_SLOT(slotSelectAll())); mCameraUIAccel->insert("Select None", i18n("Select None"), i18n("Deselect all the images from the camera."), - CTRL+Key_U, this, TQT_SLOT(slotSelectNone())); + CTRL+Key_U, this, TQ_SLOT(slotSelectNone())); mCameraUIAccel->insert("Invert Selection", i18n("Invert Selection"), i18n("Invert the selection."), - CTRL+Key_Asterisk, this, TQT_SLOT(slotSelectInvert())); + CTRL+Key_Asterisk, this, TQ_SLOT(slotSelectInvert())); mCameraUIAccel->insert("Select New", i18n("Select New Items"), i18n("Select all the that were not previously downloaded."), - CTRL+Key_Slash, this, TQT_SLOT(slotSelectNew())); + CTRL+Key_Slash, this, TQ_SLOT(slotSelectNew())); setCameraConnected(false); } void CameraUI::setupConnections() { - connect(this, TQT_SIGNAL(signalStatusMsg(const TQString&)), this, TQT_SLOT(slotSetStatusMsg(const TQString&))); - connect(this, TQT_SIGNAL(signalProgressVal(int)), this, TQT_SLOT(slotSetProgressVal(int))); - connect(this, TQT_SIGNAL(signalBusy(bool)), this, TQT_SLOT(slotBusy(bool))); - connect(efilter_, TQT_SIGNAL(signalStatusMsg(const TQString&)), this, TQT_SIGNAL(signalStatusMsg(const TQString&))); - connect(efilter_, TQT_SIGNAL(signalProgressVal(int)), this, TQT_SIGNAL(signalProgressVal(int))); - connect(efilter_, TQT_SIGNAL(signalBusy(bool)), this, TQT_SIGNAL(signalBusy(bool))); - connect(mFolderView, TQT_SIGNAL(signalFolderChanged(CameraFolderItem*)), this, TQT_SLOT(slotFolderSelected(CameraFolderItem*))); - connect(mIconView, TQT_SIGNAL(signalDownloadSelectedItems()), this, TQT_SLOT(slotCameraDownloadSelected())); - connect(mIconView, TQT_SIGNAL(signalDeleteSelectedItems()), this, TQT_SLOT(slotCameraDeleteSelected())); - connect(mChangeDownloadDirectoryBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotChangeDownloadDirectory())); - connect(mCameraList, TQT_SIGNAL(signalCameraListChanged()), this, TQT_SLOT(slotSyncCameraComboBox())); - connect(mCameraConnectBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCameraConnectToggle())); - connect(mCameraSetupBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotSetupCamera())); - connect(mCameraStopBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCameraCancel())); - connect(mCameraDownloadBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCameraDownloadSelected())); - connect(mCameraUploadBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCameraUpload())); - connect(mCameraDeleteBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCameraDeleteSelected())); - connect(mDialogCloseBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(close())); + connect(this, TQ_SIGNAL(signalStatusMsg(const TQString&)), this, TQ_SLOT(slotSetStatusMsg(const TQString&))); + connect(this, TQ_SIGNAL(signalProgressVal(int)), this, TQ_SLOT(slotSetProgressVal(int))); + connect(this, TQ_SIGNAL(signalBusy(bool)), this, TQ_SLOT(slotBusy(bool))); + connect(efilter_, TQ_SIGNAL(signalStatusMsg(const TQString&)), this, TQ_SIGNAL(signalStatusMsg(const TQString&))); + connect(efilter_, TQ_SIGNAL(signalProgressVal(int)), this, TQ_SIGNAL(signalProgressVal(int))); + connect(efilter_, TQ_SIGNAL(signalBusy(bool)), this, TQ_SIGNAL(signalBusy(bool))); + connect(mFolderView, TQ_SIGNAL(signalFolderChanged(CameraFolderItem*)), this, TQ_SLOT(slotFolderSelected(CameraFolderItem*))); + connect(mIconView, TQ_SIGNAL(signalDownloadSelectedItems()), this, TQ_SLOT(slotCameraDownloadSelected())); + connect(mIconView, TQ_SIGNAL(signalDeleteSelectedItems()), this, TQ_SLOT(slotCameraDeleteSelected())); + connect(mChangeDownloadDirectoryBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotChangeDownloadDirectory())); + connect(mCameraList, TQ_SIGNAL(signalCameraListChanged()), this, TQ_SLOT(slotSyncCameraComboBox())); + connect(mCameraConnectBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCameraConnectToggle())); + connect(mCameraSetupBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotSetupCamera())); + connect(mCameraStopBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCameraCancel())); + connect(mCameraDownloadBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCameraDownloadSelected())); + connect(mCameraUploadBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCameraUpload())); + connect(mCameraDeleteBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCameraDeleteSelected())); + connect(mDialogCloseBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(close())); } void CameraUI::setCameraConnected(bool val) { diff --git a/kipi-plugins/kameraklient/dmessagebox.cpp b/kipi-plugins/kameraklient/dmessagebox.cpp index 28f710d..dc04957 100644 --- a/kipi-plugins/kameraklient/dmessagebox.cpp +++ b/kipi-plugins/kameraklient/dmessagebox.cpp @@ -74,7 +74,7 @@ DMessageBox::DMessageBox() : TQWidget(0, 0, WShowModal | WStyle_DialogBorder| WD grid->addItem(new TQSpacerItem(5, 10, TQSizePolicy::Expanding, TQSizePolicy::Minimum), 2, 0); grid->addItem(new TQSpacerItem(5, 10, TQSizePolicy::Expanding, TQSizePolicy::Minimum), 2, 2); // --------------------------------------------------- - connect(okButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotOkClicked())); + connect(okButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotOkClicked())); int W=500; int H=400; move(TQApplication::desktop()->width ()/2-(W/2), TQApplication::desktop()->height()/2-(H/2)); diff --git a/kipi-plugins/kameraklient/gpcontroller.cpp b/kipi-plugins/kameraklient/gpcontroller.cpp index a673f01..a90cdb9 100644 --- a/kipi-plugins/kameraklient/gpcontroller.cpp +++ b/kipi-plugins/kameraklient/gpcontroller.cpp @@ -47,12 +47,12 @@ GPController::GPController(TQObject *parent, const CameraType& ctype) : TQObject parent_ = parent; camera_ = new GPCamera(TQString(ctype.model().latin1()), TQString(ctype.port().latin1())); close_ = false; - connect(GPMessages::gpMessagesWrapper(), TQT_SIGNAL(statusChanged(const TQString&)), - this, TQT_SLOT(slotStatusMsg(const TQString&)) ); - connect(GPMessages::gpMessagesWrapper(), TQT_SIGNAL(progressChanged(int)), - this, TQT_SLOT(slotProgressVal(int)) ); - connect(GPMessages::gpMessagesWrapper(), TQT_SIGNAL(errorMessage(const TQString&)), - this, TQT_SLOT(slotErrorMsg(const TQString&))); + connect(GPMessages::gpMessagesWrapper(), TQ_SIGNAL(statusChanged(const TQString&)), + this, TQ_SLOT(slotStatusMsg(const TQString&)) ); + connect(GPMessages::gpMessagesWrapper(), TQ_SIGNAL(progressChanged(int)), + this, TQ_SLOT(slotProgressVal(int)) ); + connect(GPMessages::gpMessagesWrapper(), TQ_SIGNAL(errorMessage(const TQString&)), + this, TQ_SLOT(slotErrorMsg(const TQString&))); } GPController::~GPController() { diff --git a/kipi-plugins/kameraklient/gpfileitemcontainer.cpp b/kipi-plugins/kameraklient/gpfileitemcontainer.cpp index 91077cb..9a421a2 100644 --- a/kipi-plugins/kameraklient/gpfileitemcontainer.cpp +++ b/kipi-plugins/kameraklient/gpfileitemcontainer.cpp @@ -37,8 +37,8 @@ GPFileItemContainer::GPFileItemContainer(TQObject *parent, CameraFolderView *fol folderView_ = folderView; iconView_ = iconView; folderDict_.setAutoDelete(true); - connect(folderView_, TQT_SIGNAL(signalCleared()), this, TQT_SLOT(slotFolderViewCleared())); - connect(iconView_, TQT_SIGNAL(signalCleared()), this, TQT_SLOT(slotIconViewCleared())); + connect(folderView_, TQ_SIGNAL(signalCleared()), this, TQ_SLOT(slotFolderViewCleared())); + connect(iconView_, TQ_SIGNAL(signalCleared()), this, TQ_SLOT(slotIconViewCleared())); } GPFileItemContainer::~GPFileItemContainer() { diff --git a/kipi-plugins/kameraklient/kameraklient.cpp b/kipi-plugins/kameraklient/kameraklient.cpp index 966194a..64bd024 100644 --- a/kipi-plugins/kameraklient/kameraklient.cpp +++ b/kipi-plugins/kameraklient/kameraklient.cpp @@ -53,7 +53,7 @@ void Plugin_KameraKlient::setup(TQWidget* widget) { "camera-unmounted", TDEShortcut(), this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "kipiplugin_kameraklient"); addAction(mKameraKlientAction); diff --git a/kipi-plugins/kameraklient/savefiledialog.cpp b/kipi-plugins/kameraklient/savefiledialog.cpp index 86ef664..c56d158 100644 --- a/kipi-plugins/kameraklient/savefiledialog.cpp +++ b/kipi-plugins/kameraklient/savefiledialog.cpp @@ -37,15 +37,15 @@ SavefileDialog::SavefileDialog(const TQString& file, TQWidget *parent, const cha TQLabel *descLbl = new TQLabel(i18n("The file '%1' already exists!").arg(fileInfo.absFilePath()), this); renameEdit = new TQLineEdit(this); renameEdit->setText(fileInfo.fileName()); - connect(renameEdit, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slot_renameEnabled())); + connect(renameEdit, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slot_renameEnabled())); KButtonBox *bbox = new KButtonBox(this); - renameBtn = bbox->addButton(i18n("Rename"), this, TQT_SLOT(slot_rename()), true); + renameBtn = bbox->addButton(i18n("Rename"), this, TQ_SLOT(slot_rename()), true); renameBtn->setEnabled(false); - bbox->addButton(i18n("Skip"), this, TQT_SLOT(slot_skip()), false); - bbox->addButton(i18n("Skip All"), this, TQT_SLOT(slot_skipAll()), true); - bbox->addButton(i18n("Overwrite"), this, TQT_SLOT(slot_overwrite()), true); - bbox->addButton(i18n("Overwrite All"), this, TQT_SLOT(slot_overwriteAll()), true); - TQPushButton *cancelBtn = bbox->addButton(i18n("&Cancel"), this, TQT_SLOT(reject()), true); + bbox->addButton(i18n("Skip"), this, TQ_SLOT(slot_skip()), false); + bbox->addButton(i18n("Skip All"), this, TQ_SLOT(slot_skipAll()), true); + bbox->addButton(i18n("Overwrite"), this, TQ_SLOT(slot_overwrite()), true); + bbox->addButton(i18n("Overwrite All"), this, TQ_SLOT(slot_overwriteAll()), true); + TQPushButton *cancelBtn = bbox->addButton(i18n("&Cancel"), this, TQ_SLOT(reject()), true); cancelBtn->setDefault(true); bbox->layout(); TQGridLayout *layout = new TQGridLayout(this, 0, 0, 15); diff --git a/kipi-plugins/kameraklient/setupcamera.cpp b/kipi-plugins/kameraklient/setupcamera.cpp index a115fd6..f54ad16 100644 --- a/kipi-plugins/kameraklient/setupcamera.cpp +++ b/kipi-plugins/kameraklient/setupcamera.cpp @@ -78,7 +78,7 @@ SetupCamera::SetupCamera(TQWidget* parent, const char* name) helpButton_ = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); helpButton_->setPopup( helpMenu->menu() ); setWFlags(TQt::WDestructiveClose); @@ -118,11 +118,11 @@ SetupCamera::SetupCamera(TQWidget* parent, const char* name) removeButton_->setEnabled(false); editButton_->setEnabled(false); - connect(listView_, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged())); - connect(addButton_, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAddCamera())); - connect(removeButton_, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRemoveCamera())); - connect(editButton_, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditCamera())); - connect(autoDetectButton_, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAutoDetectCamera())); + connect(listView_, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged())); + connect(addButton_, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAddCamera())); + connect(removeButton_, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRemoveCamera())); + connect(editButton_, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditCamera())); + connect(autoDetectButton_, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAutoDetectCamera())); CameraList* clist = CameraList::instance(); @@ -133,7 +133,7 @@ SetupCamera::SetupCamera(TQWidget* parent, const char* name) } } - connect(this, TQT_SIGNAL(okClicked()), this, TQT_SLOT(slotOkClicked())); + connect(this, TQ_SIGNAL(okClicked()), this, TQ_SLOT(slotOkClicked())); show(); int W=SetupCamera::width (), H=SetupCamera::height(); @@ -163,8 +163,8 @@ void SetupCamera::slotSelectionChanged() { void SetupCamera::slotAddCamera() { CameraSelection *select = new CameraSelection; - connect(select, TQT_SIGNAL(signalOkClicked(const TQString&, const TQString&)), - this, TQT_SLOT(slotAddedCamera(const TQString&, const TQString&))); + connect(select, TQ_SIGNAL(signalOkClicked(const TQString&, const TQString&)), + this, TQ_SLOT(slotAddedCamera(const TQString&, const TQString&))); select->show(); } @@ -183,8 +183,8 @@ void SetupCamera::slotEditCamera() { } CameraSelection *select = new CameraSelection; select->setCamera(item->text(0), item->text(1)); - connect(select, TQT_SIGNAL(signalOkClicked(const TQString&, const TQString&)), - this, TQT_SLOT(slotEditedCamera(const TQString&, const TQString&))); + connect(select, TQ_SIGNAL(signalOkClicked(const TQString&, const TQString&)), + this, TQ_SLOT(slotEditedCamera(const TQString&, const TQString&))); select->show(); } diff --git a/kipi-plugins/kameraklient/thumbview.cpp b/kipi-plugins/kameraklient/thumbview.cpp index 9b936b0..5ef93fa 100644 --- a/kipi-plugins/kameraklient/thumbview.cpp +++ b/kipi-plugins/kameraklient/thumbview.cpp @@ -111,7 +111,7 @@ ThumbView::ThumbView(TQWidget* parent, const char* name, WFlags fl) : TQScrollVi d->selectedItems.setAutoDelete(false); d->updateTimer = new TQTimer(this); d->startDragItem = 0; - connect(d->updateTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotUpdate())); + connect(d->updateTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotUpdate())); } ThumbView::~ThumbView() { diff --git a/kipi-plugins/metadataedit/commenteditdialog.cpp b/kipi-plugins/metadataedit/commenteditdialog.cpp index 8a4449d..353bf5f 100644 --- a/kipi-plugins/metadataedit/commenteditdialog.cpp +++ b/kipi-plugins/metadataedit/commenteditdialog.cpp @@ -95,7 +95,7 @@ CommentEditDialog::CommentEditDialog(TQWidget* parent) KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); helpMenu->menu()->removeItemAt(0); helpMenu->menu()->insertItem(i18n("Plugin Handbook"), - this, TQT_SLOT(slotHelp()), 0, -1, 0); + this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup( helpMenu->menu() ); // ------------------------------------------------------------ diff --git a/kipi-plugins/metadataedit/commentremovedialog.cpp b/kipi-plugins/metadataedit/commentremovedialog.cpp index 00942b9..e43750b 100644 --- a/kipi-plugins/metadataedit/commentremovedialog.cpp +++ b/kipi-plugins/metadataedit/commentremovedialog.cpp @@ -93,7 +93,7 @@ CommentRemoveDialog::CommentRemoveDialog(TQWidget* parent) KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); helpMenu->menu()->removeItemAt(0); helpMenu->menu()->insertItem(i18n("Plugin Handbook"), - this, TQT_SLOT(slotHelp()), 0, -1, 0); + this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup( helpMenu->menu() ); // ------------------------------------------------------------ diff --git a/kipi-plugins/metadataedit/exifadjust.cpp b/kipi-plugins/metadataedit/exifadjust.cpp index 3d40296..66d2789 100644 --- a/kipi-plugins/metadataedit/exifadjust.cpp +++ b/kipi-plugins/metadataedit/exifadjust.cpp @@ -169,63 +169,63 @@ EXIFAdjust::EXIFAdjust(TQWidget* parent) // -------------------------------------------------------- - connect(d->brightnessCheck, TQT_SIGNAL(toggled(bool)), - d->brightnessEdit, TQT_SLOT(setEnabled(bool))); + connect(d->brightnessCheck, TQ_SIGNAL(toggled(bool)), + d->brightnessEdit, TQ_SLOT(setEnabled(bool))); - connect(d->gainControlCheck, TQT_SIGNAL(toggled(bool)), - d->gainControlCB, TQT_SLOT(setEnabled(bool))); + connect(d->gainControlCheck, TQ_SIGNAL(toggled(bool)), + d->gainControlCB, TQ_SLOT(setEnabled(bool))); - connect(d->contrastCheck, TQT_SIGNAL(toggled(bool)), - d->contrastCB, TQT_SLOT(setEnabled(bool))); + connect(d->contrastCheck, TQ_SIGNAL(toggled(bool)), + d->contrastCB, TQ_SLOT(setEnabled(bool))); - connect(d->saturationCheck, TQT_SIGNAL(toggled(bool)), - d->saturationCB, TQT_SLOT(setEnabled(bool))); + connect(d->saturationCheck, TQ_SIGNAL(toggled(bool)), + d->saturationCB, TQ_SLOT(setEnabled(bool))); - connect(d->sharpnessCheck, TQT_SIGNAL(toggled(bool)), - d->sharpnessCB, TQT_SLOT(setEnabled(bool))); + connect(d->sharpnessCheck, TQ_SIGNAL(toggled(bool)), + d->sharpnessCB, TQ_SLOT(setEnabled(bool))); - connect(d->customRenderedCheck, TQT_SIGNAL(toggled(bool)), - d->customRenderedCB, TQT_SLOT(setEnabled(bool))); + connect(d->customRenderedCheck, TQ_SIGNAL(toggled(bool)), + d->customRenderedCB, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->brightnessCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->brightnessCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->gainControlCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->gainControlCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->contrastCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->contrastCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->saturationCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->saturationCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->sharpnessCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->sharpnessCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->customRenderedCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->customRenderedCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); // -------------------------------------------------------- - connect(d->gainControlCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->gainControlCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->contrastCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->contrastCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->saturationCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->saturationCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->sharpnessCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->sharpnessCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->customRenderedCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->customRenderedCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->brightnessEdit, TQT_SIGNAL(valueChanged(double)), - this, TQT_SIGNAL(signalModified())); + connect(d->brightnessEdit, TQ_SIGNAL(valueChanged(double)), + this, TQ_SIGNAL(signalModified())); } EXIFAdjust::~EXIFAdjust() diff --git a/kipi-plugins/metadataedit/exifcaption.cpp b/kipi-plugins/metadataedit/exifcaption.cpp index 60c00d7..7642fc4 100644 --- a/kipi-plugins/metadataedit/exifcaption.cpp +++ b/kipi-plugins/metadataedit/exifcaption.cpp @@ -175,63 +175,63 @@ EXIFCaption::EXIFCaption(TQWidget* parent) // -------------------------------------------------------- - connect(d->documentNameCheck, TQT_SIGNAL(toggled(bool)), - d->documentNameEdit, TQT_SLOT(setEnabled(bool))); + connect(d->documentNameCheck, TQ_SIGNAL(toggled(bool)), + d->documentNameEdit, TQ_SLOT(setEnabled(bool))); - connect(d->imageDescCheck, TQT_SIGNAL(toggled(bool)), - d->imageDescEdit, TQT_SLOT(setEnabled(bool))); + connect(d->imageDescCheck, TQ_SIGNAL(toggled(bool)), + d->imageDescEdit, TQ_SLOT(setEnabled(bool))); - connect(d->artistCheck, TQT_SIGNAL(toggled(bool)), - d->artistEdit, TQT_SLOT(setEnabled(bool))); + connect(d->artistCheck, TQ_SIGNAL(toggled(bool)), + d->artistEdit, TQ_SLOT(setEnabled(bool))); - connect(d->copyrightCheck, TQT_SIGNAL(toggled(bool)), - d->copyrightEdit, TQT_SLOT(setEnabled(bool))); + connect(d->copyrightCheck, TQ_SIGNAL(toggled(bool)), + d->copyrightEdit, TQ_SLOT(setEnabled(bool))); - connect(d->userCommentCheck, TQT_SIGNAL(toggled(bool)), - d->userCommentEdit, TQT_SLOT(setEnabled(bool))); + connect(d->userCommentCheck, TQ_SIGNAL(toggled(bool)), + d->userCommentEdit, TQ_SLOT(setEnabled(bool))); - connect(d->userCommentCheck, TQT_SIGNAL(toggled(bool)), - d->syncJFIFCommentCheck, TQT_SLOT(setEnabled(bool))); + connect(d->userCommentCheck, TQ_SIGNAL(toggled(bool)), + d->syncJFIFCommentCheck, TQ_SLOT(setEnabled(bool))); - connect(d->userCommentCheck, TQT_SIGNAL(toggled(bool)), - d->syncHOSTCommentCheck, TQT_SLOT(setEnabled(bool))); + connect(d->userCommentCheck, TQ_SIGNAL(toggled(bool)), + d->syncHOSTCommentCheck, TQ_SLOT(setEnabled(bool))); - connect(d->userCommentCheck, TQT_SIGNAL(toggled(bool)), - d->syncIPTCCaptionCheck, TQT_SLOT(setEnabled(bool))); + connect(d->userCommentCheck, TQ_SIGNAL(toggled(bool)), + d->syncIPTCCaptionCheck, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->documentNameCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->documentNameCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->imageDescCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->imageDescCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->artistCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->artistCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->copyrightCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->copyrightCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->userCommentCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->userCommentCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); // -------------------------------------------------------- - connect(d->userCommentEdit, TQT_SIGNAL(textChanged()), - this, TQT_SIGNAL(signalModified())); + connect(d->userCommentEdit, TQ_SIGNAL(textChanged()), + this, TQ_SIGNAL(signalModified())); - connect(d->documentNameEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->documentNameEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->imageDescEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->imageDescEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->artistEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->artistEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->copyrightEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->copyrightEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); } EXIFCaption::~EXIFCaption() diff --git a/kipi-plugins/metadataedit/exifdatetime.cpp b/kipi-plugins/metadataedit/exifdatetime.cpp index c51c25b..59510d7 100644 --- a/kipi-plugins/metadataedit/exifdatetime.cpp +++ b/kipi-plugins/metadataedit/exifdatetime.cpp @@ -165,69 +165,69 @@ EXIFDateTime::EXIFDateTime(TQWidget* parent) // -------------------------------------------------------- - connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), - d->dateCreatedSel, TQT_SLOT(setEnabled(bool))); + connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)), + d->dateCreatedSel, TQ_SLOT(setEnabled(bool))); - connect(d->dateOriginalCheck, TQT_SIGNAL(toggled(bool)), - d->dateOriginalSel, TQT_SLOT(setEnabled(bool))); + connect(d->dateOriginalCheck, TQ_SIGNAL(toggled(bool)), + d->dateOriginalSel, TQ_SLOT(setEnabled(bool))); - connect(d->dateDigitalizedCheck, TQT_SIGNAL(toggled(bool)), - d->dateDigitalizedSel, TQT_SLOT(setEnabled(bool))); + connect(d->dateDigitalizedCheck, TQ_SIGNAL(toggled(bool)), + d->dateDigitalizedSel, TQ_SLOT(setEnabled(bool))); - connect(d->dateCreatedSubSecCheck, TQT_SIGNAL(toggled(bool)), - d->dateCreatedSubSecEdit, TQT_SLOT(setEnabled(bool))); + connect(d->dateCreatedSubSecCheck, TQ_SIGNAL(toggled(bool)), + d->dateCreatedSubSecEdit, TQ_SLOT(setEnabled(bool))); - connect(d->dateOriginalSubSecCheck, TQT_SIGNAL(toggled(bool)), - d->dateOriginalSubSecEdit, TQT_SLOT(setEnabled(bool))); + connect(d->dateOriginalSubSecCheck, TQ_SIGNAL(toggled(bool)), + d->dateOriginalSubSecEdit, TQ_SLOT(setEnabled(bool))); - connect(d->dateDigitalizedSubSecCheck, TQT_SIGNAL(toggled(bool)), - d->dateDigitalizedSubSecEdit, TQT_SLOT(setEnabled(bool))); + connect(d->dateDigitalizedSubSecCheck, TQ_SIGNAL(toggled(bool)), + d->dateDigitalizedSubSecEdit, TQ_SLOT(setEnabled(bool))); - connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), - d->syncHOSTDateCheck, TQT_SLOT(setEnabled(bool))); + connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)), + d->syncHOSTDateCheck, TQ_SLOT(setEnabled(bool))); - connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), - d->syncIPTCDateCheck, TQT_SLOT(setEnabled(bool))); + connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)), + d->syncIPTCDateCheck, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateOriginalCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateOriginalCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateDigitalizedCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateDigitalizedCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateCreatedSubSecCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateCreatedSubSecCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateOriginalSubSecCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateOriginalSubSecCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateDigitalizedSubSecCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateDigitalizedSubSecCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); // -------------------------------------------------------- - connect(d->dateCreatedSubSecEdit, TQT_SIGNAL(valueChanged(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateCreatedSubSecEdit, TQ_SIGNAL(valueChanged(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateOriginalSubSecEdit, TQT_SIGNAL(valueChanged(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateOriginalSubSecEdit, TQ_SIGNAL(valueChanged(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateDigitalizedSubSecEdit, TQT_SIGNAL(valueChanged(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateDigitalizedSubSecEdit, TQ_SIGNAL(valueChanged(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateCreatedSel, TQT_SIGNAL(valueChanged (const TQDateTime &)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateCreatedSel, TQ_SIGNAL(valueChanged (const TQDateTime &)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateOriginalSel, TQT_SIGNAL(valueChanged (const TQDateTime &)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateOriginalSel, TQ_SIGNAL(valueChanged (const TQDateTime &)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateDigitalizedSel, TQT_SIGNAL(valueChanged (const TQDateTime &)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateDigitalizedSel, TQ_SIGNAL(valueChanged (const TQDateTime &)), + this, TQ_SIGNAL(signalModified())); } EXIFDateTime::~EXIFDateTime() diff --git a/kipi-plugins/metadataedit/exifdevice.cpp b/kipi-plugins/metadataedit/exifdevice.cpp index ea6ecb6..56aeb20 100644 --- a/kipi-plugins/metadataedit/exifdevice.cpp +++ b/kipi-plugins/metadataedit/exifdevice.cpp @@ -348,123 +348,123 @@ EXIFDevice::EXIFDevice(TQWidget* parent) // -------------------------------------------------------- - connect(d->makeCheck, TQT_SIGNAL(toggled(bool)), - d->makeEdit, TQT_SLOT(setEnabled(bool))); + connect(d->makeCheck, TQ_SIGNAL(toggled(bool)), + d->makeEdit, TQ_SLOT(setEnabled(bool))); - connect(d->modelCheck, TQT_SIGNAL(toggled(bool)), - d->modelEdit, TQT_SLOT(setEnabled(bool))); + connect(d->modelCheck, TQ_SIGNAL(toggled(bool)), + d->modelEdit, TQ_SLOT(setEnabled(bool))); - connect(d->deviceTypeCheck, TQT_SIGNAL(toggled(bool)), - d->deviceTypeCB, TQT_SLOT(setEnabled(bool))); + connect(d->deviceTypeCheck, TQ_SIGNAL(toggled(bool)), + d->deviceTypeCB, TQ_SLOT(setEnabled(bool))); - connect(d->exposureTimeCheck, TQT_SIGNAL(toggled(bool)), - d->exposureTimeNumEdit, TQT_SLOT(setEnabled(bool))); + connect(d->exposureTimeCheck, TQ_SIGNAL(toggled(bool)), + d->exposureTimeNumEdit, TQ_SLOT(setEnabled(bool))); - connect(d->exposureTimeCheck, TQT_SIGNAL(toggled(bool)), - d->exposureTimeDenEdit, TQT_SLOT(setEnabled(bool))); + connect(d->exposureTimeCheck, TQ_SIGNAL(toggled(bool)), + d->exposureTimeDenEdit, TQ_SLOT(setEnabled(bool))); - connect(d->exposureProgramCheck, TQT_SIGNAL(toggled(bool)), - d->exposureProgramCB, TQT_SLOT(setEnabled(bool))); + connect(d->exposureProgramCheck, TQ_SIGNAL(toggled(bool)), + d->exposureProgramCB, TQ_SLOT(setEnabled(bool))); - connect(d->exposureModeCheck, TQT_SIGNAL(toggled(bool)), - d->exposureModeCB, TQT_SLOT(setEnabled(bool))); + connect(d->exposureModeCheck, TQ_SIGNAL(toggled(bool)), + d->exposureModeCB, TQ_SLOT(setEnabled(bool))); - connect(d->exposureBiasCheck, TQT_SIGNAL(toggled(bool)), - d->exposureBiasEdit, TQT_SLOT(setEnabled(bool))); + connect(d->exposureBiasCheck, TQ_SIGNAL(toggled(bool)), + d->exposureBiasEdit, TQ_SLOT(setEnabled(bool))); - connect(d->meteringModeCheck, TQT_SIGNAL(toggled(bool)), - d->meteringModeCB, TQT_SLOT(setEnabled(bool))); + connect(d->meteringModeCheck, TQ_SIGNAL(toggled(bool)), + d->meteringModeCB, TQ_SLOT(setEnabled(bool))); - connect(d->ISOSpeedCheck, TQT_SIGNAL(toggled(bool)), - d->ISOSpeedCB, TQT_SLOT(setEnabled(bool))); + connect(d->ISOSpeedCheck, TQ_SIGNAL(toggled(bool)), + d->ISOSpeedCB, TQ_SLOT(setEnabled(bool))); - connect(d->sensingMethodCheck, TQT_SIGNAL(toggled(bool)), - d->sensingMethodCB, TQT_SLOT(setEnabled(bool))); + connect(d->sensingMethodCheck, TQ_SIGNAL(toggled(bool)), + d->sensingMethodCB, TQ_SLOT(setEnabled(bool))); - connect(d->sceneTypeCheck, TQT_SIGNAL(toggled(bool)), - d->sceneTypeCB, TQT_SLOT(setEnabled(bool))); + connect(d->sceneTypeCheck, TQ_SIGNAL(toggled(bool)), + d->sceneTypeCB, TQ_SLOT(setEnabled(bool))); - connect(d->subjectDistanceTypeCheck, TQT_SIGNAL(toggled(bool)), - d->subjectDistanceTypeCB, TQT_SLOT(setEnabled(bool))); + connect(d->subjectDistanceTypeCheck, TQ_SIGNAL(toggled(bool)), + d->subjectDistanceTypeCB, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->makeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->makeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->modelCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->modelCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->exposureTimeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->exposureTimeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->exposureBiasCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->exposureBiasCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->deviceTypeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->deviceTypeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->exposureProgramCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->exposureProgramCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->exposureModeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->exposureModeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->meteringModeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->meteringModeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->ISOSpeedCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->ISOSpeedCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->sensingMethodCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->sensingMethodCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->sceneTypeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->sceneTypeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->subjectDistanceTypeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->subjectDistanceTypeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); // -------------------------------------------------------- - connect(d->deviceTypeCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->deviceTypeCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->exposureProgramCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->exposureProgramCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->exposureModeCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->exposureModeCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->ISOSpeedCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->ISOSpeedCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->meteringModeCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->meteringModeCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->sensingMethodCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->sensingMethodCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->sceneTypeCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->sceneTypeCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->subjectDistanceTypeCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->subjectDistanceTypeCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->makeEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->makeEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->modelEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->modelEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->exposureTimeNumEdit, TQT_SIGNAL(valueChanged(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->exposureTimeNumEdit, TQ_SIGNAL(valueChanged(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->exposureTimeDenEdit, TQT_SIGNAL(valueChanged(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->exposureTimeDenEdit, TQ_SIGNAL(valueChanged(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->exposureBiasEdit, TQT_SIGNAL(valueChanged(double)), - this, TQT_SIGNAL(signalModified())); + connect(d->exposureBiasEdit, TQ_SIGNAL(valueChanged(double)), + this, TQ_SIGNAL(signalModified())); } EXIFDevice::~EXIFDevice() diff --git a/kipi-plugins/metadataedit/exifeditdialog.cpp b/kipi-plugins/metadataedit/exifeditdialog.cpp index b0837e6..9d17991 100644 --- a/kipi-plugins/metadataedit/exifeditdialog.cpp +++ b/kipi-plugins/metadataedit/exifeditdialog.cpp @@ -174,28 +174,28 @@ EXIFEditDialog::EXIFEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interfac KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); helpMenu->menu()->removeItemAt(0); helpMenu->menu()->insertItem(i18n("Plugin Handbook"), - this, TQT_SLOT(slotHelp()), 0, -1, 0); + this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup( helpMenu->menu() ); // ------------------------------------------------------------ - connect(d->captionPage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->captionPage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->datetimePage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->datetimePage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->lensPage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->lensPage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->devicePage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->devicePage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->lightPage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->lightPage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->adjustPage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->adjustPage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); // ------------------------------------------------------------ diff --git a/kipi-plugins/metadataedit/exiflens.cpp b/kipi-plugins/metadataedit/exiflens.cpp index a3ad737..fdb6180 100644 --- a/kipi-plugins/metadataedit/exiflens.cpp +++ b/kipi-plugins/metadataedit/exiflens.cpp @@ -205,54 +205,54 @@ EXIFLens::EXIFLens(TQWidget* parent) // -------------------------------------------------------- - connect(d->focalLengthCheck, TQT_SIGNAL(toggled(bool)), - d->focalLengthEdit, TQT_SLOT(setEnabled(bool))); + connect(d->focalLengthCheck, TQ_SIGNAL(toggled(bool)), + d->focalLengthEdit, TQ_SLOT(setEnabled(bool))); - connect(d->focalLength35mmCheck, TQT_SIGNAL(toggled(bool)), - d->focalLength35mmEdit, TQT_SLOT(setEnabled(bool))); + connect(d->focalLength35mmCheck, TQ_SIGNAL(toggled(bool)), + d->focalLength35mmEdit, TQ_SLOT(setEnabled(bool))); - connect(d->digitalZoomRatioCheck, TQT_SIGNAL(toggled(bool)), - d->digitalZoomRatioEdit, TQT_SLOT(setEnabled(bool))); + connect(d->digitalZoomRatioCheck, TQ_SIGNAL(toggled(bool)), + d->digitalZoomRatioEdit, TQ_SLOT(setEnabled(bool))); - connect(d->apertureCheck, TQT_SIGNAL(toggled(bool)), - d->apertureCB, TQT_SLOT(setEnabled(bool))); + connect(d->apertureCheck, TQ_SIGNAL(toggled(bool)), + d->apertureCB, TQ_SLOT(setEnabled(bool))); - connect(d->maxApertureCheck, TQT_SIGNAL(toggled(bool)), - d->maxApertureCB, TQT_SLOT(setEnabled(bool))); + connect(d->maxApertureCheck, TQ_SIGNAL(toggled(bool)), + d->maxApertureCB, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->focalLength35mmCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->focalLength35mmCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->focalLengthCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->focalLengthCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->digitalZoomRatioCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->digitalZoomRatioCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->apertureCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->apertureCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->maxApertureCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->maxApertureCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); // -------------------------------------------------------- - connect(d->apertureCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->apertureCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->maxApertureCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->maxApertureCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->focalLength35mmEdit, TQT_SIGNAL(valueChanged(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->focalLength35mmEdit, TQ_SIGNAL(valueChanged(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->focalLengthEdit, TQT_SIGNAL(valueChanged(double)), - this, TQT_SIGNAL(signalModified())); + connect(d->focalLengthEdit, TQ_SIGNAL(valueChanged(double)), + this, TQ_SIGNAL(signalModified())); - connect(d->digitalZoomRatioEdit, TQT_SIGNAL(valueChanged(double)), - this, TQT_SIGNAL(signalModified())); + connect(d->digitalZoomRatioEdit, TQ_SIGNAL(valueChanged(double)), + this, TQ_SIGNAL(signalModified())); } EXIFLens::~EXIFLens() diff --git a/kipi-plugins/metadataedit/exiflight.cpp b/kipi-plugins/metadataedit/exiflight.cpp index bbe0b97..65545d6 100644 --- a/kipi-plugins/metadataedit/exiflight.cpp +++ b/kipi-plugins/metadataedit/exiflight.cpp @@ -203,45 +203,45 @@ EXIFLight::EXIFLight(TQWidget* parent) // -------------------------------------------------------- - connect(d->lightSourceCheck, TQT_SIGNAL(toggled(bool)), - d->lightSourceCB, TQT_SLOT(setEnabled(bool))); + connect(d->lightSourceCheck, TQ_SIGNAL(toggled(bool)), + d->lightSourceCB, TQ_SLOT(setEnabled(bool))); - connect(d->flashModeCheck, TQT_SIGNAL(toggled(bool)), - d->flashModeCB, TQT_SLOT(setEnabled(bool))); + connect(d->flashModeCheck, TQ_SIGNAL(toggled(bool)), + d->flashModeCB, TQ_SLOT(setEnabled(bool))); - connect(d->flashEnergyCheck, TQT_SIGNAL(toggled(bool)), - d->flashEnergyEdit, TQT_SLOT(setEnabled(bool))); + connect(d->flashEnergyCheck, TQ_SIGNAL(toggled(bool)), + d->flashEnergyEdit, TQ_SLOT(setEnabled(bool))); - connect(d->whiteBalanceCheck, TQT_SIGNAL(toggled(bool)), - d->whiteBalanceCB, TQT_SLOT(setEnabled(bool))); + connect(d->whiteBalanceCheck, TQ_SIGNAL(toggled(bool)), + d->whiteBalanceCB, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->flashEnergyCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->flashEnergyCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->lightSourceCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->lightSourceCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->flashModeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->flashModeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->whiteBalanceCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->whiteBalanceCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); // -------------------------------------------------------- - connect(d->lightSourceCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->lightSourceCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->flashModeCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->flashModeCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->whiteBalanceCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->whiteBalanceCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->flashEnergyEdit, TQT_SIGNAL(valueChanged(double)), - this, TQT_SIGNAL(signalModified())); + connect(d->flashEnergyEdit, TQ_SIGNAL(valueChanged(double)), + this, TQ_SIGNAL(signalModified())); } EXIFLight::~EXIFLight() diff --git a/kipi-plugins/metadataedit/iptccaption.cpp b/kipi-plugins/metadataedit/iptccaption.cpp index 7a39437..dac5413 100644 --- a/kipi-plugins/metadataedit/iptccaption.cpp +++ b/kipi-plugins/metadataedit/iptccaption.cpp @@ -165,54 +165,54 @@ IPTCCaption::IPTCCaption(TQWidget* parent) // -------------------------------------------------------- - connect(d->captionCheck, TQT_SIGNAL(toggled(bool)), - d->captionEdit, TQT_SLOT(setEnabled(bool))); + connect(d->captionCheck, TQ_SIGNAL(toggled(bool)), + d->captionEdit, TQ_SLOT(setEnabled(bool))); - connect(d->captionCheck, TQT_SIGNAL(toggled(bool)), - d->syncJFIFCommentCheck, TQT_SLOT(setEnabled(bool))); + connect(d->captionCheck, TQ_SIGNAL(toggled(bool)), + d->syncJFIFCommentCheck, TQ_SLOT(setEnabled(bool))); - connect(d->captionCheck, TQT_SIGNAL(toggled(bool)), - d->syncHOSTCommentCheck, TQT_SLOT(setEnabled(bool))); + connect(d->captionCheck, TQ_SIGNAL(toggled(bool)), + d->syncHOSTCommentCheck, TQ_SLOT(setEnabled(bool))); - connect(d->captionCheck, TQT_SIGNAL(toggled(bool)), - d->syncEXIFCommentCheck, TQT_SLOT(setEnabled(bool))); + connect(d->captionCheck, TQ_SIGNAL(toggled(bool)), + d->syncEXIFCommentCheck, TQ_SLOT(setEnabled(bool))); - connect(d->writerCheck, TQT_SIGNAL(toggled(bool)), - d->writerEdit, TQT_SLOT(setEnabled(bool))); + connect(d->writerCheck, TQ_SIGNAL(toggled(bool)), + d->writerEdit, TQ_SLOT(setEnabled(bool))); - connect(d->headlineCheck, TQT_SIGNAL(toggled(bool)), - d->headlineEdit, TQT_SLOT(setEnabled(bool))); + connect(d->headlineCheck, TQ_SIGNAL(toggled(bool)), + d->headlineEdit, TQ_SLOT(setEnabled(bool))); - connect(d->specialInstructionCheck, TQT_SIGNAL(toggled(bool)), - d->specialInstructionEdit, TQT_SLOT(setEnabled(bool))); + connect(d->specialInstructionCheck, TQ_SIGNAL(toggled(bool)), + d->specialInstructionEdit, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->captionCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->captionCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->writerCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->writerCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->headlineCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->headlineCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->specialInstructionCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->specialInstructionCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); // -------------------------------------------------------- - connect(d->captionEdit, TQT_SIGNAL(textChanged()), - this, TQT_SIGNAL(signalModified())); + connect(d->captionEdit, TQ_SIGNAL(textChanged()), + this, TQ_SIGNAL(signalModified())); - connect(d->specialInstructionEdit, TQT_SIGNAL(textChanged()), - this, TQT_SIGNAL(signalModified())); + connect(d->specialInstructionEdit, TQ_SIGNAL(textChanged()), + this, TQ_SIGNAL(signalModified())); - connect(d->writerEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->writerEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->headlineEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->headlineEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); } IPTCCaption::~IPTCCaption() diff --git a/kipi-plugins/metadataedit/iptccategories.cpp b/kipi-plugins/metadataedit/iptccategories.cpp index c83a301..dfb9a5b 100644 --- a/kipi-plugins/metadataedit/iptccategories.cpp +++ b/kipi-plugins/metadataedit/iptccategories.cpp @@ -140,68 +140,68 @@ IPTCCategories::IPTCCategories(TQWidget* parent) // -------------------------------------------------------- - connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), - d->categoryEdit, TQT_SLOT(setEnabled(bool))); + connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)), + d->categoryEdit, TQ_SLOT(setEnabled(bool))); - connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), - d->subCategoriesBox, TQT_SLOT(setEnabled(bool))); + connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)), + d->subCategoriesBox, TQ_SLOT(setEnabled(bool))); - connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), - d->subCategoriesCheck, TQT_SLOT(setEnabled(bool))); + connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)), + d->subCategoriesCheck, TQ_SLOT(setEnabled(bool))); - connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), - d->subCategoryEdit, TQT_SLOT(setEnabled(bool))); + connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)), + d->subCategoryEdit, TQ_SLOT(setEnabled(bool))); - connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), - d->subCategoriesBox, TQT_SLOT(setEnabled(bool))); + connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)), + d->subCategoriesBox, TQ_SLOT(setEnabled(bool))); - connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), - d->addSubCategoryButton, TQT_SLOT(setEnabled(bool))); + connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)), + d->addSubCategoryButton, TQ_SLOT(setEnabled(bool))); - connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), - d->delSubCategoryButton, TQT_SLOT(setEnabled(bool))); + connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)), + d->delSubCategoryButton, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->subCategoriesCheck, TQT_SIGNAL(toggled(bool)), - d->subCategoryEdit, TQT_SLOT(setEnabled(bool))); + connect(d->subCategoriesCheck, TQ_SIGNAL(toggled(bool)), + d->subCategoryEdit, TQ_SLOT(setEnabled(bool))); - connect(d->subCategoriesCheck, TQT_SIGNAL(toggled(bool)), - d->subCategoriesBox, TQT_SLOT(setEnabled(bool))); + connect(d->subCategoriesCheck, TQ_SIGNAL(toggled(bool)), + d->subCategoriesBox, TQ_SLOT(setEnabled(bool))); - connect(d->subCategoriesCheck, TQT_SIGNAL(toggled(bool)), - d->addSubCategoryButton, TQT_SLOT(setEnabled(bool))); + connect(d->subCategoriesCheck, TQ_SIGNAL(toggled(bool)), + d->addSubCategoryButton, TQ_SLOT(setEnabled(bool))); - connect(d->subCategoriesCheck, TQT_SIGNAL(toggled(bool)), - d->delSubCategoryButton, TQT_SLOT(setEnabled(bool))); + connect(d->subCategoriesCheck, TQ_SIGNAL(toggled(bool)), + d->delSubCategoryButton, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->subCategoriesBox, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotCategorySelectionChanged())); + connect(d->subCategoriesBox, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotCategorySelectionChanged())); - connect(d->addSubCategoryButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddCategory())); + connect(d->addSubCategoryButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddCategory())); - connect(d->delSubCategoryButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotDelCategory())); + connect(d->delSubCategoryButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotDelCategory())); // -------------------------------------------------------- - connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->subCategoriesCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->subCategoriesCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->addSubCategoryButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalModified())); + connect(d->addSubCategoryButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalModified())); - connect(d->delSubCategoryButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalModified())); + connect(d->delSubCategoryButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalModified())); - connect(d->categoryEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->categoryEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); } IPTCCategories::~IPTCCategories() diff --git a/kipi-plugins/metadataedit/iptccredits.cpp b/kipi-plugins/metadataedit/iptccredits.cpp index e8f1cef..75d53a1 100644 --- a/kipi-plugins/metadataedit/iptccredits.cpp +++ b/kipi-plugins/metadataedit/iptccredits.cpp @@ -174,63 +174,63 @@ IPTCCredits::IPTCCredits(TQWidget* parent) // -------------------------------------------------------- - connect(d->copyrightCheck, TQT_SIGNAL(toggled(bool)), - d->copyrightEdit, TQT_SLOT(setEnabled(bool))); + connect(d->copyrightCheck, TQ_SIGNAL(toggled(bool)), + d->copyrightEdit, TQ_SLOT(setEnabled(bool))); - connect(d->bylineCheck, TQT_SIGNAL(toggled(bool)), - d->bylineEdit, TQT_SLOT(setEnabled(bool))); + connect(d->bylineCheck, TQ_SIGNAL(toggled(bool)), + d->bylineEdit, TQ_SLOT(setEnabled(bool))); - connect(d->bylineTitleCheck, TQT_SIGNAL(toggled(bool)), - d->bylineTitleEdit, TQT_SLOT(setEnabled(bool))); + connect(d->bylineTitleCheck, TQ_SIGNAL(toggled(bool)), + d->bylineTitleEdit, TQ_SLOT(setEnabled(bool))); - connect(d->creditCheck, TQT_SIGNAL(toggled(bool)), - d->creditEdit, TQT_SLOT(setEnabled(bool))); + connect(d->creditCheck, TQ_SIGNAL(toggled(bool)), + d->creditEdit, TQ_SLOT(setEnabled(bool))); - connect(d->sourceCheck, TQT_SIGNAL(toggled(bool)), - d->sourceEdit, TQT_SLOT(setEnabled(bool))); + connect(d->sourceCheck, TQ_SIGNAL(toggled(bool)), + d->sourceEdit, TQ_SLOT(setEnabled(bool))); - connect(d->contactCheck, TQT_SIGNAL(toggled(bool)), - d->contactEdit, TQT_SLOT(setEnabled(bool))); + connect(d->contactCheck, TQ_SIGNAL(toggled(bool)), + d->contactEdit, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->copyrightCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->copyrightCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->bylineCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->bylineCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->bylineTitleCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->bylineTitleCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->creditCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->creditCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->sourceCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->sourceCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->contactCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->contactCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); // -------------------------------------------------------- - connect(d->copyrightEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->copyrightEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->bylineEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->bylineEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->bylineTitleEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->bylineTitleEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->creditEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->creditEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->sourceEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->sourceEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->contactEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->contactEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); } IPTCCredits::~IPTCCredits() diff --git a/kipi-plugins/metadataedit/iptcdatetime.cpp b/kipi-plugins/metadataedit/iptcdatetime.cpp index a61b508..4aed44f 100644 --- a/kipi-plugins/metadataedit/iptcdatetime.cpp +++ b/kipi-plugins/metadataedit/iptcdatetime.cpp @@ -188,87 +188,87 @@ IPTCDateTime::IPTCDateTime(TQWidget* parent) // -------------------------------------------------------- - connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), - d->dateCreatedSel, TQT_SLOT(setEnabled(bool))); + connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)), + d->dateCreatedSel, TQ_SLOT(setEnabled(bool))); - connect(d->dateReleasedCheck, TQT_SIGNAL(toggled(bool)), - d->dateReleasedSel, TQT_SLOT(setEnabled(bool))); + connect(d->dateReleasedCheck, TQ_SIGNAL(toggled(bool)), + d->dateReleasedSel, TQ_SLOT(setEnabled(bool))); - connect(d->dateExpiredCheck, TQT_SIGNAL(toggled(bool)), - d->dateExpiredSel, TQT_SLOT(setEnabled(bool))); + connect(d->dateExpiredCheck, TQ_SIGNAL(toggled(bool)), + d->dateExpiredSel, TQ_SLOT(setEnabled(bool))); - connect(d->dateDigitalizedCheck, TQT_SIGNAL(toggled(bool)), - d->dateDigitalizedSel, TQT_SLOT(setEnabled(bool))); + connect(d->dateDigitalizedCheck, TQ_SIGNAL(toggled(bool)), + d->dateDigitalizedSel, TQ_SLOT(setEnabled(bool))); - connect(d->timeCreatedCheck, TQT_SIGNAL(toggled(bool)), - d->timeCreatedSel, TQT_SLOT(setEnabled(bool))); + connect(d->timeCreatedCheck, TQ_SIGNAL(toggled(bool)), + d->timeCreatedSel, TQ_SLOT(setEnabled(bool))); - connect(d->timeReleasedCheck, TQT_SIGNAL(toggled(bool)), - d->timeReleasedSel, TQT_SLOT(setEnabled(bool))); + connect(d->timeReleasedCheck, TQ_SIGNAL(toggled(bool)), + d->timeReleasedSel, TQ_SLOT(setEnabled(bool))); - connect(d->timeExpiredCheck, TQT_SIGNAL(toggled(bool)), - d->timeExpiredSel, TQT_SLOT(setEnabled(bool))); + connect(d->timeExpiredCheck, TQ_SIGNAL(toggled(bool)), + d->timeExpiredSel, TQ_SLOT(setEnabled(bool))); - connect(d->timeDigitalizedCheck, TQT_SIGNAL(toggled(bool)), - d->timeDigitalizedSel, TQT_SLOT(setEnabled(bool))); + connect(d->timeDigitalizedCheck, TQ_SIGNAL(toggled(bool)), + d->timeDigitalizedSel, TQ_SLOT(setEnabled(bool))); - connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), - d->syncHOSTDateCheck, TQT_SLOT(setEnabled(bool))); + connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)), + d->syncHOSTDateCheck, TQ_SLOT(setEnabled(bool))); - connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), - d->syncEXIFDateCheck, TQT_SLOT(setEnabled(bool))); + connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)), + d->syncEXIFDateCheck, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateReleasedCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateReleasedCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateExpiredCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateExpiredCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateDigitalizedCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateDigitalizedCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->timeCreatedCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->timeCreatedCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->timeReleasedCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->timeReleasedCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->timeExpiredCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->timeExpiredCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->timeDigitalizedCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->timeDigitalizedCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); // -------------------------------------------------------- - connect(d->dateCreatedSel, TQT_SIGNAL(changed(TQDate)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateCreatedSel, TQ_SIGNAL(changed(TQDate)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateReleasedSel, TQT_SIGNAL(changed(TQDate)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateReleasedSel, TQ_SIGNAL(changed(TQDate)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateExpiredSel, TQT_SIGNAL(changed(TQDate)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateExpiredSel, TQ_SIGNAL(changed(TQDate)), + this, TQ_SIGNAL(signalModified())); - connect(d->dateDigitalizedSel, TQT_SIGNAL(changed(TQDate)), - this, TQT_SIGNAL(signalModified())); + connect(d->dateDigitalizedSel, TQ_SIGNAL(changed(TQDate)), + this, TQ_SIGNAL(signalModified())); - connect(d->timeCreatedSel, TQT_SIGNAL(valueChanged(const TQTime &)), - this, TQT_SIGNAL(signalModified())); + connect(d->timeCreatedSel, TQ_SIGNAL(valueChanged(const TQTime &)), + this, TQ_SIGNAL(signalModified())); - connect(d->timeReleasedSel, TQT_SIGNAL(valueChanged(const TQTime &)), - this, TQT_SIGNAL(signalModified())); + connect(d->timeReleasedSel, TQ_SIGNAL(valueChanged(const TQTime &)), + this, TQ_SIGNAL(signalModified())); - connect(d->timeExpiredSel, TQT_SIGNAL(valueChanged(const TQTime &)), - this, TQT_SIGNAL(signalModified())); + connect(d->timeExpiredSel, TQ_SIGNAL(valueChanged(const TQTime &)), + this, TQ_SIGNAL(signalModified())); - connect(d->timeDigitalizedSel, TQT_SIGNAL(valueChanged(const TQTime &)), - this, TQT_SIGNAL(signalModified())); + connect(d->timeDigitalizedSel, TQ_SIGNAL(valueChanged(const TQTime &)), + this, TQ_SIGNAL(signalModified())); } IPTCDateTime::~IPTCDateTime() diff --git a/kipi-plugins/metadataedit/iptceditdialog.cpp b/kipi-plugins/metadataedit/iptceditdialog.cpp index a490c44..e562d12 100644 --- a/kipi-plugins/metadataedit/iptceditdialog.cpp +++ b/kipi-plugins/metadataedit/iptceditdialog.cpp @@ -190,34 +190,34 @@ IPTCEditDialog::IPTCEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interfac KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); helpMenu->menu()->removeItemAt(0); helpMenu->menu()->insertItem(i18n("Plugin Handbook"), - this, TQT_SLOT(slotHelp()), 0, -1, 0); + this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup( helpMenu->menu() ); // ------------------------------------------------------------ - connect(d->captionPage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->captionPage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->datetimePage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->datetimePage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->subjectsPage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->subjectsPage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->keywordsPage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->keywordsPage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->categoriesPage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->categoriesPage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->creditsPage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->creditsPage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->statusPage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->statusPage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->originPage, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->originPage, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); // ------------------------------------------------------------ diff --git a/kipi-plugins/metadataedit/iptckeywords.cpp b/kipi-plugins/metadataedit/iptckeywords.cpp index 0cfa796..4f89638 100644 --- a/kipi-plugins/metadataedit/iptckeywords.cpp +++ b/kipi-plugins/metadataedit/iptckeywords.cpp @@ -127,39 +127,39 @@ IPTCKeywords::IPTCKeywords(TQWidget* parent) // -------------------------------------------------------- - connect(d->keywordsBox, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotKeywordSelectionChanged())); + connect(d->keywordsBox, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotKeywordSelectionChanged())); - connect(d->addKeywordButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddKeyword())); + connect(d->addKeywordButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddKeyword())); - connect(d->delKeywordButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotDelKeyword())); + connect(d->delKeywordButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotDelKeyword())); // -------------------------------------------------------- - connect(d->keywordsCheck, TQT_SIGNAL(toggled(bool)), - d->keywordEdit, TQT_SLOT(setEnabled(bool))); + connect(d->keywordsCheck, TQ_SIGNAL(toggled(bool)), + d->keywordEdit, TQ_SLOT(setEnabled(bool))); - connect(d->keywordsCheck, TQT_SIGNAL(toggled(bool)), - d->keywordsBox, TQT_SLOT(setEnabled(bool))); + connect(d->keywordsCheck, TQ_SIGNAL(toggled(bool)), + d->keywordsBox, TQ_SLOT(setEnabled(bool))); - connect(d->keywordsCheck, TQT_SIGNAL(toggled(bool)), - d->addKeywordButton, TQT_SLOT(setEnabled(bool))); + connect(d->keywordsCheck, TQ_SIGNAL(toggled(bool)), + d->addKeywordButton, TQ_SLOT(setEnabled(bool))); - connect(d->keywordsCheck, TQT_SIGNAL(toggled(bool)), - d->delKeywordButton, TQT_SLOT(setEnabled(bool))); + connect(d->keywordsCheck, TQ_SIGNAL(toggled(bool)), + d->delKeywordButton, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->keywordsCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->keywordsCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->addKeywordButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalModified())); + connect(d->addKeywordButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalModified())); - connect(d->delKeywordButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalModified())); + connect(d->delKeywordButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalModified())); } IPTCKeywords::~IPTCKeywords() diff --git a/kipi-plugins/metadataedit/iptcorigin.cpp b/kipi-plugins/metadataedit/iptcorigin.cpp index 84ac8d5..30cff20 100644 --- a/kipi-plugins/metadataedit/iptcorigin.cpp +++ b/kipi-plugins/metadataedit/iptcorigin.cpp @@ -465,72 +465,72 @@ IPTCOrigin::IPTCOrigin(TQWidget* parent) // -------------------------------------------------------- - connect(d->objectNameCheck, TQT_SIGNAL(toggled(bool)), - d->objectNameEdit, TQT_SLOT(setEnabled(bool))); + connect(d->objectNameCheck, TQ_SIGNAL(toggled(bool)), + d->objectNameEdit, TQ_SLOT(setEnabled(bool))); - connect(d->cityCheck, TQT_SIGNAL(toggled(bool)), - d->cityEdit, TQT_SLOT(setEnabled(bool))); + connect(d->cityCheck, TQ_SIGNAL(toggled(bool)), + d->cityEdit, TQ_SLOT(setEnabled(bool))); - connect(d->sublocationCheck, TQT_SIGNAL(toggled(bool)), - d->sublocationEdit, TQT_SLOT(setEnabled(bool))); + connect(d->sublocationCheck, TQ_SIGNAL(toggled(bool)), + d->sublocationEdit, TQ_SLOT(setEnabled(bool))); - connect(d->provinceCheck, TQT_SIGNAL(toggled(bool)), - d->provinceEdit, TQT_SLOT(setEnabled(bool))); + connect(d->provinceCheck, TQ_SIGNAL(toggled(bool)), + d->provinceEdit, TQ_SLOT(setEnabled(bool))); - connect(d->countryCheck, TQT_SIGNAL(toggled(bool)), - d->countryCB, TQT_SLOT(setEnabled(bool))); + connect(d->countryCheck, TQ_SIGNAL(toggled(bool)), + d->countryCB, TQ_SLOT(setEnabled(bool))); - connect(d->locationCheck, TQT_SIGNAL(toggled(bool)), - d->locationEdit, TQT_SLOT(setEnabled(bool))); + connect(d->locationCheck, TQ_SIGNAL(toggled(bool)), + d->locationEdit, TQ_SLOT(setEnabled(bool))); - connect(d->originalTransCheck, TQT_SIGNAL(toggled(bool)), - d->originalTransEdit, TQT_SLOT(setEnabled(bool))); + connect(d->originalTransCheck, TQ_SIGNAL(toggled(bool)), + d->originalTransEdit, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->objectNameCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectNameCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->cityCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->cityCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->sublocationCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->sublocationCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->provinceCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->provinceCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->countryCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->countryCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->locationCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->locationCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->originalTransCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->originalTransCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); // -------------------------------------------------------- - connect(d->countryCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->countryCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->objectNameEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectNameEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->cityEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->cityEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->sublocationEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->sublocationEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->provinceEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->provinceEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->locationEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->locationEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->originalTransEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->originalTransEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); } IPTCOrigin::~IPTCOrigin() diff --git a/kipi-plugins/metadataedit/iptcstatus.cpp b/kipi-plugins/metadataedit/iptcstatus.cpp index 0af9778..1922b4d 100644 --- a/kipi-plugins/metadataedit/iptcstatus.cpp +++ b/kipi-plugins/metadataedit/iptcstatus.cpp @@ -217,81 +217,81 @@ IPTCStatus::IPTCStatus(TQWidget* parent) // -------------------------------------------------------- - connect(d->priorityCheck, TQT_SIGNAL(toggled(bool)), - d->priorityCB, TQT_SLOT(setEnabled(bool))); + connect(d->priorityCheck, TQ_SIGNAL(toggled(bool)), + d->priorityCB, TQ_SLOT(setEnabled(bool))); - connect(d->objectCycleCheck, TQT_SIGNAL(toggled(bool)), - d->objectCycleCB, TQT_SLOT(setEnabled(bool))); + connect(d->objectCycleCheck, TQ_SIGNAL(toggled(bool)), + d->objectCycleCB, TQ_SLOT(setEnabled(bool))); - connect(d->objectTypeCheck, TQT_SIGNAL(toggled(bool)), - d->objectTypeCB, TQT_SLOT(setEnabled(bool))); + connect(d->objectTypeCheck, TQ_SIGNAL(toggled(bool)), + d->objectTypeCB, TQ_SLOT(setEnabled(bool))); - connect(d->objectTypeCheck, TQT_SIGNAL(toggled(bool)), - d->objectTypeDescEdit, TQT_SLOT(setEnabled(bool))); + connect(d->objectTypeCheck, TQ_SIGNAL(toggled(bool)), + d->objectTypeDescEdit, TQ_SLOT(setEnabled(bool))); - connect(d->objectAttributeCheck, TQT_SIGNAL(toggled(bool)), - d->objectAttributeCB, TQT_SLOT(setEnabled(bool))); + connect(d->objectAttributeCheck, TQ_SIGNAL(toggled(bool)), + d->objectAttributeCB, TQ_SLOT(setEnabled(bool))); - connect(d->objectAttributeCheck, TQT_SIGNAL(toggled(bool)), - d->objectAttributeDescEdit, TQT_SLOT(setEnabled(bool))); + connect(d->objectAttributeCheck, TQ_SIGNAL(toggled(bool)), + d->objectAttributeDescEdit, TQ_SLOT(setEnabled(bool))); - connect(d->statusCheck, TQT_SIGNAL(toggled(bool)), - d->statusEdit, TQT_SLOT(setEnabled(bool))); + connect(d->statusCheck, TQ_SIGNAL(toggled(bool)), + d->statusEdit, TQ_SLOT(setEnabled(bool))); - connect(d->JobIDCheck, TQT_SIGNAL(toggled(bool)), - d->JobIDEdit, TQT_SLOT(setEnabled(bool))); + connect(d->JobIDCheck, TQ_SIGNAL(toggled(bool)), + d->JobIDEdit, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->priorityCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->priorityCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->objectCycleCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectCycleCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->objectTypeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectTypeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->objectTypeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectTypeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->objectAttributeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectAttributeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->objectAttributeCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectAttributeCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->statusCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->statusCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->JobIDCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->JobIDCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); // -------------------------------------------------------- - connect(d->priorityCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->priorityCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->objectCycleCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectCycleCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->objectTypeCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectTypeCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->objectAttributeCB, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectAttributeCB, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalModified())); - connect(d->statusEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->statusEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->objectTypeDescEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectTypeDescEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->objectAttributeDescEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->objectAttributeDescEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); - connect(d->JobIDEdit, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SIGNAL(signalModified())); + connect(d->JobIDEdit, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SIGNAL(signalModified())); } IPTCStatus::~IPTCStatus() diff --git a/kipi-plugins/metadataedit/iptcsubjects.cpp b/kipi-plugins/metadataedit/iptcsubjects.cpp index 53836db..7bdeb8e 100644 --- a/kipi-plugins/metadataedit/iptcsubjects.cpp +++ b/kipi-plugins/metadataedit/iptcsubjects.cpp @@ -127,39 +127,39 @@ IPTCSubjects::IPTCSubjects(TQWidget* parent) // -------------------------------------------------------- - connect(d->subjectsBox, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotSubjectSelectionChanged())); + connect(d->subjectsBox, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotSubjectSelectionChanged())); - connect(d->addSubjectButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddSubject())); + connect(d->addSubjectButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddSubject())); - connect(d->delSubjectButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotDelSubject())); + connect(d->delSubjectButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotDelSubject())); // -------------------------------------------------------- - connect(d->subjectsCheck, TQT_SIGNAL(toggled(bool)), - d->subjectEdit, TQT_SLOT(setEnabled(bool))); + connect(d->subjectsCheck, TQ_SIGNAL(toggled(bool)), + d->subjectEdit, TQ_SLOT(setEnabled(bool))); - connect(d->subjectsCheck, TQT_SIGNAL(toggled(bool)), - d->subjectsBox, TQT_SLOT(setEnabled(bool))); + connect(d->subjectsCheck, TQ_SIGNAL(toggled(bool)), + d->subjectsBox, TQ_SLOT(setEnabled(bool))); - connect(d->subjectsCheck, TQT_SIGNAL(toggled(bool)), - d->addSubjectButton, TQT_SLOT(setEnabled(bool))); + connect(d->subjectsCheck, TQ_SIGNAL(toggled(bool)), + d->addSubjectButton, TQ_SLOT(setEnabled(bool))); - connect(d->subjectsCheck, TQT_SIGNAL(toggled(bool)), - d->delSubjectButton, TQT_SLOT(setEnabled(bool))); + connect(d->subjectsCheck, TQ_SIGNAL(toggled(bool)), + d->delSubjectButton, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- - connect(d->subjectsCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SIGNAL(signalModified())); + connect(d->subjectsCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SIGNAL(signalModified())); - connect(d->addSubjectButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalModified())); + connect(d->addSubjectButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalModified())); - connect(d->delSubjectButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalModified())); + connect(d->delSubjectButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalModified())); } IPTCSubjects::~IPTCSubjects() diff --git a/kipi-plugins/metadataedit/metadatacheckbox.cpp b/kipi-plugins/metadataedit/metadatacheckbox.cpp index 7f5d3ca..54f9a2c 100644 --- a/kipi-plugins/metadataedit/metadatacheckbox.cpp +++ b/kipi-plugins/metadataedit/metadatacheckbox.cpp @@ -36,8 +36,8 @@ MetadataCheckBox::MetadataCheckBox(const TQString& text, TQWidget* parent) { m_valid = true; - connect(this, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotValid())); + connect(this, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotValid())); } MetadataCheckBox::~MetadataCheckBox() diff --git a/kipi-plugins/metadataedit/plugin_metadataedit.cpp b/kipi-plugins/metadataedit/plugin_metadataedit.cpp index eee0dbf..01618f8 100644 --- a/kipi-plugins/metadataedit/plugin_metadataedit.cpp +++ b/kipi-plugins/metadataedit/plugin_metadataedit.cpp @@ -74,7 +74,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget ) 0, 0, this, - TQT_SLOT(slotEditExif()), + TQ_SLOT(slotEditExif()), actionCollection(), "editexif")); @@ -82,7 +82,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget ) 0, 0, this, - TQT_SLOT(slotRemoveExif()), + TQ_SLOT(slotRemoveExif()), actionCollection(), "removeexif")); @@ -90,7 +90,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget ) 0, 0, this, - TQT_SLOT(slotImportExif()), + TQ_SLOT(slotImportExif()), actionCollection(), "importexif")); @@ -100,7 +100,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget ) 0, 0, this, - TQT_SLOT(slotEditIptc()), + TQ_SLOT(slotEditIptc()), actionCollection(), "editiptc")); @@ -108,7 +108,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget ) 0, 0, this, - TQT_SLOT(slotRemoveIptc()), + TQ_SLOT(slotRemoveIptc()), actionCollection(), "removeiptc")); @@ -116,7 +116,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget ) 0, 0, this, - TQT_SLOT(slotImportIptc()), + TQ_SLOT(slotImportIptc()), actionCollection(), "importiptc")); @@ -126,7 +126,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget ) 0, 0, this, - TQT_SLOT(slotEditComments()), + TQ_SLOT(slotEditComments()), actionCollection(), "editcomments")); @@ -134,7 +134,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget ) 0, 0, this, - TQT_SLOT(slotRemoveComments()), + TQ_SLOT(slotRemoveComments()), actionCollection(), "removecomments")); @@ -151,8 +151,8 @@ void Plugin_MetadataEdit::setup( TQWidget* widget ) KIPI::ImageCollection selection = m_interface->currentSelection(); m_actionMetadataEdit->setEnabled( selection.isValid() && !selection.images().isEmpty() ); - connect( m_interface, TQT_SIGNAL(selectionChanged(bool)), - m_actionMetadataEdit, TQT_SLOT(setEnabled(bool))); + connect( m_interface, TQ_SIGNAL(selectionChanged(bool)), + m_actionMetadataEdit, TQ_SLOT(setEnabled(bool))); } void Plugin_MetadataEdit::slotEditExif() diff --git a/kipi-plugins/mpegencoder/kimg2mpg.cpp b/kipi-plugins/mpegencoder/kimg2mpg.cpp index d0fa13f..2247263 100644 --- a/kipi-plugins/mpegencoder/kimg2mpg.cpp +++ b/kipi-plugins/mpegencoder/kimg2mpg.cpp @@ -198,47 +198,47 @@ KImg2mpgData::KImg2mpgData(KIPI::Interface* interface, TQWidget *parent, const c // Signal/Slot connections - connect( m_VideoTypeComboBox, TQT_SIGNAL( activated(int ) ), - this, TQT_SLOT( SlotPortfolioDurationChanged (int) ) ); + connect( m_VideoTypeComboBox, TQ_SIGNAL( activated(int ) ), + this, TQ_SLOT( SlotPortfolioDurationChanged (int) ) ); - connect( m_DurationImageSpinBox, TQT_SIGNAL( valueChanged(int ) ), - this, TQT_SLOT( SlotPortfolioDurationChanged (int) ) ); + connect( m_DurationImageSpinBox, TQ_SIGNAL( valueChanged(int ) ), + this, TQ_SLOT( SlotPortfolioDurationChanged (int) ) ); - connect( m_TransitionComboBox, TQT_SIGNAL( activated(int ) ), - this, TQT_SLOT( SlotPortfolioDurationChanged (int) ) ); + connect( m_TransitionComboBox, TQ_SIGNAL( activated(int ) ), + this, TQ_SLOT( SlotPortfolioDurationChanged (int) ) ); - connect( m_MPEGOutputBUTTONFilename, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotMPEGFilenameDialog() ) ); + connect( m_MPEGOutputBUTTONFilename, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotMPEGFilenameDialog() ) ); - connect( m_AudioInputBUTTONFilename, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotAudioFilenameDialog() ) ); + connect( m_AudioInputBUTTONFilename, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotAudioFilenameDialog() ) ); - connect( m_ImagesFilesListBox, TQT_SIGNAL( currentChanged( TQListBoxItem * ) ), - this, TQT_SLOT( slotImagesFilesSelected(TQListBoxItem *) ) ); + connect( m_ImagesFilesListBox, TQ_SIGNAL( currentChanged( TQListBoxItem * ) ), + this, TQ_SLOT( slotImagesFilesSelected(TQListBoxItem *) ) ); - connect(m_ImagesFilesListBox, TQT_SIGNAL( addedDropItems(KURL::List) ), - this, TQT_SLOT( slotAddDropItems(KURL::List))); + connect(m_ImagesFilesListBox, TQ_SIGNAL( addedDropItems(KURL::List) ), + this, TQ_SLOT( slotAddDropItems(KURL::List))); - connect( m_ImagesFilesButtonAdd, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotImagesFilesButtonAdd() ) ); + connect( m_ImagesFilesButtonAdd, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotImagesFilesButtonAdd() ) ); - connect( m_ImagesFilesButtonDelete, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotImagesFilesButtonDelete() ) ); + connect( m_ImagesFilesButtonDelete, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotImagesFilesButtonDelete() ) ); - connect( m_ImagesFilesButtonUp, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotImagesFilesButtonUp() ) ); + connect( m_ImagesFilesButtonUp, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotImagesFilesButtonUp() ) ); - connect( m_ImagesFilesButtonDown, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotImagesFilesButtonDown() ) ); + connect( m_ImagesFilesButtonDown, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotImagesFilesButtonDown() ) ); - connect(m_Encodebutton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotEncode())); + connect(m_Encodebutton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotEncode())); - connect(m_optionsbutton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotOptions())); + connect(m_optionsbutton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotOptions())); - connect(m_quitbutton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotClose())); + connect(m_quitbutton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotClose())); // About data and help button. @@ -260,7 +260,7 @@ KImg2mpgData::KImg2mpgData(KIPI::Interface* interface, TQWidget *parent, const c KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); readSettings(); @@ -427,10 +427,10 @@ void KImg2mpgData::slotImagesFilesSelected( TQListBoxItem *item ) m_thumbJob = TDEIO::filePreview( url, m_ImageLabel->width() ); - connect(m_thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); - connect(m_thumbJob, TQT_SIGNAL(failed(const KFileItem*)), - TQT_SLOT(slotFailedPreview(const KFileItem*))); + connect(m_thumbJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + TQ_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); + connect(m_thumbJob, TQ_SIGNAL(failed(const KFileItem*)), + TQ_SLOT(slotFailedPreview(const KFileItem*))); int index = m_ImagesFilesListBox->index ( item ); m_label7->setText(i18n("Image no. %1").arg(index + 1)); @@ -697,11 +697,11 @@ void KImg2mpgData::slotEncode( void ) m_CommandLine = m_CommandLine + " \"" + FileName + "\" "; } - connect(m_Proc, TQT_SIGNAL(processExited(TDEProcess *)),this, - TQT_SLOT(EncodeDone(TDEProcess*))); + connect(m_Proc, TQ_SIGNAL(processExited(TDEProcess *)),this, + TQ_SLOT(EncodeDone(TDEProcess*))); - connect(m_Proc, TQT_SIGNAL(receivedStderr(TDEProcess *,char*,int)),this, - TQT_SLOT(readStderr(TDEProcess*,char*,int))); + connect(m_Proc, TQ_SIGNAL(receivedStderr(TDEProcess *,char*,int)),this, + TQ_SLOT(readStderr(TDEProcess*,char*,int))); m_Img2mpgPidNum = -1; bool result = m_Proc->start(TDEProcess::NotifyOnExit , TDEProcess::All); @@ -726,8 +726,8 @@ void KImg2mpgData::slotOptions( void ) m_OptionDlg->MJBinFolderEditFilename->setText(m_MJBinFolderConfig); m_OptionDlg->show(); - connect( m_OptionDlg, TQT_SIGNAL( okClicked () ), - this, TQT_SLOT( slotOptionDlgOkClicked() )); + connect( m_OptionDlg, TQ_SIGNAL( okClicked () ), + this, TQ_SLOT( slotOptionDlgOkClicked() )); } @@ -760,8 +760,8 @@ void KImg2mpgData::slotOptionDlgOkClicked( void ) if (ValRet == 2) m_AudioInputFilename->setEnabled(false); - disconnect( m_OptionDlg, TQT_SIGNAL( okClicked() ), - this, TQT_SLOT( slotOptionDlgOkClicked() )); + disconnect( m_OptionDlg, TQ_SIGNAL( okClicked() ), + this, TQ_SLOT( slotOptionDlgOkClicked() )); } diff --git a/kipi-plugins/mpegencoder/kshowdebuggingoutput.cpp b/kipi-plugins/mpegencoder/kshowdebuggingoutput.cpp index 9343886..8fb90f8 100644 --- a/kipi-plugins/mpegencoder/kshowdebuggingoutput.cpp +++ b/kipi-plugins/mpegencoder/kshowdebuggingoutput.cpp @@ -46,8 +46,8 @@ KShowDebuggingOutput::KShowDebuggingOutput(TQString Messages, TQString Header, T grid->setMargin( marginHint() ); grid->setColStretch( 0, 1 ); - connect( okButton, TQT_SIGNAL(pressed()), this, TQT_SLOT(accept()) ); - connect( ClipBoardCopy, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCopyToCliboard()) ); + connect( okButton, TQ_SIGNAL(pressed()), this, TQ_SLOT(accept()) ); + connect( ClipBoardCopy, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCopyToCliboard()) ); // add the debugging output diff --git a/kipi-plugins/mpegencoder/optionsdialog.cpp b/kipi-plugins/mpegencoder/optionsdialog.cpp index 1cf73c0..5850b7a 100644 --- a/kipi-plugins/mpegencoder/optionsdialog.cpp +++ b/kipi-plugins/mpegencoder/optionsdialog.cpp @@ -69,7 +69,7 @@ OptionsDialog::OptionsDialog(TQWidget *parent) IMBinFolderEditFilename->setMinimumWidth( 300 ); TQPushButton* IMBinFolderButtonFilename = new TQPushButton( IMBinFolderGroup ); IMBinFolderButtonFilename->setPixmap( LoadIcon( TQString( "document-open" ), TDEIcon::Toolbar ) ); - connect( IMBinFolderButtonFilename, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotIMBinFolderFilenameDialog())); + connect( IMBinFolderButtonFilename, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotIMBinFolderFilenameDialog())); // MjpegTools binary programs folder @@ -79,7 +79,7 @@ OptionsDialog::OptionsDialog(TQWidget *parent) MJBinFolderEditFilename->setMinimumWidth( 300 ); TQPushButton* MJBinFolderButtonFilename = new TQPushButton( MJBinFolderGroup ); MJBinFolderButtonFilename->setPixmap( LoadIcon( TQString( "document-open" ), TDEIcon::Toolbar ) ); - connect( MJBinFolderButtonFilename, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotMJBinFolderFilenameDialog())); + connect( MJBinFolderButtonFilename, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotMJBinFolderFilenameDialog())); } diff --git a/kipi-plugins/mpegencoder/plugin_mpegencoder.cpp b/kipi-plugins/mpegencoder/plugin_mpegencoder.cpp index ddf5654..78d7a2f 100644 --- a/kipi-plugins/mpegencoder/plugin_mpegencoder.cpp +++ b/kipi-plugins/mpegencoder/plugin_mpegencoder.cpp @@ -63,7 +63,7 @@ void Plugin_Mpegencoder::setup( TQWidget* widget ) "video-x-generic", 0, this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "mpeg_encoder"); diff --git a/kipi-plugins/picasawebexport/picasaweblogin.cpp b/kipi-plugins/picasawebexport/picasaweblogin.cpp index d319dc4..d8fdf74 100644 --- a/kipi-plugins/picasawebexport/picasaweblogin.cpp +++ b/kipi-plugins/picasawebexport/picasaweblogin.cpp @@ -104,11 +104,11 @@ PicasawebLogin::PicasawebLogin(TQWidget* parent, const TQString& header, // signals and slots connections - connect(okBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(accept())); + connect(okBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(accept())); - connect(cancelBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(reject())); + connect(cancelBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(reject())); } PicasawebLogin::~PicasawebLogin() diff --git a/kipi-plugins/picasawebexport/picasawebtalker.cpp b/kipi-plugins/picasawebexport/picasawebtalker.cpp index cd1e91f..9b99c04 100644 --- a/kipi-plugins/picasawebexport/picasawebtalker.cpp +++ b/kipi-plugins/picasawebexport/picasawebtalker.cpp @@ -88,8 +88,8 @@ PicasawebTalker::PicasawebTalker( TQWidget* parent ) m_apikey="49d585bafa0758cb5c58ab67198bf632"; m_secret="34b39925e6273ffd"; - connect(this, TQT_SIGNAL(signalError(const TQString&)), - this, TQT_SLOT(slotError(const TQString&))); + connect(this, TQ_SIGNAL(signalError(const TQString&)), + this, TQ_SLOT(slotError(const TQString&))); authProgressDlg=new TQProgressDialog(); } @@ -183,11 +183,11 @@ void PicasawebTalker::getToken(const TQString& username, const TQString& passwor m_state = FE_GETTOKEN; authProgressDlg->setLabelText(i18n("Getting the token")); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_job = job; m_buffer.resize(0); @@ -225,11 +225,11 @@ void PicasawebTalker::checkToken(const TQString& /*token*/) job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded"); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_CHECKTOKEN; authProgressDlg->setLabelText(i18n("Checking if previous token is still valid")); @@ -260,11 +260,11 @@ void PicasawebTalker::listAllAlbums() { job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded" ); job->addMetaData("customHTTPHeader", "Authorization: " + auth_string ); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_LISTALBUMS; m_job = job; @@ -295,11 +295,11 @@ void PicasawebTalker::getPhotoProperty(const TQString& method,const TQString& ar TDEIO::TransferJob* job = TDEIO::http_post(postUrl, tmp, false); job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded" ); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_GETPHOTOPROPERTY; m_job = job; @@ -333,11 +333,11 @@ void PicasawebTalker::addPhotoTag(const TQString& photoURI, const TQString& tag) job->addMetaData("content-length", TQString("Content-Length: %1").arg(addTagXML.length())); job->addMetaData("customHTTPHeader", "Authorization: " + auth_string ); - //connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - // this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + //connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + // this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_ADDTAG; m_job = job; @@ -395,11 +395,11 @@ void PicasawebTalker::createAlbum(const TQString& albumTitle, const TQString& al job->addMetaData("content-length", TQString("Content-Length: %1").arg(newAlbumXML.length())); job->addMetaData("customHTTPHeader", "Authorization: " + auth_string ); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_CREATEALBUM; m_job = job; @@ -497,11 +497,11 @@ bool PicasawebTalker::addPhoto(const TQString& photoPath, FPhotoInfo& info, job->addMetaData("content-type", form.contentType()); job->addMetaData("customHTTPHeader", "Authorization: " + auth_string ); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotResult(TDEIO::Job *))); m_state = FE_ADDPHOTO; m_job = job; diff --git a/kipi-plugins/picasawebexport/picasawebwindow.cpp b/kipi-plugins/picasawebexport/picasawebwindow.cpp index 40e1526..f438d5d 100644 --- a/kipi-plugins/picasawebexport/picasawebwindow.cpp +++ b/kipi-plugins/picasawebexport/picasawebwindow.cpp @@ -130,30 +130,30 @@ PicasawebWindow::PicasawebWindow(KIPI::Interface* interface, const TQString &tmp KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup(helpMenu->menu()); // ------------------------------------------------------------ m_talker = new PicasawebTalker(this); - connect(m_talker, TQT_SIGNAL(signalBusy(bool)), - this, TQT_SLOT(slotBusy( bool))); + connect(m_talker, TQ_SIGNAL(signalBusy(bool)), + this, TQ_SLOT(slotBusy( bool))); - connect(m_talker, TQT_SIGNAL(signalAddPhotoSucceeded()), - this, TQT_SLOT(slotAddPhotoSucceeded())); + connect(m_talker, TQ_SIGNAL(signalAddPhotoSucceeded()), + this, TQ_SLOT(slotAddPhotoSucceeded())); - connect(m_talker, TQT_SIGNAL(signalGetAlbumsListSucceeded()), - this, TQT_SLOT(slotGetAlbumsListSucceeded())); + connect(m_talker, TQ_SIGNAL(signalGetAlbumsListSucceeded()), + this, TQ_SLOT(slotGetAlbumsListSucceeded())); - connect(m_talker, TQT_SIGNAL(signalGetAlbumsListFailed(const TQString&)), - this, TQT_SLOT(slotGetAlbumsListFailed(const TQString&))); + connect(m_talker, TQ_SIGNAL(signalGetAlbumsListFailed(const TQString&)), + this, TQ_SLOT(slotGetAlbumsListFailed(const TQString&))); - connect(m_talker, TQT_SIGNAL( signalAddPhotoFailed(const TQString&)), - this, TQT_SLOT(slotAddPhotoFailed(const TQString&))); + connect(m_talker, TQ_SIGNAL( signalAddPhotoFailed(const TQString&)), + this, TQ_SLOT(slotAddPhotoFailed(const TQString&))); -// connect(m_talker, TQT_SIGNAL( signalListPhotoSetsSucceeded( const TQValueList<FPhotoSet>& ) ), -// this, TQT_SLOT( slotListPhotoSetsResponse( const TQValueList<FPhotoSet>& ) ) ); +// connect(m_talker, TQ_SIGNAL( signalListPhotoSetsSucceeded( const TQValueList<FPhotoSet>& ) ), +// this, TQ_SLOT( slotListPhotoSetsResponse( const TQValueList<FPhotoSet>& ) ) ); // ------------------------------------------------------------ @@ -161,29 +161,29 @@ PicasawebWindow::PicasawebWindow(KIPI::Interface* interface, const TQString &tmp m_progressDlg->setAutoReset(true); m_progressDlg->setAutoClose(true); - connect(m_progressDlg, TQT_SIGNAL(canceled()), - this, TQT_SLOT(slotAddPhotoCancel())); + connect(m_progressDlg, TQ_SIGNAL(canceled()), + this, TQ_SLOT(slotAddPhotoCancel())); - connect(m_changeUserButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotUserChangeRequest())); + connect(m_changeUserButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotUserChangeRequest())); - connect(m_reloadAlbumsListButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotUpdateAlbumsList())); + connect(m_reloadAlbumsListButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotUpdateAlbumsList())); - connect(m_newAlbumButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotCreateNewAlbum())); + connect(m_newAlbumButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotCreateNewAlbum())); - connect(m_talker, TQT_SIGNAL(signalTokenObtained(const TQString&)), - this, TQT_SLOT(slotTokenObtained(const TQString&))); + connect(m_talker, TQ_SIGNAL(signalTokenObtained(const TQString&)), + this, TQ_SLOT(slotTokenObtained(const TQString&))); - connect(m_addPhotoButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddPhotos())); + connect(m_addPhotoButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddPhotos())); - connect(m_startUploadButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotUploadImages())); + connect(m_startUploadButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotUploadImages())); - connect(m_resizeCheckBox, TQT_SIGNAL(toggled(bool )), - this, TQT_SLOT(slotRefreshSizeButtons(bool))); + connect(m_resizeCheckBox, TQ_SIGNAL(toggled(bool )), + this, TQ_SLOT(slotRefreshSizeButtons(bool))); // ------------------------------------------------------------ // read config @@ -207,8 +207,8 @@ PicasawebWindow::PicasawebWindow(KIPI::Interface* interface, const TQString &tmp m_authProgressDlg->setAutoReset( true ); m_authProgressDlg->setAutoClose( true ); - connect(m_authProgressDlg, TQT_SIGNAL(canceled()), - this, TQT_SLOT(slotAuthCancel())); + connect(m_authProgressDlg, TQ_SIGNAL(canceled()), + this, TQ_SLOT(slotAuthCancel())); m_talker->authProgressDlg = m_authProgressDlg; m_widget->setEnabled(false); diff --git a/kipi-plugins/picasawebexport/plugin_picasawebexport.cpp b/kipi-plugins/picasawebexport/plugin_picasawebexport.cpp index 8e8c129..9091b72 100644 --- a/kipi-plugins/picasawebexport/plugin_picasawebexport.cpp +++ b/kipi-plugins/picasawebexport/plugin_picasawebexport.cpp @@ -67,7 +67,7 @@ void Plugin_PicasawebExport::setup(TQWidget* widget) "www", 0, this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "picasawebexport"); diff --git a/kipi-plugins/printwizard/frmprintwizard.cpp b/kipi-plugins/printwizard/frmprintwizard.cpp index 0d79956..d7f538f 100644 --- a/kipi-plugins/printwizard/frmprintwizard.cpp +++ b/kipi-plugins/printwizard/frmprintwizard.cpp @@ -131,7 +131,7 @@ FrmPrintWizard::FrmPrintWizard(TQWidget *parent, const char *name ) m_helpButton = helpButton(); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); // NOTE does it work???? @@ -147,42 +147,42 @@ FrmPrintWizard::FrmPrintWizard(TQWidget *parent, const char *name ) EditOutputPath->setText(TQDir::homeDirPath()); - connect(this, TQT_SIGNAL(selected(const TQString &)), - this, TQT_SLOT(FrmPrintWizardBaseSelected(const TQString &))); + connect(this, TQ_SIGNAL(selected(const TQString &)), + this, TQ_SLOT(FrmPrintWizardBaseSelected(const TQString &))); - connect(GrpOutputSettings, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(GrpOutputSettings_clicked(int))); + connect(GrpOutputSettings, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(GrpOutputSettings_clicked(int))); - connect(m_captions, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(CaptionChanged(int))); + connect(m_captions, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(CaptionChanged(int))); - connect(EditOutputPath, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SLOT(EditOutputPath_textChanged(const TQString &))); + connect(EditOutputPath, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SLOT(EditOutputPath_textChanged(const TQString &))); - connect(BtnBrowseOutputPath, TQT_SIGNAL(clicked(void)), - this, TQT_SLOT(BtnBrowseOutputPath_clicked(void))); + connect(BtnBrowseOutputPath, TQ_SIGNAL(clicked(void)), + this, TQ_SLOT(BtnBrowseOutputPath_clicked(void))); CmbPaperSize->setCurrentItem(0); - connect(CmbPaperSize, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(CmbPaperSize_activated(int))); - - connect(BtnPrintOrderDown, TQT_SIGNAL(clicked(void)), - this, TQT_SLOT(BtnPrintOrderDown_clicked(void))); - connect(BtnPrintOrderUp, TQT_SIGNAL(clicked(void)), - this, TQT_SLOT(BtnPrintOrderUp_clicked(void))); - connect(BtnPreviewPageUp, TQT_SIGNAL(clicked(void)), - this, TQT_SLOT(BtnPreviewPageUp_clicked(void))); - connect(BtnPreviewPageDown, TQT_SIGNAL(clicked(void)), - this, TQT_SLOT(BtnPreviewPageDown_clicked(void))); - - connect(BtnCropPrev, TQT_SIGNAL(clicked()), - this, TQT_SLOT(BtnCropPrev_clicked())); - connect(BtnCropNext, TQT_SIGNAL(clicked()), - this, TQT_SLOT(BtnCropNext_clicked())); - - connect(BtnCropRotate, TQT_SIGNAL(clicked()), - this, TQT_SLOT(BtnCropRotate_clicked())); + connect(CmbPaperSize, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(CmbPaperSize_activated(int))); + + connect(BtnPrintOrderDown, TQ_SIGNAL(clicked(void)), + this, TQ_SLOT(BtnPrintOrderDown_clicked(void))); + connect(BtnPrintOrderUp, TQ_SIGNAL(clicked(void)), + this, TQ_SLOT(BtnPrintOrderUp_clicked(void))); + connect(BtnPreviewPageUp, TQ_SIGNAL(clicked(void)), + this, TQ_SLOT(BtnPreviewPageUp_clicked(void))); + connect(BtnPreviewPageDown, TQ_SIGNAL(clicked(void)), + this, TQ_SLOT(BtnPreviewPageDown_clicked(void))); + + connect(BtnCropPrev, TQ_SIGNAL(clicked()), + this, TQ_SLOT(BtnCropPrev_clicked())); + connect(BtnCropNext, TQ_SIGNAL(clicked()), + this, TQ_SLOT(BtnCropNext_clicked())); + + connect(BtnCropRotate, TQ_SIGNAL(clicked()), + this, TQ_SLOT(BtnCropRotate_clicked())); loadSettings(); diff --git a/kipi-plugins/printwizard/plugin_printwizard.cpp b/kipi-plugins/printwizard/plugin_printwizard.cpp index 32447f9..74f2d34 100644 --- a/kipi-plugins/printwizard/plugin_printwizard.cpp +++ b/kipi-plugins/printwizard/plugin_printwizard.cpp @@ -68,7 +68,7 @@ void Plugin_PrintWizard::setup( TQWidget* widget ) "document-print", CTRL+Key_P, this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "printwizard"); @@ -86,8 +86,8 @@ void Plugin_PrintWizard::setup( TQWidget* widget ) m_printAction->setEnabled( selection.isValid() && !selection.images().isEmpty() ); - connect( m_interface, TQT_SIGNAL( selectionChanged( bool ) ), - m_printAction, TQT_SLOT( setEnabled( bool ) ) ); + connect( m_interface, TQ_SIGNAL( selectionChanged( bool ) ), + m_printAction, TQ_SLOT( setEnabled( bool ) ) ); } Plugin_PrintWizard::~Plugin_PrintWizard() diff --git a/kipi-plugins/rawconverter/batchdialog.cpp b/kipi-plugins/rawconverter/batchdialog.cpp index 551d22d..c4932e7 100644 --- a/kipi-plugins/rawconverter/batchdialog.cpp +++ b/kipi-plugins/rawconverter/batchdialog.cpp @@ -149,7 +149,7 @@ BatchDialog::BatchDialog(TQWidget* /*parent*/) KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); helpMenu->menu()->insertItem(i18n("Plugin Handbook"), - this, TQT_SLOT(slotHelp()), 0, -1, 0); + this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup( helpMenu->menu() ); // --------------------------------------------------------------- @@ -163,11 +163,11 @@ BatchDialog::BatchDialog(TQWidget* /*parent*/) // --------------------------------------------------------------- - connect(m_blinkConvertTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotConvertBlinkTimerDone())); + connect(m_blinkConvertTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotConvertBlinkTimerDone())); - connect(m_saveSettingsBox, TQT_SIGNAL(signalSaveFormatChanged()), - this, TQT_SLOT(slotSaveFormatChanged())); + connect(m_saveSettingsBox, TQ_SIGNAL(signalSaveFormatChanged()), + this, TQ_SLOT(slotSaveFormatChanged())); // --------------------------------------------------------------- @@ -355,7 +355,7 @@ void BatchDialog::slotUser2() if (m_currentConvertItem) m_currentConvertItem->viewItem->setPixmap(1, SmallIcon("cancel")); - TQTimer::singleShot(500, this, TQT_SLOT(slotAborted())); + TQTimer::singleShot(500, this, TQ_SLOT(slotAborted())); } void BatchDialog::slotAborted() diff --git a/kipi-plugins/rawconverter/plugin_rawconverter.cpp b/kipi-plugins/rawconverter/plugin_rawconverter.cpp index 60a4afa..15801c4 100644 --- a/kipi-plugins/rawconverter/plugin_rawconverter.cpp +++ b/kipi-plugins/rawconverter/plugin_rawconverter.cpp @@ -85,7 +85,7 @@ void Plugin_RawConverter::setup( TQWidget* widget ) "rawconvertersingle", 0, this, - TQT_SLOT(slotActivateSingle()), + TQ_SLOT(slotActivateSingle()), actionCollection(), "raw_converter_single"); @@ -93,7 +93,7 @@ void Plugin_RawConverter::setup( TQWidget* widget ) "rawconverterbatch", 0, this, - TQT_SLOT(slotActivateBatch()), + TQ_SLOT(slotActivateBatch()), actionCollection(), "raw_converter_batch"); @@ -108,11 +108,11 @@ void Plugin_RawConverter::setup( TQWidget* widget ) return; } - connect( interface, TQT_SIGNAL( selectionChanged( bool ) ), - singleAction_, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( selectionChanged( bool ) ), + singleAction_, TQ_SLOT( setEnabled( bool ) ) ); - connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), - batchAction_, TQT_SLOT( setEnabled( bool ) ) ); + connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ), + batchAction_, TQ_SLOT( setEnabled( bool ) ) ); } Plugin_RawConverter::~Plugin_RawConverter() diff --git a/kipi-plugins/rawconverter/previewwidget.cpp b/kipi-plugins/rawconverter/previewwidget.cpp index 6d80d80..db512e5 100644 --- a/kipi-plugins/rawconverter/previewwidget.cpp +++ b/kipi-plugins/rawconverter/previewwidget.cpp @@ -78,8 +78,8 @@ PreviewWidget::PreviewWidget(TQWidget *parent) d->timer = new TQTimer(this); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotResize())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotResize())); } PreviewWidget::~PreviewWidget() diff --git a/kipi-plugins/rawconverter/savesettingswidget.cpp b/kipi-plugins/rawconverter/savesettingswidget.cpp index 1f115c1..29040c1 100644 --- a/kipi-plugins/rawconverter/savesettingswidget.cpp +++ b/kipi-plugins/rawconverter/savesettingswidget.cpp @@ -115,8 +115,8 @@ SaveSettingsWidget::SaveSettingsWidget(TQWidget *parent) settingsBoxLayout->addMultiCellWidget(d->conflictButtonGroup, 2, 2, 0, 1); settingsBoxLayout->setRowStretch(3, 10); - connect(d->formatComboBox, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(signalSaveFormatChanged())); + connect(d->formatComboBox, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(signalSaveFormatChanged())); } SaveSettingsWidget::~SaveSettingsWidget() diff --git a/kipi-plugins/rawconverter/singledialog.cpp b/kipi-plugins/rawconverter/singledialog.cpp index bed39c0..656d8b8 100644 --- a/kipi-plugins/rawconverter/singledialog.cpp +++ b/kipi-plugins/rawconverter/singledialog.cpp @@ -128,7 +128,7 @@ SingleDialog::SingleDialog(const TQString& file, TQWidget */*parent*/) KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup( helpMenu->menu() ); // --------------------------------------------------------------- @@ -150,17 +150,17 @@ SingleDialog::SingleDialog(const TQString& file, TQWidget */*parent*/) // --------------------------------------------------------------- - connect(m_blinkPreviewTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotPreviewBlinkTimerDone())); + connect(m_blinkPreviewTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotPreviewBlinkTimerDone())); - connect(m_blinkConvertTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotConvertBlinkTimerDone())); + connect(m_blinkConvertTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotConvertBlinkTimerDone())); // --------------------------------------------------------------- busy(false); readSettings(); - TQTimer::singleShot(0, this, TQT_SLOT( slotIdentify() ) ); + TQTimer::singleShot(0, this, TQ_SLOT( slotIdentify() ) ); } SingleDialog::~SingleDialog() diff --git a/kipi-plugins/sendimages/plugin_sendimages.cpp b/kipi-plugins/sendimages/plugin_sendimages.cpp index bc63399..952163d 100644 --- a/kipi-plugins/sendimages/plugin_sendimages.cpp +++ b/kipi-plugins/sendimages/plugin_sendimages.cpp @@ -77,7 +77,7 @@ void Plugin_SendImages::setup( TQWidget* widget ) "mail-message-new", // Menu icon. 0, this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "send_images"); @@ -94,8 +94,8 @@ void Plugin_SendImages::setup( TQWidget* widget ) m_action_sendimages->setEnabled( selection.isValid() && !selection.images().isEmpty() ); - connect( interface, TQT_SIGNAL(selectionChanged(bool)), - m_action_sendimages, TQT_SLOT(setEnabled(bool))); + connect( interface, TQ_SIGNAL(selectionChanged(bool)), + m_action_sendimages, TQ_SLOT(setEnabled(bool))); } Plugin_SendImages::~Plugin_SendImages() @@ -147,8 +147,8 @@ void Plugin_SendImages::customEvent(TQCustomEvent *event) { m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Preparing images to send")); - connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotCancel())); + connect(m_progressDlg, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotCancel())); m_current = 0; m_progressDlg->show(); @@ -261,8 +261,8 @@ void Plugin_SendImages::customEvent(TQCustomEvent *event) m_progressDlg->setButtonCancelText( i18n("&Close") ); #endif - disconnect(m_progressDlg, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotCancel())); + disconnect(m_progressDlg, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotCancel())); // Create a text file with images comments if necessary. diff --git a/kipi-plugins/sendimages/sendimages.cpp b/kipi-plugins/sendimages/sendimages.cpp index 97ee0d3..1ed707e 100644 --- a/kipi-plugins/sendimages/sendimages.cpp +++ b/kipi-plugins/sendimages/sendimages.cpp @@ -91,8 +91,8 @@ SendImages::SendImages(KIPI::Interface* interface, const TQString &tmpFolder, m_mozillaTimer = new TQTimer(this); KImageIO::registerFormats(); - connect(m_mozillaTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotMozillaTimeout())); + connect(m_mozillaTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotMozillaTimeout())); } ///Destructor @@ -109,8 +109,8 @@ void SendImages::showDialog() m_interface, m_collection); m_sendImagesDialog->show(); - connect(m_sendImagesDialog, TQT_SIGNAL(signalAccepted()), - m_parent, TQT_SLOT(slotAcceptedConfigDlg())); + connect(m_sendImagesDialog, TQ_SIGNAL(signalAccepted()), + m_parent, TQ_SLOT(slotAcceptedConfigDlg())); } /** Execute the no threadable operations before the real thread. @@ -615,11 +615,11 @@ bool SendImages::invokeMailAgent(void) if (!m_invokedBefore) { - connect(m_mailAgentProc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotMozillaExited(TDEProcess*))); + connect(m_mailAgentProc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotMozillaExited(TDEProcess*))); - connect(m_mailAgentProc, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), - this, TQT_SLOT(slotMozillaReadStderr(TDEProcess*, char*, int))); + connect(m_mailAgentProc, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)), + this, TQ_SLOT(slotMozillaReadStderr(TDEProcess*, char*, int))); } tqDebug ("%s", Temp.ascii()); @@ -861,8 +861,8 @@ void SendImages::slotMozillaExited(TDEProcess*) tqDebug("slotMozillaExited"); ///Here would be the right point to clear the sendlist in order to avoid infinite resendings!! m_filesSendList.clear(); - ///Also disconnect SLOT - m_mailAgentProc->disconnect(TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(slotMozillaExited(TDEProcess*))); + ///Also disconnect slot + m_mailAgentProc->disconnect(TQ_SIGNAL(processExited(TDEProcess *)), this, TQ_SLOT(slotMozillaExited(TDEProcess*))); tqDebug("Number of elements in m_filesSendList=%d, and in m_filesSendList_copy=%d)",(int)m_filesSendList.size(),(int)m_filesSendList_copy.size()); if ( m_mozillaStdErr.find("No running window found") != -1 ) // No remote Mozilla | Netscape | @@ -900,7 +900,7 @@ void SendImages::slotMozillaExited(TDEProcess*) ///If Mozilla wasn't started before, now it is and so we can begin with the transmission void SendImages::slotMozillaTimeout(void) { - m_mozillaTimer->disconnect(TQT_SIGNAL(timeout()), this, TQT_SLOT(slotMozillaTimeout())); + m_mozillaTimer->disconnect(TQ_SIGNAL(timeout()), this, TQ_SLOT(slotMozillaTimeout())); tqDebug("slotMozillaTimeout: Number of elements in m_filesSendList=%d, and in m_filesSendList_copy=%d)",(int)m_filesSendList.size(),(int)m_filesSendList_copy.size()); kurllistdeepcopy(m_filesSendList,m_filesSendList_copy); diff --git a/kipi-plugins/sendimages/sendimagesdialog.cpp b/kipi-plugins/sendimages/sendimagesdialog.cpp index d8cfa87..a387744 100644 --- a/kipi-plugins/sendimages/sendimagesdialog.cpp +++ b/kipi-plugins/sendimages/sendimagesdialog.cpp @@ -173,7 +173,7 @@ SendImagesDialog::SendImagesDialog(TQWidget *parent, KIPI::Interface* interface, m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); slotMailAgentChanged(m_mailAgentName->currentItem()); @@ -307,17 +307,17 @@ void SendImagesDialog::setupImagesList(void) //--------------------------------------------- - connect(m_addImagesButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotImagesFilesButtonAdd())); + connect(m_addImagesButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotImagesFilesButtonAdd())); - connect(m_remImagesButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotImagesFilesButtonRem())); + connect(m_remImagesButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotImagesFilesButtonRem())); - connect(m_ImagesFilesListBox, TQT_SIGNAL( currentChanged( TQListBoxItem * ) ), - this, TQT_SLOT( slotImageSelected( TQListBoxItem * ))); + connect(m_ImagesFilesListBox, TQ_SIGNAL( currentChanged( TQListBoxItem * ) ), + this, TQ_SLOT( slotImageSelected( TQListBoxItem * ))); - connect(m_ImagesFilesListBox, TQT_SIGNAL( addedDropItems(TQStringList) ), - this, TQT_SLOT( slotAddDropItems(TQStringList))); + connect(m_ImagesFilesListBox, TQ_SIGNAL( addedDropItems(TQStringList) ), + this, TQ_SLOT( slotAddDropItems(TQStringList))); } void SendImagesDialog::setImagesList( const KURL::List& Files ) @@ -404,8 +404,8 @@ void SendImagesDialog::setupEmailOptions(void) hlay10->addStretch( 1 ); hlay10->addWidget( m_mailAgentName ); - connect(m_mailAgentName, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotMailAgentChanged(int))); + connect(m_mailAgentName, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotMailAgentChanged(int))); //--------------------------------------------- @@ -416,8 +416,8 @@ void SendImagesDialog::setupEmailOptions(void) m_labelThunderbirdBinPath->setBuddy( m_ThunderbirdBinPath ); vlay->addWidget(m_ThunderbirdBinPath); - connect(m_ThunderbirdBinPath, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotThunderbirdBinPathChanged(const TQString&))); + connect(m_ThunderbirdBinPath, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotThunderbirdBinPathChanged(const TQString&))); TQWhatsThis::add( m_ThunderbirdBinPath, i18n("<p>The path name to the Thunderbird binary program.") ); @@ -535,20 +535,20 @@ void SendImagesDialog::setupEmailOptions(void) //--------------------------------------------- - connect(m_changeImagesProp, TQT_SIGNAL(toggled(bool)), - m_labelImageSize, TQT_SLOT(setEnabled(bool))); + connect(m_changeImagesProp, TQ_SIGNAL(toggled(bool)), + m_labelImageSize, TQ_SLOT(setEnabled(bool))); - connect(m_changeImagesProp, TQT_SIGNAL(toggled(bool)), - m_imagesResize, TQT_SLOT(setEnabled(bool))); + connect(m_changeImagesProp, TQ_SIGNAL(toggled(bool)), + m_imagesResize, TQ_SLOT(setEnabled(bool))); - connect(m_changeImagesProp, TQT_SIGNAL(toggled(bool)), - m_imageCompression, TQT_SLOT(setEnabled(bool))); + connect(m_changeImagesProp, TQ_SIGNAL(toggled(bool)), + m_imageCompression, TQ_SLOT(setEnabled(bool))); - connect(m_changeImagesProp, TQT_SIGNAL(toggled(bool)), - m_labelImageFormat, TQT_SLOT(setEnabled(bool))); + connect(m_changeImagesProp, TQ_SIGNAL(toggled(bool)), + m_labelImageFormat, TQ_SLOT(setEnabled(bool))); - connect(m_changeImagesProp, TQT_SIGNAL(toggled(bool)), - m_imagesFormat, TQT_SLOT(setEnabled(bool))); + connect(m_changeImagesProp, TQ_SIGNAL(toggled(bool)), + m_imagesFormat, TQ_SLOT(setEnabled(bool))); } void SendImagesDialog::slotHelp() @@ -629,11 +629,11 @@ void SendImagesDialog::slotImageSelected( TQListBoxItem * item ) m_thumbJob = TDEIO::filePreview( pitem->url(), m_imageLabel->height() ); - connect(m_thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); + connect(m_thumbJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + TQ_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); - connect(m_thumbJob, TQT_SIGNAL(failed(const KFileItem*)), - TQT_SLOT(slotFailedPreview(const KFileItem*))); + connect(m_thumbJob, TQ_SIGNAL(failed(const KFileItem*)), + TQ_SLOT(slotFailedPreview(const KFileItem*))); } void SendImagesDialog::slotGotPreview(const KFileItem*, const TQPixmap &pixmap) diff --git a/kipi-plugins/simpleviewerexport/firstrundlg.cpp b/kipi-plugins/simpleviewerexport/firstrundlg.cpp index 4548f74..8450702 100644 --- a/kipi-plugins/simpleviewerexport/firstrundlg.cpp +++ b/kipi-plugins/simpleviewerexport/firstrundlg.cpp @@ -90,7 +90,7 @@ FirstRunDlg::FirstRunDlg(TQWidget *parent) KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); helpMenu->menu()->insertItem(i18n("Plugin Handbook"), - this, TQT_SLOT(slotHelp()), 0, -1, 0); + this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup( helpMenu->menu() ); // --------------------------------------------------------------- @@ -117,8 +117,8 @@ FirstRunDlg::FirstRunDlg(TQWidget *parent) link->setText("http://www.airtightinteractive.com/simpleviewer"); link->setURL("http://www.airtightinteractive.com/simpleviewer"); topLayout->addWidget(link); - connect(link, TQT_SIGNAL(leftClickedURL(const TQString &)), - this, TQT_SLOT(slotDownload(const TQString &))); + connect(link, TQ_SIGNAL(leftClickedURL(const TQString &)), + this, TQ_SLOT(slotDownload(const TQString &))); info = new TQLabel(page); info->setText(i18n("<p>2.) Point this tool to the downloaded archive</p>")); @@ -126,8 +126,8 @@ FirstRunDlg::FirstRunDlg(TQWidget *parent) m_urlRequester = new KURLRequester(page); topLayout->addWidget(m_urlRequester); - connect(m_urlRequester, TQT_SIGNAL(urlSelected(const TQString&)), - this, TQT_SLOT(slotURLSelected(const TQString&))); + connect(m_urlRequester, TQ_SIGNAL(urlSelected(const TQString&)), + this, TQ_SLOT(slotURLSelected(const TQString&))); topLayout->addStretch(10); } diff --git a/kipi-plugins/simpleviewerexport/plugin_simpleviewer.cpp b/kipi-plugins/simpleviewerexport/plugin_simpleviewer.cpp index e5c6c0e..73d3ce4 100644 --- a/kipi-plugins/simpleviewerexport/plugin_simpleviewer.cpp +++ b/kipi-plugins/simpleviewerexport/plugin_simpleviewer.cpp @@ -58,7 +58,7 @@ void Plugin_SimpleViewer::setup( TQWidget* widget ) "www", 0, this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "simpleviewer"); diff --git a/kipi-plugins/simpleviewerexport/simpleviewerexport.cpp b/kipi-plugins/simpleviewerexport/simpleviewerexport.cpp index c6665f4..0b5acfb 100644 --- a/kipi-plugins/simpleviewerexport/simpleviewerexport.cpp +++ b/kipi-plugins/simpleviewerexport/simpleviewerexport.cpp @@ -183,8 +183,8 @@ void SimpleViewerExport::startExport() m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Flash Export")); - connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotCancel())); + connect(m_progressDlg, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotCancel())); m_progressDlg->show(); kapp->processEvents(); diff --git a/kipi-plugins/simpleviewerexport/svedialog.cpp b/kipi-plugins/simpleviewerexport/svedialog.cpp index f6b3a5b..8216c66 100644 --- a/kipi-plugins/simpleviewerexport/svedialog.cpp +++ b/kipi-plugins/simpleviewerexport/svedialog.cpp @@ -106,7 +106,7 @@ SVEDialog::SVEDialog(KIPI::Interface* interface, TQWidget *parent) KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); helpMenu->menu()->insertItem(i18n("Plugin Handbook"), - this, TQT_SLOT(slotHelp()), 0, -1, 0); + this, TQ_SLOT(slotHelp()), 0, -1, 0); actionButton(Help)->setPopup( helpMenu->menu() ); } @@ -310,8 +310,8 @@ void SVEDialog::generalPage() TQWhatsThis::add(m_imagesExportSize, i18n("<p>The new size of the exported images in pixels. " "SimpleViewer resizes the images as well, but this " "resizes your images before they are uploaded to your server")); - connect(m_resizeExportImages, TQT_SIGNAL(toggled(bool)), - m_imagesExportSize, TQT_SLOT(setEnabled(bool))); + connect(m_resizeExportImages, TQ_SIGNAL(toggled(bool)), + m_imagesExportSize, TQ_SLOT(setEnabled(bool))); // ------------------------------------------------------------------------ diff --git a/kipi-plugins/slideshow/plugin_slideshow.cpp b/kipi-plugins/slideshow/plugin_slideshow.cpp index b8cb754..48fe4ab 100644 --- a/kipi-plugins/slideshow/plugin_slideshow.cpp +++ b/kipi-plugins/slideshow/plugin_slideshow.cpp @@ -84,7 +84,7 @@ void Plugin_SlideShow::setup( TQWidget* widget ) "slideshow", 0, this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "slideshow"); @@ -100,8 +100,8 @@ void Plugin_SlideShow::setup( TQWidget* widget ) m_actionSlideShow->setEnabled( false ); - connect( m_interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), - TQT_SLOT( slotAlbumChanged( bool ) ) ); + connect( m_interface, TQ_SIGNAL( currentAlbumChanged( bool ) ), + TQ_SLOT( slotAlbumChanged( bool ) ) ); addAction( m_actionSlideShow ); } @@ -135,8 +135,8 @@ void Plugin_SlideShow::slotActivate() i18n("Slide Show").ascii(), m_imagesHasComments, m_urlList); - connect(slideShowConfig, TQT_SIGNAL(buttonStartClicked()), - this, TQT_SLOT(slotSlideShow())); + connect(slideShowConfig, TQ_SIGNAL(buttonStartClicked()), + this, TQ_SLOT(slotSlideShow())); slideShowConfig->show(); } diff --git a/kipi-plugins/slideshow/slideshow.cpp b/kipi-plugins/slideshow/slideshow.cpp index 3757aee..24ca219 100644 --- a/kipi-plugins/slideshow/slideshow.cpp +++ b/kipi-plugins/slideshow/slideshow.cpp @@ -86,20 +86,20 @@ SlideShow::SlideShow(const FileList& fileList, const TQStringList& commentsList, { m_toolBar->setEnabledPrev(false); } - connect(m_toolBar, TQT_SIGNAL(signalPause()), - this, TQT_SLOT(slotPause())); + connect(m_toolBar, TQ_SIGNAL(signalPause()), + this, TQ_SLOT(slotPause())); - connect(m_toolBar, TQT_SIGNAL(signalPlay()), - this, TQT_SLOT(slotPlay())); + connect(m_toolBar, TQ_SIGNAL(signalPlay()), + this, TQ_SLOT(slotPlay())); - connect(m_toolBar, TQT_SIGNAL(signalNext()), - this, TQT_SLOT(slotNext())); + connect(m_toolBar, TQ_SIGNAL(signalNext()), + this, TQ_SLOT(slotNext())); - connect(m_toolBar, TQT_SIGNAL(signalPrev()), - this, TQT_SLOT(slotPrev())); + connect(m_toolBar, TQ_SIGNAL(signalPrev()), + this, TQ_SLOT(slotPrev())); - connect(m_toolBar, TQT_SIGNAL(signalClose()), - this, TQT_SLOT(slotClose())); + connect(m_toolBar, TQ_SIGNAL(signalClose()), + this, TQ_SLOT(slotClose())); // --------------------------------------------------------------- @@ -111,8 +111,8 @@ SlideShow::SlideShow(const FileList& fileList, const TQStringList& commentsList, m_endOfShow = false; m_timer = new TQTimer(); - connect(m_timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotTimeOut())); + connect(m_timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotTimeOut())); // -------------------------------------------------- @@ -147,8 +147,8 @@ SlideShow::SlideShow(const FileList& fileList, const TQStringList& commentsList, // -- hide cursor when not moved -------------------- m_mouseMoveTimer = new TQTimer; - connect(m_mouseMoveTimer, TQT_SIGNAL(timeout()), - TQT_SLOT(slotMouseMoveTimeOut())); + connect(m_mouseMoveTimer, TQ_SIGNAL(timeout()), + TQ_SLOT(slotMouseMoveTimeOut())); setMouseTracking(true); slotMouseMoveTimeOut(); diff --git a/kipi-plugins/slideshow/slideshowconfig.cpp b/kipi-plugins/slideshow/slideshowconfig.cpp index 58fc07c..b1b3ab4 100644 --- a/kipi-plugins/slideshow/slideshowconfig.cpp +++ b/kipi-plugins/slideshow/slideshowconfig.cpp @@ -94,7 +94,7 @@ SlideShowConfig::SlideShowConfig(bool allowSelectedOnly, KIPI::Interface * inter KHelpMenu* helpMenu = new KHelpMenu(this, about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); // Switch to selected files only (it depends on allowSelectedOnly) @@ -113,31 +113,31 @@ SlideShowConfig::SlideShowConfig(bool allowSelectedOnly, KIPI::Interface * inter // Signal to Slot connections - connect(m_openglCheckBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotOpenGLToggled())); - connect(m_buttonStart, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotStartClicked())); - connect(m_printCommentsCheckBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotPrintCommentsToggled())); - connect(m_commentsFontColor, TQT_SIGNAL(changed(const TQColor &)), this, TQT_SLOT(slotCommentsFontColorChanged())); - connect(m_commentsBgColor, TQT_SIGNAL(changed(const TQColor &)), this, TQT_SLOT(slotCommentsBgColorChanged())); - connect(m_useMillisecondsCheckBox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotUseMillisecondsToggled())); - connect(m_delaySpinBox, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotDelayChanged())); - connect(m_effectsComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotEffectChanged())); - - connect(m_fileSrcButtonGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotSelection())); - - connect( m_ImagesFilesListBox, TQT_SIGNAL( currentChanged( TQListBoxItem * ) ), - this, TQT_SLOT( slotImagesFilesSelected(TQListBoxItem *) ) ); - connect(m_ImagesFilesListBox, TQT_SIGNAL( addedDropItems(KURL::List) ), - this, TQT_SLOT( slotAddDropItems(KURL::List))); - connect( m_ImagesFilesButtonAdd, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotImagesFilesButtonAdd() ) ); - connect( m_ImagesFilesButtonDelete, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotImagesFilesButtonDelete() ) ); - connect( m_ImagesFilesButtonUp, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotImagesFilesButtonUp() ) ); - connect( m_ImagesFilesButtonDown, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotImagesFilesButtonDown() ) ); - - connect(m_cacheCheckBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotCacheToggled())); + connect(m_openglCheckBox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotOpenGLToggled())); + connect(m_buttonStart, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotStartClicked())); + connect(m_printCommentsCheckBox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotPrintCommentsToggled())); + connect(m_commentsFontColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(slotCommentsFontColorChanged())); + connect(m_commentsBgColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(slotCommentsBgColorChanged())); + connect(m_useMillisecondsCheckBox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotUseMillisecondsToggled())); + connect(m_delaySpinBox, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotDelayChanged())); + connect(m_effectsComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotEffectChanged())); + + connect(m_fileSrcButtonGroup, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotSelection())); + + connect( m_ImagesFilesListBox, TQ_SIGNAL( currentChanged( TQListBoxItem * ) ), + this, TQ_SLOT( slotImagesFilesSelected(TQListBoxItem *) ) ); + connect(m_ImagesFilesListBox, TQ_SIGNAL( addedDropItems(KURL::List) ), + this, TQ_SLOT( slotAddDropItems(KURL::List))); + connect( m_ImagesFilesButtonAdd, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotImagesFilesButtonAdd() ) ); + connect( m_ImagesFilesButtonDelete, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotImagesFilesButtonDelete() ) ); + connect( m_ImagesFilesButtonUp, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotImagesFilesButtonUp() ) ); + connect( m_ImagesFilesButtonDown, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotImagesFilesButtonDown() ) ); + + connect(m_cacheCheckBox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotCacheToggled())); m_thumbJob = 0L; @@ -609,10 +609,10 @@ void SlideShowConfig::slotImagesFilesSelected( TQListBoxItem *item ) m_thumbJob = TDEIO::filePreview( url, m_ImageLabel->width() ); - connect(m_thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); - connect(m_thumbJob, TQT_SIGNAL(failed(const KFileItem*)), - TQT_SLOT(slotFailedPreview(const KFileItem*))); + connect(m_thumbJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + TQ_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); + connect(m_thumbJob, TQ_SIGNAL(failed(const KFileItem*)), + TQ_SLOT(slotFailedPreview(const KFileItem*))); int index = m_ImagesFilesListBox->index ( item ); m_label7->setText(i18n("Image no. %1").arg(index + 1)); diff --git a/kipi-plugins/slideshow/slideshowgl.cpp b/kipi-plugins/slideshow/slideshowgl.cpp index 1046d2d..f18b997 100644 --- a/kipi-plugins/slideshow/slideshowgl.cpp +++ b/kipi-plugins/slideshow/slideshowgl.cpp @@ -75,16 +75,16 @@ SlideShowGL::SlideShowGL(const TQValueList<TQPair<TQString, int> >& fileList, { m_toolBar->setEnabledPrev(false); } - connect(m_toolBar, TQT_SIGNAL(signalPause()), - TQT_SLOT(slotPause())); - connect(m_toolBar, TQT_SIGNAL(signalPlay()), - TQT_SLOT(slotPlay())); - connect(m_toolBar, TQT_SIGNAL(signalNext()), - TQT_SLOT(slotNext())); - connect(m_toolBar, TQT_SIGNAL(signalPrev()), - TQT_SLOT(slotPrev())); - connect(m_toolBar, TQT_SIGNAL(signalClose()), - TQT_SLOT(slotClose())); + connect(m_toolBar, TQ_SIGNAL(signalPause()), + TQ_SLOT(slotPause())); + connect(m_toolBar, TQ_SIGNAL(signalPlay()), + TQ_SLOT(slotPlay())); + connect(m_toolBar, TQ_SIGNAL(signalNext()), + TQ_SLOT(slotNext())); + connect(m_toolBar, TQ_SIGNAL(signalPrev()), + TQ_SLOT(slotPrev())); + connect(m_toolBar, TQ_SIGNAL(signalClose()), + TQ_SLOT(slotClose())); // -- Minimal texture size (opengl specs) -------------- @@ -135,15 +135,15 @@ SlideShowGL::SlideShowGL(const TQValueList<TQPair<TQString, int> >& fileList, // -------------------------------------------------- m_timer = new TQTimer(); - connect(m_timer, TQT_SIGNAL(timeout()), - TQT_SLOT(slotTimeOut())); + connect(m_timer, TQ_SIGNAL(timeout()), + TQ_SLOT(slotTimeOut())); m_timer->start(m_timeout, true); // -- hide cursor when not moved -------------------- m_mouseMoveTimer = new TQTimer; - connect(m_mouseMoveTimer, TQT_SIGNAL(timeout()), - TQT_SLOT(slotMouseMoveTimeOut())); + connect(m_mouseMoveTimer, TQ_SIGNAL(timeout()), + TQ_SLOT(slotMouseMoveTimeOut())); setMouseTracking(true); slotMouseMoveTimeOut(); diff --git a/kipi-plugins/slideshow/slideshowkb.cpp b/kipi-plugins/slideshow/slideshowkb.cpp index 4931ebb..3904dba 100644 --- a/kipi-plugins/slideshow/slideshowkb.cpp +++ b/kipi-plugins/slideshow/slideshowkb.cpp @@ -197,14 +197,14 @@ namespace KIPISlideShowPlugin m_endOfShow = false; m_showingEnd = false; - connect(m_timer, TQT_SIGNAL(timeout(void)), this, TQT_SLOT(moveSlot())); - connect(m_imageLoadThread, TQT_SIGNAL(endOfShow(void)), this, TQT_SLOT(slotEndOfShow())); + connect(m_timer, TQ_SIGNAL(timeout(void)), this, TQ_SLOT(moveSlot())); + connect(m_imageLoadThread, TQ_SIGNAL(endOfShow(void)), this, TQ_SLOT(slotEndOfShow())); // -- hide cursor when not moved -------------------- m_mouseMoveTimer = new TQTimer; - connect(m_mouseMoveTimer, TQT_SIGNAL(timeout()), - TQT_SLOT(slotMouseMoveTimeOut())); + connect(m_mouseMoveTimer, TQ_SIGNAL(timeout()), + TQ_SLOT(slotMouseMoveTimeOut())); setMouseTracking(true); slotMouseMoveTimeOut(); diff --git a/kipi-plugins/slideshow/toolbar.cpp b/kipi-plugins/slideshow/toolbar.cpp index bf8a463..cee86d1 100644 --- a/kipi-plugins/slideshow/toolbar.cpp +++ b/kipi-plugins/slideshow/toolbar.cpp @@ -67,23 +67,23 @@ ToolBar::ToolBar(TQWidget* parent) m_canHide = true; - connect(m_playBtn, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotPlayBtnToggled())); + connect(m_playBtn, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotPlayBtnToggled())); - connect(m_nextBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNexPrevClicked())); + connect(m_nextBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNexPrevClicked())); - connect(m_prevBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNexPrevClicked())); + connect(m_prevBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNexPrevClicked())); - connect(m_nextBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalNext())); + connect(m_nextBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalNext())); - connect(m_prevBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalPrev())); + connect(m_prevBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalPrev())); - connect(m_stopBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalClose())); + connect(m_stopBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalClose())); } ToolBar::~ToolBar() diff --git a/kipi-plugins/sync/gallerywidget.cpp b/kipi-plugins/sync/gallerywidget.cpp index b154638..8e888cb 100644 --- a/kipi-plugins/sync/gallerywidget.cpp +++ b/kipi-plugins/sync/gallerywidget.cpp @@ -119,7 +119,7 @@ GalleryWidget::GalleryWidget( TQWidget* parent, const char* name, WFlags fl ) m_resizeCheckBox->setChecked(false); m_dimensionSpinBox->setEnabled(false); - connect(m_resizeCheckBox, TQT_SIGNAL(clicked()), TQT_SLOT(slotResizeChecked())); + connect(m_resizeCheckBox, TQ_SIGNAL(clicked()), TQ_SLOT(slotResizeChecked())); // ------------------------------------------------------------------------ diff --git a/kipi-plugins/sync/gallerywindow.cpp b/kipi-plugins/sync/gallerywindow.cpp index 99574f9..e5370fa 100644 --- a/kipi-plugins/sync/gallerywindow.cpp +++ b/kipi-plugins/sync/gallerywindow.cpp @@ -93,7 +93,7 @@ GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galle m_helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); m_helpButton->setPopup( helpMenu->menu() ); GalleryWidget* widget = new GalleryWidget(this); @@ -116,36 +116,36 @@ GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galle m_progressDlg->setAutoReset( true ); m_progressDlg->setAutoClose( true ); - connect(m_progressDlg, TQT_SIGNAL(canceled()), TQT_SLOT(slotAddPhotoCancel())); + connect(m_progressDlg, TQ_SIGNAL(canceled()), TQ_SLOT(slotAddPhotoCancel())); - connect(m_albumView, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotAlbumSelected())); + connect(m_albumView, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotAlbumSelected())); connect(m_photoView->browserExtension(), - TQT_SIGNAL(openURLRequest(const KURL&, + TQ_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)), - TQT_SLOT(slotOpenPhoto(const KURL&))); + TQ_SLOT(slotOpenPhoto(const KURL&))); - connect(m_newAlbumBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotNewAlbum())); - connect(m_addPhotoBtn, TQT_SIGNAL(clicked()), TQT_SLOT( slotAddPhotos())); + connect(m_newAlbumBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotNewAlbum())); + connect(m_addPhotoBtn, TQ_SIGNAL(clicked()), TQ_SLOT( slotAddPhotos())); // read config TDEConfig config("kipirc"); config.setGroup("GallerySync Settings"); m_talker = new GalleryTalker( this ); - connect( m_talker, TQT_SIGNAL( signalError( const TQString& ) ), - TQT_SLOT( slotError( const TQString& ) ) ); - connect( m_talker, TQT_SIGNAL( signalBusy( bool ) ), - TQT_SLOT( slotBusy( bool ) ) ); - connect( m_talker, TQT_SIGNAL( signalLoginFailed( const TQString& ) ), - TQT_SLOT( slotLoginFailed( const TQString& ) ) ); - connect( m_talker, TQT_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ), - TQT_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) ); - connect( m_talker, TQT_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ), - TQT_SLOT( slotPhotos( const TQValueList<GPhoto>& ) ) ); - connect( m_talker, TQT_SIGNAL( signalAddPhotoSucceeded() ), - TQT_SLOT( slotAddPhotoSucceeded() ) ); - connect( m_talker, TQT_SIGNAL( signalAddPhotoFailed( const TQString& ) ), - TQT_SLOT( slotAddPhotoFailed( const TQString& ) ) ); + connect( m_talker, TQ_SIGNAL( signalError( const TQString& ) ), + TQ_SLOT( slotError( const TQString& ) ) ); + connect( m_talker, TQ_SIGNAL( signalBusy( bool ) ), + TQ_SLOT( slotBusy( bool ) ) ); + connect( m_talker, TQ_SIGNAL( signalLoginFailed( const TQString& ) ), + TQ_SLOT( slotLoginFailed( const TQString& ) ) ); + connect( m_talker, TQ_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ), + TQ_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) ); + connect( m_talker, TQ_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ), + TQ_SLOT( slotPhotos( const TQValueList<GPhoto>& ) ) ); + connect( m_talker, TQ_SIGNAL( signalAddPhotoSucceeded() ), + TQ_SLOT( slotAddPhotoSucceeded() ) ); + connect( m_talker, TQ_SIGNAL( signalAddPhotoFailed( const TQString& ) ), + TQ_SLOT( slotAddPhotoFailed( const TQString& ) ) ); if (config.readBoolEntry("Resize", false)) { @@ -159,7 +159,7 @@ GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galle } m_dimensionSpinBox->setValue(config.readNumEntry("Maximum Width", 1600)); - TQTimer::singleShot( 0, this, TQT_SLOT( slotDoLogin() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotDoLogin() ) ); } GalleryWindow::~GalleryWindow() diff --git a/kipi-plugins/sync/plugin_sync.cpp b/kipi-plugins/sync/plugin_sync.cpp index 0faa1da..f75e1ab 100644 --- a/kipi-plugins/sync/plugin_sync.cpp +++ b/kipi-plugins/sync/plugin_sync.cpp @@ -77,7 +77,7 @@ void Plugin_Sync::setup(TQWidget* widget) mpActionSync = new TDEAction(i18n("Synchronize..."), 0, this, - TQT_SLOT(slotSync()), + TQ_SLOT(slotSync()), actionCollection(), "sync"); mpActionSync->setEnabled(true); @@ -86,7 +86,7 @@ void Plugin_Sync::setup(TQWidget* widget) mpActionConfigure = new TDEAction(i18n("Configure Synchronization..."), 0, this, - TQT_SLOT(slotConfigure()), + TQ_SLOT(slotConfigure()), actionCollection(), "sync"); mpActionConfigure->setEnabled(true); @@ -95,7 +95,7 @@ void Plugin_Sync::setup(TQWidget* widget) mpActionSettingsCollection = new TDEAction(i18n("Synchronization Settings..."), 0, this, - TQT_SLOT(slotSettingsCollection()), + TQ_SLOT(slotSettingsCollection()), actionCollection(), "sync"); mpActionSettingsCollection->setEnabled(true); @@ -104,7 +104,7 @@ void Plugin_Sync::setup(TQWidget* widget) mpActionSettingsImage = new TDEAction(i18n("Synchronization Settings..."), 0, this, - TQT_SLOT(slotSettingsImage()), + TQ_SLOT(slotSettingsImage()), actionCollection(), "sync"); mpActionSettingsImage->setEnabled(true); diff --git a/kipi-plugins/sync/sinks/gallery/gallerysink.cpp b/kipi-plugins/sync/sinks/gallery/gallerysink.cpp index 09c545e..9489b25 100644 --- a/kipi-plugins/sync/sinks/gallery/gallerysink.cpp +++ b/kipi-plugins/sync/sinks/gallery/gallerysink.cpp @@ -100,10 +100,10 @@ bool GallerySink::Connect() TDEIO::TransferJob* job = TDEIO::http_post(mURL, form.formData(), false); job->addMetaData("content-type", form.contentType() ); job->addMetaData("cookies", "manual"); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotResult(TDEIO::Job *))); mState = GE_LOGIN; mpJob = job; @@ -126,10 +126,10 @@ void GallerySink::listAlbums() job->addMetaData("content-type", form.contentType() ); job->addMetaData("cookies", "manual"); job->addMetaData("setcookies", m_cookie); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotResult(TDEIO::Job *))); mState = GE_LISTALBUMS; mpJob = job; @@ -155,10 +155,10 @@ void GallerySink::listPhotos( const TQString& albumName ) job->addMetaData("content-type", form.contentType() ); job->addMetaData("cookies", "manual"); job->addMetaData("setcookies", m_cookie); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotResult(TDEIO::Job *))); mState = GE_LISTPHOTOS; mpJob = job; @@ -193,10 +193,10 @@ void GallerySink::createAlbum( const TQString& parentAlbumName, job->addMetaData("content-type", form.contentType() ); job->addMetaData("cookies", "manual"); job->addMetaData("setcookies", m_cookie); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotResult(TDEIO::Job *))); mState = GE_CREATEALBUM; mpJob = job; @@ -260,10 +260,10 @@ bool GallerySink::addPhoto( const TQString& albumName, job->addMetaData("content-type", form.contentType()); job->addMetaData("cookies", "manual"); job->addMetaData("setcookies", m_cookie); - connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotResult(TDEIO::Job *))); mState = GE_ADDPHOTO; mpJob = job; diff --git a/kipi-plugins/timeadjust/plugin_timeadjust.cpp b/kipi-plugins/timeadjust/plugin_timeadjust.cpp index 81ad830..3ed18c2 100644 --- a/kipi-plugins/timeadjust/plugin_timeadjust.cpp +++ b/kipi-plugins/timeadjust/plugin_timeadjust.cpp @@ -62,7 +62,7 @@ void Plugin_TimeAdjust::setup(TQWidget* widget) "clock", 0, this, - TQT_SLOT(slotActivate()), + TQ_SLOT(slotActivate()), actionCollection(), "timeadjust"); @@ -80,8 +80,8 @@ void Plugin_TimeAdjust::setup(TQWidget* widget) m_actionTimeAjust->setEnabled(selection.isValid() && !selection.images().isEmpty()); - connect(m_interface, TQT_SIGNAL(selectionChanged(bool)), - m_actionTimeAjust, TQT_SLOT(setEnabled(bool))); + connect(m_interface, TQ_SIGNAL(selectionChanged(bool)), + m_actionTimeAjust, TQ_SLOT(setEnabled(bool))); } void Plugin_TimeAdjust::slotActivate() diff --git a/kipi-plugins/timeadjust/timeadjustdialog.cpp b/kipi-plugins/timeadjust/timeadjustdialog.cpp index 2b483aa..0407ef6 100644 --- a/kipi-plugins/timeadjust/timeadjustdialog.cpp +++ b/kipi-plugins/timeadjust/timeadjustdialog.cpp @@ -173,7 +173,7 @@ TimeAdjustDialog::TimeAdjustDialog(KIPI::Interface* interface, TQWidget* parent) TQPushButton *helpButton = actionButton(Help); KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); helpButton->setPopup(helpMenu->menu()); // -- Adjustment type ------------------------------------------------------------ @@ -258,29 +258,29 @@ TimeAdjustDialog::TimeAdjustDialog(KIPI::Interface* interface, TQWidget* parent) // -- Slots/Signals ------------------------------------------------------ - connect(d->adjustTypeGrp, TQT_SIGNAL( clicked(int) ), - this, TQT_SLOT( slotAdjustmentTypeChanged() )); + connect(d->adjustTypeGrp, TQ_SIGNAL( clicked(int) ), + this, TQ_SLOT( slotAdjustmentTypeChanged() )); - connect(d->secs, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT( slotUpdateExample() )); + connect(d->secs, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT( slotUpdateExample() )); - connect(d->minutes, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT( slotUpdateExample() )); + connect(d->minutes, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT( slotUpdateExample() )); - connect(d->hours, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT( slotUpdateExample() )); + connect(d->hours, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT( slotUpdateExample() )); - connect(d->days, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT( slotUpdateExample() )); + connect(d->days, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT( slotUpdateExample() )); - connect(d->months, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT( slotUpdateExample() )); + connect(d->months, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT( slotUpdateExample() )); - connect(d->years, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT( slotUpdateExample() )); + connect(d->years, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT( slotUpdateExample() )); - connect(d->todayBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotResetDateToCurrent())); + connect(d->todayBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotResetDateToCurrent())); // ----------------------------------------------------------------------- diff --git a/kipi-plugins/wallpaper/plugin_wallpaper.cpp b/kipi-plugins/wallpaper/plugin_wallpaper.cpp index 6e67af3..803f33e 100644 --- a/kipi-plugins/wallpaper/plugin_wallpaper.cpp +++ b/kipi-plugins/wallpaper/plugin_wallpaper.cpp @@ -73,49 +73,49 @@ void Plugin_WallPaper::setup( TQWidget* widget ) m_action_Background->insert(new TDEAction (i18n("Centered"), 0, this, - TQT_SLOT(slotSetCenter()), + TQ_SLOT(slotSetCenter()), actionCollection(), "images2desktop_center")); m_action_Background->insert(new TDEAction (i18n("Tiled"), 0, this, - TQT_SLOT(slotSetTiled()), + TQ_SLOT(slotSetTiled()), actionCollection(), "images2desktop_tiled")); m_action_Background->insert(new TDEAction (i18n("Centered Tiled"), 0, this, - TQT_SLOT(slotSetCenterTiled()), + TQ_SLOT(slotSetCenterTiled()), actionCollection(), "images2desktop_center_tiled")); m_action_Background->insert(new TDEAction (i18n("Centered Max-Aspect"), 0, this, - TQT_SLOT(slotSetCenteredMaxpect()), + TQ_SLOT(slotSetCenteredMaxpect()), actionCollection(), "images2desktop_center_maxpect")); m_action_Background->insert(new TDEAction (i18n("Tiled Max-Aspect"), 0, this, - TQT_SLOT(slotSetTiledMaxpect()), + TQ_SLOT(slotSetTiledMaxpect()), actionCollection(), "images2desktop_tiled_maxpect")); m_action_Background->insert(new TDEAction (i18n("Scaled"), 0, this, - TQT_SLOT(slotSetScaled()), + TQ_SLOT(slotSetScaled()), actionCollection(), "images2desktop_scaled")); m_action_Background->insert(new TDEAction (i18n("Centered Auto Fit"), 0, this, - TQT_SLOT(slotSetCenteredAutoFit()), + TQ_SLOT(slotSetCenteredAutoFit()), actionCollection(), "images2desktop_centered_auto_fit")); @@ -124,7 +124,7 @@ void Plugin_WallPaper::setup( TQWidget* widget ) m_action_Background->insert(new TDEAction (i18n("Scale && Crop"), 0, this, - TQT_SLOT(slotSetScaleAndCrop()), + TQ_SLOT(slotSetScaleAndCrop()), actionCollection(), "images2desktop_scale_and_crop")); @@ -143,8 +143,8 @@ void Plugin_WallPaper::setup( TQWidget* widget ) KIPI::ImageCollection selection = interface->currentSelection(); m_action_Background->setEnabled( selection.isValid() ); - connect( interface, TQT_SIGNAL(selectionChanged(bool)), - m_action_Background, TQT_SLOT(setEnabled(bool))); + connect( interface, TQ_SIGNAL(selectionChanged(bool)), + m_action_Background, TQ_SLOT(setEnabled(bool))); } |