Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9d73fae3fa)
r14.1.x
Michele Calgaro 11 months ago
parent e169e36ac6
commit b74930c0a1
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -129,7 +129,7 @@ AcquireImageDialog::AcquireImageDialog( KIPI::Interface* interface, TQWidget *pa
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
} }
@ -292,8 +292,8 @@ void AcquireImageDialog::setupImageOptions(void)
//--------------------------------------------- //---------------------------------------------
connect(m_imagesFormat, TQT_SIGNAL(activated(const TQString &)), connect(m_imagesFormat, TQ_SIGNAL(activated(const TQString &)),
this, TQT_SLOT(slotImageFormatChanged(const TQString &))); this, TQ_SLOT(slotImageFormatChanged(const TQString &)));
} }
void AcquireImageDialog::setupAlbumsList(void) void AcquireImageDialog::setupAlbumsList(void)
@ -359,11 +359,11 @@ void AcquireImageDialog::setupAlbumsList(void)
//--------------------------------------------- //---------------------------------------------
connect(m_addNewAlbumButton, TQT_SIGNAL(clicked()), connect(m_addNewAlbumButton, TQ_SIGNAL(clicked()),
m_uploadPath, TQT_SLOT(mkdir())); m_uploadPath, TQ_SLOT(mkdir()));
connect(m_uploadPath, TQT_SIGNAL( folderItemSelected( const KURL & ) ), connect(m_uploadPath, TQ_SIGNAL( folderItemSelected( const KURL & ) ),
this, TQT_SLOT( slotAlbumSelected( const KURL & ))); this, TQ_SLOT( slotAlbumSelected( const KURL & )));
//--------------------------------------------- //---------------------------------------------

@ -66,7 +66,7 @@ void Plugin_AcquireImages::setup( TQWidget* widget )
"scanner", // Menu icon. "scanner", // Menu icon.
0, // default shortcut. 0, // default shortcut.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"scan_images"); "scan_images");
@ -74,7 +74,7 @@ void Plugin_AcquireImages::setup( TQWidget* widget )
"ksnapshot", // Menu icon. "ksnapshot", // Menu icon.
0, // default shortcut. 0, // default shortcut.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"screenshot_images"); "screenshot_images");
@ -106,8 +106,8 @@ void Plugin_AcquireImages::slotActivate()
{ {
m_scanDialog->setMinimumSize(400, 300); m_scanDialog->setMinimumSize(400, 300);
connect(m_scanDialog, TQT_SIGNAL(finalImage(const TQImage &, int)), connect(m_scanDialog, TQ_SIGNAL(finalImage(const TQImage &, int)),
this, TQT_SLOT(slotAcquireImageDone(const TQImage &))); this, TQ_SLOT(slotAcquireImageDone(const TQImage &)));
} }
else else
{ {

@ -117,14 +117,14 @@ ScreenGrabDialog::ScreenGrabDialog( KIPI::Interface* interface, TQWidget *parent
//--------------------------------------------- //---------------------------------------------
connect(this, TQT_SIGNAL(user1Clicked()), connect(this, TQ_SIGNAL(user1Clicked()),
this, TQT_SLOT(slotGrab())); this, TQ_SLOT(slotGrab()));
connect(this, TQT_SIGNAL(closeClicked()), connect(this, TQ_SIGNAL(closeClicked()),
this, TQT_SLOT(slotClose())); this, TQ_SLOT(slotClose()));
connect( &m_grabTimer, TQT_SIGNAL(timeout()), connect( &m_grabTimer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotPerformGrab())); this, TQ_SLOT(slotPerformGrab()));
//--------------------------------------------- //---------------------------------------------
@ -164,7 +164,7 @@ ScreenGrabDialog::ScreenGrabDialog( KIPI::Interface* interface, TQWidget *parent
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, about, false); KHelpMenu* helpMenu = new KHelpMenu(this, about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
} }

@ -239,32 +239,32 @@ BatchProcessImagesDialog::BatchProcessImagesDialog( KURL::List urlList, KIPI::In
//--------------------------------------------- //---------------------------------------------
connect(m_listFiles, TQT_SIGNAL(doubleClicked(TQListViewItem *)), connect(m_listFiles, TQ_SIGNAL(doubleClicked(TQListViewItem *)),
this, TQT_SLOT(slotListDoubleClicked(TQListViewItem *))); this, TQ_SLOT(slotListDoubleClicked(TQListViewItem *)));
connect(this, TQT_SIGNAL(user1Clicked()), connect(this, TQ_SIGNAL(user1Clicked()),
this, TQT_SLOT(slotProcessStart())); this, TQ_SLOT(slotProcessStart()));
connect(m_optionsButton, TQT_SIGNAL(clicked()), connect(m_optionsButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotOptionsClicked())); this, TQ_SLOT(slotOptionsClicked()));
connect(m_previewButton, TQT_SIGNAL(clicked()), connect(m_previewButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotPreview())); this, TQ_SLOT(slotPreview()));
connect(m_Type, TQT_SIGNAL(activated(int)), connect(m_Type, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(slotTypeChanged(int))); this, TQ_SLOT(slotTypeChanged(int)));
connect(m_listFiles, TQT_SIGNAL( addedDropItems(TQStringList) ), connect(m_listFiles, TQ_SIGNAL( addedDropItems(TQStringList) ),
this, TQT_SLOT( slotAddDropItems(TQStringList))); this, TQ_SLOT( slotAddDropItems(TQStringList)));
connect(m_listFiles, TQT_SIGNAL( currentChanged( TQListViewItem * ) ), connect(m_listFiles, TQ_SIGNAL( currentChanged( TQListViewItem * ) ),
this, TQT_SLOT( slotImageSelected( TQListViewItem * ))); this, TQ_SLOT( slotImageSelected( TQListViewItem * )));
connect(m_addImagesButton, TQT_SIGNAL(clicked()), connect(m_addImagesButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotImagesFilesButtonAdd())); this, TQ_SLOT(slotImagesFilesButtonAdd()));
connect(m_remImagesButton, TQT_SIGNAL(clicked()), connect(m_remImagesButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotImagesFilesButtonRem())); this, TQ_SLOT(slotImagesFilesButtonRem()));
// Get the image files filters from the hosts app. // 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() ); TDEIO::PreviewJob* m_thumbJob = TDEIO::filePreview( url, m_imageLabel->height() );
connect(m_thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), connect(m_thumbJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
this, TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); this, TQ_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&)));
} }
void BatchProcessImagesDialog::slotGotPreview(const KFileItem* url, const TQPixmap &pixmap) void BatchProcessImagesDialog::slotGotPreview(const KFileItem* url, const TQPixmap &pixmap)
@ -407,10 +407,10 @@ void BatchProcessImagesDialog::slotProcessStart( void )
} }
m_convertStatus = UNDER_PROCESS; m_convertStatus = UNDER_PROCESS;
disconnect( this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(slotProcessStart())); disconnect( this, TQ_SIGNAL(user1Clicked()), this, TQ_SLOT(slotProcessStart()));
showButtonCancel( false ); showButtonCancel( false );
setButtonText( User1, i18n("&Stop") ); 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_labelType->setEnabled(false);
m_Type->setEnabled(false); m_Type->setEnabled(false);
@ -595,14 +595,14 @@ bool BatchProcessImagesDialog::startProcess(void)
item->changeOutputMess(m_commandLine + "\n\n"); item->changeOutputMess(m_commandLine + "\n\n");
connect(m_ProcessusProc, TQT_SIGNAL(processExited(TDEProcess *)), connect(m_ProcessusProc, TQ_SIGNAL(processExited(TDEProcess *)),
this, TQT_SLOT(slotProcessDone(TDEProcess*))); this, TQ_SLOT(slotProcessDone(TDEProcess*)));
connect(m_ProcessusProc, TQT_SIGNAL(receivedStdout(TDEProcess *, char*, int)), connect(m_ProcessusProc, TQ_SIGNAL(receivedStdout(TDEProcess *, char*, int)),
this, TQT_SLOT(slotReadStd(TDEProcess*, char*, int))); this, TQ_SLOT(slotReadStd(TDEProcess*, char*, int)));
connect(m_ProcessusProc, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), connect(m_ProcessusProc, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)),
this, TQT_SLOT(slotReadStd(TDEProcess*, char*, int))); this, TQ_SLOT(slotReadStd(TDEProcess*, char*, int)));
bool result = m_ProcessusProc->start(TDEProcess::NotifyOnExit, TDEProcess::All); bool result = m_ProcessusProc->start(TDEProcess::NotifyOnExit, TDEProcess::All);
if(!result) if(!result)
@ -792,14 +792,14 @@ void BatchProcessImagesDialog::slotPreview(void)
m_addImagesButton->setEnabled(false); m_addImagesButton->setEnabled(false);
m_remImagesButton->setEnabled(false); m_remImagesButton->setEnabled(false);
disconnect( this, TQT_SIGNAL(user1Clicked()), disconnect( this, TQ_SIGNAL(user1Clicked()),
this, TQT_SLOT(slotProcessStart())); this, TQ_SLOT(slotProcessStart()));
showButtonCancel( false ); showButtonCancel( false );
setButtonText( User1, i18n("&Stop") ); setButtonText( User1, i18n("&Stop") );
connect(this, TQT_SIGNAL(user1Clicked()), connect(this, TQ_SIGNAL(user1Clicked()),
this, TQT_SLOT(slotPreviewStop())); this, TQ_SLOT(slotPreviewStop()));
m_previewOutput = ""; m_previewOutput = "";
m_PreviewProc = new TDEProcess; m_PreviewProc = new TDEProcess;
@ -809,14 +809,14 @@ void BatchProcessImagesDialog::slotPreview(void)
*m_PreviewProc << m_tmpFolder + "/" + TQString::number(getpid()) + "preview.PNG"; *m_PreviewProc << m_tmpFolder + "/" + TQString::number(getpid()) + "preview.PNG";
m_previewOutput.append( " " + m_tmpFolder + "/" + TQString::number(getpid()) + "preview.PNG\n\n"); m_previewOutput.append( " " + m_tmpFolder + "/" + TQString::number(getpid()) + "preview.PNG\n\n");
connect(m_PreviewProc, TQT_SIGNAL(processExited(TDEProcess *)), connect(m_PreviewProc, TQ_SIGNAL(processExited(TDEProcess *)),
this, TQT_SLOT(slotPreviewProcessDone(TDEProcess*))); this, TQ_SLOT(slotPreviewProcessDone(TDEProcess*)));
connect(m_PreviewProc, TQT_SIGNAL(receivedStdout(TDEProcess *, char*, int)), connect(m_PreviewProc, TQ_SIGNAL(receivedStdout(TDEProcess *, char*, int)),
this, TQT_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); this, TQ_SLOT(slotPreviewReadStd(TDEProcess*, char*, int)));
connect(m_PreviewProc, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), connect(m_PreviewProc, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)),
this, TQT_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); this, TQ_SLOT(slotPreviewReadStd(TDEProcess*, char*, int)));
bool result = m_PreviewProc->start(TDEProcess::NotifyOnExit, TDEProcess::All); bool result = m_PreviewProc->start(TDEProcess::NotifyOnExit, TDEProcess::All);
if(!result) if(!result)
@ -987,11 +987,11 @@ void BatchProcessImagesDialog::endPreview(void)
setButtonText( User1, i18n("&Start") ); setButtonText( User1, i18n("&Start") );
disconnect(this, TQT_SIGNAL(user1Clicked()), disconnect(this, TQ_SIGNAL(user1Clicked()),
this, TQT_SLOT(slotPreviewStop())); this, TQ_SLOT(slotPreviewStop()));
connect(this, TQT_SIGNAL(user1Clicked()), connect(this, TQ_SIGNAL(user1Clicked()),
this, TQT_SLOT(slotProcessStart())); this, TQ_SLOT(slotProcessStart()));
} }
int BatchProcessImagesDialog::overwriteMode(void) int BatchProcessImagesDialog::overwriteMode(void)
@ -1045,11 +1045,11 @@ void BatchProcessImagesDialog::endProcess(void)
m_convertStatus = PROCESS_DONE; m_convertStatus = PROCESS_DONE;
setButtonText( User1, i18n("&Close") ); setButtonText( User1, i18n("&Close") );
disconnect(this, TQT_SIGNAL(user1Clicked()), disconnect(this, TQ_SIGNAL(user1Clicked()),
this, TQT_SLOT(slotProcessStop())); this, TQ_SLOT(slotProcessStop()));
connect(this, TQT_SIGNAL(user1Clicked()), connect(this, TQ_SIGNAL(user1Clicked()),
this, TQT_SLOT(slotOk())); this, TQ_SLOT(slotOk()));
} }
TQString BatchProcessImagesDialog::RenameTargetImageFile(TQFileInfo *fi) TQString BatchProcessImagesDialog::RenameTargetImageFile(TQFileInfo *fi)

@ -73,7 +73,7 @@ BorderImagesDialog::BorderImagesDialog( KURL::List urlList, KIPI::Interface* int
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
//--------------------------------------------- //---------------------------------------------

@ -144,7 +144,7 @@ BorderOptionsDialog::BorderOptionsDialog(TQWidget *parent, int BorderType)
TQWhatsThis::add( m_button_frameBorderColor, i18n( "<p>You can select here the border color." )); TQWhatsThis::add( m_button_frameBorderColor, i18n( "<p>You can select here the border color." ));
dvlay->addWidget( m_button_frameBorderColor ); 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)));
} }
} }

@ -72,7 +72,7 @@ ColorImagesDialog::ColorImagesDialog( KURL::List urlList, KIPI::Interface* inter
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
//--------------------------------------------- //---------------------------------------------

@ -78,7 +78,7 @@ ConvertImagesDialog::ConvertImagesDialog( KURL::List urlList, KIPI::Interface* i
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
//--------------------------------------------- //---------------------------------------------

@ -78,7 +78,7 @@ ConvertOptionsDialog::ConvertOptionsDialog(TQWidget *parent, int ImageFormatType
"all JPEG operations will use a lossless compression.")); "all JPEG operations will use a lossless compression."));
dvlay->addWidget( m_compressLossLess ); 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) ) );
} }
} }

@ -72,7 +72,7 @@ EffectImagesDialog::EffectImagesDialog( KURL::List urlList, KIPI::Interface* int
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
//--------------------------------------------- //---------------------------------------------

@ -72,7 +72,7 @@ FilterImagesDialog::FilterImagesDialog( KURL::List urlList, KIPI::Interface* int
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
//--------------------------------------------- //---------------------------------------------

@ -100,7 +100,7 @@ ImagePreview::ImagePreview(const TQString &fileOrig, const TQString &fileDest, c
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
//--------------------------------------------- //---------------------------------------------
@ -153,14 +153,14 @@ ImagePreview::ImagePreview(const TQString &fileOrig, const TQString &fileDest, c
g2->setColStretch(1,1); g2->setColStretch(1,1);
g2->addWidget( groupBox2 , 0, 1); g2->addWidget( groupBox2 , 0, 1);
connect( ZoomFactorSlider, TQT_SIGNAL(valueChanged(int)), connect( ZoomFactorSlider, TQ_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotZoomFactorValueChanged(int)) ); this, TQ_SLOT(slotZoomFactorValueChanged(int)) );
connect( m_previewOrig, TQT_SIGNAL(wheelEvent(int)), connect( m_previewOrig, TQ_SIGNAL(wheelEvent(int)),
this, TQT_SLOT(slotWheelChanged(int)) ); this, TQ_SLOT(slotWheelChanged(int)) );
connect( m_previewDest, TQT_SIGNAL(wheelEvent(int)), connect( m_previewDest, TQ_SIGNAL(wheelEvent(int)),
this, TQT_SLOT(slotWheelChanged(int)) ); this, TQ_SLOT(slotWheelChanged(int)) );
m_previewOrig->setImage(fileOrig, tmpPath); m_previewOrig->setImage(fileOrig, tmpPath);
m_previewDest->setImage(fileDest, tmpPath); m_previewDest->setImage(fileDest, tmpPath);
@ -267,14 +267,14 @@ void PixmapView::PreviewCal(const TQString &ImagePath, const TQString &/*tmpPath
*m_PreviewProc << m_previewFileName; *m_PreviewProc << m_previewFileName;
m_previewOutput.append( " -verbose " + ImagePath + " " + m_previewFileName + "\n\n"); m_previewOutput.append( " -verbose " + ImagePath + " " + m_previewFileName + "\n\n");
connect(m_PreviewProc, TQT_SIGNAL(processExited(TDEProcess *)), connect(m_PreviewProc, TQ_SIGNAL(processExited(TDEProcess *)),
this, TQT_SLOT(PreviewProcessDone(TDEProcess*))); this, TQ_SLOT(PreviewProcessDone(TDEProcess*)));
connect(m_PreviewProc, TQT_SIGNAL(receivedStdout(TDEProcess *, char*, int)), connect(m_PreviewProc, TQ_SIGNAL(receivedStdout(TDEProcess *, char*, int)),
this, TQT_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); this, TQ_SLOT(slotPreviewReadStd(TDEProcess*, char*, int)));
connect(m_PreviewProc, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), connect(m_PreviewProc, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)),
this, TQT_SLOT(slotPreviewReadStd(TDEProcess*, char*, int))); this, TQ_SLOT(slotPreviewReadStd(TDEProcess*, char*, int)));
bool result = m_PreviewProc->start(TDEProcess::NotifyOnExit, TDEProcess::All); bool result = m_PreviewProc->start(TDEProcess::NotifyOnExit, TDEProcess::All);
if(!result) if(!result)

@ -67,7 +67,7 @@ OutputDialog::OutputDialog(TQWidget* parent, TQString caption, TQString Messages
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
//--------------------------------------------- //---------------------------------------------
@ -85,8 +85,8 @@ OutputDialog::OutputDialog(TQWidget* parent, TQString caption, TQString Messages
debugView->append( Messages ); debugView->append( Messages );
dvlay->addWidget( debugView ); dvlay->addWidget( debugView );
connect(this, TQT_SIGNAL(user1Clicked()), connect(this, TQ_SIGNAL(user1Clicked()),
this, TQT_SLOT(slotCopyToCliboard())); this, TQ_SLOT(slotCopyToCliboard()));
resize( 600, 400 ); resize( 600, 400 );
} }

@ -84,7 +84,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget )
"borderimages", // Menu icon. "borderimages", // Menu icon.
0, // default shortcut. 0, // default shortcut.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"batch_border_images"); "batch_border_images");
@ -92,7 +92,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget )
"colorimages", // Menu icon. "colorimages", // Menu icon.
0, // default shortcut. 0, // default shortcut.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"batch_color_images"); "batch_color_images");
@ -100,7 +100,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget )
"convertimages", // Menu icon. "convertimages", // Menu icon.
0, // default shortcut. 0, // default shortcut.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"batch_convert_images"); "batch_convert_images");
@ -108,7 +108,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget )
"effectimages", // Menu icon. "effectimages", // Menu icon.
0, // default shortcut. 0, // default shortcut.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"batch_effect_images"); "batch_effect_images");
@ -116,7 +116,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget )
"filterimages", // Menu icon. "filterimages", // Menu icon.
0, // default shortcut. 0, // default shortcut.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"batch_filter_images"); "batch_filter_images");
@ -124,7 +124,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget )
"renameimages", // Menu icon. "renameimages", // Menu icon.
0, // default shortcut. 0, // default shortcut.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"batch_rename_images"); "batch_rename_images");
@ -132,7 +132,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget )
"recompressimages", // Menu icon. "recompressimages", // Menu icon.
0, // default shortcut. 0, // default shortcut.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"batch_recompress_images"); "batch_recompress_images");
@ -140,7 +140,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget )
"resizeimages", // Menu icon. "resizeimages", // Menu icon.
0, // default shortcut. 0, // default shortcut.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"batch_resize_images"); "batch_resize_images");
@ -173,29 +173,29 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget )
m_action_recompressimages->setEnabled( enable ); m_action_recompressimages->setEnabled( enable );
m_action_resizeimages->setEnabled( enable ); m_action_resizeimages->setEnabled( enable );
connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ),
m_action_borderimages, TQT_SLOT( setEnabled( bool ) ) ); m_action_borderimages, TQ_SLOT( setEnabled( bool ) ) );
connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ),
m_action_colorimages, TQT_SLOT( setEnabled( bool ) ) ); m_action_colorimages, TQ_SLOT( setEnabled( bool ) ) );
connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ),
m_action_convertimages, TQT_SLOT( setEnabled( bool ) ) ); m_action_convertimages, TQ_SLOT( setEnabled( bool ) ) );
connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ),
m_action_effectimages, TQT_SLOT( setEnabled( bool ) ) ); m_action_effectimages, TQ_SLOT( setEnabled( bool ) ) );
connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ),
m_action_filterimages, TQT_SLOT( setEnabled( bool ) ) ); m_action_filterimages, TQ_SLOT( setEnabled( bool ) ) );
connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ),
m_action_renameimages, TQT_SLOT( setEnabled( bool ) ) ); m_action_renameimages, TQ_SLOT( setEnabled( bool ) ) );
connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ),
m_action_recompressimages, TQT_SLOT( setEnabled( bool ) ) ); m_action_recompressimages, TQ_SLOT( setEnabled( bool ) ) );
connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ),
m_action_resizeimages, TQT_SLOT( setEnabled( bool ) ) ); m_action_resizeimages, TQ_SLOT( setEnabled( bool ) ) );
} }
Plugin_BatchProcessImages::~Plugin_BatchProcessImages() Plugin_BatchProcessImages::~Plugin_BatchProcessImages()

@ -71,7 +71,7 @@ RecompressImagesDialog::RecompressImagesDialog( KURL::List urlList, KIPI::Interf
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
//--------------------------------------------- //---------------------------------------------

@ -75,8 +75,8 @@ RecompressOptionsDialog::RecompressOptionsDialog(TQWidget *parent)
TQWhatsThis::add( m_compressLossLess, i18n("<p>If this option is enabled, " TQWhatsThis::add( m_compressLossLess, i18n("<p>If this option is enabled, "
"all JPEG operations will use lossless compression.")); "all JPEG operations will use lossless compression."));
connect(m_compressLossLess, TQT_SIGNAL( toggled(bool) ), connect(m_compressLossLess, TQ_SIGNAL( toggled(bool) ),
this, TQT_SLOT( slotCompressLossLessEnabled(bool) ) ); this, TQ_SLOT( slotCompressLossLessEnabled(bool) ) );
dvlay->addWidget( groupBox1 ); dvlay->addWidget( groupBox1 );

@ -65,7 +65,7 @@ RenameImagesDialog::RenameImagesDialog(const KURL::List& images,
TQPushButton* helpButton = actionButton( Help ); TQPushButton* helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); helpButton->setPopup( helpMenu->menu() );
// gui // gui
@ -75,8 +75,8 @@ RenameImagesDialog::RenameImagesDialog(const KURL::List& images,
m_widget = new RenameImagesWidget(box, interface, images); m_widget = new RenameImagesWidget(box, interface, images);
lay->addWidget(m_widget); lay->addWidget(m_widget);
connect(this, TQT_SIGNAL(user1Clicked()), connect(this, TQ_SIGNAL(user1Clicked()),
m_widget, TQT_SLOT(slotStart())); m_widget, TQ_SLOT(slotStart()));
adjustSize(); adjustSize();
} }

@ -97,47 +97,47 @@ RenameImagesWidget::RenameImagesWidget(TQWidget *parent,
sortMenu->insertItem(i18n("Sort by Date"), BYDATE); sortMenu->insertItem(i18n("Sort by Date"), BYDATE);
m_sortButton->setPopup(sortMenu); m_sortButton->setPopup(sortMenu);
connect(m_listView, TQT_SIGNAL(doubleClicked(TQListViewItem*)), connect(m_listView, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
TQT_SLOT(slotListViewDoubleClicked(TQListViewItem*))); TQ_SLOT(slotListViewDoubleClicked(TQListViewItem*)));
connect(m_listView, TQT_SIGNAL(selectionChanged(TQListViewItem*)), connect(m_listView, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
TQT_SLOT(slotImageSelected(TQListViewItem*))); TQ_SLOT(slotImageSelected(TQListViewItem*)));
connect(m_prefixEdit, TQT_SIGNAL(textChanged(const TQString&)), connect(m_prefixEdit, TQ_SIGNAL(textChanged(const TQString&)),
TQT_SLOT(slotOptionsChanged())); TQ_SLOT(slotOptionsChanged()));
connect(m_seqSpin, TQT_SIGNAL(valueChanged(int)), connect(m_seqSpin, TQ_SIGNAL(valueChanged(int)),
TQT_SLOT(slotOptionsChanged())); TQ_SLOT(slotOptionsChanged()));
connect(m_addFileNameCheck, TQT_SIGNAL(toggled(bool)), connect(m_addFileNameCheck, TQ_SIGNAL(toggled(bool)),
TQT_SLOT(slotOptionsChanged())); TQ_SLOT(slotOptionsChanged()));
connect(m_addFileDateCheck, TQT_SIGNAL(toggled(bool)), connect(m_addFileDateCheck, TQ_SIGNAL(toggled(bool)),
TQT_SLOT(slotOptionsChanged())); TQ_SLOT(slotOptionsChanged()));
connect(m_formatDateCheck, TQT_SIGNAL(toggled(bool)), connect(m_formatDateCheck, TQ_SIGNAL(toggled(bool)),
TQT_SLOT(slotOptionsChanged())); TQ_SLOT(slotOptionsChanged()));
connect(m_formatDateEdit, TQT_SIGNAL(textChanged(const TQString&)), connect(m_formatDateEdit, TQ_SIGNAL(textChanged(const TQString&)),
TQT_SLOT(slotOptionsChanged())); TQ_SLOT(slotOptionsChanged()));
connect(m_addButton, TQT_SIGNAL(clicked()), connect(m_addButton, TQ_SIGNAL(clicked()),
TQT_SLOT(slotAddImages())); TQ_SLOT(slotAddImages()));
connect(m_removeButton, TQT_SIGNAL(clicked()), connect(m_removeButton, TQ_SIGNAL(clicked()),
TQT_SLOT(slotRemoveImage())); TQ_SLOT(slotRemoveImage()));
connect(sortMenu, TQT_SIGNAL(activated(int)), connect(sortMenu, TQ_SIGNAL(activated(int)),
TQT_SLOT(sortList(int)) ); TQ_SLOT(sortList(int)) );
connect(m_reverseList, TQT_SIGNAL(clicked()), connect(m_reverseList, TQ_SIGNAL(clicked()),
TQT_SLOT(reverseList()) ); TQ_SLOT(reverseList()) );
connect(m_moveUp, TQT_SIGNAL(clicked()), connect(m_moveUp, TQ_SIGNAL(clicked()),
TQT_SLOT(moveCurrentItemUp()) ); TQ_SLOT(moveCurrentItemUp()) );
connect(m_moveDown, TQT_SIGNAL(clicked()), connect(m_moveDown, TQ_SIGNAL(clicked()),
TQT_SLOT(moveCurrentItemDown()) ); TQ_SLOT(moveCurrentItemDown()) );
m_timer = new TQTimer(this); m_timer = new TQTimer(this);
m_progress = new TQProgressDialog(this, 0, true); m_progress = new TQProgressDialog(this, 0, true);
connect(m_timer, TQT_SIGNAL(timeout()), connect(m_timer, TQ_SIGNAL(timeout()),
TQT_SLOT(slotNext())); TQ_SLOT(slotNext()));
connect(m_progress, TQT_SIGNAL(canceled()), connect(m_progress, TQ_SIGNAL(canceled()),
TQT_SLOT(slotAbort())); TQ_SLOT(slotAbort()));
for (KURL::List::iterator it = m_urlList.begin(); for (KURL::List::iterator it = m_urlList.begin();
it != m_urlList.end(); ++it) it != m_urlList.end(); ++it)
@ -221,8 +221,8 @@ void RenameImagesWidget::slotImageSelected(TQListViewItem* item)
TDEIO::PreviewJob* thumbJob = TDEIO::filePreview(KURL(it->pathSrc()), TDEIO::PreviewJob* thumbJob = TDEIO::filePreview(KURL(it->pathSrc()),
m_pixLabel->height() ); m_pixLabel->height() );
connect(thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), connect(thumbJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); TQ_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&)));
} }

@ -73,7 +73,7 @@ ResizeImagesDialog::ResizeImagesDialog( KURL::List urlList, KIPI::Interface* int
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
//--------------------------------------------- //---------------------------------------------

@ -326,8 +326,8 @@ ResizeOptionsDialog::ResizeOptionsDialog(TQWidget *parent, int ResizeType)
dvlay->addWidget( groupBox3 ); dvlay->addWidget( groupBox3 );
connect(m_customSettings, TQT_SIGNAL( toggled(bool) ), connect(m_customSettings, TQ_SIGNAL( toggled(bool) ),
this, TQT_SLOT( slotCustomSettingsEnabled(bool) ) ); this, TQ_SLOT( slotCustomSettingsEnabled(bool) ) );
slotCustomSettingsEnabled(false); slotCustomSettingsEnabled(false);
} }

@ -587,7 +587,7 @@ CalBlockPainter::CalBlockPainter(TQObject *parent, int year, int month,
pb->h = image_->height() - pb->y; pb->h = image_->height() - pb->y;
currBlock_ = 0; currBlock_ = 0;
TQTimer::singleShot(10, this, TQT_SLOT(slotPaintNextBlock())); TQTimer::singleShot(10, this, TQ_SLOT(slotPaintNextBlock()));
} }
else { else {
@ -610,7 +610,7 @@ void CalBlockPainter::slotPaintNextBlock()
b.w, b.h); b.w, b.h);
currBlock_++; currBlock_++;
if (currBlock_ < numBlocks_) { if (currBlock_ < numBlocks_) {
TQTimer::singleShot(10, this, TQT_SLOT(slotPaintNextBlock())); TQTimer::singleShot(10, this, TQ_SLOT(slotPaintNextBlock()));
emit signalProgress(currBlock_+1, numBlocks_); emit signalProgress(currBlock_+1, numBlocks_);
} }
else { else {

@ -77,8 +77,8 @@ void CalSelect::setupView( KIPI::Interface* interface )
yearSpin_->setValue(TDEGlobal::locale()->calendar()->year(TQDate::currentDate())); yearSpin_->setValue(TDEGlobal::locale()->calendar()->year(TQDate::currentDate()));
slotYearChanged(yearSpin_->value()); slotYearChanged(yearSpin_->value());
connect(yearSpin_, TQT_SIGNAL(valueChanged(int)), connect(yearSpin_, TQ_SIGNAL(valueChanged(int)),
TQT_SLOT(slotYearChanged(int))); TQ_SLOT(slotYearChanged(int)));
mainLayout->addWidget(yearBox); mainLayout->addWidget(yearBox);

@ -95,8 +95,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name)
paperSizes << "US Letter"; paperSizes << "US Letter";
comboPaperSize_->insertStringList(paperSizes); comboPaperSize_->insertStringList(paperSizes);
connect(comboPaperSize_, TQT_SIGNAL(activated(int)), connect(comboPaperSize_, TQ_SIGNAL(activated(int)),
TQT_SLOT(slotParamsChanged())); TQ_SLOT(slotParamsChanged()));
// --------------------------------------------------------------- // ---------------------------------------------------------------
@ -117,8 +117,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name)
gboxLayout->addWidget( btnGroupImagePos_ ); gboxLayout->addWidget( btnGroupImagePos_ );
connect(btnGroupImagePos_, TQT_SIGNAL(clicked(int)), connect(btnGroupImagePos_, TQ_SIGNAL(clicked(int)),
TQT_SLOT(slotParamsChanged())); TQ_SLOT(slotParamsChanged()));
// --------------------------------------------------------------- // ---------------------------------------------------------------
@ -126,8 +126,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name)
gboxLayout->addWidget( checkBoxDrawLines_ ); gboxLayout->addWidget( checkBoxDrawLines_ );
checkBoxDrawLines_->setChecked(true); checkBoxDrawLines_->setChecked(true);
connect(checkBoxDrawLines_, TQT_SIGNAL(toggled(bool)), connect(checkBoxDrawLines_, TQ_SIGNAL(toggled(bool)),
TQT_SLOT(slotParamsChanged())); TQ_SLOT(slotParamsChanged()));
// --------------------------------------------------------------- // ---------------------------------------------------------------
@ -140,8 +140,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name)
gboxLayout->addLayout( hlayout ); gboxLayout->addLayout( hlayout );
connect(sliderRatio_, TQT_SIGNAL(valueChanged(int)), connect(sliderRatio_, TQ_SIGNAL(valueChanged(int)),
TQT_SLOT(slotParamsChanged())); TQ_SLOT(slotParamsChanged()));
// --------------------------------------------------------------- // ---------------------------------------------------------------
@ -169,8 +169,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name)
gboxLayout->addLayout( hlayout ); gboxLayout->addLayout( hlayout );
connect(comboFont_, TQT_SIGNAL(activated(int)), connect(comboFont_, TQ_SIGNAL(activated(int)),
TQT_SLOT(slotParamsChanged())); TQ_SLOT(slotParamsChanged()));
// --------------------------------------------------------------- // ---------------------------------------------------------------
@ -184,8 +184,8 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name)
timer_ = new TQTimer(this); timer_ = new TQTimer(this);
connect(timer_, TQT_SIGNAL(timeout()), connect(timer_, TQ_SIGNAL(timeout()),
TQT_SLOT(slotUpdatePreview())); TQ_SLOT(slotUpdatePreview()));
timer_->start(0,true); timer_->start(0,true);
} }

@ -149,7 +149,7 @@ CalWizard::CalWizard( KIPI::Interface* interface, TQWidget *parent )
m_helpButton = helpButton(); m_helpButton = helpButton();
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
// ------------------------------------------ // ------------------------------------------
@ -159,8 +159,8 @@ CalWizard::CalWizard( KIPI::Interface* interface, TQWidget *parent )
formatter_ = new CalFormatter(); formatter_ = new CalFormatter();
connect(this, TQT_SIGNAL(selected(const TQString&)), connect(this, TQ_SIGNAL(selected(const TQString&)),
TQT_SLOT(slotPageSelected(const TQString&))); TQ_SLOT(slotPageSelected(const TQString&)));
setCaption(i18n("Create Calendar")); setCaption(i18n("Create Calendar"));
} }
@ -338,10 +338,10 @@ void CalWizard::slotPrintOnePage()
cb_ = new CalBlockPainter(this, cSettings_->getYear(), month, cb_ = new CalBlockPainter(this, cSettings_->getYear(), month,
image, angle, formatter_, painter_); image, angle, formatter_, painter_);
connect(cb_, TQT_SIGNAL(signalCompleted()), connect(cb_, TQ_SIGNAL(signalCompleted()),
TQT_SLOT(slotPrintOnePage())); TQ_SLOT(slotPrintOnePage()));
connect(cb_, TQT_SIGNAL(signalProgress(int,int)), connect(cb_, TQ_SIGNAL(signalProgress(int,int)),
wFinishProgressCurrent_, TQT_SLOT(setProgress(int,int))); wFinishProgressCurrent_, TQ_SLOT(setProgress(int,int)));
} }
} // NameSpace KIPICalendarPlugin } // NameSpace KIPICalendarPlugin

@ -137,8 +137,8 @@ void MonthWidget::setImage( const KURL &url )
TDEIO::PreviewJob* thumbJob_ = TDEIO::PreviewJob* thumbJob_ =
TDEIO::filePreview( urls,64); TDEIO::filePreview( urls,64);
connect(thumbJob_, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), connect(thumbJob_, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
TQT_SLOT(slotGotThumbnaiL(const KFileItem*, const TQPixmap&))); TQ_SLOT(slotGotThumbnaiL(const KFileItem*, const TQPixmap&)));
} }
void MonthWidget::dropEvent(TQDropEvent* event) void MonthWidget::dropEvent(TQDropEvent* event)

@ -61,7 +61,7 @@ void Plugin_Calendar::setup( TQWidget* widget )
"date", "date",
0, 0,
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"calendar"); "calendar");

@ -406,8 +406,8 @@ void CDArchiving::invokeK3b()
m_tmpFolder + "/KIPICDArchiving.xml"; m_tmpFolder + "/KIPICDArchiving.xml";
kdDebug(51000) << "K3b is started : " << K3bCommandLine.ascii() << endl; kdDebug(51000) << "K3b is started : " << K3bCommandLine.ascii() << endl;
connect(m_Proc, TQT_SIGNAL(processExited(TDEProcess *)), connect(m_Proc, TQ_SIGNAL(processExited(TDEProcess *)),
this, TQT_SLOT(slotK3bDone(TDEProcess*))); this, TQ_SLOT(slotK3bDone(TDEProcess*)));
if ( !m_Proc->start(TDEProcess::NotifyOnExit, TDEProcess::All ) ) if ( !m_Proc->start(TDEProcess::NotifyOnExit, TDEProcess::All ) )
{ {
@ -426,7 +426,7 @@ void CDArchiving::invokeK3b()
if ( m_useStartBurningProcess == true ) if ( m_useStartBurningProcess == true )
{ {
TQTimer::singleShot(10000, TQTimer::singleShot(10000,
this, TQT_SLOT(slotK3bStartBurningProcess())); this, TQ_SLOT(slotK3bStartBurningProcess()));
m_k3bPid = m_Proc->pid(); m_k3bPid = m_Proc->pid();
} }
} }

@ -121,7 +121,7 @@ CDArchivingDialog::CDArchivingDialog( KIPI::Interface* interface, TQWidget *pare
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
} }
@ -169,11 +169,11 @@ void CDArchivingDialog::setupSelection(void)
//--------------------------------------------- //---------------------------------------------
connect( m_mediaFormat, TQT_SIGNAL( highlighted( const TQString & ) ), connect( m_mediaFormat, TQ_SIGNAL( highlighted( const TQString & ) ),
this, TQT_SLOT( mediaFormatActived( const TQString & ) ) ); this, TQ_SLOT( mediaFormatActived( const TQString & ) ) );
connect( m_imageCollectionSelector, TQT_SIGNAL( selectionChanged() ), connect( m_imageCollectionSelector, TQ_SIGNAL( selectionChanged() ),
this, TQT_SLOT( slotAlbumSelected() ) ); this, TQ_SLOT( slotAlbumSelected() ) );
} }
void CDArchivingDialog::setupLookPage(void) void CDArchivingDialog::setupLookPage(void)
@ -354,62 +354,62 @@ void CDArchivingDialog::setupLookPage(void)
vlay->addStretch(1); vlay->addStretch(1);
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_useAutoRunWin32, TQT_SLOT(setEnabled(bool))); m_useAutoRunWin32, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_labelTitle, TQT_SLOT(setEnabled(bool))); m_labelTitle, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_labelThumbsFileFormat, TQT_SLOT(setEnabled(bool))); m_labelThumbsFileFormat, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_labelFontName, TQT_SLOT(setEnabled(bool))); m_labelFontName, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_labelFontSize, TQT_SLOT(setEnabled(bool))); m_labelFontSize, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_labelForegroundColor, TQT_SLOT(setEnabled(bool))); m_labelForegroundColor, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_labelBackgroundColor, TQT_SLOT(setEnabled(bool))); m_labelBackgroundColor, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_title, TQT_SLOT(setEnabled(bool))); m_title, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_imagesPerRow, TQT_SLOT(setEnabled(bool))); m_imagesPerRow, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_fontSize, TQT_SLOT(setEnabled(bool))); m_fontSize, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_fontName, TQT_SLOT(setEnabled(bool))); m_fontName, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_imageFormat, TQT_SLOT(setEnabled(bool))); m_imageFormat, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_thumbnailsSize, TQT_SLOT(setEnabled(bool))); m_thumbnailsSize, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_foregroundColor, TQT_SLOT(setEnabled(bool))); m_foregroundColor, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_backgroundColor, TQT_SLOT(setEnabled(bool))); m_backgroundColor, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_bordersImagesSize, TQT_SLOT(setEnabled(bool))); m_bordersImagesSize, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_labelImageBorderSize, TQT_SLOT(setEnabled(bool))); m_labelImageBorderSize, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_bordersImagesColor, TQT_SLOT(setEnabled(bool))); m_bordersImagesColor, TQ_SLOT(setEnabled(bool)));
connect(m_useHTMLInterface, TQT_SIGNAL(toggled(bool)), connect(m_useHTMLInterface, TQ_SIGNAL(toggled(bool)),
m_labelImageBorderSizeColor, TQT_SLOT(setEnabled(bool))); m_labelImageBorderSizeColor, TQ_SLOT(setEnabled(bool)));
} }
@ -515,8 +515,8 @@ void CDArchivingDialog::setupBurning(void)
label->setBuddy( m_K3bBinPath ); label->setBuddy( m_K3bBinPath );
vlay->addWidget(m_K3bBinPath); vlay->addWidget(m_K3bBinPath);
connect( m_K3bBinPath, TQT_SIGNAL(textChanged(const TQString&)), connect( m_K3bBinPath, TQ_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(UrlChanged(const TQString&))); this, TQ_SLOT(UrlChanged(const TQString&)));
TQWhatsThis::add( m_K3bBinPath, i18n("<p>The path name to the K3b binary program.") ); TQWhatsThis::add( m_K3bBinPath, i18n("<p>The path name to the K3b binary program.") );

@ -62,7 +62,7 @@ void Plugin_CDArchiving::setup( TQWidget* widget )
"cd", // Menu icon. "cd", // Menu icon.
0, 0,
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"cd_archiving"); "cd_archiving");
@ -125,8 +125,8 @@ void Plugin_CDArchiving::customEvent(TQCustomEvent *event)
{ {
m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Archive to CD/DVD")); m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Archive to CD/DVD"));
connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), connect(m_progressDlg, TQ_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancel())); this, TQ_SLOT(slotCancel()));
m_current = 0; m_current = 0;
m_progressDlg->show(); m_progressDlg->show();
@ -319,8 +319,8 @@ void Plugin_CDArchiving::customEvent(TQCustomEvent *event)
m_progressDlg->setButtonCancelText( i18n("&Close") ); m_progressDlg->setButtonCancelText( i18n("&Close") );
#endif #endif
disconnect(m_progressDlg, TQT_SIGNAL(cancelClicked()), disconnect(m_progressDlg, TQ_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancel())); this, TQ_SLOT(slotCancel()));
// Invoke K3b program. // Invoke K3b program.

@ -151,7 +151,7 @@ DisplayCompare::DisplayCompare(TQWidget* parent, KIPI::Interface* interface,
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
// ---------------------------------------------------- // ----------------------------------------------------
@ -262,14 +262,14 @@ DisplayCompare::DisplayCompare(TQWidget* parent, KIPI::Interface* interface,
// signals and slots connections // signals and slots connections
connect(this, TQT_SIGNAL(user1Clicked()), connect(this, TQ_SIGNAL(user1Clicked()),
this, TQT_SLOT(slotDelete())); this, TQ_SLOT(slotDelete()));
connect(listName, TQT_SIGNAL(selectionChanged ( TQListViewItem * )), connect(listName, TQ_SIGNAL(selectionChanged ( TQListViewItem * )),
this, TQT_SLOT(slotDisplayLeft(TQListViewItem *))); this, TQ_SLOT(slotDisplayLeft(TQListViewItem *)));
connect(listEq, TQT_SIGNAL(selectionChanged ( TQListViewItem * )), connect(listEq, TQ_SIGNAL(selectionChanged ( TQListViewItem * )),
this, TQT_SLOT(slotDisplayRight(TQListViewItem *))); this, TQ_SLOT(slotDisplayRight(TQListViewItem *)));
resize( 700, 600 ); resize( 700, 600 );
listName->setSelected(listName->firstChild(), true); listName->setSelected(listName->firstChild(), true);
@ -367,8 +367,8 @@ void DisplayCompare::slotDisplayLeft(TQListViewItem * item)
TDEIO::PreviewJob* thumbJob1 = TDEIO::filePreview( url, preview1->height() ); TDEIO::PreviewJob* thumbJob1 = TDEIO::filePreview( url, preview1->height() );
connect(thumbJob1, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), connect(thumbJob1, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
TQT_SLOT(slotGotPreview1(const KFileItem*, const TQPixmap&))); TQ_SLOT(slotGotPreview1(const KFileItem*, const TQPixmap&)));
FindDuplicateItem *last = NULL; FindDuplicateItem *last = NULL;
TQFile *f = NULL; TQFile *f = NULL;
@ -444,8 +444,8 @@ void DisplayCompare::slotDisplayRight(TQListViewItem * item)
TDEIO::PreviewJob* thumbJob2 = TDEIO::filePreview( url, preview2->height() ); TDEIO::PreviewJob* thumbJob2 = TDEIO::filePreview( url, preview2->height() );
connect(thumbJob2, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), connect(thumbJob2, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
TQT_SLOT(slotGotPreview2(const KFileItem*, const TQPixmap&))); TQ_SLOT(slotGotPreview2(const KFileItem*, const TQPixmap&)));
TDEApplication::restoreOverrideCursor(); TDEApplication::restoreOverrideCursor();
} }

@ -105,7 +105,7 @@ FindDuplicateDialog::FindDuplicateDialog( KIPI::Interface* interface, TQWidget *
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
} }
@ -193,17 +193,17 @@ void FindDuplicateDialog::setupPageMethod(void)
//--------------------------------------------- //---------------------------------------------
connect(m_findMethod, TQT_SIGNAL(activated(int)), connect(m_findMethod, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(slotfindMethodChanged(int))); this, TQ_SLOT(slotfindMethodChanged(int)));
connect(updateCache, TQT_SIGNAL(clicked()), connect(updateCache, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotUpdateCache())); this, TQ_SLOT(slotUpdateCache()));
connect(purgeCache, TQT_SIGNAL(clicked()), connect(purgeCache, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotPurgeCache())); this, TQ_SLOT(slotPurgeCache()));
connect(purgeAllCache, TQT_SIGNAL(clicked()), connect(purgeAllCache, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotPurgeAllCache())); this, TQ_SLOT(slotPurgeAllCache()));
slotfindMethodChanged(m_findMethod->currentItem()); slotfindMethodChanged(m_findMethod->currentItem());
} }

@ -140,14 +140,14 @@ bool FindDuplicateImages::execDialog()
readSettings(); readSettings();
connect( m_findDuplicateDialog, TQT_SIGNAL(updateCache(TQStringList)), connect( m_findDuplicateDialog, TQ_SIGNAL(updateCache(TQStringList)),
this, TQT_SLOT(slotUpdateCache(TQStringList)) ); this, TQ_SLOT(slotUpdateCache(TQStringList)) );
connect( m_findDuplicateDialog, TQT_SIGNAL(clearCache(TQStringList)), connect( m_findDuplicateDialog, TQ_SIGNAL(clearCache(TQStringList)),
this, TQT_SLOT(slotClearCache(TQStringList)) ); this, TQ_SLOT(slotClearCache(TQStringList)) );
connect( m_findDuplicateDialog, TQT_SIGNAL(clearAllCache()), connect( m_findDuplicateDialog, TQ_SIGNAL(clearAllCache()),
this, TQT_SLOT(slotClearAllCache()) ); this, TQ_SLOT(slotClearAllCache()) );
if ( m_findDuplicateDialog->exec() == TQDialog::Accepted ) if ( m_findDuplicateDialog->exec() == TQDialog::Accepted )
{ {

@ -70,7 +70,7 @@ void Plugin_FindImages::setup( TQWidget* widget )
"finddupplicateimages", "finddupplicateimages",
0, 0,
this, this,
TQT_SLOT(slotFindDuplicateImages()), TQ_SLOT(slotFindDuplicateImages()),
actionCollection(), actionCollection(),
"findduplicateimages"); "findduplicateimages");
@ -103,8 +103,8 @@ void Plugin_FindImages::slotFindDuplicateImages()
{ {
m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Find Duplicate Images")); m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Find Duplicate Images"));
connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), connect(m_progressDlg, TQ_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancel())); this, TQ_SLOT(slotCancel()));
m_progressDlg->show(); m_progressDlg->show();
m_findDuplicateOperation->compareAlbums(); m_findDuplicateOperation->compareAlbums();
} }
@ -282,8 +282,8 @@ void Plugin_FindImages::customEvent(TQCustomEvent *event)
m_progressDlg->setButtonCancelText( i18n("&Close") ); m_progressDlg->setButtonCancelText( i18n("&Close") );
#endif #endif
disconnect(m_progressDlg, TQT_SIGNAL(cancelClicked()), disconnect(m_progressDlg, TQ_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancel())); this, TQ_SLOT(slotCancel()));
m_progressDlg->addedAction(i18n("Displaying results..."), m_progressDlg->addedAction(i18n("Displaying results..."),
KIPI::StartingMessage); KIPI::StartingMessage);

@ -84,8 +84,8 @@ FlickrTalker::FlickrTalker(TQWidget* parent)
m_apikey = "49d585bafa0758cb5c58ab67198bf632"; m_apikey = "49d585bafa0758cb5c58ab67198bf632";
m_secret = "34b39925e6273ffd"; m_secret = "34b39925e6273ffd";
connect(this, TQT_SIGNAL(signalAuthenticate()), connect(this, TQ_SIGNAL(signalAuthenticate()),
this, TQT_SLOT(slotAuthenticate())); this, TQ_SLOT(slotAuthenticate()));
} }
FlickrTalker::~FlickrTalker() FlickrTalker::~FlickrTalker()
@ -134,11 +134,11 @@ void FlickrTalker::getFrob()
job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded"); job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded");
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_GETFROB; m_state = FE_GETFROB;
m_authProgressDlg->setLabelText(i18n("Getting the Frob")); 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"); job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded");
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_CHECKTOKEN; m_state = FE_CHECKTOKEN;
m_authProgressDlg->setLabelText(i18n("Checking if previous token is still valid")); 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); TDEIO::TransferJob* job = TDEIO::http_post(url, tmp, false);
job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded"); job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded");
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_GETTOKEN; m_state = FE_GETTOKEN;
m_job = job; m_job = job;
@ -264,11 +264,11 @@ void FlickrTalker::listPhotoSets()
TDEIO::TransferJob* job = TDEIO::http_post(url, tmp, false); TDEIO::TransferJob* job = TDEIO::http_post(url, tmp, false);
job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded" ); job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded" );
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_LISTPHOTOSETS; m_state = FE_LISTPHOTOSETS;
m_job = job; m_job = job;
@ -302,11 +302,11 @@ void FlickrTalker::getPhotoProperty(const TQString& method, const TQStringList&
TDEIO::TransferJob* job = TDEIO::http_post(url, tmp, false); TDEIO::TransferJob* job = TDEIO::http_post(url, tmp, false);
job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded" ); job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded" );
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_GETPHOTOPROPERTY; m_state = FE_GETPHOTOPROPERTY;
m_job = job; 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); TDEIO::TransferJob* job = TDEIO::http_post(url, form.formData(), false);
job->addMetaData("content-type", form.contentType()); job->addMetaData("content-type", form.contentType());
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_ADDPHOTO; m_state = FE_ADDPHOTO;
m_job = job; m_job = job;

@ -194,11 +194,11 @@ FlickrWidget::FlickrWidget(TQWidget* parent, KIPI::Interface *iface)
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
connect(m_resizeCheckBox, TQT_SIGNAL(clicked()), connect(m_resizeCheckBox, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotResizeChecked())); this, TQ_SLOT(slotResizeChecked()));
connect(m_exportHostTagsCheckBox, TQT_SIGNAL(clicked()), connect(m_exportHostTagsCheckBox, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotExportHostTagsChecked())); this, TQ_SLOT(slotExportHostTagsChecked()));
} }
FlickrWidget::~FlickrWidget() FlickrWidget::~FlickrWidget()

@ -104,8 +104,8 @@ FlickrWindow::FlickrWindow(KIPI::Interface* interface, const TQString &tmpFolder
setMainWidget(m_widget); setMainWidget(m_widget);
m_widget->setMinimumSize(600, 400); m_widget->setMinimumSize(600, 400);
connect(m_imglst, TQT_SIGNAL(signalImageListChanged(bool)), connect(m_imglst, TQ_SIGNAL(signalImageListChanged(bool)),
this, TQT_SLOT(slotImageListChanged(bool))); this, TQ_SLOT(slotImageListChanged(bool)));
//m_startUploadButton->setEnabled(false); //m_startUploadButton->setEnabled(false);
//m_albumView->setRootIsDecorated(true); //m_albumView->setRootIsDecorated(true);
@ -130,33 +130,33 @@ FlickrWindow::FlickrWindow(KIPI::Interface* interface, const TQString &tmpFolder
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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()); actionButton(Help)->setPopup(helpMenu->menu());
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
m_talker = new FlickrTalker(this); m_talker = new FlickrTalker(this);
connect(m_talker, TQT_SIGNAL( signalError( const TQString& ) ), connect(m_talker, TQ_SIGNAL( signalError( const TQString& ) ),
m_talker, TQT_SLOT( slotError( const TQString& ) )); m_talker, TQ_SLOT( slotError( const TQString& ) ));
connect(m_talker, TQT_SIGNAL( signalBusy( bool ) ), connect(m_talker, TQ_SIGNAL( signalBusy( bool ) ),
this, TQT_SLOT( slotBusy( bool ) )); this, TQ_SLOT( slotBusy( bool ) ));
connect(m_talker, TQT_SIGNAL( signalAddPhotoSucceeded() ), connect(m_talker, TQ_SIGNAL( signalAddPhotoSucceeded() ),
this, TQT_SLOT( slotAddPhotoSucceeded() )); this, TQ_SLOT( slotAddPhotoSucceeded() ));
connect(m_talker, TQT_SIGNAL( signalAddPhotoFailed( const TQString& ) ), connect(m_talker, TQ_SIGNAL( signalAddPhotoFailed( const TQString& ) ),
this, TQT_SLOT( slotAddPhotoFailed( const TQString& ) )); this, TQ_SLOT( slotAddPhotoFailed( const TQString& ) ));
connect(m_talker, TQT_SIGNAL( signalListPhotoSetsSucceeded( const TQValueList<FPhotoSet>& ) ), connect(m_talker, TQ_SIGNAL( signalListPhotoSetsSucceeded( const TQValueList<FPhotoSet>& ) ),
this, TQT_SLOT( slotListPhotoSetsResponse( const TQValueList<FPhotoSet>& ) )); this, TQ_SLOT( slotListPhotoSetsResponse( const TQValueList<FPhotoSet>& ) ));
//connect( m_talker, TQT_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ), //connect( m_talker, TQ_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ),
// TQT_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) ); // TQ_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) );
//connect( m_talker, TQT_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ), //connect( m_talker, TQ_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ),
// TQT_SLOT( slotPhotos( 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->setAutoReset(true);
m_progressDlg->setAutoClose(true); m_progressDlg->setAutoClose(true);
connect(m_progressDlg, TQT_SIGNAL( canceled() ), connect(m_progressDlg, TQ_SIGNAL( canceled() ),
this, TQT_SLOT( slotAddPhotoCancel() )); this, TQ_SLOT( slotAddPhotoCancel() ));
connect(m_changeUserButton, TQT_SIGNAL( clicked() ), connect(m_changeUserButton, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( slotUserChangeRequest() )); this, TQ_SLOT( slotUserChangeRequest() ));
connect(m_talker, TQT_SIGNAL( signalTokenObtained(const TQString&) ), connect(m_talker, TQ_SIGNAL( signalTokenObtained(const TQString&) ),
this, TQT_SLOT( slotTokenObtained(const TQString&) )); this, TQ_SLOT( slotTokenObtained(const TQString&) ));
//connect( m_tagView, TQT_SIGNAL( selectionChanged() ), //connect( m_tagView, TQ_SIGNAL( selectionChanged() ),
// TQT_SLOT( slotTagSelected() ) ); // TQ_SLOT( slotTagSelected() ) );
//connect( m_photoView->browserExtension(), TQT_SIGNAL( openURLRequest( const KURL&, const KParts::URLArgs& ) ), //connect( m_photoView->browserExtension(), TQ_SIGNAL( openURLRequest( const KURL&, const KParts::URLArgs& ) ),
// TQT_SLOT( slotOpenPhoto( const KURL& ) ) ); // TQ_SLOT( slotOpenPhoto( const KURL& ) ) );
//connect( m_newAlbumBtn, TQT_SIGNAL( clicked() ), //connect( m_newAlbumBtn, TQ_SIGNAL( clicked() ),
// TQT_SLOT( slotNewAlbum() ) ); // TQ_SLOT( slotNewAlbum() ) );
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
@ -190,8 +190,8 @@ FlickrWindow::FlickrWindow(KIPI::Interface* interface, const TQString &tmpFolder
m_authProgressDlg->setAutoReset(true); m_authProgressDlg->setAutoReset(true);
m_authProgressDlg->setAutoClose(true); m_authProgressDlg->setAutoClose(true);
connect(m_authProgressDlg, TQT_SIGNAL( canceled() ), connect(m_authProgressDlg, TQ_SIGNAL( canceled() ),
this, TQT_SLOT( slotAuthCancel() )); this, TQ_SLOT( slotAuthCancel() ));
m_talker->m_authProgressDlg = m_authProgressDlg; m_talker->m_authProgressDlg = m_authProgressDlg;
m_widget->setEnabled(false); m_widget->setEnabled(false);

@ -192,14 +192,14 @@ ImagesList::ImagesList(TQWidget* parent, KIPI::Interface *iface)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->addButton, TQT_SIGNAL(clicked()), connect(d->addButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotAddItems())); this, TQ_SLOT(slotAddItems()));
connect(d->removeButton, TQT_SIGNAL(clicked()), connect(d->removeButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotRemoveItems())); this, TQ_SLOT(slotRemoveItems()));
connect(d->listView, TQT_SIGNAL(signalDropedItems(const KURL::List&)), connect(d->listView, TQ_SIGNAL(signalDropedItems(const KURL::List&)),
this, TQT_SLOT(slotAddImages(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); TDEIO::PreviewJob *thumbnailJob = TDEIO::filePreview(urls, ICONSIZE);
connect(thumbnailJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), connect(thumbnailJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
this, TQT_SLOT(slotGotThumbnail(const KFileItem*, const TQPixmap&))); this, TQ_SLOT(slotGotThumbnail(const KFileItem*, const TQPixmap&)));
} }
void ImagesList::slotGotThumbnail(const KFileItem *item, const TQPixmap& pix) void ImagesList::slotGotThumbnail(const KFileItem *item, const TQPixmap& pix)

@ -99,11 +99,11 @@ FlickrLogin::FlickrLogin(TQWidget* parent, const TQString& header,
// --------------------------------------------------------------- // ---------------------------------------------------------------
connect(okBtn, TQT_SIGNAL( clicked() ), connect(okBtn, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( accept() )); this, TQ_SLOT( accept() ));
connect(cancelBtn, TQT_SIGNAL( clicked() ), connect(cancelBtn, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( reject() )); this, TQ_SLOT( reject() ));
} }
FlickrLogin::~FlickrLogin() FlickrLogin::~FlickrLogin()

@ -66,7 +66,7 @@ void Plugin_FlickrExport::setup(TQWidget* widget)
"www", "www",
0, 0,
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"flickrexport"); "flickrexport");

@ -86,9 +86,9 @@ GalleryList::GalleryList(TQWidget *pParent, Galleries* pGalleries, bool blnShowO
mpGalleryList = mpGalleries->asTQListView(page); mpGalleryList = mpGalleries->asTQListView(page);
vb->addWidget(mpGalleryList); vb->addWidget(mpGalleryList);
connect(mpGalleryList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(selectionChanged())); connect(mpGalleryList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(selectionChanged()));
connect(mpGalleryList, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), connect(mpGalleryList, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
this, TQT_SLOT(doubleClicked(TQListViewItem*, const TQPoint&, int))); this, TQ_SLOT(doubleClicked(TQListViewItem*, const TQPoint&, int)));
} }
GalleryList::~GalleryList() GalleryList::~GalleryList()

@ -80,10 +80,10 @@ void GalleryTalker::login( const KURL& url, const TQString& name,
TDEIO::TransferJob* job = TDEIO::http_post(m_url, form.formData(), false); TDEIO::TransferJob* job = TDEIO::http_post(m_url, form.formData(), false);
job->addMetaData("content-type", form.contentType() ); job->addMetaData("content-type", form.contentType() );
job->addMetaData("cookies", "manual"); job->addMetaData("cookies", "manual");
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
TQT_SLOT(slotResult(TDEIO::Job *))); TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = GE_LOGIN; m_state = GE_LOGIN;
m_job = job; m_job = job;
@ -107,10 +107,10 @@ void GalleryTalker::listAlbums()
job->addMetaData("content-type", form.contentType() ); job->addMetaData("content-type", form.contentType() );
job->addMetaData("cookies", "manual"); job->addMetaData("cookies", "manual");
job->addMetaData("setcookies", m_cookie); job->addMetaData("setcookies", m_cookie);
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
TQT_SLOT(slotResult(TDEIO::Job *))); TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = GE_LISTALBUMS; m_state = GE_LISTALBUMS;
m_job = job; m_job = job;
@ -137,10 +137,10 @@ void GalleryTalker::listPhotos( const TQString& albumName )
job->addMetaData("content-type", form.contentType() ); job->addMetaData("content-type", form.contentType() );
job->addMetaData("cookies", "manual"); job->addMetaData("cookies", "manual");
job->addMetaData("setcookies", m_cookie); job->addMetaData("setcookies", m_cookie);
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
TQT_SLOT(slotResult(TDEIO::Job *))); TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = GE_LISTPHOTOS; m_state = GE_LISTPHOTOS;
m_job = job; m_job = job;
@ -176,10 +176,10 @@ void GalleryTalker::createAlbum( const TQString& parentAlbumName,
job->addMetaData("content-type", form.contentType() ); job->addMetaData("content-type", form.contentType() );
job->addMetaData("cookies", "manual"); job->addMetaData("cookies", "manual");
job->addMetaData("setcookies", m_cookie); job->addMetaData("setcookies", m_cookie);
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
TQT_SLOT(slotResult(TDEIO::Job *))); TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = GE_CREATEALBUM; m_state = GE_CREATEALBUM;
m_job = job; m_job = job;
@ -251,10 +251,10 @@ bool GalleryTalker::addPhoto( const TQString& albumName,
job->addMetaData("content-type", form.contentType()); job->addMetaData("content-type", form.contentType());
job->addMetaData("cookies", "manual"); job->addMetaData("cookies", "manual");
job->addMetaData("setcookies", m_cookie); job->addMetaData("setcookies", m_cookie);
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
TQT_SLOT(slotResult(TDEIO::Job *))); TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = GE_ADDPHOTO; m_state = GE_ADDPHOTO;
m_job = job; m_job = job;

@ -129,7 +129,7 @@ GalleryWidget::GalleryWidget( TQWidget* parent, const char* name, WFlags fl )
m_resizeCheckBox->setChecked(false); m_resizeCheckBox->setChecked(false);
m_dimensionSpinBox->setEnabled(false); m_dimensionSpinBox->setEnabled(false);
connect(m_resizeCheckBox, TQT_SIGNAL(clicked()), TQT_SLOT(slotResizeChecked())); connect(m_resizeCheckBox, TQ_SIGNAL(clicked()), TQ_SLOT(slotResizeChecked()));
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------

@ -93,7 +93,7 @@ GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galle
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
GalleryWidget* widget = new GalleryWidget(this); GalleryWidget* widget = new GalleryWidget(this);
@ -118,36 +118,36 @@ GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galle
m_progressDlg->setAutoReset( true ); m_progressDlg->setAutoReset( true );
m_progressDlg->setAutoClose( 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(), connect(m_photoView->browserExtension(),
TQT_SIGNAL(openURLRequest(const KURL&, TQ_SIGNAL(openURLRequest(const KURL&,
const KParts::URLArgs&)), const KParts::URLArgs&)),
TQT_SLOT(slotOpenPhoto(const KURL&))); TQ_SLOT(slotOpenPhoto(const KURL&)));
connect(m_newAlbumBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotNewAlbum())); connect(m_newAlbumBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotNewAlbum()));
connect(m_addPhotoBtn, TQT_SIGNAL(clicked()), TQT_SLOT( slotAddPhotos())); connect(m_addPhotoBtn, TQ_SIGNAL(clicked()), TQ_SLOT( slotAddPhotos()));
// read config // read config
TDEConfig config("kipirc"); TDEConfig config("kipirc");
config.setGroup("GallerySync Settings"); config.setGroup("GallerySync Settings");
m_talker = new GalleryTalker( this ); m_talker = new GalleryTalker( this );
connect( m_talker, TQT_SIGNAL( signalError( const TQString& ) ), connect( m_talker, TQ_SIGNAL( signalError( const TQString& ) ),
TQT_SLOT( slotError( const TQString& ) ) ); TQ_SLOT( slotError( const TQString& ) ) );
connect( m_talker, TQT_SIGNAL( signalBusy( bool ) ), connect( m_talker, TQ_SIGNAL( signalBusy( bool ) ),
TQT_SLOT( slotBusy( bool ) ) ); TQ_SLOT( slotBusy( bool ) ) );
connect( m_talker, TQT_SIGNAL( signalLoginFailed( const TQString& ) ), connect( m_talker, TQ_SIGNAL( signalLoginFailed( const TQString& ) ),
TQT_SLOT( slotLoginFailed( const TQString& ) ) ); TQ_SLOT( slotLoginFailed( const TQString& ) ) );
connect( m_talker, TQT_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ), connect( m_talker, TQ_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ),
TQT_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) ); TQ_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) );
connect( m_talker, TQT_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ), connect( m_talker, TQ_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ),
TQT_SLOT( slotPhotos( const TQValueList<GPhoto>& ) ) ); TQ_SLOT( slotPhotos( const TQValueList<GPhoto>& ) ) );
connect( m_talker, TQT_SIGNAL( signalAddPhotoSucceeded() ), connect( m_talker, TQ_SIGNAL( signalAddPhotoSucceeded() ),
TQT_SLOT( slotAddPhotoSucceeded() ) ); TQ_SLOT( slotAddPhotoSucceeded() ) );
connect( m_talker, TQT_SIGNAL( signalAddPhotoFailed( const TQString& ) ), connect( m_talker, TQ_SIGNAL( signalAddPhotoFailed( const TQString& ) ),
TQT_SLOT( slotAddPhotoFailed( const TQString& ) ) ); TQ_SLOT( slotAddPhotoFailed( const TQString& ) ) );
if (config.readBoolEntry("Resize", false)) 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)); m_dimensionSpinBox->setValue(config.readNumEntry("Maximum Width", 1600));
TQTimer::singleShot( 0, this, TQT_SLOT( slotDoLogin() ) ); TQTimer::singleShot( 0, this, TQ_SLOT( slotDoLogin() ) );
} }
GalleryWindow::~GalleryWindow() GalleryWindow::~GalleryWindow()

@ -77,7 +77,7 @@ void Plugin_GalleryExport::setup(TQWidget* widget)
m_action_sync = new TDEAction(i18n("Remote Gallery Sync..."), m_action_sync = new TDEAction(i18n("Remote Gallery Sync..."),
0, 0,
this, this,
TQT_SLOT(slotSync()), TQ_SLOT(slotSync()),
actionCollection(), actionCollection(),
"galleryexport"); "galleryexport");
m_action_sync->setEnabled(true); m_action_sync->setEnabled(true);
@ -86,7 +86,7 @@ void Plugin_GalleryExport::setup(TQWidget* widget)
m_action_configure = new TDEAction(i18n("Remote Galleries..."), m_action_configure = new TDEAction(i18n("Remote Galleries..."),
0, 0,
this, this,
TQT_SLOT(slotConfigure()), TQ_SLOT(slotConfigure()),
actionCollection(), actionCollection(),
"galleryexport"); "galleryexport");
m_action_configure->setEnabled(true); 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..."), m_action_collection_settings = new TDEAction(i18n("Remote Gallery Settings..."),
0, 0,
this, this,
TQT_SLOT(slotCollectionSettings()), TQ_SLOT(slotCollectionSettings()),
actionCollection(), actionCollection(),
"galleryexport"); "galleryexport");
m_action_collection_settings->setEnabled(true); 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..."), m_action_image_setting = new TDEAction(i18n("Remote Gallery Settings..."),
0, 0,
this, this,
TQT_SLOT(slotImageSettings()), TQ_SLOT(slotImageSettings()),
actionCollection(), actionCollection(),
"galleryexport"); "galleryexport");
m_action_image_setting->setEnabled(true); m_action_image_setting->setEnabled(true);

@ -70,8 +70,8 @@ void GPSBabelBinary::checkSystem()
process.clearArguments(); process.clearArguments();
process << path() << "-V"; process << path() << "-V";
connect(&process, TQT_SIGNAL(receivedStdout(TDEProcess *, char*, int)), connect(&process, TQ_SIGNAL(receivedStdout(TDEProcess *, char*, int)),
this, TQT_SLOT(slotReadStdoutFromGPSBabel(TDEProcess*, char*, int))); this, TQ_SLOT(slotReadStdoutFromGPSBabel(TDEProcess*, char*, int)));
d->available = process.start(TDEProcess::Block, TDEProcess::Stdout); d->available = process.start(TDEProcess::Block, TDEProcess::Stdout);
} }

@ -153,39 +153,39 @@ GPSEditDialog::GPSEditDialog(TQWidget* parent, const GPSDataContainer& gpsData,
KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false);
helpMenu->menu()->removeItemAt(0); helpMenu->menu()->removeItemAt(0);
helpMenu->menu()->insertItem(i18n("Plugin Handbook"), 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() ); actionButton(Help)->setPopup( helpMenu->menu() );
// --------------------------------------------------------------- // ---------------------------------------------------------------
connect(altResetButton, TQT_SIGNAL(released()), connect(altResetButton, TQ_SIGNAL(released()),
d->altitudeInput, TQT_SLOT(clear())); d->altitudeInput, TQ_SLOT(clear()));
connect(latResetButton, TQT_SIGNAL(released()), connect(latResetButton, TQ_SIGNAL(released()),
d->latitudeInput, TQT_SLOT(clear())); d->latitudeInput, TQ_SLOT(clear()));
connect(lonResetButton, TQT_SIGNAL(released()), connect(lonResetButton, TQ_SIGNAL(released()),
d->longitudeInput, TQT_SLOT(clear())); d->longitudeInput, TQ_SLOT(clear()));
connect(d->altitudeInput, TQT_SIGNAL(textChanged(const TQString&)), connect(d->altitudeInput, TQ_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotGPSPositionChanged())); this, TQ_SLOT(slotGPSPositionChanged()));
connect(d->latitudeInput, TQT_SIGNAL(textChanged(const TQString&)), connect(d->latitudeInput, TQ_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotGPSPositionChanged())); this, TQ_SLOT(slotGPSPositionChanged()));
connect(d->longitudeInput, TQT_SIGNAL(textChanged(const TQString&)), connect(d->longitudeInput, TQ_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotGPSPositionChanged())); this, TQ_SLOT(slotGPSPositionChanged()));
connect(d->worldMap, TQT_SIGNAL(signalNewGPSLocationFromMap(const TQString&, const TQString&, const TQString&)), connect(d->worldMap, TQ_SIGNAL(signalNewGPSLocationFromMap(const TQString&, const TQString&, const TQString&)),
this, TQT_SLOT(slotNewGPSLocationFromMap(const TQString&, const TQString&, const TQString&))); this, TQ_SLOT(slotNewGPSLocationFromMap(const TQString&, const TQString&, const TQString&)));
connect(d->goButton, TQT_SIGNAL(released()), connect(d->goButton, TQ_SIGNAL(released()),
this, TQT_SLOT(slotGotoLocation())); this, TQ_SLOT(slotGotoLocation()));
// --------------------------------------------------------------- // ---------------------------------------------------------------
readSettings(); readSettings();
TQTimer::singleShot(0, this, TQT_SLOT(slotUpdateWorldMap())); TQTimer::singleShot(0, this, TQ_SLOT(slotUpdateWorldMap()));
} }
GPSEditDialog::~GPSEditDialog() GPSEditDialog::~GPSEditDialog()

@ -257,19 +257,19 @@ GPSSyncDialog::GPSSyncDialog( KIPI::Interface* interface, TQWidget* parent)
KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false);
helpMenu->menu()->removeItemAt(0); helpMenu->menu()->removeItemAt(0);
helpMenu->menu()->insertItem(i18n("Plugin Handbook"), 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() ); actionButton(Help)->setPopup( helpMenu->menu() );
// --------------------------------------------------------------- // ---------------------------------------------------------------
connect(loadGPXButton, TQT_SIGNAL(released()), connect(loadGPXButton, TQ_SIGNAL(released()),
this, TQT_SLOT(slotLoadGPXFile())); this, TQ_SLOT(slotLoadGPXFile()));
connect(d->interpolateBox, TQT_SIGNAL(toggled(bool)), connect(d->interpolateBox, TQ_SIGNAL(toggled(bool)),
d->maxTimeLabel, TQT_SLOT(setEnabled(bool))); d->maxTimeLabel, TQ_SLOT(setEnabled(bool)));
connect(d->interpolateBox, TQT_SIGNAL(toggled(bool)), connect(d->interpolateBox, TQ_SIGNAL(toggled(bool)),
d->maxTimeInput, TQT_SLOT(setEnabled(bool))); d->maxTimeInput, TQ_SLOT(setEnabled(bool)));
readSettings(); readSettings();
} }
@ -292,8 +292,8 @@ void GPSSyncDialog::setImages( const KURL::List& images )
TDEIO::PreviewJob *thumbnailJob = TDEIO::filePreview(images, 64); TDEIO::PreviewJob *thumbnailJob = TDEIO::filePreview(images, 64);
connect(thumbnailJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), connect(thumbnailJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
this, TQT_SLOT(slotGotThumbnail(const KFileItem*, const TQPixmap&))); this, TQ_SLOT(slotGotThumbnail(const KFileItem*, const TQPixmap&)));
} }
void GPSSyncDialog::slotLoadGPXFile() void GPSSyncDialog::slotLoadGPXFile()

@ -270,11 +270,11 @@ KMLExportConfig::KMLExportConfig( TQWidget* parent, const char* name)
KMLExportConfigLayout->addWidget( GPXTracksGroupBox, 2, 0 ); KMLExportConfigLayout->addWidget( GPXTracksGroupBox, 2, 0 );
connect( GoogleMapTargetRadioButton_, TQT_SIGNAL( toggled(bool) ), connect( GoogleMapTargetRadioButton_, TQ_SIGNAL( toggled(bool) ),
this, TQT_SLOT( GoogleMapTargetRadioButton__toggled(bool) ) ); this, TQ_SLOT( GoogleMapTargetRadioButton__toggled(bool) ) );
connect( GPXTracksCheckBox_, TQT_SIGNAL( toggled(bool) ), connect( GPXTracksCheckBox_, TQ_SIGNAL( toggled(bool) ),
this, TQT_SLOT( KMLTracksCheckButton__toggled(bool) ) ); this, TQ_SLOT( KMLTracksCheckButton__toggled(bool) ) );
// -------------------------------------------------------------- // --------------------------------------------------------------
// About data and help button. // About data and help button.
@ -289,7 +289,7 @@ KMLExportConfig::KMLExportConfig( TQWidget* parent, const char* name)
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); actionButton(Help)->setPopup( helpMenu->menu() );
// -------------------------------------------------------------- // --------------------------------------------------------------

@ -79,7 +79,7 @@ void Plugin_GPSSync::setup( TQWidget* widget )
"gpsimagetag", "gpsimagetag",
0, 0,
this, this,
TQT_SLOT(slotGPSSync()), TQ_SLOT(slotGPSSync()),
actionCollection(), actionCollection(),
"gpssync")); "gpssync"));
@ -87,7 +87,7 @@ void Plugin_GPSSync::setup( TQWidget* widget )
0, 0,
0, 0,
this, this,
TQT_SLOT(slotGPSEdit()), TQ_SLOT(slotGPSEdit()),
actionCollection(), actionCollection(),
"gpsedit")); "gpsedit"));
@ -95,7 +95,7 @@ void Plugin_GPSSync::setup( TQWidget* widget )
0, 0,
0, 0,
this, this,
TQT_SLOT(slotGPSRemove()), TQ_SLOT(slotGPSRemove()),
actionCollection(), actionCollection(),
"gpsremove")); "gpsremove"));
@ -106,7 +106,7 @@ void Plugin_GPSSync::setup( TQWidget* widget )
"www", // icon "www", // icon
0, // do never set shortcuts from plugins. 0, // do never set shortcuts from plugins.
this, this,
TQT_SLOT(slotKMLExport()), TQ_SLOT(slotKMLExport()),
actionCollection(), actionCollection(),
"kmlexport"); "kmlexport");
@ -123,8 +123,8 @@ void Plugin_GPSSync::setup( TQWidget* widget )
KIPI::ImageCollection selection = m_interface->currentSelection(); KIPI::ImageCollection selection = m_interface->currentSelection();
m_action_geolocation->setEnabled( selection.isValid() && !selection.images().isEmpty() ); m_action_geolocation->setEnabled( selection.isValid() && !selection.images().isEmpty() );
connect( m_interface, TQT_SIGNAL(selectionChanged(bool)), connect( m_interface, TQ_SIGNAL(selectionChanged(bool)),
m_action_geolocation, TQT_SLOT(setEnabled(bool))); m_action_geolocation, TQ_SLOT(setEnabled(bool)));
} }
bool Plugin_GPSSync::checkBinaries(TQString &gpsBabelVersion) bool Plugin_GPSSync::checkBinaries(TQString &gpsBabelVersion)
@ -315,8 +315,8 @@ void Plugin_GPSSync::slotKMLExport()
{ {
KIPIGPSSyncPlugin::KMLExportConfig *kmlExportConfigGui = new KIPIGPSSyncPlugin::KMLExportConfig( KIPIGPSSyncPlugin::KMLExportConfig *kmlExportConfigGui = new KIPIGPSSyncPlugin::KMLExportConfig(
kapp->activeWindow(), i18n("KMLExport").ascii()); kapp->activeWindow(), i18n("KMLExport").ascii());
connect(kmlExportConfigGui, TQT_SIGNAL(okButtonClicked()), connect(kmlExportConfigGui, TQ_SIGNAL(okButtonClicked()),
this, TQT_SLOT(slotKMLGenerate())); this, TQ_SLOT(slotKMLGenerate()));
kmlExportConfigGui->show(); kmlExportConfigGui->show();
} }
} }

@ -62,7 +62,7 @@ void Plugin_HelloWorld::setup( TQWidget* widget )
"misc", "misc",
0, // do never set shortcuts from plugins. 0, // do never set shortcuts from plugins.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"helloworld"); "helloworld");

@ -64,7 +64,7 @@ Plugin::~Plugin() {
void Plugin::setup( TQWidget* widget ) { void Plugin::setup( TQWidget* widget ) {
KIPI::Plugin::setup( widget ); KIPI::Plugin::setup( widget );
d->mAction = new TDEAction(i18n("HTML Gallery..."), "www", 0, d->mAction = new TDEAction(i18n("HTML Gallery..."), "www", 0,
this, TQT_SLOT(slotActivate()), this, TQ_SLOT(slotActivate()),
actionCollection(), "htmlexport"); actionCollection(), "htmlexport");
addAction(d->mAction); addAction(d->mAction);
} }

@ -183,7 +183,7 @@ Wizard::Wizard(TQWidget* parent, KIPI::Interface* interface, GalleryInfo* info)
// Help button // Help button
KHelpMenu* helpMenu = new KHelpMenu(this, d->mAbout, false); KHelpMenu* helpMenu = new KHelpMenu(this, d->mAbout, false);
helpMenu->menu()->removeItemAt(0); 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() ); helpButton()->setPopup( helpMenu->menu() );
d->mCollectionSelector=new KIPI::ImageCollectionSelector(this, interface); 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->mThemePage=new ThemePage(this);
d->initThemePage(); d->initThemePage();
addPage(d->mThemePage, i18n("Theme")); addPage(d->mThemePage, i18n("Theme"));
connect(d->mThemePage->mThemeList, TQT_SIGNAL(selectionChanged()), connect(d->mThemePage->mThemeList, TQ_SIGNAL(selectionChanged()),
this, TQT_SLOT(slotThemeSelectionChanged()) ); this, TQ_SLOT(slotThemeSelectionChanged()) );
d->mThemeParametersPage = new ThemeParametersPage(this); d->mThemeParametersPage = new ThemeParametersPage(this);
addPage(d->mThemeParametersPage, i18n("Theme Parameters")); 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); d->mOutputPage->kcfg_destURL->setMode(KFile::Directory);
addPage(d->mOutputPage, i18n("Output")); addPage(d->mOutputPage, i18n("Output"));
connect(d->mOutputPage->kcfg_destURL, TQT_SIGNAL(textChanged(const TQString&)), connect(d->mOutputPage->kcfg_destURL, TQ_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(updateFinishButton()) ); this, TQ_SLOT(updateFinishButton()) );
d->mConfigManager=new TDEConfigDialogManager(this, d->mInfo); d->mConfigManager=new TDEConfigDialogManager(this, d->mInfo);
d->mConfigManager->updateWidgets(); d->mConfigManager->updateWidgets();

@ -60,7 +60,7 @@ void Plugin_viewer::setup( TQWidget* widget )
"ViewerWidget", "ViewerWidget",
0, // do never set shortcuts from plugins. 0, // do never set shortcuts from plugins.
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"viewer"); "viewer");
addAction(actionViewer); addAction(actionViewer);

@ -121,7 +121,7 @@ ViewerWidget::ViewerWidget(KIPI::Interface* i) {
showFullScreen(); showFullScreen();
// let the cursor dissapear after 2sec of inactivity // 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); timerMouseMove.start(2000);
setMouseTracking(true); setMouseTracking(true);

@ -177,17 +177,17 @@ UploadDialog::UploadDialog(
/// connect the signals & slots /// connect the signals & slots
connect( m_createAlbumButton, TQT_SIGNAL( clicked() ), TQT_SLOT( createIpodAlbum() ) ); connect( m_createAlbumButton, TQ_SIGNAL( clicked() ), TQ_SLOT( createIpodAlbum() ) );
connect( m_removeAlbumButton, TQT_SIGNAL( clicked() ), TQT_SLOT( deleteIpodAlbum() ) ); connect( m_removeAlbumButton, TQ_SIGNAL( clicked() ), TQ_SLOT( deleteIpodAlbum() ) );
connect( m_renameAlbumButton, TQT_SIGNAL( clicked() ), TQT_SLOT( renameIpodAlbum() ) ); connect( m_renameAlbumButton, TQ_SIGNAL( clicked() ), TQ_SLOT( renameIpodAlbum() ) );
connect( m_uploadList, TQT_SIGNAL( addedDropItems(TQStringList) ), TQT_SLOT( addDropItems(TQStringList) ) ); connect( m_uploadList, TQ_SIGNAL( addedDropItems(TQStringList) ), TQ_SLOT( addDropItems(TQStringList) ) );
connect( m_uploadList, TQT_SIGNAL( currentChanged(TQListViewItem*) ), TQT_SLOT( imageSelected(TQListViewItem*) ) ); connect( m_uploadList, TQ_SIGNAL( currentChanged(TQListViewItem*) ), TQ_SLOT( imageSelected(TQListViewItem*) ) );
connect( m_ipodAlbumList, TQT_SIGNAL( currentChanged(TQListViewItem*) ), TQT_SLOT( ipodItemSelected(TQListViewItem*) ) ); connect( m_ipodAlbumList, TQ_SIGNAL( currentChanged(TQListViewItem*) ), TQ_SLOT( ipodItemSelected(TQListViewItem*) ) );
connect( m_addImagesButton, TQT_SIGNAL( clicked() ), TQT_SLOT( imagesFilesButtonAdd() ) ); connect( m_addImagesButton, TQ_SIGNAL( clicked() ), TQ_SLOT( imagesFilesButtonAdd() ) );
connect( m_remImagesButton, TQT_SIGNAL( clicked() ), TQT_SLOT( imagesFilesButtonRem() ) ); connect( m_remImagesButton, TQ_SIGNAL( clicked() ), TQ_SLOT( imagesFilesButtonRem() ) );
connect( m_transferImagesButton, TQT_SIGNAL( clicked() ), TQT_SLOT( startTransfer() ) ); connect( m_transferImagesButton, TQ_SIGNAL( clicked() ), TQ_SLOT( startTransfer() ) );
} }
void void
@ -383,8 +383,8 @@ UploadDialog::imageSelected( TQListViewItem *item )
TDEIO::PreviewJob* m_thumbJob = TDEIO::filePreview( url, m_imagePreview->height() ); TDEIO::PreviewJob* m_thumbJob = TDEIO::filePreview( url, m_imagePreview->height() );
connect( m_thumbJob, TQT_SIGNAL( gotPreview(const KFileItem*, const TQPixmap&) ), connect( m_thumbJob, TQ_SIGNAL( gotPreview(const KFileItem*, const TQPixmap&) ),
this, TQT_SLOT( gotImagePreview(const KFileItem*, const TQPixmap&) ) ); this, TQ_SLOT( gotImagePreview(const KFileItem*, const TQPixmap&) ) );
} }
void void
@ -764,7 +764,7 @@ void UploadDialog::refreshDevices()
if( !openDevice() ) if( !openDevice() )
{ {
m_ipodHeader->setViewType( IpodHeader::NoIpod ); 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! else //device opened! hooray!
{ {
@ -775,7 +775,7 @@ void UploadDialog::refreshDevices()
{ {
debug() << "the ipod model must be set before photos can be added" << endl; debug() << "the ipod model must be set before photos can be added" << endl;
m_ipodHeader->setViewType( IpodHeader::IncompatibleIpod ); m_ipodHeader->setViewType( IpodHeader::IncompatibleIpod );
connect( m_ipodHeader, TQT_SIGNAL( updateSysInfo() ), TQT_SLOT( updateSysInfo() ) ); connect( m_ipodHeader, TQ_SIGNAL( updateSysInfo() ), TQ_SLOT( updateSysInfo() ) );
return; return;
} }
else else

@ -79,7 +79,7 @@ void IpodHeader::setNoIpod()
m_button->show(); m_button->show();
m_button->disconnect(); m_button->disconnect();
connect( m_button, TQT_SIGNAL( clicked() ), TQT_SIGNAL( refreshDevices() ) ); connect( m_button, TQ_SIGNAL( clicked() ), TQ_SIGNAL( refreshDevices() ) );
} }
void IpodHeader::setIncompatibleIpod() void IpodHeader::setIncompatibleIpod()
@ -97,7 +97,7 @@ void IpodHeader::setIncompatibleIpod()
m_button->hide(); // FIXME its not implemented! m_button->hide(); // FIXME its not implemented!
m_button->disconnect(); m_button->disconnect();
connect( m_button, TQT_SIGNAL( clicked() ), TQT_SIGNAL( updateSysInfo() ) ); connect( m_button, TQ_SIGNAL( clicked() ), TQ_SIGNAL( updateSysInfo() ) );
} }

@ -48,7 +48,7 @@ void Plugin_iPodExport::setup( TQWidget* widget )
// this is our action shown in the menubar/toolbar of the mainwindow // 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, 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 ); addAction( m_actionImageUpload );

@ -235,8 +235,8 @@ bool ImageGrayScale::image2GrayScaleImageMagick(const TQString& src, const TQStr
for (TQValueList<TQCString>::iterator it = args.begin(); it != args.end(); ++it) for (TQValueList<TQCString>::iterator it = args.begin(); it != args.end(); ++it)
tqDebug("%s", (const char*)(*it)); tqDebug("%s", (const char*)(*it));
connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)),
this, TQT_SLOT(slotReadStderr(TDEProcess*, char*, int))); this, TQ_SLOT(slotReadStderr(TDEProcess*, char*, int)));
if (!process.start(TDEProcess::Block, TDEProcess::Stderr)) if (!process.start(TDEProcess::Block, TDEProcess::Stderr))
return false; return false;

@ -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) for (TQValueList<TQCString>::iterator it = args.begin(); it != args.end(); ++it)
tqDebug("%s", (const char*)(*it)); tqDebug("%s", (const char*)(*it));
connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)),
this, TQT_SLOT(slotReadStderr(TDEProcess*, char*, int))); this, TQ_SLOT(slotReadStderr(TDEProcess*, char*, int)));
if (!process.start(TDEProcess::Block, TDEProcess::Stderr)) if (!process.start(TDEProcess::Block, TDEProcess::Stderr))
return false; return false;

@ -213,8 +213,8 @@ bool ImageRotate::rotateImageMagick(const TQString& src, const TQString& dest,
for (TQValueList<TQCString>::iterator it = args.begin(); it != args.end(); ++it) for (TQValueList<TQCString>::iterator it = args.begin(); it != args.end(); ++it)
tqDebug("%s", (const char*)(*it)); tqDebug("%s", (const char*)(*it));
connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)),
this, TQT_SLOT(slotReadStderr(TDEProcess*, char*, int))); this, TQ_SLOT(slotReadStderr(TDEProcess*, char*, int)));
if (!process.start(TDEProcess::Block, TDEProcess::Stderr)) if (!process.start(TDEProcess::Block, TDEProcess::Stderr))
return false; return false;

@ -82,7 +82,7 @@ void Plugin_JPEGLossless::setup( TQWidget* widget )
m_action_AutoExif = new TDEAction(i18n("Auto Rotate/Flip Using Exif Information"), m_action_AutoExif = new TDEAction(i18n("Auto Rotate/Flip Using Exif Information"),
0, 0, 0, 0,
this, this,
TQT_SLOT(slotRotate()), TQ_SLOT(slotRotate()),
actionCollection(), actionCollection(),
"rotate_exif"); "rotate_exif");
@ -95,14 +95,14 @@ void Plugin_JPEGLossless::setup( TQWidget* widget )
"object-rotate-left", "object-rotate-left",
SHIFT+CTRL+Key_Left, SHIFT+CTRL+Key_Left,
this, this,
TQT_SLOT(slotRotate()), TQ_SLOT(slotRotate()),
actionCollection(), actionCollection(),
"object-rotate-left") ); "object-rotate-left") );
m_action_RotateImage->insert( new TDEAction(i18n("Right"), m_action_RotateImage->insert( new TDEAction(i18n("Right"),
"object-rotate-right", "object-rotate-right",
SHIFT+CTRL+Key_Right, SHIFT+CTRL+Key_Right,
this, this,
TQT_SLOT(slotRotate()), TQ_SLOT(slotRotate()),
actionCollection(), actionCollection(),
"object-rotate-right") ); "object-rotate-right") );
@ -115,7 +115,7 @@ void Plugin_JPEGLossless::setup( TQWidget* widget )
0, 0,
CTRL+Key_Asterisk, CTRL+Key_Asterisk,
this, this,
TQT_SLOT(slotFlip()), TQ_SLOT(slotFlip()),
actionCollection(), actionCollection(),
"flip_horizontal") ); "flip_horizontal") );
@ -123,7 +123,7 @@ void Plugin_JPEGLossless::setup( TQWidget* widget )
0, 0,
CTRL+Key_Slash, CTRL+Key_Slash,
this, this,
TQT_SLOT(slotFlip()), TQ_SLOT(slotFlip()),
actionCollection(), actionCollection(),
"flip_vertical") ); "flip_vertical") );
@ -131,7 +131,7 @@ void Plugin_JPEGLossless::setup( TQWidget* widget )
"grayscaleconvert", "grayscaleconvert",
0, 0,
this, this,
TQT_SLOT(slotConvert2GrayScale()), TQ_SLOT(slotConvert2GrayScale()),
actionCollection(), actionCollection(),
"jpeglossless_convert2grayscale"); "jpeglossless_convert2grayscale");
@ -155,17 +155,17 @@ void Plugin_JPEGLossless::setup( TQWidget* widget )
m_thread = new KIPIJPEGLossLessPlugin::ActionThread(interface, this); m_thread = new KIPIJPEGLossLessPlugin::ActionThread(interface, this);
connect( interface, TQT_SIGNAL( selectionChanged( bool ) ), connect( interface, TQ_SIGNAL( selectionChanged( bool ) ),
m_action_AutoExif, TQT_SLOT( setEnabled( bool ) ) ); m_action_AutoExif, TQ_SLOT( setEnabled( bool ) ) );
connect( interface, TQT_SIGNAL( selectionChanged( bool ) ), connect( interface, TQ_SIGNAL( selectionChanged( bool ) ),
m_action_RotateImage, TQT_SLOT( setEnabled( bool ) ) ); m_action_RotateImage, TQ_SLOT( setEnabled( bool ) ) );
connect( interface, TQT_SIGNAL( selectionChanged( bool ) ), connect( interface, TQ_SIGNAL( selectionChanged( bool ) ),
m_action_FlipImage, TQT_SLOT( setEnabled( bool ) ) ); m_action_FlipImage, TQ_SLOT( setEnabled( bool ) ) );
connect( interface, TQT_SIGNAL( selectionChanged( bool ) ), connect( interface, TQ_SIGNAL( selectionChanged( bool ) ),
m_action_Convert2GrayScale, TQT_SLOT( setEnabled( bool ) ) ); m_action_Convert2GrayScale, TQ_SLOT( setEnabled( bool ) ) );
} }
Plugin_JPEGLossless::~Plugin_JPEGLossless() Plugin_JPEGLossless::~Plugin_JPEGLossless()
@ -215,8 +215,8 @@ void Plugin_JPEGLossless::slotFlip()
m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(),
i18n("Flip images %1").arg(title)); i18n("Flip images %1").arg(title));
connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), connect(m_progressDlg, TQ_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancel())); this, TQ_SLOT(slotCancel()));
m_progressDlg->show(); m_progressDlg->show();
@ -271,8 +271,8 @@ void Plugin_JPEGLossless::slotRotate()
m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(),
i18n("Rotate images %1").arg(title)); i18n("Rotate images %1").arg(title));
connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), connect(m_progressDlg, TQ_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancel())); this, TQ_SLOT(slotCancel()));
m_progressDlg->show(); m_progressDlg->show();
@ -304,8 +304,8 @@ void Plugin_JPEGLossless::slotConvert2GrayScale()
m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(),
i18n("Convert images to black & white")); i18n("Convert images to black & white"));
connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), connect(m_progressDlg, TQ_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancel())); this, TQ_SLOT(slotCancel()));
m_progressDlg->show(); m_progressDlg->show();
@ -445,8 +445,8 @@ void Plugin_JPEGLossless::customEvent(TQCustomEvent *event)
m_progressDlg->setButtonCancelText( i18n("&Close") ); m_progressDlg->setButtonCancelText( i18n("&Close") );
#endif #endif
disconnect(m_progressDlg, TQT_SIGNAL(cancelClicked()), disconnect(m_progressDlg, TQ_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancel())); this, TQ_SLOT(slotCancel()));
} }
else else
{ {

@ -151,8 +151,8 @@ bool Utils::updateMetadataImageMagick(const TQString& src, TQString& err)
for (TQValueList<TQCString>::iterator it = args.begin(); it != args.end(); ++it) for (TQValueList<TQCString>::iterator it = args.begin(); it != args.end(); ++it)
tqDebug("%s", (const char*)(*it)); tqDebug("%s", (const char*)(*it));
connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)),
this, TQT_SLOT(slotReadStderr(TDEProcess*, char*, int))); this, TQ_SLOT(slotReadStderr(TDEProcess*, char*, int)));
if (!process.start(TDEProcess::Block, TDEProcess::Stderr)) if (!process.start(TDEProcess::Block, TDEProcess::Stderr))
return false; return false;

@ -47,7 +47,7 @@ CameraFolderView::~CameraFolderView() {
} }
void CameraFolderView::setupConnections() { 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) { void CameraFolderView::addVirtualFolder(const TQString& name) {

@ -73,7 +73,7 @@ CameraSelection::CameraSelection(TQWidget* parent)
helpButton_ = actionButton( Help ); helpButton_ = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); helpButton_->setPopup( helpMenu->menu() );
TQWidget *page = new TQWidget(this); TQWidget *page = new TQWidget(this);
@ -135,12 +135,12 @@ CameraSelection::CameraSelection(TQWidget* parent)
// Connections -------------------------------------------------- // Connections --------------------------------------------------
connect(listView_, TQT_SIGNAL(selectionChanged(TQListViewItem *)), connect(listView_, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
this, TQT_SLOT(slotSelectionChanged(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 -------------------------------------------------- // Initialize --------------------------------------------------

@ -159,7 +159,7 @@ CameraUI::CameraUI() : TQWidget()
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); mhelpButton->setPopup( helpMenu->menu() );
// create Camera Box----------------------------------------------------------------------- // create Camera Box-----------------------------------------------------------------------
@ -243,38 +243,38 @@ void CameraUI::setupAccel() {
mCameraUIAccel = new TDEAccel(this); mCameraUIAccel = new TDEAccel(this);
mCameraUIAccel->insert("Select All", i18n("Select All"), mCameraUIAccel->insert("Select All", i18n("Select All"),
i18n("Select all the images from the camera."), 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"), mCameraUIAccel->insert("Select None", i18n("Select None"),
i18n("Deselect all the images from the camera."), 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"), mCameraUIAccel->insert("Invert Selection", i18n("Invert Selection"),
i18n("Invert the 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"), mCameraUIAccel->insert("Select New", i18n("Select New Items"),
i18n("Select all the that were not previously downloaded."), 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); setCameraConnected(false);
} }
void CameraUI::setupConnections() { void CameraUI::setupConnections() {
connect(this, TQT_SIGNAL(signalStatusMsg(const TQString&)), this, TQT_SLOT(slotSetStatusMsg(const TQString&))); connect(this, TQ_SIGNAL(signalStatusMsg(const TQString&)), this, TQ_SLOT(slotSetStatusMsg(const TQString&)));
connect(this, TQT_SIGNAL(signalProgressVal(int)), this, TQT_SLOT(slotSetProgressVal(int))); connect(this, TQ_SIGNAL(signalProgressVal(int)), this, TQ_SLOT(slotSetProgressVal(int)));
connect(this, TQT_SIGNAL(signalBusy(bool)), this, TQT_SLOT(slotBusy(bool))); connect(this, TQ_SIGNAL(signalBusy(bool)), this, TQ_SLOT(slotBusy(bool)));
connect(efilter_, TQT_SIGNAL(signalStatusMsg(const TQString&)), this, TQT_SIGNAL(signalStatusMsg(const TQString&))); connect(efilter_, TQ_SIGNAL(signalStatusMsg(const TQString&)), this, TQ_SIGNAL(signalStatusMsg(const TQString&)));
connect(efilter_, TQT_SIGNAL(signalProgressVal(int)), this, TQT_SIGNAL(signalProgressVal(int))); connect(efilter_, TQ_SIGNAL(signalProgressVal(int)), this, TQ_SIGNAL(signalProgressVal(int)));
connect(efilter_, TQT_SIGNAL(signalBusy(bool)), this, TQT_SIGNAL(signalBusy(bool))); connect(efilter_, TQ_SIGNAL(signalBusy(bool)), this, TQ_SIGNAL(signalBusy(bool)));
connect(mFolderView, TQT_SIGNAL(signalFolderChanged(CameraFolderItem*)), this, TQT_SLOT(slotFolderSelected(CameraFolderItem*))); connect(mFolderView, TQ_SIGNAL(signalFolderChanged(CameraFolderItem*)), this, TQ_SLOT(slotFolderSelected(CameraFolderItem*)));
connect(mIconView, TQT_SIGNAL(signalDownloadSelectedItems()), this, TQT_SLOT(slotCameraDownloadSelected())); connect(mIconView, TQ_SIGNAL(signalDownloadSelectedItems()), this, TQ_SLOT(slotCameraDownloadSelected()));
connect(mIconView, TQT_SIGNAL(signalDeleteSelectedItems()), this, TQT_SLOT(slotCameraDeleteSelected())); connect(mIconView, TQ_SIGNAL(signalDeleteSelectedItems()), this, TQ_SLOT(slotCameraDeleteSelected()));
connect(mChangeDownloadDirectoryBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotChangeDownloadDirectory())); connect(mChangeDownloadDirectoryBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotChangeDownloadDirectory()));
connect(mCameraList, TQT_SIGNAL(signalCameraListChanged()), this, TQT_SLOT(slotSyncCameraComboBox())); connect(mCameraList, TQ_SIGNAL(signalCameraListChanged()), this, TQ_SLOT(slotSyncCameraComboBox()));
connect(mCameraConnectBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCameraConnectToggle())); connect(mCameraConnectBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCameraConnectToggle()));
connect(mCameraSetupBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotSetupCamera())); connect(mCameraSetupBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotSetupCamera()));
connect(mCameraStopBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCameraCancel())); connect(mCameraStopBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCameraCancel()));
connect(mCameraDownloadBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCameraDownloadSelected())); connect(mCameraDownloadBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCameraDownloadSelected()));
connect(mCameraUploadBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCameraUpload())); connect(mCameraUploadBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCameraUpload()));
connect(mCameraDeleteBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCameraDeleteSelected())); connect(mCameraDeleteBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCameraDeleteSelected()));
connect(mDialogCloseBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(close())); connect(mDialogCloseBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(close()));
} }
void CameraUI::setCameraConnected(bool val) { void CameraUI::setCameraConnected(bool val) {

@ -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, 0);
grid->addItem(new TQSpacerItem(5, 10, TQSizePolicy::Expanding, TQSizePolicy::Minimum), 2, 2); 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 W=500;
int H=400; int H=400;
move(TQApplication::desktop()->width ()/2-(W/2), TQApplication::desktop()->height()/2-(H/2)); move(TQApplication::desktop()->width ()/2-(W/2), TQApplication::desktop()->height()/2-(H/2));

@ -47,12 +47,12 @@ GPController::GPController(TQObject *parent, const CameraType& ctype) : TQObject
parent_ = parent; parent_ = parent;
camera_ = new GPCamera(TQString(ctype.model().latin1()), TQString(ctype.port().latin1())); camera_ = new GPCamera(TQString(ctype.model().latin1()), TQString(ctype.port().latin1()));
close_ = false; close_ = false;
connect(GPMessages::gpMessagesWrapper(), TQT_SIGNAL(statusChanged(const TQString&)), connect(GPMessages::gpMessagesWrapper(), TQ_SIGNAL(statusChanged(const TQString&)),
this, TQT_SLOT(slotStatusMsg(const TQString&)) ); this, TQ_SLOT(slotStatusMsg(const TQString&)) );
connect(GPMessages::gpMessagesWrapper(), TQT_SIGNAL(progressChanged(int)), connect(GPMessages::gpMessagesWrapper(), TQ_SIGNAL(progressChanged(int)),
this, TQT_SLOT(slotProgressVal(int)) ); this, TQ_SLOT(slotProgressVal(int)) );
connect(GPMessages::gpMessagesWrapper(), TQT_SIGNAL(errorMessage(const TQString&)), connect(GPMessages::gpMessagesWrapper(), TQ_SIGNAL(errorMessage(const TQString&)),
this, TQT_SLOT(slotErrorMsg(const TQString&))); this, TQ_SLOT(slotErrorMsg(const TQString&)));
} }
GPController::~GPController() { GPController::~GPController() {

@ -37,8 +37,8 @@ GPFileItemContainer::GPFileItemContainer(TQObject *parent, CameraFolderView *fol
folderView_ = folderView; folderView_ = folderView;
iconView_ = iconView; iconView_ = iconView;
folderDict_.setAutoDelete(true); folderDict_.setAutoDelete(true);
connect(folderView_, TQT_SIGNAL(signalCleared()), this, TQT_SLOT(slotFolderViewCleared())); connect(folderView_, TQ_SIGNAL(signalCleared()), this, TQ_SLOT(slotFolderViewCleared()));
connect(iconView_, TQT_SIGNAL(signalCleared()), this, TQT_SLOT(slotIconViewCleared())); connect(iconView_, TQ_SIGNAL(signalCleared()), this, TQ_SLOT(slotIconViewCleared()));
} }
GPFileItemContainer::~GPFileItemContainer() { GPFileItemContainer::~GPFileItemContainer() {

@ -53,7 +53,7 @@ void Plugin_KameraKlient::setup(TQWidget* widget) {
"camera-unmounted", "camera-unmounted",
TDEShortcut(), TDEShortcut(),
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"kipiplugin_kameraklient"); "kipiplugin_kameraklient");
addAction(mKameraKlientAction); addAction(mKameraKlientAction);

@ -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); TQLabel *descLbl = new TQLabel(i18n("The file '%1' already exists!").arg(fileInfo.absFilePath()), this);
renameEdit = new TQLineEdit(this); renameEdit = new TQLineEdit(this);
renameEdit->setText(fileInfo.fileName()); 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); 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); renameBtn->setEnabled(false);
bbox->addButton(i18n("Skip"), this, TQT_SLOT(slot_skip()), false); bbox->addButton(i18n("Skip"), this, TQ_SLOT(slot_skip()), false);
bbox->addButton(i18n("Skip All"), this, TQT_SLOT(slot_skipAll()), true); bbox->addButton(i18n("Skip All"), this, TQ_SLOT(slot_skipAll()), true);
bbox->addButton(i18n("Overwrite"), this, TQT_SLOT(slot_overwrite()), true); bbox->addButton(i18n("Overwrite"), this, TQ_SLOT(slot_overwrite()), true);
bbox->addButton(i18n("Overwrite All"), this, TQT_SLOT(slot_overwriteAll()), true); bbox->addButton(i18n("Overwrite All"), this, TQ_SLOT(slot_overwriteAll()), true);
TQPushButton *cancelBtn = bbox->addButton(i18n("&Cancel"), this, TQT_SLOT(reject()), true); TQPushButton *cancelBtn = bbox->addButton(i18n("&Cancel"), this, TQ_SLOT(reject()), true);
cancelBtn->setDefault(true); cancelBtn->setDefault(true);
bbox->layout(); bbox->layout();
TQGridLayout *layout = new TQGridLayout(this, 0, 0, 15); TQGridLayout *layout = new TQGridLayout(this, 0, 0, 15);

@ -78,7 +78,7 @@ SetupCamera::SetupCamera(TQWidget* parent, const char* name)
helpButton_ = actionButton( Help ); helpButton_ = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); helpButton_->setPopup( helpMenu->menu() );
setWFlags(TQt::WDestructiveClose); setWFlags(TQt::WDestructiveClose);
@ -118,11 +118,11 @@ SetupCamera::SetupCamera(TQWidget* parent, const char* name)
removeButton_->setEnabled(false); removeButton_->setEnabled(false);
editButton_->setEnabled(false); editButton_->setEnabled(false);
connect(listView_, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged())); connect(listView_, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged()));
connect(addButton_, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAddCamera())); connect(addButton_, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAddCamera()));
connect(removeButton_, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRemoveCamera())); connect(removeButton_, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRemoveCamera()));
connect(editButton_, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditCamera())); connect(editButton_, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditCamera()));
connect(autoDetectButton_, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAutoDetectCamera())); connect(autoDetectButton_, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAutoDetectCamera()));
CameraList* clist = CameraList::instance(); 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(); show();
int W=SetupCamera::width (), H=SetupCamera::height(); int W=SetupCamera::width (), H=SetupCamera::height();
@ -163,8 +163,8 @@ void SetupCamera::slotSelectionChanged() {
void SetupCamera::slotAddCamera() { void SetupCamera::slotAddCamera() {
CameraSelection *select = new CameraSelection; CameraSelection *select = new CameraSelection;
connect(select, TQT_SIGNAL(signalOkClicked(const TQString&, const TQString&)), connect(select, TQ_SIGNAL(signalOkClicked(const TQString&, const TQString&)),
this, TQT_SLOT(slotAddedCamera(const TQString&, const TQString&))); this, TQ_SLOT(slotAddedCamera(const TQString&, const TQString&)));
select->show(); select->show();
} }
@ -183,8 +183,8 @@ void SetupCamera::slotEditCamera() {
} }
CameraSelection *select = new CameraSelection; CameraSelection *select = new CameraSelection;
select->setCamera(item->text(0), item->text(1)); select->setCamera(item->text(0), item->text(1));
connect(select, TQT_SIGNAL(signalOkClicked(const TQString&, const TQString&)), connect(select, TQ_SIGNAL(signalOkClicked(const TQString&, const TQString&)),
this, TQT_SLOT(slotEditedCamera(const TQString&, const TQString&))); this, TQ_SLOT(slotEditedCamera(const TQString&, const TQString&)));
select->show(); select->show();
} }

@ -111,7 +111,7 @@ ThumbView::ThumbView(TQWidget* parent, const char* name, WFlags fl) : TQScrollVi
d->selectedItems.setAutoDelete(false); d->selectedItems.setAutoDelete(false);
d->updateTimer = new TQTimer(this); d->updateTimer = new TQTimer(this);
d->startDragItem = 0; 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() { ThumbView::~ThumbView() {

@ -95,7 +95,7 @@ CommentEditDialog::CommentEditDialog(TQWidget* parent)
KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false);
helpMenu->menu()->removeItemAt(0); helpMenu->menu()->removeItemAt(0);
helpMenu->menu()->insertItem(i18n("Plugin Handbook"), 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() ); actionButton(Help)->setPopup( helpMenu->menu() );
// ------------------------------------------------------------ // ------------------------------------------------------------

@ -93,7 +93,7 @@ CommentRemoveDialog::CommentRemoveDialog(TQWidget* parent)
KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false);
helpMenu->menu()->removeItemAt(0); helpMenu->menu()->removeItemAt(0);
helpMenu->menu()->insertItem(i18n("Plugin Handbook"), 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() ); actionButton(Help)->setPopup( helpMenu->menu() );
// ------------------------------------------------------------ // ------------------------------------------------------------

@ -169,63 +169,63 @@ EXIFAdjust::EXIFAdjust(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->brightnessCheck, TQT_SIGNAL(toggled(bool)), connect(d->brightnessCheck, TQ_SIGNAL(toggled(bool)),
d->brightnessEdit, TQT_SLOT(setEnabled(bool))); d->brightnessEdit, TQ_SLOT(setEnabled(bool)));
connect(d->gainControlCheck, TQT_SIGNAL(toggled(bool)), connect(d->gainControlCheck, TQ_SIGNAL(toggled(bool)),
d->gainControlCB, TQT_SLOT(setEnabled(bool))); d->gainControlCB, TQ_SLOT(setEnabled(bool)));
connect(d->contrastCheck, TQT_SIGNAL(toggled(bool)), connect(d->contrastCheck, TQ_SIGNAL(toggled(bool)),
d->contrastCB, TQT_SLOT(setEnabled(bool))); d->contrastCB, TQ_SLOT(setEnabled(bool)));
connect(d->saturationCheck, TQT_SIGNAL(toggled(bool)), connect(d->saturationCheck, TQ_SIGNAL(toggled(bool)),
d->saturationCB, TQT_SLOT(setEnabled(bool))); d->saturationCB, TQ_SLOT(setEnabled(bool)));
connect(d->sharpnessCheck, TQT_SIGNAL(toggled(bool)), connect(d->sharpnessCheck, TQ_SIGNAL(toggled(bool)),
d->sharpnessCB, TQT_SLOT(setEnabled(bool))); d->sharpnessCB, TQ_SLOT(setEnabled(bool)));
connect(d->customRenderedCheck, TQT_SIGNAL(toggled(bool)), connect(d->customRenderedCheck, TQ_SIGNAL(toggled(bool)),
d->customRenderedCB, TQT_SLOT(setEnabled(bool))); d->customRenderedCB, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->brightnessCheck, TQT_SIGNAL(toggled(bool)), connect(d->brightnessCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->gainControlCheck, TQT_SIGNAL(toggled(bool)), connect(d->gainControlCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->contrastCheck, TQT_SIGNAL(toggled(bool)), connect(d->contrastCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->saturationCheck, TQT_SIGNAL(toggled(bool)), connect(d->saturationCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->sharpnessCheck, TQT_SIGNAL(toggled(bool)), connect(d->sharpnessCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->customRenderedCheck, TQT_SIGNAL(toggled(bool)), connect(d->customRenderedCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->gainControlCB, TQT_SIGNAL(activated(int)), connect(d->gainControlCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->contrastCB, TQT_SIGNAL(activated(int)), connect(d->contrastCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->saturationCB, TQT_SIGNAL(activated(int)), connect(d->saturationCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->sharpnessCB, TQT_SIGNAL(activated(int)), connect(d->sharpnessCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->customRenderedCB, TQT_SIGNAL(activated(int)), connect(d->customRenderedCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->brightnessEdit, TQT_SIGNAL(valueChanged(double)), connect(d->brightnessEdit, TQ_SIGNAL(valueChanged(double)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
EXIFAdjust::~EXIFAdjust() EXIFAdjust::~EXIFAdjust()

@ -175,63 +175,63 @@ EXIFCaption::EXIFCaption(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->documentNameCheck, TQT_SIGNAL(toggled(bool)), connect(d->documentNameCheck, TQ_SIGNAL(toggled(bool)),
d->documentNameEdit, TQT_SLOT(setEnabled(bool))); d->documentNameEdit, TQ_SLOT(setEnabled(bool)));
connect(d->imageDescCheck, TQT_SIGNAL(toggled(bool)), connect(d->imageDescCheck, TQ_SIGNAL(toggled(bool)),
d->imageDescEdit, TQT_SLOT(setEnabled(bool))); d->imageDescEdit, TQ_SLOT(setEnabled(bool)));
connect(d->artistCheck, TQT_SIGNAL(toggled(bool)), connect(d->artistCheck, TQ_SIGNAL(toggled(bool)),
d->artistEdit, TQT_SLOT(setEnabled(bool))); d->artistEdit, TQ_SLOT(setEnabled(bool)));
connect(d->copyrightCheck, TQT_SIGNAL(toggled(bool)), connect(d->copyrightCheck, TQ_SIGNAL(toggled(bool)),
d->copyrightEdit, TQT_SLOT(setEnabled(bool))); d->copyrightEdit, TQ_SLOT(setEnabled(bool)));
connect(d->userCommentCheck, TQT_SIGNAL(toggled(bool)), connect(d->userCommentCheck, TQ_SIGNAL(toggled(bool)),
d->userCommentEdit, TQT_SLOT(setEnabled(bool))); d->userCommentEdit, TQ_SLOT(setEnabled(bool)));
connect(d->userCommentCheck, TQT_SIGNAL(toggled(bool)), connect(d->userCommentCheck, TQ_SIGNAL(toggled(bool)),
d->syncJFIFCommentCheck, TQT_SLOT(setEnabled(bool))); d->syncJFIFCommentCheck, TQ_SLOT(setEnabled(bool)));
connect(d->userCommentCheck, TQT_SIGNAL(toggled(bool)), connect(d->userCommentCheck, TQ_SIGNAL(toggled(bool)),
d->syncHOSTCommentCheck, TQT_SLOT(setEnabled(bool))); d->syncHOSTCommentCheck, TQ_SLOT(setEnabled(bool)));
connect(d->userCommentCheck, TQT_SIGNAL(toggled(bool)), connect(d->userCommentCheck, TQ_SIGNAL(toggled(bool)),
d->syncIPTCCaptionCheck, TQT_SLOT(setEnabled(bool))); d->syncIPTCCaptionCheck, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->documentNameCheck, TQT_SIGNAL(toggled(bool)), connect(d->documentNameCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->imageDescCheck, TQT_SIGNAL(toggled(bool)), connect(d->imageDescCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->artistCheck, TQT_SIGNAL(toggled(bool)), connect(d->artistCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->copyrightCheck, TQT_SIGNAL(toggled(bool)), connect(d->copyrightCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->userCommentCheck, TQT_SIGNAL(toggled(bool)), connect(d->userCommentCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->userCommentEdit, TQT_SIGNAL(textChanged()), connect(d->userCommentEdit, TQ_SIGNAL(textChanged()),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->documentNameEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->documentNameEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->imageDescEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->imageDescEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->artistEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->artistEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->copyrightEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->copyrightEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
EXIFCaption::~EXIFCaption() EXIFCaption::~EXIFCaption()

@ -165,69 +165,69 @@ EXIFDateTime::EXIFDateTime(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)),
d->dateCreatedSel, TQT_SLOT(setEnabled(bool))); d->dateCreatedSel, TQ_SLOT(setEnabled(bool)));
connect(d->dateOriginalCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateOriginalCheck, TQ_SIGNAL(toggled(bool)),
d->dateOriginalSel, TQT_SLOT(setEnabled(bool))); d->dateOriginalSel, TQ_SLOT(setEnabled(bool)));
connect(d->dateDigitalizedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateDigitalizedCheck, TQ_SIGNAL(toggled(bool)),
d->dateDigitalizedSel, TQT_SLOT(setEnabled(bool))); d->dateDigitalizedSel, TQ_SLOT(setEnabled(bool)));
connect(d->dateCreatedSubSecCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateCreatedSubSecCheck, TQ_SIGNAL(toggled(bool)),
d->dateCreatedSubSecEdit, TQT_SLOT(setEnabled(bool))); d->dateCreatedSubSecEdit, TQ_SLOT(setEnabled(bool)));
connect(d->dateOriginalSubSecCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateOriginalSubSecCheck, TQ_SIGNAL(toggled(bool)),
d->dateOriginalSubSecEdit, TQT_SLOT(setEnabled(bool))); d->dateOriginalSubSecEdit, TQ_SLOT(setEnabled(bool)));
connect(d->dateDigitalizedSubSecCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateDigitalizedSubSecCheck, TQ_SIGNAL(toggled(bool)),
d->dateDigitalizedSubSecEdit, TQT_SLOT(setEnabled(bool))); d->dateDigitalizedSubSecEdit, TQ_SLOT(setEnabled(bool)));
connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)),
d->syncHOSTDateCheck, TQT_SLOT(setEnabled(bool))); d->syncHOSTDateCheck, TQ_SLOT(setEnabled(bool)));
connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)),
d->syncIPTCDateCheck, TQT_SLOT(setEnabled(bool))); d->syncIPTCDateCheck, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateOriginalCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateOriginalCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateDigitalizedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateDigitalizedCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateCreatedSubSecCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateCreatedSubSecCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateOriginalSubSecCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateOriginalSubSecCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateDigitalizedSubSecCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateDigitalizedSubSecCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->dateCreatedSubSecEdit, TQT_SIGNAL(valueChanged(int)), connect(d->dateCreatedSubSecEdit, TQ_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateOriginalSubSecEdit, TQT_SIGNAL(valueChanged(int)), connect(d->dateOriginalSubSecEdit, TQ_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateDigitalizedSubSecEdit, TQT_SIGNAL(valueChanged(int)), connect(d->dateDigitalizedSubSecEdit, TQ_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateCreatedSel, TQT_SIGNAL(valueChanged (const TQDateTime &)), connect(d->dateCreatedSel, TQ_SIGNAL(valueChanged (const TQDateTime &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateOriginalSel, TQT_SIGNAL(valueChanged (const TQDateTime &)), connect(d->dateOriginalSel, TQ_SIGNAL(valueChanged (const TQDateTime &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateDigitalizedSel, TQT_SIGNAL(valueChanged (const TQDateTime &)), connect(d->dateDigitalizedSel, TQ_SIGNAL(valueChanged (const TQDateTime &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
EXIFDateTime::~EXIFDateTime() EXIFDateTime::~EXIFDateTime()

@ -348,123 +348,123 @@ EXIFDevice::EXIFDevice(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->makeCheck, TQT_SIGNAL(toggled(bool)), connect(d->makeCheck, TQ_SIGNAL(toggled(bool)),
d->makeEdit, TQT_SLOT(setEnabled(bool))); d->makeEdit, TQ_SLOT(setEnabled(bool)));
connect(d->modelCheck, TQT_SIGNAL(toggled(bool)), connect(d->modelCheck, TQ_SIGNAL(toggled(bool)),
d->modelEdit, TQT_SLOT(setEnabled(bool))); d->modelEdit, TQ_SLOT(setEnabled(bool)));
connect(d->deviceTypeCheck, TQT_SIGNAL(toggled(bool)), connect(d->deviceTypeCheck, TQ_SIGNAL(toggled(bool)),
d->deviceTypeCB, TQT_SLOT(setEnabled(bool))); d->deviceTypeCB, TQ_SLOT(setEnabled(bool)));
connect(d->exposureTimeCheck, TQT_SIGNAL(toggled(bool)), connect(d->exposureTimeCheck, TQ_SIGNAL(toggled(bool)),
d->exposureTimeNumEdit, TQT_SLOT(setEnabled(bool))); d->exposureTimeNumEdit, TQ_SLOT(setEnabled(bool)));
connect(d->exposureTimeCheck, TQT_SIGNAL(toggled(bool)), connect(d->exposureTimeCheck, TQ_SIGNAL(toggled(bool)),
d->exposureTimeDenEdit, TQT_SLOT(setEnabled(bool))); d->exposureTimeDenEdit, TQ_SLOT(setEnabled(bool)));
connect(d->exposureProgramCheck, TQT_SIGNAL(toggled(bool)), connect(d->exposureProgramCheck, TQ_SIGNAL(toggled(bool)),
d->exposureProgramCB, TQT_SLOT(setEnabled(bool))); d->exposureProgramCB, TQ_SLOT(setEnabled(bool)));
connect(d->exposureModeCheck, TQT_SIGNAL(toggled(bool)), connect(d->exposureModeCheck, TQ_SIGNAL(toggled(bool)),
d->exposureModeCB, TQT_SLOT(setEnabled(bool))); d->exposureModeCB, TQ_SLOT(setEnabled(bool)));
connect(d->exposureBiasCheck, TQT_SIGNAL(toggled(bool)), connect(d->exposureBiasCheck, TQ_SIGNAL(toggled(bool)),
d->exposureBiasEdit, TQT_SLOT(setEnabled(bool))); d->exposureBiasEdit, TQ_SLOT(setEnabled(bool)));
connect(d->meteringModeCheck, TQT_SIGNAL(toggled(bool)), connect(d->meteringModeCheck, TQ_SIGNAL(toggled(bool)),
d->meteringModeCB, TQT_SLOT(setEnabled(bool))); d->meteringModeCB, TQ_SLOT(setEnabled(bool)));
connect(d->ISOSpeedCheck, TQT_SIGNAL(toggled(bool)), connect(d->ISOSpeedCheck, TQ_SIGNAL(toggled(bool)),
d->ISOSpeedCB, TQT_SLOT(setEnabled(bool))); d->ISOSpeedCB, TQ_SLOT(setEnabled(bool)));
connect(d->sensingMethodCheck, TQT_SIGNAL(toggled(bool)), connect(d->sensingMethodCheck, TQ_SIGNAL(toggled(bool)),
d->sensingMethodCB, TQT_SLOT(setEnabled(bool))); d->sensingMethodCB, TQ_SLOT(setEnabled(bool)));
connect(d->sceneTypeCheck, TQT_SIGNAL(toggled(bool)), connect(d->sceneTypeCheck, TQ_SIGNAL(toggled(bool)),
d->sceneTypeCB, TQT_SLOT(setEnabled(bool))); d->sceneTypeCB, TQ_SLOT(setEnabled(bool)));
connect(d->subjectDistanceTypeCheck, TQT_SIGNAL(toggled(bool)), connect(d->subjectDistanceTypeCheck, TQ_SIGNAL(toggled(bool)),
d->subjectDistanceTypeCB, TQT_SLOT(setEnabled(bool))); d->subjectDistanceTypeCB, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->makeCheck, TQT_SIGNAL(toggled(bool)), connect(d->makeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->modelCheck, TQT_SIGNAL(toggled(bool)), connect(d->modelCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->exposureTimeCheck, TQT_SIGNAL(toggled(bool)), connect(d->exposureTimeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->exposureBiasCheck, TQT_SIGNAL(toggled(bool)), connect(d->exposureBiasCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->deviceTypeCheck, TQT_SIGNAL(toggled(bool)), connect(d->deviceTypeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->exposureProgramCheck, TQT_SIGNAL(toggled(bool)), connect(d->exposureProgramCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->exposureModeCheck, TQT_SIGNAL(toggled(bool)), connect(d->exposureModeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->meteringModeCheck, TQT_SIGNAL(toggled(bool)), connect(d->meteringModeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->ISOSpeedCheck, TQT_SIGNAL(toggled(bool)), connect(d->ISOSpeedCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->sensingMethodCheck, TQT_SIGNAL(toggled(bool)), connect(d->sensingMethodCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->sceneTypeCheck, TQT_SIGNAL(toggled(bool)), connect(d->sceneTypeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->subjectDistanceTypeCheck, TQT_SIGNAL(toggled(bool)), connect(d->subjectDistanceTypeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->deviceTypeCB, TQT_SIGNAL(activated(int)), connect(d->deviceTypeCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->exposureProgramCB, TQT_SIGNAL(activated(int)), connect(d->exposureProgramCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->exposureModeCB, TQT_SIGNAL(activated(int)), connect(d->exposureModeCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->ISOSpeedCB, TQT_SIGNAL(activated(int)), connect(d->ISOSpeedCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->meteringModeCB, TQT_SIGNAL(activated(int)), connect(d->meteringModeCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->sensingMethodCB, TQT_SIGNAL(activated(int)), connect(d->sensingMethodCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->sceneTypeCB, TQT_SIGNAL(activated(int)), connect(d->sceneTypeCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->subjectDistanceTypeCB, TQT_SIGNAL(activated(int)), connect(d->subjectDistanceTypeCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->makeEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->makeEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->modelEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->modelEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->exposureTimeNumEdit, TQT_SIGNAL(valueChanged(int)), connect(d->exposureTimeNumEdit, TQ_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->exposureTimeDenEdit, TQT_SIGNAL(valueChanged(int)), connect(d->exposureTimeDenEdit, TQ_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->exposureBiasEdit, TQT_SIGNAL(valueChanged(double)), connect(d->exposureBiasEdit, TQ_SIGNAL(valueChanged(double)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
EXIFDevice::~EXIFDevice() EXIFDevice::~EXIFDevice()

@ -174,28 +174,28 @@ EXIFEditDialog::EXIFEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interfac
KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false);
helpMenu->menu()->removeItemAt(0); helpMenu->menu()->removeItemAt(0);
helpMenu->menu()->insertItem(i18n("Plugin Handbook"), 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() ); actionButton(Help)->setPopup( helpMenu->menu() );
// ------------------------------------------------------------ // ------------------------------------------------------------
connect(d->captionPage, TQT_SIGNAL(signalModified()), connect(d->captionPage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->datetimePage, TQT_SIGNAL(signalModified()), connect(d->datetimePage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->lensPage, TQT_SIGNAL(signalModified()), connect(d->lensPage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->devicePage, TQT_SIGNAL(signalModified()), connect(d->devicePage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->lightPage, TQT_SIGNAL(signalModified()), connect(d->lightPage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->adjustPage, TQT_SIGNAL(signalModified()), connect(d->adjustPage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
// ------------------------------------------------------------ // ------------------------------------------------------------

@ -205,54 +205,54 @@ EXIFLens::EXIFLens(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->focalLengthCheck, TQT_SIGNAL(toggled(bool)), connect(d->focalLengthCheck, TQ_SIGNAL(toggled(bool)),
d->focalLengthEdit, TQT_SLOT(setEnabled(bool))); d->focalLengthEdit, TQ_SLOT(setEnabled(bool)));
connect(d->focalLength35mmCheck, TQT_SIGNAL(toggled(bool)), connect(d->focalLength35mmCheck, TQ_SIGNAL(toggled(bool)),
d->focalLength35mmEdit, TQT_SLOT(setEnabled(bool))); d->focalLength35mmEdit, TQ_SLOT(setEnabled(bool)));
connect(d->digitalZoomRatioCheck, TQT_SIGNAL(toggled(bool)), connect(d->digitalZoomRatioCheck, TQ_SIGNAL(toggled(bool)),
d->digitalZoomRatioEdit, TQT_SLOT(setEnabled(bool))); d->digitalZoomRatioEdit, TQ_SLOT(setEnabled(bool)));
connect(d->apertureCheck, TQT_SIGNAL(toggled(bool)), connect(d->apertureCheck, TQ_SIGNAL(toggled(bool)),
d->apertureCB, TQT_SLOT(setEnabled(bool))); d->apertureCB, TQ_SLOT(setEnabled(bool)));
connect(d->maxApertureCheck, TQT_SIGNAL(toggled(bool)), connect(d->maxApertureCheck, TQ_SIGNAL(toggled(bool)),
d->maxApertureCB, TQT_SLOT(setEnabled(bool))); d->maxApertureCB, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->focalLength35mmCheck, TQT_SIGNAL(toggled(bool)), connect(d->focalLength35mmCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->focalLengthCheck, TQT_SIGNAL(toggled(bool)), connect(d->focalLengthCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->digitalZoomRatioCheck, TQT_SIGNAL(toggled(bool)), connect(d->digitalZoomRatioCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->apertureCheck, TQT_SIGNAL(toggled(bool)), connect(d->apertureCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->maxApertureCheck, TQT_SIGNAL(toggled(bool)), connect(d->maxApertureCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->apertureCB, TQT_SIGNAL(activated(int)), connect(d->apertureCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->maxApertureCB, TQT_SIGNAL(activated(int)), connect(d->maxApertureCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->focalLength35mmEdit, TQT_SIGNAL(valueChanged(int)), connect(d->focalLength35mmEdit, TQ_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->focalLengthEdit, TQT_SIGNAL(valueChanged(double)), connect(d->focalLengthEdit, TQ_SIGNAL(valueChanged(double)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->digitalZoomRatioEdit, TQT_SIGNAL(valueChanged(double)), connect(d->digitalZoomRatioEdit, TQ_SIGNAL(valueChanged(double)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
EXIFLens::~EXIFLens() EXIFLens::~EXIFLens()

@ -203,45 +203,45 @@ EXIFLight::EXIFLight(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->lightSourceCheck, TQT_SIGNAL(toggled(bool)), connect(d->lightSourceCheck, TQ_SIGNAL(toggled(bool)),
d->lightSourceCB, TQT_SLOT(setEnabled(bool))); d->lightSourceCB, TQ_SLOT(setEnabled(bool)));
connect(d->flashModeCheck, TQT_SIGNAL(toggled(bool)), connect(d->flashModeCheck, TQ_SIGNAL(toggled(bool)),
d->flashModeCB, TQT_SLOT(setEnabled(bool))); d->flashModeCB, TQ_SLOT(setEnabled(bool)));
connect(d->flashEnergyCheck, TQT_SIGNAL(toggled(bool)), connect(d->flashEnergyCheck, TQ_SIGNAL(toggled(bool)),
d->flashEnergyEdit, TQT_SLOT(setEnabled(bool))); d->flashEnergyEdit, TQ_SLOT(setEnabled(bool)));
connect(d->whiteBalanceCheck, TQT_SIGNAL(toggled(bool)), connect(d->whiteBalanceCheck, TQ_SIGNAL(toggled(bool)),
d->whiteBalanceCB, TQT_SLOT(setEnabled(bool))); d->whiteBalanceCB, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->flashEnergyCheck, TQT_SIGNAL(toggled(bool)), connect(d->flashEnergyCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->lightSourceCheck, TQT_SIGNAL(toggled(bool)), connect(d->lightSourceCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->flashModeCheck, TQT_SIGNAL(toggled(bool)), connect(d->flashModeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->whiteBalanceCheck, TQT_SIGNAL(toggled(bool)), connect(d->whiteBalanceCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->lightSourceCB, TQT_SIGNAL(activated(int)), connect(d->lightSourceCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->flashModeCB, TQT_SIGNAL(activated(int)), connect(d->flashModeCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->whiteBalanceCB, TQT_SIGNAL(activated(int)), connect(d->whiteBalanceCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->flashEnergyEdit, TQT_SIGNAL(valueChanged(double)), connect(d->flashEnergyEdit, TQ_SIGNAL(valueChanged(double)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
EXIFLight::~EXIFLight() EXIFLight::~EXIFLight()

@ -165,54 +165,54 @@ IPTCCaption::IPTCCaption(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->captionCheck, TQT_SIGNAL(toggled(bool)), connect(d->captionCheck, TQ_SIGNAL(toggled(bool)),
d->captionEdit, TQT_SLOT(setEnabled(bool))); d->captionEdit, TQ_SLOT(setEnabled(bool)));
connect(d->captionCheck, TQT_SIGNAL(toggled(bool)), connect(d->captionCheck, TQ_SIGNAL(toggled(bool)),
d->syncJFIFCommentCheck, TQT_SLOT(setEnabled(bool))); d->syncJFIFCommentCheck, TQ_SLOT(setEnabled(bool)));
connect(d->captionCheck, TQT_SIGNAL(toggled(bool)), connect(d->captionCheck, TQ_SIGNAL(toggled(bool)),
d->syncHOSTCommentCheck, TQT_SLOT(setEnabled(bool))); d->syncHOSTCommentCheck, TQ_SLOT(setEnabled(bool)));
connect(d->captionCheck, TQT_SIGNAL(toggled(bool)), connect(d->captionCheck, TQ_SIGNAL(toggled(bool)),
d->syncEXIFCommentCheck, TQT_SLOT(setEnabled(bool))); d->syncEXIFCommentCheck, TQ_SLOT(setEnabled(bool)));
connect(d->writerCheck, TQT_SIGNAL(toggled(bool)), connect(d->writerCheck, TQ_SIGNAL(toggled(bool)),
d->writerEdit, TQT_SLOT(setEnabled(bool))); d->writerEdit, TQ_SLOT(setEnabled(bool)));
connect(d->headlineCheck, TQT_SIGNAL(toggled(bool)), connect(d->headlineCheck, TQ_SIGNAL(toggled(bool)),
d->headlineEdit, TQT_SLOT(setEnabled(bool))); d->headlineEdit, TQ_SLOT(setEnabled(bool)));
connect(d->specialInstructionCheck, TQT_SIGNAL(toggled(bool)), connect(d->specialInstructionCheck, TQ_SIGNAL(toggled(bool)),
d->specialInstructionEdit, TQT_SLOT(setEnabled(bool))); d->specialInstructionEdit, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->captionCheck, TQT_SIGNAL(toggled(bool)), connect(d->captionCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->writerCheck, TQT_SIGNAL(toggled(bool)), connect(d->writerCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->headlineCheck, TQT_SIGNAL(toggled(bool)), connect(d->headlineCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->specialInstructionCheck, TQT_SIGNAL(toggled(bool)), connect(d->specialInstructionCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->captionEdit, TQT_SIGNAL(textChanged()), connect(d->captionEdit, TQ_SIGNAL(textChanged()),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->specialInstructionEdit, TQT_SIGNAL(textChanged()), connect(d->specialInstructionEdit, TQ_SIGNAL(textChanged()),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->writerEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->writerEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->headlineEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->headlineEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
IPTCCaption::~IPTCCaption() IPTCCaption::~IPTCCaption()

@ -140,68 +140,68 @@ IPTCCategories::IPTCCategories(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)),
d->categoryEdit, TQT_SLOT(setEnabled(bool))); d->categoryEdit, TQ_SLOT(setEnabled(bool)));
connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)),
d->subCategoriesBox, TQT_SLOT(setEnabled(bool))); d->subCategoriesBox, TQ_SLOT(setEnabled(bool)));
connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)),
d->subCategoriesCheck, TQT_SLOT(setEnabled(bool))); d->subCategoriesCheck, TQ_SLOT(setEnabled(bool)));
connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)),
d->subCategoryEdit, TQT_SLOT(setEnabled(bool))); d->subCategoryEdit, TQ_SLOT(setEnabled(bool)));
connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)),
d->subCategoriesBox, TQT_SLOT(setEnabled(bool))); d->subCategoriesBox, TQ_SLOT(setEnabled(bool)));
connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)),
d->addSubCategoryButton, TQT_SLOT(setEnabled(bool))); d->addSubCategoryButton, TQ_SLOT(setEnabled(bool)));
connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)),
d->delSubCategoryButton, TQT_SLOT(setEnabled(bool))); d->delSubCategoryButton, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->subCategoriesCheck, TQT_SIGNAL(toggled(bool)), connect(d->subCategoriesCheck, TQ_SIGNAL(toggled(bool)),
d->subCategoryEdit, TQT_SLOT(setEnabled(bool))); d->subCategoryEdit, TQ_SLOT(setEnabled(bool)));
connect(d->subCategoriesCheck, TQT_SIGNAL(toggled(bool)), connect(d->subCategoriesCheck, TQ_SIGNAL(toggled(bool)),
d->subCategoriesBox, TQT_SLOT(setEnabled(bool))); d->subCategoriesBox, TQ_SLOT(setEnabled(bool)));
connect(d->subCategoriesCheck, TQT_SIGNAL(toggled(bool)), connect(d->subCategoriesCheck, TQ_SIGNAL(toggled(bool)),
d->addSubCategoryButton, TQT_SLOT(setEnabled(bool))); d->addSubCategoryButton, TQ_SLOT(setEnabled(bool)));
connect(d->subCategoriesCheck, TQT_SIGNAL(toggled(bool)), connect(d->subCategoriesCheck, TQ_SIGNAL(toggled(bool)),
d->delSubCategoryButton, TQT_SLOT(setEnabled(bool))); d->delSubCategoryButton, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->subCategoriesBox, TQT_SIGNAL(selectionChanged()), connect(d->subCategoriesBox, TQ_SIGNAL(selectionChanged()),
this, TQT_SLOT(slotCategorySelectionChanged())); this, TQ_SLOT(slotCategorySelectionChanged()));
connect(d->addSubCategoryButton, TQT_SIGNAL(clicked()), connect(d->addSubCategoryButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotAddCategory())); this, TQ_SLOT(slotAddCategory()));
connect(d->delSubCategoryButton, TQT_SIGNAL(clicked()), connect(d->delSubCategoryButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotDelCategory())); this, TQ_SLOT(slotDelCategory()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->categoryCheck, TQT_SIGNAL(toggled(bool)), connect(d->categoryCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->subCategoriesCheck, TQT_SIGNAL(toggled(bool)), connect(d->subCategoriesCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->addSubCategoryButton, TQT_SIGNAL(clicked()), connect(d->addSubCategoryButton, TQ_SIGNAL(clicked()),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->delSubCategoryButton, TQT_SIGNAL(clicked()), connect(d->delSubCategoryButton, TQ_SIGNAL(clicked()),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->categoryEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->categoryEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
IPTCCategories::~IPTCCategories() IPTCCategories::~IPTCCategories()

@ -174,63 +174,63 @@ IPTCCredits::IPTCCredits(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->copyrightCheck, TQT_SIGNAL(toggled(bool)), connect(d->copyrightCheck, TQ_SIGNAL(toggled(bool)),
d->copyrightEdit, TQT_SLOT(setEnabled(bool))); d->copyrightEdit, TQ_SLOT(setEnabled(bool)));
connect(d->bylineCheck, TQT_SIGNAL(toggled(bool)), connect(d->bylineCheck, TQ_SIGNAL(toggled(bool)),
d->bylineEdit, TQT_SLOT(setEnabled(bool))); d->bylineEdit, TQ_SLOT(setEnabled(bool)));
connect(d->bylineTitleCheck, TQT_SIGNAL(toggled(bool)), connect(d->bylineTitleCheck, TQ_SIGNAL(toggled(bool)),
d->bylineTitleEdit, TQT_SLOT(setEnabled(bool))); d->bylineTitleEdit, TQ_SLOT(setEnabled(bool)));
connect(d->creditCheck, TQT_SIGNAL(toggled(bool)), connect(d->creditCheck, TQ_SIGNAL(toggled(bool)),
d->creditEdit, TQT_SLOT(setEnabled(bool))); d->creditEdit, TQ_SLOT(setEnabled(bool)));
connect(d->sourceCheck, TQT_SIGNAL(toggled(bool)), connect(d->sourceCheck, TQ_SIGNAL(toggled(bool)),
d->sourceEdit, TQT_SLOT(setEnabled(bool))); d->sourceEdit, TQ_SLOT(setEnabled(bool)));
connect(d->contactCheck, TQT_SIGNAL(toggled(bool)), connect(d->contactCheck, TQ_SIGNAL(toggled(bool)),
d->contactEdit, TQT_SLOT(setEnabled(bool))); d->contactEdit, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->copyrightCheck, TQT_SIGNAL(toggled(bool)), connect(d->copyrightCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->bylineCheck, TQT_SIGNAL(toggled(bool)), connect(d->bylineCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->bylineTitleCheck, TQT_SIGNAL(toggled(bool)), connect(d->bylineTitleCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->creditCheck, TQT_SIGNAL(toggled(bool)), connect(d->creditCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->sourceCheck, TQT_SIGNAL(toggled(bool)), connect(d->sourceCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->contactCheck, TQT_SIGNAL(toggled(bool)), connect(d->contactCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->copyrightEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->copyrightEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->bylineEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->bylineEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->bylineTitleEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->bylineTitleEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->creditEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->creditEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->sourceEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->sourceEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->contactEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->contactEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
IPTCCredits::~IPTCCredits() IPTCCredits::~IPTCCredits()

@ -188,87 +188,87 @@ IPTCDateTime::IPTCDateTime(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)),
d->dateCreatedSel, TQT_SLOT(setEnabled(bool))); d->dateCreatedSel, TQ_SLOT(setEnabled(bool)));
connect(d->dateReleasedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateReleasedCheck, TQ_SIGNAL(toggled(bool)),
d->dateReleasedSel, TQT_SLOT(setEnabled(bool))); d->dateReleasedSel, TQ_SLOT(setEnabled(bool)));
connect(d->dateExpiredCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateExpiredCheck, TQ_SIGNAL(toggled(bool)),
d->dateExpiredSel, TQT_SLOT(setEnabled(bool))); d->dateExpiredSel, TQ_SLOT(setEnabled(bool)));
connect(d->dateDigitalizedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateDigitalizedCheck, TQ_SIGNAL(toggled(bool)),
d->dateDigitalizedSel, TQT_SLOT(setEnabled(bool))); d->dateDigitalizedSel, TQ_SLOT(setEnabled(bool)));
connect(d->timeCreatedCheck, TQT_SIGNAL(toggled(bool)), connect(d->timeCreatedCheck, TQ_SIGNAL(toggled(bool)),
d->timeCreatedSel, TQT_SLOT(setEnabled(bool))); d->timeCreatedSel, TQ_SLOT(setEnabled(bool)));
connect(d->timeReleasedCheck, TQT_SIGNAL(toggled(bool)), connect(d->timeReleasedCheck, TQ_SIGNAL(toggled(bool)),
d->timeReleasedSel, TQT_SLOT(setEnabled(bool))); d->timeReleasedSel, TQ_SLOT(setEnabled(bool)));
connect(d->timeExpiredCheck, TQT_SIGNAL(toggled(bool)), connect(d->timeExpiredCheck, TQ_SIGNAL(toggled(bool)),
d->timeExpiredSel, TQT_SLOT(setEnabled(bool))); d->timeExpiredSel, TQ_SLOT(setEnabled(bool)));
connect(d->timeDigitalizedCheck, TQT_SIGNAL(toggled(bool)), connect(d->timeDigitalizedCheck, TQ_SIGNAL(toggled(bool)),
d->timeDigitalizedSel, TQT_SLOT(setEnabled(bool))); d->timeDigitalizedSel, TQ_SLOT(setEnabled(bool)));
connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)),
d->syncHOSTDateCheck, TQT_SLOT(setEnabled(bool))); d->syncHOSTDateCheck, TQ_SLOT(setEnabled(bool)));
connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)),
d->syncEXIFDateCheck, TQT_SLOT(setEnabled(bool))); d->syncEXIFDateCheck, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->dateCreatedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateCreatedCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateReleasedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateReleasedCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateExpiredCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateExpiredCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateDigitalizedCheck, TQT_SIGNAL(toggled(bool)), connect(d->dateDigitalizedCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->timeCreatedCheck, TQT_SIGNAL(toggled(bool)), connect(d->timeCreatedCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->timeReleasedCheck, TQT_SIGNAL(toggled(bool)), connect(d->timeReleasedCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->timeExpiredCheck, TQT_SIGNAL(toggled(bool)), connect(d->timeExpiredCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->timeDigitalizedCheck, TQT_SIGNAL(toggled(bool)), connect(d->timeDigitalizedCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->dateCreatedSel, TQT_SIGNAL(changed(TQDate)), connect(d->dateCreatedSel, TQ_SIGNAL(changed(TQDate)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateReleasedSel, TQT_SIGNAL(changed(TQDate)), connect(d->dateReleasedSel, TQ_SIGNAL(changed(TQDate)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateExpiredSel, TQT_SIGNAL(changed(TQDate)), connect(d->dateExpiredSel, TQ_SIGNAL(changed(TQDate)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->dateDigitalizedSel, TQT_SIGNAL(changed(TQDate)), connect(d->dateDigitalizedSel, TQ_SIGNAL(changed(TQDate)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->timeCreatedSel, TQT_SIGNAL(valueChanged(const TQTime &)), connect(d->timeCreatedSel, TQ_SIGNAL(valueChanged(const TQTime &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->timeReleasedSel, TQT_SIGNAL(valueChanged(const TQTime &)), connect(d->timeReleasedSel, TQ_SIGNAL(valueChanged(const TQTime &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->timeExpiredSel, TQT_SIGNAL(valueChanged(const TQTime &)), connect(d->timeExpiredSel, TQ_SIGNAL(valueChanged(const TQTime &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->timeDigitalizedSel, TQT_SIGNAL(valueChanged(const TQTime &)), connect(d->timeDigitalizedSel, TQ_SIGNAL(valueChanged(const TQTime &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
IPTCDateTime::~IPTCDateTime() IPTCDateTime::~IPTCDateTime()

@ -190,34 +190,34 @@ IPTCEditDialog::IPTCEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interfac
KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false);
helpMenu->menu()->removeItemAt(0); helpMenu->menu()->removeItemAt(0);
helpMenu->menu()->insertItem(i18n("Plugin Handbook"), 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() ); actionButton(Help)->setPopup( helpMenu->menu() );
// ------------------------------------------------------------ // ------------------------------------------------------------
connect(d->captionPage, TQT_SIGNAL(signalModified()), connect(d->captionPage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->datetimePage, TQT_SIGNAL(signalModified()), connect(d->datetimePage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->subjectsPage, TQT_SIGNAL(signalModified()), connect(d->subjectsPage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->keywordsPage, TQT_SIGNAL(signalModified()), connect(d->keywordsPage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->categoriesPage, TQT_SIGNAL(signalModified()), connect(d->categoriesPage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->creditsPage, TQT_SIGNAL(signalModified()), connect(d->creditsPage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->statusPage, TQT_SIGNAL(signalModified()), connect(d->statusPage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
connect(d->originPage, TQT_SIGNAL(signalModified()), connect(d->originPage, TQ_SIGNAL(signalModified()),
this, TQT_SLOT(slotModified())); this, TQ_SLOT(slotModified()));
// ------------------------------------------------------------ // ------------------------------------------------------------

@ -127,39 +127,39 @@ IPTCKeywords::IPTCKeywords(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->keywordsBox, TQT_SIGNAL(selectionChanged()), connect(d->keywordsBox, TQ_SIGNAL(selectionChanged()),
this, TQT_SLOT(slotKeywordSelectionChanged())); this, TQ_SLOT(slotKeywordSelectionChanged()));
connect(d->addKeywordButton, TQT_SIGNAL(clicked()), connect(d->addKeywordButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotAddKeyword())); this, TQ_SLOT(slotAddKeyword()));
connect(d->delKeywordButton, TQT_SIGNAL(clicked()), connect(d->delKeywordButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotDelKeyword())); this, TQ_SLOT(slotDelKeyword()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->keywordsCheck, TQT_SIGNAL(toggled(bool)), connect(d->keywordsCheck, TQ_SIGNAL(toggled(bool)),
d->keywordEdit, TQT_SLOT(setEnabled(bool))); d->keywordEdit, TQ_SLOT(setEnabled(bool)));
connect(d->keywordsCheck, TQT_SIGNAL(toggled(bool)), connect(d->keywordsCheck, TQ_SIGNAL(toggled(bool)),
d->keywordsBox, TQT_SLOT(setEnabled(bool))); d->keywordsBox, TQ_SLOT(setEnabled(bool)));
connect(d->keywordsCheck, TQT_SIGNAL(toggled(bool)), connect(d->keywordsCheck, TQ_SIGNAL(toggled(bool)),
d->addKeywordButton, TQT_SLOT(setEnabled(bool))); d->addKeywordButton, TQ_SLOT(setEnabled(bool)));
connect(d->keywordsCheck, TQT_SIGNAL(toggled(bool)), connect(d->keywordsCheck, TQ_SIGNAL(toggled(bool)),
d->delKeywordButton, TQT_SLOT(setEnabled(bool))); d->delKeywordButton, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->keywordsCheck, TQT_SIGNAL(toggled(bool)), connect(d->keywordsCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->addKeywordButton, TQT_SIGNAL(clicked()), connect(d->addKeywordButton, TQ_SIGNAL(clicked()),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->delKeywordButton, TQT_SIGNAL(clicked()), connect(d->delKeywordButton, TQ_SIGNAL(clicked()),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
IPTCKeywords::~IPTCKeywords() IPTCKeywords::~IPTCKeywords()

@ -465,72 +465,72 @@ IPTCOrigin::IPTCOrigin(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->objectNameCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectNameCheck, TQ_SIGNAL(toggled(bool)),
d->objectNameEdit, TQT_SLOT(setEnabled(bool))); d->objectNameEdit, TQ_SLOT(setEnabled(bool)));
connect(d->cityCheck, TQT_SIGNAL(toggled(bool)), connect(d->cityCheck, TQ_SIGNAL(toggled(bool)),
d->cityEdit, TQT_SLOT(setEnabled(bool))); d->cityEdit, TQ_SLOT(setEnabled(bool)));
connect(d->sublocationCheck, TQT_SIGNAL(toggled(bool)), connect(d->sublocationCheck, TQ_SIGNAL(toggled(bool)),
d->sublocationEdit, TQT_SLOT(setEnabled(bool))); d->sublocationEdit, TQ_SLOT(setEnabled(bool)));
connect(d->provinceCheck, TQT_SIGNAL(toggled(bool)), connect(d->provinceCheck, TQ_SIGNAL(toggled(bool)),
d->provinceEdit, TQT_SLOT(setEnabled(bool))); d->provinceEdit, TQ_SLOT(setEnabled(bool)));
connect(d->countryCheck, TQT_SIGNAL(toggled(bool)), connect(d->countryCheck, TQ_SIGNAL(toggled(bool)),
d->countryCB, TQT_SLOT(setEnabled(bool))); d->countryCB, TQ_SLOT(setEnabled(bool)));
connect(d->locationCheck, TQT_SIGNAL(toggled(bool)), connect(d->locationCheck, TQ_SIGNAL(toggled(bool)),
d->locationEdit, TQT_SLOT(setEnabled(bool))); d->locationEdit, TQ_SLOT(setEnabled(bool)));
connect(d->originalTransCheck, TQT_SIGNAL(toggled(bool)), connect(d->originalTransCheck, TQ_SIGNAL(toggled(bool)),
d->originalTransEdit, TQT_SLOT(setEnabled(bool))); d->originalTransEdit, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->objectNameCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectNameCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->cityCheck, TQT_SIGNAL(toggled(bool)), connect(d->cityCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->sublocationCheck, TQT_SIGNAL(toggled(bool)), connect(d->sublocationCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->provinceCheck, TQT_SIGNAL(toggled(bool)), connect(d->provinceCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->countryCheck, TQT_SIGNAL(toggled(bool)), connect(d->countryCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->locationCheck, TQT_SIGNAL(toggled(bool)), connect(d->locationCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->originalTransCheck, TQT_SIGNAL(toggled(bool)), connect(d->originalTransCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->countryCB, TQT_SIGNAL(activated(int)), connect(d->countryCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->objectNameEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->objectNameEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->cityEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->cityEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->sublocationEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->sublocationEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->provinceEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->provinceEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->locationEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->locationEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->originalTransEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->originalTransEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
IPTCOrigin::~IPTCOrigin() IPTCOrigin::~IPTCOrigin()

@ -217,81 +217,81 @@ IPTCStatus::IPTCStatus(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->priorityCheck, TQT_SIGNAL(toggled(bool)), connect(d->priorityCheck, TQ_SIGNAL(toggled(bool)),
d->priorityCB, TQT_SLOT(setEnabled(bool))); d->priorityCB, TQ_SLOT(setEnabled(bool)));
connect(d->objectCycleCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectCycleCheck, TQ_SIGNAL(toggled(bool)),
d->objectCycleCB, TQT_SLOT(setEnabled(bool))); d->objectCycleCB, TQ_SLOT(setEnabled(bool)));
connect(d->objectTypeCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectTypeCheck, TQ_SIGNAL(toggled(bool)),
d->objectTypeCB, TQT_SLOT(setEnabled(bool))); d->objectTypeCB, TQ_SLOT(setEnabled(bool)));
connect(d->objectTypeCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectTypeCheck, TQ_SIGNAL(toggled(bool)),
d->objectTypeDescEdit, TQT_SLOT(setEnabled(bool))); d->objectTypeDescEdit, TQ_SLOT(setEnabled(bool)));
connect(d->objectAttributeCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectAttributeCheck, TQ_SIGNAL(toggled(bool)),
d->objectAttributeCB, TQT_SLOT(setEnabled(bool))); d->objectAttributeCB, TQ_SLOT(setEnabled(bool)));
connect(d->objectAttributeCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectAttributeCheck, TQ_SIGNAL(toggled(bool)),
d->objectAttributeDescEdit, TQT_SLOT(setEnabled(bool))); d->objectAttributeDescEdit, TQ_SLOT(setEnabled(bool)));
connect(d->statusCheck, TQT_SIGNAL(toggled(bool)), connect(d->statusCheck, TQ_SIGNAL(toggled(bool)),
d->statusEdit, TQT_SLOT(setEnabled(bool))); d->statusEdit, TQ_SLOT(setEnabled(bool)));
connect(d->JobIDCheck, TQT_SIGNAL(toggled(bool)), connect(d->JobIDCheck, TQ_SIGNAL(toggled(bool)),
d->JobIDEdit, TQT_SLOT(setEnabled(bool))); d->JobIDEdit, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->priorityCheck, TQT_SIGNAL(toggled(bool)), connect(d->priorityCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->objectCycleCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectCycleCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->objectTypeCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectTypeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->objectTypeCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectTypeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->objectAttributeCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectAttributeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->objectAttributeCheck, TQT_SIGNAL(toggled(bool)), connect(d->objectAttributeCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->statusCheck, TQT_SIGNAL(toggled(bool)), connect(d->statusCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->JobIDCheck, TQT_SIGNAL(toggled(bool)), connect(d->JobIDCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->priorityCB, TQT_SIGNAL(activated(int)), connect(d->priorityCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->objectCycleCB, TQT_SIGNAL(activated(int)), connect(d->objectCycleCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->objectTypeCB, TQT_SIGNAL(activated(int)), connect(d->objectTypeCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->objectAttributeCB, TQT_SIGNAL(activated(int)), connect(d->objectAttributeCB, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->statusEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->statusEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->objectTypeDescEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->objectTypeDescEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->objectAttributeDescEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->objectAttributeDescEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->JobIDEdit, TQT_SIGNAL(textChanged(const TQString &)), connect(d->JobIDEdit, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
IPTCStatus::~IPTCStatus() IPTCStatus::~IPTCStatus()

@ -127,39 +127,39 @@ IPTCSubjects::IPTCSubjects(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->subjectsBox, TQT_SIGNAL(selectionChanged()), connect(d->subjectsBox, TQ_SIGNAL(selectionChanged()),
this, TQT_SLOT(slotSubjectSelectionChanged())); this, TQ_SLOT(slotSubjectSelectionChanged()));
connect(d->addSubjectButton, TQT_SIGNAL(clicked()), connect(d->addSubjectButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotAddSubject())); this, TQ_SLOT(slotAddSubject()));
connect(d->delSubjectButton, TQT_SIGNAL(clicked()), connect(d->delSubjectButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotDelSubject())); this, TQ_SLOT(slotDelSubject()));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->subjectsCheck, TQT_SIGNAL(toggled(bool)), connect(d->subjectsCheck, TQ_SIGNAL(toggled(bool)),
d->subjectEdit, TQT_SLOT(setEnabled(bool))); d->subjectEdit, TQ_SLOT(setEnabled(bool)));
connect(d->subjectsCheck, TQT_SIGNAL(toggled(bool)), connect(d->subjectsCheck, TQ_SIGNAL(toggled(bool)),
d->subjectsBox, TQT_SLOT(setEnabled(bool))); d->subjectsBox, TQ_SLOT(setEnabled(bool)));
connect(d->subjectsCheck, TQT_SIGNAL(toggled(bool)), connect(d->subjectsCheck, TQ_SIGNAL(toggled(bool)),
d->addSubjectButton, TQT_SLOT(setEnabled(bool))); d->addSubjectButton, TQ_SLOT(setEnabled(bool)));
connect(d->subjectsCheck, TQT_SIGNAL(toggled(bool)), connect(d->subjectsCheck, TQ_SIGNAL(toggled(bool)),
d->delSubjectButton, TQT_SLOT(setEnabled(bool))); d->delSubjectButton, TQ_SLOT(setEnabled(bool)));
// -------------------------------------------------------- // --------------------------------------------------------
connect(d->subjectsCheck, TQT_SIGNAL(toggled(bool)), connect(d->subjectsCheck, TQ_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->addSubjectButton, TQT_SIGNAL(clicked()), connect(d->addSubjectButton, TQ_SIGNAL(clicked()),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
connect(d->delSubjectButton, TQT_SIGNAL(clicked()), connect(d->delSubjectButton, TQ_SIGNAL(clicked()),
this, TQT_SIGNAL(signalModified())); this, TQ_SIGNAL(signalModified()));
} }
IPTCSubjects::~IPTCSubjects() IPTCSubjects::~IPTCSubjects()

@ -36,8 +36,8 @@ MetadataCheckBox::MetadataCheckBox(const TQString& text, TQWidget* parent)
{ {
m_valid = true; m_valid = true;
connect(this, TQT_SIGNAL(toggled(bool)), connect(this, TQ_SIGNAL(toggled(bool)),
this, TQT_SLOT(slotValid())); this, TQ_SLOT(slotValid()));
} }
MetadataCheckBox::~MetadataCheckBox() MetadataCheckBox::~MetadataCheckBox()

@ -74,7 +74,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget )
0, 0,
0, 0,
this, this,
TQT_SLOT(slotEditExif()), TQ_SLOT(slotEditExif()),
actionCollection(), actionCollection(),
"editexif")); "editexif"));
@ -82,7 +82,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget )
0, 0,
0, 0,
this, this,
TQT_SLOT(slotRemoveExif()), TQ_SLOT(slotRemoveExif()),
actionCollection(), actionCollection(),
"removeexif")); "removeexif"));
@ -90,7 +90,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget )
0, 0,
0, 0,
this, this,
TQT_SLOT(slotImportExif()), TQ_SLOT(slotImportExif()),
actionCollection(), actionCollection(),
"importexif")); "importexif"));
@ -100,7 +100,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget )
0, 0,
0, 0,
this, this,
TQT_SLOT(slotEditIptc()), TQ_SLOT(slotEditIptc()),
actionCollection(), actionCollection(),
"editiptc")); "editiptc"));
@ -108,7 +108,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget )
0, 0,
0, 0,
this, this,
TQT_SLOT(slotRemoveIptc()), TQ_SLOT(slotRemoveIptc()),
actionCollection(), actionCollection(),
"removeiptc")); "removeiptc"));
@ -116,7 +116,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget )
0, 0,
0, 0,
this, this,
TQT_SLOT(slotImportIptc()), TQ_SLOT(slotImportIptc()),
actionCollection(), actionCollection(),
"importiptc")); "importiptc"));
@ -126,7 +126,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget )
0, 0,
0, 0,
this, this,
TQT_SLOT(slotEditComments()), TQ_SLOT(slotEditComments()),
actionCollection(), actionCollection(),
"editcomments")); "editcomments"));
@ -134,7 +134,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget )
0, 0,
0, 0,
this, this,
TQT_SLOT(slotRemoveComments()), TQ_SLOT(slotRemoveComments()),
actionCollection(), actionCollection(),
"removecomments")); "removecomments"));
@ -151,8 +151,8 @@ void Plugin_MetadataEdit::setup( TQWidget* widget )
KIPI::ImageCollection selection = m_interface->currentSelection(); KIPI::ImageCollection selection = m_interface->currentSelection();
m_actionMetadataEdit->setEnabled( selection.isValid() && !selection.images().isEmpty() ); m_actionMetadataEdit->setEnabled( selection.isValid() && !selection.images().isEmpty() );
connect( m_interface, TQT_SIGNAL(selectionChanged(bool)), connect( m_interface, TQ_SIGNAL(selectionChanged(bool)),
m_actionMetadataEdit, TQT_SLOT(setEnabled(bool))); m_actionMetadataEdit, TQ_SLOT(setEnabled(bool)));
} }
void Plugin_MetadataEdit::slotEditExif() void Plugin_MetadataEdit::slotEditExif()

@ -198,47 +198,47 @@ KImg2mpgData::KImg2mpgData(KIPI::Interface* interface, TQWidget *parent, const c
// Signal/Slot connections // Signal/Slot connections
connect( m_VideoTypeComboBox, TQT_SIGNAL( activated(int ) ), connect( m_VideoTypeComboBox, TQ_SIGNAL( activated(int ) ),
this, TQT_SLOT( SlotPortfolioDurationChanged (int) ) ); this, TQ_SLOT( SlotPortfolioDurationChanged (int) ) );
connect( m_DurationImageSpinBox, TQT_SIGNAL( valueChanged(int ) ), connect( m_DurationImageSpinBox, TQ_SIGNAL( valueChanged(int ) ),
this, TQT_SLOT( SlotPortfolioDurationChanged (int) ) ); this, TQ_SLOT( SlotPortfolioDurationChanged (int) ) );
connect( m_TransitionComboBox, TQT_SIGNAL( activated(int ) ), connect( m_TransitionComboBox, TQ_SIGNAL( activated(int ) ),
this, TQT_SLOT( SlotPortfolioDurationChanged (int) ) ); this, TQ_SLOT( SlotPortfolioDurationChanged (int) ) );
connect( m_MPEGOutputBUTTONFilename, TQT_SIGNAL( clicked() ), connect( m_MPEGOutputBUTTONFilename, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( slotMPEGFilenameDialog() ) ); this, TQ_SLOT( slotMPEGFilenameDialog() ) );
connect( m_AudioInputBUTTONFilename, TQT_SIGNAL( clicked() ), connect( m_AudioInputBUTTONFilename, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( slotAudioFilenameDialog() ) ); this, TQ_SLOT( slotAudioFilenameDialog() ) );
connect( m_ImagesFilesListBox, TQT_SIGNAL( currentChanged( TQListBoxItem * ) ), connect( m_ImagesFilesListBox, TQ_SIGNAL( currentChanged( TQListBoxItem * ) ),
this, TQT_SLOT( slotImagesFilesSelected(TQListBoxItem *) ) ); this, TQ_SLOT( slotImagesFilesSelected(TQListBoxItem *) ) );
connect(m_ImagesFilesListBox, TQT_SIGNAL( addedDropItems(KURL::List) ), connect(m_ImagesFilesListBox, TQ_SIGNAL( addedDropItems(KURL::List) ),
this, TQT_SLOT( slotAddDropItems(KURL::List))); this, TQ_SLOT( slotAddDropItems(KURL::List)));
connect( m_ImagesFilesButtonAdd, TQT_SIGNAL( clicked() ), connect( m_ImagesFilesButtonAdd, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( slotImagesFilesButtonAdd() ) ); this, TQ_SLOT( slotImagesFilesButtonAdd() ) );
connect( m_ImagesFilesButtonDelete, TQT_SIGNAL( clicked() ), connect( m_ImagesFilesButtonDelete, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( slotImagesFilesButtonDelete() ) ); this, TQ_SLOT( slotImagesFilesButtonDelete() ) );
connect( m_ImagesFilesButtonUp, TQT_SIGNAL( clicked() ), connect( m_ImagesFilesButtonUp, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( slotImagesFilesButtonUp() ) ); this, TQ_SLOT( slotImagesFilesButtonUp() ) );
connect( m_ImagesFilesButtonDown, TQT_SIGNAL( clicked() ), connect( m_ImagesFilesButtonDown, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( slotImagesFilesButtonDown() ) ); this, TQ_SLOT( slotImagesFilesButtonDown() ) );
connect(m_Encodebutton, TQT_SIGNAL(clicked()), connect(m_Encodebutton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotEncode())); this, TQ_SLOT(slotEncode()));
connect(m_optionsbutton, TQT_SIGNAL(clicked()), connect(m_optionsbutton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotOptions())); this, TQ_SLOT(slotOptions()));
connect(m_quitbutton, TQT_SIGNAL(clicked()), connect(m_quitbutton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotClose())); this, TQ_SLOT(slotClose()));
// About data and help button. // 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); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
readSettings(); readSettings();
@ -427,10 +427,10 @@ void KImg2mpgData::slotImagesFilesSelected( TQListBoxItem *item )
m_thumbJob = TDEIO::filePreview( url, m_ImageLabel->width() ); m_thumbJob = TDEIO::filePreview( url, m_ImageLabel->width() );
connect(m_thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), connect(m_thumbJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); TQ_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&)));
connect(m_thumbJob, TQT_SIGNAL(failed(const KFileItem*)), connect(m_thumbJob, TQ_SIGNAL(failed(const KFileItem*)),
TQT_SLOT(slotFailedPreview(const KFileItem*))); TQ_SLOT(slotFailedPreview(const KFileItem*)));
int index = m_ImagesFilesListBox->index ( item ); int index = m_ImagesFilesListBox->index ( item );
m_label7->setText(i18n("Image no. %1").arg(index + 1)); m_label7->setText(i18n("Image no. %1").arg(index + 1));
@ -697,11 +697,11 @@ void KImg2mpgData::slotEncode( void )
m_CommandLine = m_CommandLine + " \"" + FileName + "\" "; m_CommandLine = m_CommandLine + " \"" + FileName + "\" ";
} }
connect(m_Proc, TQT_SIGNAL(processExited(TDEProcess *)),this, connect(m_Proc, TQ_SIGNAL(processExited(TDEProcess *)),this,
TQT_SLOT(EncodeDone(TDEProcess*))); TQ_SLOT(EncodeDone(TDEProcess*)));
connect(m_Proc, TQT_SIGNAL(receivedStderr(TDEProcess *,char*,int)),this, connect(m_Proc, TQ_SIGNAL(receivedStderr(TDEProcess *,char*,int)),this,
TQT_SLOT(readStderr(TDEProcess*,char*,int))); TQ_SLOT(readStderr(TDEProcess*,char*,int)));
m_Img2mpgPidNum = -1; m_Img2mpgPidNum = -1;
bool result = m_Proc->start(TDEProcess::NotifyOnExit , TDEProcess::All); 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->MJBinFolderEditFilename->setText(m_MJBinFolderConfig);
m_OptionDlg->show(); m_OptionDlg->show();
connect( m_OptionDlg, TQT_SIGNAL( okClicked () ), connect( m_OptionDlg, TQ_SIGNAL( okClicked () ),
this, TQT_SLOT( slotOptionDlgOkClicked() )); this, TQ_SLOT( slotOptionDlgOkClicked() ));
} }
@ -760,8 +760,8 @@ void KImg2mpgData::slotOptionDlgOkClicked( void )
if (ValRet == 2) if (ValRet == 2)
m_AudioInputFilename->setEnabled(false); m_AudioInputFilename->setEnabled(false);
disconnect( m_OptionDlg, TQT_SIGNAL( okClicked() ), disconnect( m_OptionDlg, TQ_SIGNAL( okClicked() ),
this, TQT_SLOT( slotOptionDlgOkClicked() )); this, TQ_SLOT( slotOptionDlgOkClicked() ));
} }

@ -46,8 +46,8 @@ KShowDebuggingOutput::KShowDebuggingOutput(TQString Messages, TQString Header, T
grid->setMargin( marginHint() ); grid->setMargin( marginHint() );
grid->setColStretch( 0, 1 ); grid->setColStretch( 0, 1 );
connect( okButton, TQT_SIGNAL(pressed()), this, TQT_SLOT(accept()) ); connect( okButton, TQ_SIGNAL(pressed()), this, TQ_SLOT(accept()) );
connect( ClipBoardCopy, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotCopyToCliboard()) ); connect( ClipBoardCopy, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotCopyToCliboard()) );
// add the debugging output // add the debugging output

@ -69,7 +69,7 @@ OptionsDialog::OptionsDialog(TQWidget *parent)
IMBinFolderEditFilename->setMinimumWidth( 300 ); IMBinFolderEditFilename->setMinimumWidth( 300 );
TQPushButton* IMBinFolderButtonFilename = new TQPushButton( IMBinFolderGroup ); TQPushButton* IMBinFolderButtonFilename = new TQPushButton( IMBinFolderGroup );
IMBinFolderButtonFilename->setPixmap( LoadIcon( TQString( "document-open" ), TDEIcon::Toolbar ) ); 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 // MjpegTools binary programs folder
@ -79,7 +79,7 @@ OptionsDialog::OptionsDialog(TQWidget *parent)
MJBinFolderEditFilename->setMinimumWidth( 300 ); MJBinFolderEditFilename->setMinimumWidth( 300 );
TQPushButton* MJBinFolderButtonFilename = new TQPushButton( MJBinFolderGroup ); TQPushButton* MJBinFolderButtonFilename = new TQPushButton( MJBinFolderGroup );
MJBinFolderButtonFilename->setPixmap( LoadIcon( TQString( "document-open" ), TDEIcon::Toolbar ) ); 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()));
} }

@ -63,7 +63,7 @@ void Plugin_Mpegencoder::setup( TQWidget* widget )
"video-x-generic", "video-x-generic",
0, 0,
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"mpeg_encoder"); "mpeg_encoder");

@ -104,11 +104,11 @@ PicasawebLogin::PicasawebLogin(TQWidget* parent, const TQString& header,
// signals and slots connections // signals and slots connections
connect(okBtn, TQT_SIGNAL(clicked()), connect(okBtn, TQ_SIGNAL(clicked()),
this, TQT_SLOT(accept())); this, TQ_SLOT(accept()));
connect(cancelBtn, TQT_SIGNAL(clicked()), connect(cancelBtn, TQ_SIGNAL(clicked()),
this, TQT_SLOT(reject())); this, TQ_SLOT(reject()));
} }
PicasawebLogin::~PicasawebLogin() PicasawebLogin::~PicasawebLogin()

@ -88,8 +88,8 @@ PicasawebTalker::PicasawebTalker( TQWidget* parent )
m_apikey="49d585bafa0758cb5c58ab67198bf632"; m_apikey="49d585bafa0758cb5c58ab67198bf632";
m_secret="34b39925e6273ffd"; m_secret="34b39925e6273ffd";
connect(this, TQT_SIGNAL(signalError(const TQString&)), connect(this, TQ_SIGNAL(signalError(const TQString&)),
this, TQT_SLOT(slotError(const TQString&))); this, TQ_SLOT(slotError(const TQString&)));
authProgressDlg=new TQProgressDialog(); authProgressDlg=new TQProgressDialog();
} }
@ -183,11 +183,11 @@ void PicasawebTalker::getToken(const TQString& username, const TQString& passwor
m_state = FE_GETTOKEN; m_state = FE_GETTOKEN;
authProgressDlg->setLabelText(i18n("Getting the token")); authProgressDlg->setLabelText(i18n("Getting the token"));
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_job = job; m_job = job;
m_buffer.resize(0); 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"); job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded");
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_CHECKTOKEN; m_state = FE_CHECKTOKEN;
authProgressDlg->setLabelText(i18n("Checking if previous token is still valid")); 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("content-type", "Content-Type: application/x-www-form-urlencoded" );
job->addMetaData("customHTTPHeader", "Authorization: " + auth_string ); job->addMetaData("customHTTPHeader", "Authorization: " + auth_string );
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_LISTALBUMS; m_state = FE_LISTALBUMS;
m_job = job; 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); TDEIO::TransferJob* job = TDEIO::http_post(postUrl, tmp, false);
job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded" ); job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded" );
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_GETPHOTOPROPERTY; m_state = FE_GETPHOTOPROPERTY;
m_job = job; 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("content-length", TQString("Content-Length: %1").arg(addTagXML.length()));
job->addMetaData("customHTTPHeader", "Authorization: " + auth_string ); job->addMetaData("customHTTPHeader", "Authorization: " + auth_string );
//connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), //connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
// this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); // this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_ADDTAG; m_state = FE_ADDTAG;
m_job = job; 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("content-length", TQString("Content-Length: %1").arg(newAlbumXML.length()));
job->addMetaData("customHTTPHeader", "Authorization: " + auth_string ); job->addMetaData("customHTTPHeader", "Authorization: " + auth_string );
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_CREATEALBUM; m_state = FE_CREATEALBUM;
m_job = job; m_job = job;
@ -497,11 +497,11 @@ bool PicasawebTalker::addPhoto(const TQString& photoPath, FPhotoInfo& info,
job->addMetaData("content-type", form.contentType()); job->addMetaData("content-type", form.contentType());
job->addMetaData("customHTTPHeader", "Authorization: " + auth_string ); job->addMetaData("customHTTPHeader", "Authorization: " + auth_string );
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
this, TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); this, TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
this, TQT_SLOT(slotResult(TDEIO::Job *))); this, TQ_SLOT(slotResult(TDEIO::Job *)));
m_state = FE_ADDPHOTO; m_state = FE_ADDPHOTO;
m_job = job; m_job = job;

@ -130,30 +130,30 @@ PicasawebWindow::PicasawebWindow(KIPI::Interface* interface, const TQString &tmp
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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()); actionButton(Help)->setPopup(helpMenu->menu());
// ------------------------------------------------------------ // ------------------------------------------------------------
m_talker = new PicasawebTalker(this); m_talker = new PicasawebTalker(this);
connect(m_talker, TQT_SIGNAL(signalBusy(bool)), connect(m_talker, TQ_SIGNAL(signalBusy(bool)),
this, TQT_SLOT(slotBusy( bool))); this, TQ_SLOT(slotBusy( bool)));
connect(m_talker, TQT_SIGNAL(signalAddPhotoSucceeded()), connect(m_talker, TQ_SIGNAL(signalAddPhotoSucceeded()),
this, TQT_SLOT(slotAddPhotoSucceeded())); this, TQ_SLOT(slotAddPhotoSucceeded()));
connect(m_talker, TQT_SIGNAL(signalGetAlbumsListSucceeded()), connect(m_talker, TQ_SIGNAL(signalGetAlbumsListSucceeded()),
this, TQT_SLOT(slotGetAlbumsListSucceeded())); this, TQ_SLOT(slotGetAlbumsListSucceeded()));
connect(m_talker, TQT_SIGNAL(signalGetAlbumsListFailed(const TQString&)), connect(m_talker, TQ_SIGNAL(signalGetAlbumsListFailed(const TQString&)),
this, TQT_SLOT(slotGetAlbumsListFailed(const TQString&))); this, TQ_SLOT(slotGetAlbumsListFailed(const TQString&)));
connect(m_talker, TQT_SIGNAL( signalAddPhotoFailed(const TQString&)), connect(m_talker, TQ_SIGNAL( signalAddPhotoFailed(const TQString&)),
this, TQT_SLOT(slotAddPhotoFailed(const TQString&))); this, TQ_SLOT(slotAddPhotoFailed(const TQString&)));
// connect(m_talker, TQT_SIGNAL( signalListPhotoSetsSucceeded( const TQValueList<FPhotoSet>& ) ), // connect(m_talker, TQ_SIGNAL( signalListPhotoSetsSucceeded( const TQValueList<FPhotoSet>& ) ),
// this, TQT_SLOT( slotListPhotoSetsResponse( 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->setAutoReset(true);
m_progressDlg->setAutoClose(true); m_progressDlg->setAutoClose(true);
connect(m_progressDlg, TQT_SIGNAL(canceled()), connect(m_progressDlg, TQ_SIGNAL(canceled()),
this, TQT_SLOT(slotAddPhotoCancel())); this, TQ_SLOT(slotAddPhotoCancel()));
connect(m_changeUserButton, TQT_SIGNAL(clicked()), connect(m_changeUserButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotUserChangeRequest())); this, TQ_SLOT(slotUserChangeRequest()));
connect(m_reloadAlbumsListButton, TQT_SIGNAL(clicked()), connect(m_reloadAlbumsListButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotUpdateAlbumsList())); this, TQ_SLOT(slotUpdateAlbumsList()));
connect(m_newAlbumButton, TQT_SIGNAL(clicked()), connect(m_newAlbumButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotCreateNewAlbum())); this, TQ_SLOT(slotCreateNewAlbum()));
connect(m_talker, TQT_SIGNAL(signalTokenObtained(const TQString&)), connect(m_talker, TQ_SIGNAL(signalTokenObtained(const TQString&)),
this, TQT_SLOT(slotTokenObtained(const TQString&))); this, TQ_SLOT(slotTokenObtained(const TQString&)));
connect(m_addPhotoButton, TQT_SIGNAL(clicked()), connect(m_addPhotoButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotAddPhotos())); this, TQ_SLOT(slotAddPhotos()));
connect(m_startUploadButton, TQT_SIGNAL(clicked()), connect(m_startUploadButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotUploadImages())); this, TQ_SLOT(slotUploadImages()));
connect(m_resizeCheckBox, TQT_SIGNAL(toggled(bool )), connect(m_resizeCheckBox, TQ_SIGNAL(toggled(bool )),
this, TQT_SLOT(slotRefreshSizeButtons(bool))); this, TQ_SLOT(slotRefreshSizeButtons(bool)));
// ------------------------------------------------------------ // ------------------------------------------------------------
// read config // read config
@ -207,8 +207,8 @@ PicasawebWindow::PicasawebWindow(KIPI::Interface* interface, const TQString &tmp
m_authProgressDlg->setAutoReset( true ); m_authProgressDlg->setAutoReset( true );
m_authProgressDlg->setAutoClose( true ); m_authProgressDlg->setAutoClose( true );
connect(m_authProgressDlg, TQT_SIGNAL(canceled()), connect(m_authProgressDlg, TQ_SIGNAL(canceled()),
this, TQT_SLOT(slotAuthCancel())); this, TQ_SLOT(slotAuthCancel()));
m_talker->authProgressDlg = m_authProgressDlg; m_talker->authProgressDlg = m_authProgressDlg;
m_widget->setEnabled(false); m_widget->setEnabled(false);

@ -67,7 +67,7 @@ void Plugin_PicasawebExport::setup(TQWidget* widget)
"www", "www",
0, 0,
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"picasawebexport"); "picasawebexport");

@ -131,7 +131,7 @@ FrmPrintWizard::FrmPrintWizard(TQWidget *parent, const char *name )
m_helpButton = helpButton(); m_helpButton = helpButton();
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
// NOTE does it work???? // NOTE does it work????
@ -147,42 +147,42 @@ FrmPrintWizard::FrmPrintWizard(TQWidget *parent, const char *name )
EditOutputPath->setText(TQDir::homeDirPath()); EditOutputPath->setText(TQDir::homeDirPath());
connect(this, TQT_SIGNAL(selected(const TQString &)), connect(this, TQ_SIGNAL(selected(const TQString &)),
this, TQT_SLOT(FrmPrintWizardBaseSelected(const TQString &))); this, TQ_SLOT(FrmPrintWizardBaseSelected(const TQString &)));
connect(GrpOutputSettings, TQT_SIGNAL(clicked(int)), connect(GrpOutputSettings, TQ_SIGNAL(clicked(int)),
this, TQT_SLOT(GrpOutputSettings_clicked(int))); this, TQ_SLOT(GrpOutputSettings_clicked(int)));
connect(m_captions, TQT_SIGNAL(activated(int)), connect(m_captions, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(CaptionChanged(int))); this, TQ_SLOT(CaptionChanged(int)));
connect(EditOutputPath, TQT_SIGNAL(textChanged(const TQString &)), connect(EditOutputPath, TQ_SIGNAL(textChanged(const TQString &)),
this, TQT_SLOT(EditOutputPath_textChanged(const TQString &))); this, TQ_SLOT(EditOutputPath_textChanged(const TQString &)));
connect(BtnBrowseOutputPath, TQT_SIGNAL(clicked(void)), connect(BtnBrowseOutputPath, TQ_SIGNAL(clicked(void)),
this, TQT_SLOT(BtnBrowseOutputPath_clicked(void))); this, TQ_SLOT(BtnBrowseOutputPath_clicked(void)));
CmbPaperSize->setCurrentItem(0); CmbPaperSize->setCurrentItem(0);
connect(CmbPaperSize, TQT_SIGNAL(activated(int)), connect(CmbPaperSize, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(CmbPaperSize_activated(int))); this, TQ_SLOT(CmbPaperSize_activated(int)));
connect(BtnPrintOrderDown, TQT_SIGNAL(clicked(void)), connect(BtnPrintOrderDown, TQ_SIGNAL(clicked(void)),
this, TQT_SLOT(BtnPrintOrderDown_clicked(void))); this, TQ_SLOT(BtnPrintOrderDown_clicked(void)));
connect(BtnPrintOrderUp, TQT_SIGNAL(clicked(void)), connect(BtnPrintOrderUp, TQ_SIGNAL(clicked(void)),
this, TQT_SLOT(BtnPrintOrderUp_clicked(void))); this, TQ_SLOT(BtnPrintOrderUp_clicked(void)));
connect(BtnPreviewPageUp, TQT_SIGNAL(clicked(void)), connect(BtnPreviewPageUp, TQ_SIGNAL(clicked(void)),
this, TQT_SLOT(BtnPreviewPageUp_clicked(void))); this, TQ_SLOT(BtnPreviewPageUp_clicked(void)));
connect(BtnPreviewPageDown, TQT_SIGNAL(clicked(void)), connect(BtnPreviewPageDown, TQ_SIGNAL(clicked(void)),
this, TQT_SLOT(BtnPreviewPageDown_clicked(void))); this, TQ_SLOT(BtnPreviewPageDown_clicked(void)));
connect(BtnCropPrev, TQT_SIGNAL(clicked()), connect(BtnCropPrev, TQ_SIGNAL(clicked()),
this, TQT_SLOT(BtnCropPrev_clicked())); this, TQ_SLOT(BtnCropPrev_clicked()));
connect(BtnCropNext, TQT_SIGNAL(clicked()), connect(BtnCropNext, TQ_SIGNAL(clicked()),
this, TQT_SLOT(BtnCropNext_clicked())); this, TQ_SLOT(BtnCropNext_clicked()));
connect(BtnCropRotate, TQT_SIGNAL(clicked()), connect(BtnCropRotate, TQ_SIGNAL(clicked()),
this, TQT_SLOT(BtnCropRotate_clicked())); this, TQ_SLOT(BtnCropRotate_clicked()));
loadSettings(); loadSettings();

@ -68,7 +68,7 @@ void Plugin_PrintWizard::setup( TQWidget* widget )
"document-print", "document-print",
CTRL+Key_P, CTRL+Key_P,
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"printwizard"); "printwizard");
@ -86,8 +86,8 @@ void Plugin_PrintWizard::setup( TQWidget* widget )
m_printAction->setEnabled( selection.isValid() && m_printAction->setEnabled( selection.isValid() &&
!selection.images().isEmpty() ); !selection.images().isEmpty() );
connect( m_interface, TQT_SIGNAL( selectionChanged( bool ) ), connect( m_interface, TQ_SIGNAL( selectionChanged( bool ) ),
m_printAction, TQT_SLOT( setEnabled( bool ) ) ); m_printAction, TQ_SLOT( setEnabled( bool ) ) );
} }
Plugin_PrintWizard::~Plugin_PrintWizard() Plugin_PrintWizard::~Plugin_PrintWizard()

@ -149,7 +149,7 @@ BatchDialog::BatchDialog(TQWidget* /*parent*/)
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); helpMenu->menu()->removeItemAt(0);
helpMenu->menu()->insertItem(i18n("Plugin Handbook"), 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() ); actionButton(Help)->setPopup( helpMenu->menu() );
// --------------------------------------------------------------- // ---------------------------------------------------------------
@ -163,11 +163,11 @@ BatchDialog::BatchDialog(TQWidget* /*parent*/)
// --------------------------------------------------------------- // ---------------------------------------------------------------
connect(m_blinkConvertTimer, TQT_SIGNAL(timeout()), connect(m_blinkConvertTimer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotConvertBlinkTimerDone())); this, TQ_SLOT(slotConvertBlinkTimerDone()));
connect(m_saveSettingsBox, TQT_SIGNAL(signalSaveFormatChanged()), connect(m_saveSettingsBox, TQ_SIGNAL(signalSaveFormatChanged()),
this, TQT_SLOT(slotSaveFormatChanged())); this, TQ_SLOT(slotSaveFormatChanged()));
// --------------------------------------------------------------- // ---------------------------------------------------------------
@ -355,7 +355,7 @@ void BatchDialog::slotUser2()
if (m_currentConvertItem) if (m_currentConvertItem)
m_currentConvertItem->viewItem->setPixmap(1, SmallIcon("cancel")); m_currentConvertItem->viewItem->setPixmap(1, SmallIcon("cancel"));
TQTimer::singleShot(500, this, TQT_SLOT(slotAborted())); TQTimer::singleShot(500, this, TQ_SLOT(slotAborted()));
} }
void BatchDialog::slotAborted() void BatchDialog::slotAborted()

@ -85,7 +85,7 @@ void Plugin_RawConverter::setup( TQWidget* widget )
"rawconvertersingle", "rawconvertersingle",
0, 0,
this, this,
TQT_SLOT(slotActivateSingle()), TQ_SLOT(slotActivateSingle()),
actionCollection(), actionCollection(),
"raw_converter_single"); "raw_converter_single");
@ -93,7 +93,7 @@ void Plugin_RawConverter::setup( TQWidget* widget )
"rawconverterbatch", "rawconverterbatch",
0, 0,
this, this,
TQT_SLOT(slotActivateBatch()), TQ_SLOT(slotActivateBatch()),
actionCollection(), actionCollection(),
"raw_converter_batch"); "raw_converter_batch");
@ -108,11 +108,11 @@ void Plugin_RawConverter::setup( TQWidget* widget )
return; return;
} }
connect( interface, TQT_SIGNAL( selectionChanged( bool ) ), connect( interface, TQ_SIGNAL( selectionChanged( bool ) ),
singleAction_, TQT_SLOT( setEnabled( bool ) ) ); singleAction_, TQ_SLOT( setEnabled( bool ) ) );
connect( interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), connect( interface, TQ_SIGNAL( currentAlbumChanged( bool ) ),
batchAction_, TQT_SLOT( setEnabled( bool ) ) ); batchAction_, TQ_SLOT( setEnabled( bool ) ) );
} }
Plugin_RawConverter::~Plugin_RawConverter() Plugin_RawConverter::~Plugin_RawConverter()

@ -78,8 +78,8 @@ PreviewWidget::PreviewWidget(TQWidget *parent)
d->timer = new TQTimer(this); d->timer = new TQTimer(this);
connect(d->timer, TQT_SIGNAL(timeout()), connect(d->timer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotResize())); this, TQ_SLOT(slotResize()));
} }
PreviewWidget::~PreviewWidget() PreviewWidget::~PreviewWidget()

@ -115,8 +115,8 @@ SaveSettingsWidget::SaveSettingsWidget(TQWidget *parent)
settingsBoxLayout->addMultiCellWidget(d->conflictButtonGroup, 2, 2, 0, 1); settingsBoxLayout->addMultiCellWidget(d->conflictButtonGroup, 2, 2, 0, 1);
settingsBoxLayout->setRowStretch(3, 10); settingsBoxLayout->setRowStretch(3, 10);
connect(d->formatComboBox, TQT_SIGNAL(activated(int)), connect(d->formatComboBox, TQ_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalSaveFormatChanged())); this, TQ_SIGNAL(signalSaveFormatChanged()));
} }
SaveSettingsWidget::~SaveSettingsWidget() SaveSettingsWidget::~SaveSettingsWidget()

@ -128,7 +128,7 @@ SingleDialog::SingleDialog(const TQString& file, TQWidget */*parent*/)
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); actionButton(Help)->setPopup( helpMenu->menu() );
// --------------------------------------------------------------- // ---------------------------------------------------------------
@ -150,17 +150,17 @@ SingleDialog::SingleDialog(const TQString& file, TQWidget */*parent*/)
// --------------------------------------------------------------- // ---------------------------------------------------------------
connect(m_blinkPreviewTimer, TQT_SIGNAL(timeout()), connect(m_blinkPreviewTimer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotPreviewBlinkTimerDone())); this, TQ_SLOT(slotPreviewBlinkTimerDone()));
connect(m_blinkConvertTimer, TQT_SIGNAL(timeout()), connect(m_blinkConvertTimer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotConvertBlinkTimerDone())); this, TQ_SLOT(slotConvertBlinkTimerDone()));
// --------------------------------------------------------------- // ---------------------------------------------------------------
busy(false); busy(false);
readSettings(); readSettings();
TQTimer::singleShot(0, this, TQT_SLOT( slotIdentify() ) ); TQTimer::singleShot(0, this, TQ_SLOT( slotIdentify() ) );
} }
SingleDialog::~SingleDialog() SingleDialog::~SingleDialog()

@ -77,7 +77,7 @@ void Plugin_SendImages::setup( TQWidget* widget )
"mail-message-new", // Menu icon. "mail-message-new", // Menu icon.
0, 0,
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"send_images"); "send_images");
@ -94,8 +94,8 @@ void Plugin_SendImages::setup( TQWidget* widget )
m_action_sendimages->setEnabled( selection.isValid() && m_action_sendimages->setEnabled( selection.isValid() &&
!selection.images().isEmpty() ); !selection.images().isEmpty() );
connect( interface, TQT_SIGNAL(selectionChanged(bool)), connect( interface, TQ_SIGNAL(selectionChanged(bool)),
m_action_sendimages, TQT_SLOT(setEnabled(bool))); m_action_sendimages, TQ_SLOT(setEnabled(bool)));
} }
Plugin_SendImages::~Plugin_SendImages() 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")); m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Preparing images to send"));
connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), connect(m_progressDlg, TQ_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancel())); this, TQ_SLOT(slotCancel()));
m_current = 0; m_current = 0;
m_progressDlg->show(); m_progressDlg->show();
@ -261,8 +261,8 @@ void Plugin_SendImages::customEvent(TQCustomEvent *event)
m_progressDlg->setButtonCancelText( i18n("&Close") ); m_progressDlg->setButtonCancelText( i18n("&Close") );
#endif #endif
disconnect(m_progressDlg, TQT_SIGNAL(cancelClicked()), disconnect(m_progressDlg, TQ_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancel())); this, TQ_SLOT(slotCancel()));
// Create a text file with images comments if necessary. // Create a text file with images comments if necessary.

@ -91,8 +91,8 @@ SendImages::SendImages(KIPI::Interface* interface, const TQString &tmpFolder,
m_mozillaTimer = new TQTimer(this); m_mozillaTimer = new TQTimer(this);
KImageIO::registerFormats(); KImageIO::registerFormats();
connect(m_mozillaTimer, TQT_SIGNAL(timeout()), connect(m_mozillaTimer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotMozillaTimeout())); this, TQ_SLOT(slotMozillaTimeout()));
} }
///Destructor ///Destructor
@ -109,8 +109,8 @@ void SendImages::showDialog()
m_interface, m_collection); m_interface, m_collection);
m_sendImagesDialog->show(); m_sendImagesDialog->show();
connect(m_sendImagesDialog, TQT_SIGNAL(signalAccepted()), connect(m_sendImagesDialog, TQ_SIGNAL(signalAccepted()),
m_parent, TQT_SLOT(slotAcceptedConfigDlg())); m_parent, TQ_SLOT(slotAcceptedConfigDlg()));
} }
/** Execute the no threadable operations before the real thread. /** Execute the no threadable operations before the real thread.
@ -615,11 +615,11 @@ bool SendImages::invokeMailAgent(void)
if (!m_invokedBefore) if (!m_invokedBefore)
{ {
connect(m_mailAgentProc, TQT_SIGNAL(processExited(TDEProcess *)), connect(m_mailAgentProc, TQ_SIGNAL(processExited(TDEProcess *)),
this, TQT_SLOT(slotMozillaExited(TDEProcess*))); this, TQ_SLOT(slotMozillaExited(TDEProcess*)));
connect(m_mailAgentProc, TQT_SIGNAL(receivedStderr(TDEProcess *, char*, int)), connect(m_mailAgentProc, TQ_SIGNAL(receivedStderr(TDEProcess *, char*, int)),
this, TQT_SLOT(slotMozillaReadStderr(TDEProcess*, char*, int))); this, TQ_SLOT(slotMozillaReadStderr(TDEProcess*, char*, int)));
} }
tqDebug ("%s", Temp.ascii()); tqDebug ("%s", Temp.ascii());
@ -861,8 +861,8 @@ void SendImages::slotMozillaExited(TDEProcess*)
tqDebug("slotMozillaExited"); tqDebug("slotMozillaExited");
///Here would be the right point to clear the sendlist in order to avoid infinite resendings!! ///Here would be the right point to clear the sendlist in order to avoid infinite resendings!!
m_filesSendList.clear(); m_filesSendList.clear();
///Also disconnect SLOT ///Also disconnect slot
m_mailAgentProc->disconnect(TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(slotMozillaExited(TDEProcess*))); 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()); 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 | 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 ///If Mozilla wasn't started before, now it is and so we can begin with the transmission
void SendImages::slotMozillaTimeout(void) 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()); 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); kurllistdeepcopy(m_filesSendList,m_filesSendList_copy);

@ -173,7 +173,7 @@ SendImagesDialog::SendImagesDialog(TQWidget *parent, KIPI::Interface* interface,
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
slotMailAgentChanged(m_mailAgentName->currentItem()); slotMailAgentChanged(m_mailAgentName->currentItem());
@ -307,17 +307,17 @@ void SendImagesDialog::setupImagesList(void)
//--------------------------------------------- //---------------------------------------------
connect(m_addImagesButton, TQT_SIGNAL(clicked()), connect(m_addImagesButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotImagesFilesButtonAdd())); this, TQ_SLOT(slotImagesFilesButtonAdd()));
connect(m_remImagesButton, TQT_SIGNAL(clicked()), connect(m_remImagesButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotImagesFilesButtonRem())); this, TQ_SLOT(slotImagesFilesButtonRem()));
connect(m_ImagesFilesListBox, TQT_SIGNAL( currentChanged( TQListBoxItem * ) ), connect(m_ImagesFilesListBox, TQ_SIGNAL( currentChanged( TQListBoxItem * ) ),
this, TQT_SLOT( slotImageSelected( TQListBoxItem * ))); this, TQ_SLOT( slotImageSelected( TQListBoxItem * )));
connect(m_ImagesFilesListBox, TQT_SIGNAL( addedDropItems(TQStringList) ), connect(m_ImagesFilesListBox, TQ_SIGNAL( addedDropItems(TQStringList) ),
this, TQT_SLOT( slotAddDropItems(TQStringList))); this, TQ_SLOT( slotAddDropItems(TQStringList)));
} }
void SendImagesDialog::setImagesList( const KURL::List& Files ) void SendImagesDialog::setImagesList( const KURL::List& Files )
@ -404,8 +404,8 @@ void SendImagesDialog::setupEmailOptions(void)
hlay10->addStretch( 1 ); hlay10->addStretch( 1 );
hlay10->addWidget( m_mailAgentName ); hlay10->addWidget( m_mailAgentName );
connect(m_mailAgentName, TQT_SIGNAL(activated(int)), connect(m_mailAgentName, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(slotMailAgentChanged(int))); this, TQ_SLOT(slotMailAgentChanged(int)));
//--------------------------------------------- //---------------------------------------------
@ -416,8 +416,8 @@ void SendImagesDialog::setupEmailOptions(void)
m_labelThunderbirdBinPath->setBuddy( m_ThunderbirdBinPath ); m_labelThunderbirdBinPath->setBuddy( m_ThunderbirdBinPath );
vlay->addWidget(m_ThunderbirdBinPath); vlay->addWidget(m_ThunderbirdBinPath);
connect(m_ThunderbirdBinPath, TQT_SIGNAL(textChanged(const TQString&)), connect(m_ThunderbirdBinPath, TQ_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotThunderbirdBinPathChanged(const TQString&))); this, TQ_SLOT(slotThunderbirdBinPathChanged(const TQString&)));
TQWhatsThis::add( m_ThunderbirdBinPath, i18n("<p>The path name to the Thunderbird binary program.") ); 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)), connect(m_changeImagesProp, TQ_SIGNAL(toggled(bool)),
m_labelImageSize, TQT_SLOT(setEnabled(bool))); m_labelImageSize, TQ_SLOT(setEnabled(bool)));
connect(m_changeImagesProp, TQT_SIGNAL(toggled(bool)), connect(m_changeImagesProp, TQ_SIGNAL(toggled(bool)),
m_imagesResize, TQT_SLOT(setEnabled(bool))); m_imagesResize, TQ_SLOT(setEnabled(bool)));
connect(m_changeImagesProp, TQT_SIGNAL(toggled(bool)), connect(m_changeImagesProp, TQ_SIGNAL(toggled(bool)),
m_imageCompression, TQT_SLOT(setEnabled(bool))); m_imageCompression, TQ_SLOT(setEnabled(bool)));
connect(m_changeImagesProp, TQT_SIGNAL(toggled(bool)), connect(m_changeImagesProp, TQ_SIGNAL(toggled(bool)),
m_labelImageFormat, TQT_SLOT(setEnabled(bool))); m_labelImageFormat, TQ_SLOT(setEnabled(bool)));
connect(m_changeImagesProp, TQT_SIGNAL(toggled(bool)), connect(m_changeImagesProp, TQ_SIGNAL(toggled(bool)),
m_imagesFormat, TQT_SLOT(setEnabled(bool))); m_imagesFormat, TQ_SLOT(setEnabled(bool)));
} }
void SendImagesDialog::slotHelp() void SendImagesDialog::slotHelp()
@ -629,11 +629,11 @@ void SendImagesDialog::slotImageSelected( TQListBoxItem * item )
m_thumbJob = TDEIO::filePreview( pitem->url(), m_imageLabel->height() ); m_thumbJob = TDEIO::filePreview( pitem->url(), m_imageLabel->height() );
connect(m_thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), connect(m_thumbJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); TQ_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&)));
connect(m_thumbJob, TQT_SIGNAL(failed(const KFileItem*)), connect(m_thumbJob, TQ_SIGNAL(failed(const KFileItem*)),
TQT_SLOT(slotFailedPreview(const KFileItem*))); TQ_SLOT(slotFailedPreview(const KFileItem*)));
} }
void SendImagesDialog::slotGotPreview(const KFileItem*, const TQPixmap &pixmap) void SendImagesDialog::slotGotPreview(const KFileItem*, const TQPixmap &pixmap)

@ -90,7 +90,7 @@ FirstRunDlg::FirstRunDlg(TQWidget *parent)
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); helpMenu->menu()->removeItemAt(0);
helpMenu->menu()->insertItem(i18n("Plugin Handbook"), 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() ); actionButton(Help)->setPopup( helpMenu->menu() );
// --------------------------------------------------------------- // ---------------------------------------------------------------
@ -117,8 +117,8 @@ FirstRunDlg::FirstRunDlg(TQWidget *parent)
link->setText("http://www.airtightinteractive.com/simpleviewer"); link->setText("http://www.airtightinteractive.com/simpleviewer");
link->setURL("http://www.airtightinteractive.com/simpleviewer"); link->setURL("http://www.airtightinteractive.com/simpleviewer");
topLayout->addWidget(link); topLayout->addWidget(link);
connect(link, TQT_SIGNAL(leftClickedURL(const TQString &)), connect(link, TQ_SIGNAL(leftClickedURL(const TQString &)),
this, TQT_SLOT(slotDownload(const TQString &))); this, TQ_SLOT(slotDownload(const TQString &)));
info = new TQLabel(page); info = new TQLabel(page);
info->setText(i18n("<p>2.) Point this tool to the downloaded archive</p>")); 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); m_urlRequester = new KURLRequester(page);
topLayout->addWidget(m_urlRequester); topLayout->addWidget(m_urlRequester);
connect(m_urlRequester, TQT_SIGNAL(urlSelected(const TQString&)), connect(m_urlRequester, TQ_SIGNAL(urlSelected(const TQString&)),
this, TQT_SLOT(slotURLSelected(const TQString&))); this, TQ_SLOT(slotURLSelected(const TQString&)));
topLayout->addStretch(10); topLayout->addStretch(10);
} }

@ -58,7 +58,7 @@ void Plugin_SimpleViewer::setup( TQWidget* widget )
"www", "www",
0, 0,
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"simpleviewer"); "simpleviewer");

@ -183,8 +183,8 @@ void SimpleViewerExport::startExport()
m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Flash Export")); m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Flash Export"));
connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), connect(m_progressDlg, TQ_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancel())); this, TQ_SLOT(slotCancel()));
m_progressDlg->show(); m_progressDlg->show();
kapp->processEvents(); kapp->processEvents();

@ -106,7 +106,7 @@ SVEDialog::SVEDialog(KIPI::Interface* interface, TQWidget *parent)
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); helpMenu->menu()->removeItemAt(0);
helpMenu->menu()->insertItem(i18n("Plugin Handbook"), 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() ); 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. " TQWhatsThis::add(m_imagesExportSize, i18n("<p>The new size of the exported images in pixels. "
"SimpleViewer resizes the images as well, but this " "SimpleViewer resizes the images as well, but this "
"resizes your images before they are uploaded to your server")); "resizes your images before they are uploaded to your server"));
connect(m_resizeExportImages, TQT_SIGNAL(toggled(bool)), connect(m_resizeExportImages, TQ_SIGNAL(toggled(bool)),
m_imagesExportSize, TQT_SLOT(setEnabled(bool))); m_imagesExportSize, TQ_SLOT(setEnabled(bool)));
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------

@ -84,7 +84,7 @@ void Plugin_SlideShow::setup( TQWidget* widget )
"slideshow", "slideshow",
0, 0,
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"slideshow"); "slideshow");
@ -100,8 +100,8 @@ void Plugin_SlideShow::setup( TQWidget* widget )
m_actionSlideShow->setEnabled( false ); m_actionSlideShow->setEnabled( false );
connect( m_interface, TQT_SIGNAL( currentAlbumChanged( bool ) ), connect( m_interface, TQ_SIGNAL( currentAlbumChanged( bool ) ),
TQT_SLOT( slotAlbumChanged( bool ) ) ); TQ_SLOT( slotAlbumChanged( bool ) ) );
addAction( m_actionSlideShow ); addAction( m_actionSlideShow );
} }
@ -135,8 +135,8 @@ void Plugin_SlideShow::slotActivate()
i18n("Slide Show").ascii(), m_imagesHasComments, i18n("Slide Show").ascii(), m_imagesHasComments,
m_urlList); m_urlList);
connect(slideShowConfig, TQT_SIGNAL(buttonStartClicked()), connect(slideShowConfig, TQ_SIGNAL(buttonStartClicked()),
this, TQT_SLOT(slotSlideShow())); this, TQ_SLOT(slotSlideShow()));
slideShowConfig->show(); slideShowConfig->show();
} }

@ -86,20 +86,20 @@ SlideShow::SlideShow(const FileList& fileList, const TQStringList& commentsList,
{ {
m_toolBar->setEnabledPrev(false); m_toolBar->setEnabledPrev(false);
} }
connect(m_toolBar, TQT_SIGNAL(signalPause()), connect(m_toolBar, TQ_SIGNAL(signalPause()),
this, TQT_SLOT(slotPause())); this, TQ_SLOT(slotPause()));
connect(m_toolBar, TQT_SIGNAL(signalPlay()), connect(m_toolBar, TQ_SIGNAL(signalPlay()),
this, TQT_SLOT(slotPlay())); this, TQ_SLOT(slotPlay()));
connect(m_toolBar, TQT_SIGNAL(signalNext()), connect(m_toolBar, TQ_SIGNAL(signalNext()),
this, TQT_SLOT(slotNext())); this, TQ_SLOT(slotNext()));
connect(m_toolBar, TQT_SIGNAL(signalPrev()), connect(m_toolBar, TQ_SIGNAL(signalPrev()),
this, TQT_SLOT(slotPrev())); this, TQ_SLOT(slotPrev()));
connect(m_toolBar, TQT_SIGNAL(signalClose()), connect(m_toolBar, TQ_SIGNAL(signalClose()),
this, TQT_SLOT(slotClose())); this, TQ_SLOT(slotClose()));
// --------------------------------------------------------------- // ---------------------------------------------------------------
@ -111,8 +111,8 @@ SlideShow::SlideShow(const FileList& fileList, const TQStringList& commentsList,
m_endOfShow = false; m_endOfShow = false;
m_timer = new TQTimer(); m_timer = new TQTimer();
connect(m_timer, TQT_SIGNAL(timeout()), connect(m_timer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotTimeOut())); this, TQ_SLOT(slotTimeOut()));
// -------------------------------------------------- // --------------------------------------------------
@ -147,8 +147,8 @@ SlideShow::SlideShow(const FileList& fileList, const TQStringList& commentsList,
// -- hide cursor when not moved -------------------- // -- hide cursor when not moved --------------------
m_mouseMoveTimer = new TQTimer; m_mouseMoveTimer = new TQTimer;
connect(m_mouseMoveTimer, TQT_SIGNAL(timeout()), connect(m_mouseMoveTimer, TQ_SIGNAL(timeout()),
TQT_SLOT(slotMouseMoveTimeOut())); TQ_SLOT(slotMouseMoveTimeOut()));
setMouseTracking(true); setMouseTracking(true);
slotMouseMoveTimeOut(); slotMouseMoveTimeOut();

@ -94,7 +94,7 @@ SlideShowConfig::SlideShowConfig(bool allowSelectedOnly, KIPI::Interface * inter
KHelpMenu* helpMenu = new KHelpMenu(this, about, false); KHelpMenu* helpMenu = new KHelpMenu(this, about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
// Switch to selected files only (it depends on allowSelectedOnly) // Switch to selected files only (it depends on allowSelectedOnly)
@ -113,31 +113,31 @@ SlideShowConfig::SlideShowConfig(bool allowSelectedOnly, KIPI::Interface * inter
// Signal to Slot connections // Signal to Slot connections
connect(m_openglCheckBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotOpenGLToggled())); connect(m_openglCheckBox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotOpenGLToggled()));
connect(m_buttonStart, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotStartClicked())); connect(m_buttonStart, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotStartClicked()));
connect(m_printCommentsCheckBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotPrintCommentsToggled())); connect(m_printCommentsCheckBox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotPrintCommentsToggled()));
connect(m_commentsFontColor, TQT_SIGNAL(changed(const TQColor &)), this, TQT_SLOT(slotCommentsFontColorChanged())); connect(m_commentsFontColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(slotCommentsFontColorChanged()));
connect(m_commentsBgColor, TQT_SIGNAL(changed(const TQColor &)), this, TQT_SLOT(slotCommentsBgColorChanged())); connect(m_commentsBgColor, TQ_SIGNAL(changed(const TQColor &)), this, TQ_SLOT(slotCommentsBgColorChanged()));
connect(m_useMillisecondsCheckBox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotUseMillisecondsToggled())); connect(m_useMillisecondsCheckBox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotUseMillisecondsToggled()));
connect(m_delaySpinBox, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotDelayChanged())); connect(m_delaySpinBox, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotDelayChanged()));
connect(m_effectsComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotEffectChanged())); connect(m_effectsComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotEffectChanged()));
connect(m_fileSrcButtonGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotSelection())); connect(m_fileSrcButtonGroup, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotSelection()));
connect( m_ImagesFilesListBox, TQT_SIGNAL( currentChanged( TQListBoxItem * ) ), connect( m_ImagesFilesListBox, TQ_SIGNAL( currentChanged( TQListBoxItem * ) ),
this, TQT_SLOT( slotImagesFilesSelected(TQListBoxItem *) ) ); this, TQ_SLOT( slotImagesFilesSelected(TQListBoxItem *) ) );
connect(m_ImagesFilesListBox, TQT_SIGNAL( addedDropItems(KURL::List) ), connect(m_ImagesFilesListBox, TQ_SIGNAL( addedDropItems(KURL::List) ),
this, TQT_SLOT( slotAddDropItems(KURL::List))); this, TQ_SLOT( slotAddDropItems(KURL::List)));
connect( m_ImagesFilesButtonAdd, TQT_SIGNAL( clicked() ), connect( m_ImagesFilesButtonAdd, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( slotImagesFilesButtonAdd() ) ); this, TQ_SLOT( slotImagesFilesButtonAdd() ) );
connect( m_ImagesFilesButtonDelete, TQT_SIGNAL( clicked() ), connect( m_ImagesFilesButtonDelete, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( slotImagesFilesButtonDelete() ) ); this, TQ_SLOT( slotImagesFilesButtonDelete() ) );
connect( m_ImagesFilesButtonUp, TQT_SIGNAL( clicked() ), connect( m_ImagesFilesButtonUp, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( slotImagesFilesButtonUp() ) ); this, TQ_SLOT( slotImagesFilesButtonUp() ) );
connect( m_ImagesFilesButtonDown, TQT_SIGNAL( clicked() ), connect( m_ImagesFilesButtonDown, TQ_SIGNAL( clicked() ),
this, TQT_SLOT( slotImagesFilesButtonDown() ) ); this, TQ_SLOT( slotImagesFilesButtonDown() ) );
connect(m_cacheCheckBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotCacheToggled())); connect(m_cacheCheckBox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotCacheToggled()));
m_thumbJob = 0L; m_thumbJob = 0L;
@ -609,10 +609,10 @@ void SlideShowConfig::slotImagesFilesSelected( TQListBoxItem *item )
m_thumbJob = TDEIO::filePreview( url, m_ImageLabel->width() ); m_thumbJob = TDEIO::filePreview( url, m_ImageLabel->width() );
connect(m_thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), connect(m_thumbJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&))); TQ_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&)));
connect(m_thumbJob, TQT_SIGNAL(failed(const KFileItem*)), connect(m_thumbJob, TQ_SIGNAL(failed(const KFileItem*)),
TQT_SLOT(slotFailedPreview(const KFileItem*))); TQ_SLOT(slotFailedPreview(const KFileItem*)));
int index = m_ImagesFilesListBox->index ( item ); int index = m_ImagesFilesListBox->index ( item );
m_label7->setText(i18n("Image no. %1").arg(index + 1)); m_label7->setText(i18n("Image no. %1").arg(index + 1));

@ -75,16 +75,16 @@ SlideShowGL::SlideShowGL(const TQValueList<TQPair<TQString, int> >& fileList,
{ {
m_toolBar->setEnabledPrev(false); m_toolBar->setEnabledPrev(false);
} }
connect(m_toolBar, TQT_SIGNAL(signalPause()), connect(m_toolBar, TQ_SIGNAL(signalPause()),
TQT_SLOT(slotPause())); TQ_SLOT(slotPause()));
connect(m_toolBar, TQT_SIGNAL(signalPlay()), connect(m_toolBar, TQ_SIGNAL(signalPlay()),
TQT_SLOT(slotPlay())); TQ_SLOT(slotPlay()));
connect(m_toolBar, TQT_SIGNAL(signalNext()), connect(m_toolBar, TQ_SIGNAL(signalNext()),
TQT_SLOT(slotNext())); TQ_SLOT(slotNext()));
connect(m_toolBar, TQT_SIGNAL(signalPrev()), connect(m_toolBar, TQ_SIGNAL(signalPrev()),
TQT_SLOT(slotPrev())); TQ_SLOT(slotPrev()));
connect(m_toolBar, TQT_SIGNAL(signalClose()), connect(m_toolBar, TQ_SIGNAL(signalClose()),
TQT_SLOT(slotClose())); TQ_SLOT(slotClose()));
// -- Minimal texture size (opengl specs) -------------- // -- Minimal texture size (opengl specs) --------------
@ -135,15 +135,15 @@ SlideShowGL::SlideShowGL(const TQValueList<TQPair<TQString, int> >& fileList,
// -------------------------------------------------- // --------------------------------------------------
m_timer = new TQTimer(); m_timer = new TQTimer();
connect(m_timer, TQT_SIGNAL(timeout()), connect(m_timer, TQ_SIGNAL(timeout()),
TQT_SLOT(slotTimeOut())); TQ_SLOT(slotTimeOut()));
m_timer->start(m_timeout, true); m_timer->start(m_timeout, true);
// -- hide cursor when not moved -------------------- // -- hide cursor when not moved --------------------
m_mouseMoveTimer = new TQTimer; m_mouseMoveTimer = new TQTimer;
connect(m_mouseMoveTimer, TQT_SIGNAL(timeout()), connect(m_mouseMoveTimer, TQ_SIGNAL(timeout()),
TQT_SLOT(slotMouseMoveTimeOut())); TQ_SLOT(slotMouseMoveTimeOut()));
setMouseTracking(true); setMouseTracking(true);
slotMouseMoveTimeOut(); slotMouseMoveTimeOut();

@ -197,14 +197,14 @@ namespace KIPISlideShowPlugin
m_endOfShow = false; m_endOfShow = false;
m_showingEnd = false; m_showingEnd = false;
connect(m_timer, TQT_SIGNAL(timeout(void)), this, TQT_SLOT(moveSlot())); connect(m_timer, TQ_SIGNAL(timeout(void)), this, TQ_SLOT(moveSlot()));
connect(m_imageLoadThread, TQT_SIGNAL(endOfShow(void)), this, TQT_SLOT(slotEndOfShow())); connect(m_imageLoadThread, TQ_SIGNAL(endOfShow(void)), this, TQ_SLOT(slotEndOfShow()));
// -- hide cursor when not moved -------------------- // -- hide cursor when not moved --------------------
m_mouseMoveTimer = new TQTimer; m_mouseMoveTimer = new TQTimer;
connect(m_mouseMoveTimer, TQT_SIGNAL(timeout()), connect(m_mouseMoveTimer, TQ_SIGNAL(timeout()),
TQT_SLOT(slotMouseMoveTimeOut())); TQ_SLOT(slotMouseMoveTimeOut()));
setMouseTracking(true); setMouseTracking(true);
slotMouseMoveTimeOut(); slotMouseMoveTimeOut();

@ -67,23 +67,23 @@ ToolBar::ToolBar(TQWidget* parent)
m_canHide = true; m_canHide = true;
connect(m_playBtn, TQT_SIGNAL(toggled(bool)), connect(m_playBtn, TQ_SIGNAL(toggled(bool)),
this, TQT_SLOT(slotPlayBtnToggled())); this, TQ_SLOT(slotPlayBtnToggled()));
connect(m_nextBtn, TQT_SIGNAL(clicked()), connect(m_nextBtn, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotNexPrevClicked())); this, TQ_SLOT(slotNexPrevClicked()));
connect(m_prevBtn, TQT_SIGNAL(clicked()), connect(m_prevBtn, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotNexPrevClicked())); this, TQ_SLOT(slotNexPrevClicked()));
connect(m_nextBtn, TQT_SIGNAL(clicked()), connect(m_nextBtn, TQ_SIGNAL(clicked()),
this, TQT_SIGNAL(signalNext())); this, TQ_SIGNAL(signalNext()));
connect(m_prevBtn, TQT_SIGNAL(clicked()), connect(m_prevBtn, TQ_SIGNAL(clicked()),
this, TQT_SIGNAL(signalPrev())); this, TQ_SIGNAL(signalPrev()));
connect(m_stopBtn, TQT_SIGNAL(clicked()), connect(m_stopBtn, TQ_SIGNAL(clicked()),
this, TQT_SIGNAL(signalClose())); this, TQ_SIGNAL(signalClose()));
} }
ToolBar::~ToolBar() ToolBar::~ToolBar()

@ -119,7 +119,7 @@ GalleryWidget::GalleryWidget( TQWidget* parent, const char* name, WFlags fl )
m_resizeCheckBox->setChecked(false); m_resizeCheckBox->setChecked(false);
m_dimensionSpinBox->setEnabled(false); m_dimensionSpinBox->setEnabled(false);
connect(m_resizeCheckBox, TQT_SIGNAL(clicked()), TQT_SLOT(slotResizeChecked())); connect(m_resizeCheckBox, TQ_SIGNAL(clicked()), TQ_SLOT(slotResizeChecked()));
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------

@ -93,7 +93,7 @@ GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galle
m_helpButton = actionButton( Help ); m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false); KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0); 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() ); m_helpButton->setPopup( helpMenu->menu() );
GalleryWidget* widget = new GalleryWidget(this); GalleryWidget* widget = new GalleryWidget(this);
@ -116,36 +116,36 @@ GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galle
m_progressDlg->setAutoReset( true ); m_progressDlg->setAutoReset( true );
m_progressDlg->setAutoClose( 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(), connect(m_photoView->browserExtension(),
TQT_SIGNAL(openURLRequest(const KURL&, TQ_SIGNAL(openURLRequest(const KURL&,
const KParts::URLArgs&)), const KParts::URLArgs&)),
TQT_SLOT(slotOpenPhoto(const KURL&))); TQ_SLOT(slotOpenPhoto(const KURL&)));
connect(m_newAlbumBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotNewAlbum())); connect(m_newAlbumBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotNewAlbum()));
connect(m_addPhotoBtn, TQT_SIGNAL(clicked()), TQT_SLOT( slotAddPhotos())); connect(m_addPhotoBtn, TQ_SIGNAL(clicked()), TQ_SLOT( slotAddPhotos()));
// read config // read config
TDEConfig config("kipirc"); TDEConfig config("kipirc");
config.setGroup("GallerySync Settings"); config.setGroup("GallerySync Settings");
m_talker = new GalleryTalker( this ); m_talker = new GalleryTalker( this );
connect( m_talker, TQT_SIGNAL( signalError( const TQString& ) ), connect( m_talker, TQ_SIGNAL( signalError( const TQString& ) ),
TQT_SLOT( slotError( const TQString& ) ) ); TQ_SLOT( slotError( const TQString& ) ) );
connect( m_talker, TQT_SIGNAL( signalBusy( bool ) ), connect( m_talker, TQ_SIGNAL( signalBusy( bool ) ),
TQT_SLOT( slotBusy( bool ) ) ); TQ_SLOT( slotBusy( bool ) ) );
connect( m_talker, TQT_SIGNAL( signalLoginFailed( const TQString& ) ), connect( m_talker, TQ_SIGNAL( signalLoginFailed( const TQString& ) ),
TQT_SLOT( slotLoginFailed( const TQString& ) ) ); TQ_SLOT( slotLoginFailed( const TQString& ) ) );
connect( m_talker, TQT_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ), connect( m_talker, TQ_SIGNAL( signalAlbums( const TQValueList<GAlbum>& ) ),
TQT_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) ); TQ_SLOT( slotAlbums( const TQValueList<GAlbum>& ) ) );
connect( m_talker, TQT_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ), connect( m_talker, TQ_SIGNAL( signalPhotos( const TQValueList<GPhoto>& ) ),
TQT_SLOT( slotPhotos( const TQValueList<GPhoto>& ) ) ); TQ_SLOT( slotPhotos( const TQValueList<GPhoto>& ) ) );
connect( m_talker, TQT_SIGNAL( signalAddPhotoSucceeded() ), connect( m_talker, TQ_SIGNAL( signalAddPhotoSucceeded() ),
TQT_SLOT( slotAddPhotoSucceeded() ) ); TQ_SLOT( slotAddPhotoSucceeded() ) );
connect( m_talker, TQT_SIGNAL( signalAddPhotoFailed( const TQString& ) ), connect( m_talker, TQ_SIGNAL( signalAddPhotoFailed( const TQString& ) ),
TQT_SLOT( slotAddPhotoFailed( const TQString& ) ) ); TQ_SLOT( slotAddPhotoFailed( const TQString& ) ) );
if (config.readBoolEntry("Resize", false)) 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)); m_dimensionSpinBox->setValue(config.readNumEntry("Maximum Width", 1600));
TQTimer::singleShot( 0, this, TQT_SLOT( slotDoLogin() ) ); TQTimer::singleShot( 0, this, TQ_SLOT( slotDoLogin() ) );
} }
GalleryWindow::~GalleryWindow() GalleryWindow::~GalleryWindow()

@ -77,7 +77,7 @@ void Plugin_Sync::setup(TQWidget* widget)
mpActionSync = new TDEAction(i18n("Synchronize..."), mpActionSync = new TDEAction(i18n("Synchronize..."),
0, 0,
this, this,
TQT_SLOT(slotSync()), TQ_SLOT(slotSync()),
actionCollection(), actionCollection(),
"sync"); "sync");
mpActionSync->setEnabled(true); mpActionSync->setEnabled(true);
@ -86,7 +86,7 @@ void Plugin_Sync::setup(TQWidget* widget)
mpActionConfigure = new TDEAction(i18n("Configure Synchronization..."), mpActionConfigure = new TDEAction(i18n("Configure Synchronization..."),
0, 0,
this, this,
TQT_SLOT(slotConfigure()), TQ_SLOT(slotConfigure()),
actionCollection(), actionCollection(),
"sync"); "sync");
mpActionConfigure->setEnabled(true); mpActionConfigure->setEnabled(true);
@ -95,7 +95,7 @@ void Plugin_Sync::setup(TQWidget* widget)
mpActionSettingsCollection = new TDEAction(i18n("Synchronization Settings..."), mpActionSettingsCollection = new TDEAction(i18n("Synchronization Settings..."),
0, 0,
this, this,
TQT_SLOT(slotSettingsCollection()), TQ_SLOT(slotSettingsCollection()),
actionCollection(), actionCollection(),
"sync"); "sync");
mpActionSettingsCollection->setEnabled(true); mpActionSettingsCollection->setEnabled(true);
@ -104,7 +104,7 @@ void Plugin_Sync::setup(TQWidget* widget)
mpActionSettingsImage = new TDEAction(i18n("Synchronization Settings..."), mpActionSettingsImage = new TDEAction(i18n("Synchronization Settings..."),
0, 0,
this, this,
TQT_SLOT(slotSettingsImage()), TQ_SLOT(slotSettingsImage()),
actionCollection(), actionCollection(),
"sync"); "sync");
mpActionSettingsImage->setEnabled(true); mpActionSettingsImage->setEnabled(true);

@ -100,10 +100,10 @@ bool GallerySink::Connect()
TDEIO::TransferJob* job = TDEIO::http_post(mURL, form.formData(), false); TDEIO::TransferJob* job = TDEIO::http_post(mURL, form.formData(), false);
job->addMetaData("content-type", form.contentType() ); job->addMetaData("content-type", form.contentType() );
job->addMetaData("cookies", "manual"); job->addMetaData("cookies", "manual");
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
TQT_SLOT(slotResult(TDEIO::Job *))); TQ_SLOT(slotResult(TDEIO::Job *)));
mState = GE_LOGIN; mState = GE_LOGIN;
mpJob = job; mpJob = job;
@ -126,10 +126,10 @@ void GallerySink::listAlbums()
job->addMetaData("content-type", form.contentType() ); job->addMetaData("content-type", form.contentType() );
job->addMetaData("cookies", "manual"); job->addMetaData("cookies", "manual");
job->addMetaData("setcookies", m_cookie); job->addMetaData("setcookies", m_cookie);
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
TQT_SLOT(slotResult(TDEIO::Job *))); TQ_SLOT(slotResult(TDEIO::Job *)));
mState = GE_LISTALBUMS; mState = GE_LISTALBUMS;
mpJob = job; mpJob = job;
@ -155,10 +155,10 @@ void GallerySink::listPhotos( const TQString& albumName )
job->addMetaData("content-type", form.contentType() ); job->addMetaData("content-type", form.contentType() );
job->addMetaData("cookies", "manual"); job->addMetaData("cookies", "manual");
job->addMetaData("setcookies", m_cookie); job->addMetaData("setcookies", m_cookie);
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
TQT_SLOT(slotResult(TDEIO::Job *))); TQ_SLOT(slotResult(TDEIO::Job *)));
mState = GE_LISTPHOTOS; mState = GE_LISTPHOTOS;
mpJob = job; mpJob = job;
@ -193,10 +193,10 @@ void GallerySink::createAlbum( const TQString& parentAlbumName,
job->addMetaData("content-type", form.contentType() ); job->addMetaData("content-type", form.contentType() );
job->addMetaData("cookies", "manual"); job->addMetaData("cookies", "manual");
job->addMetaData("setcookies", m_cookie); job->addMetaData("setcookies", m_cookie);
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
TQT_SLOT(slotResult(TDEIO::Job *))); TQ_SLOT(slotResult(TDEIO::Job *)));
mState = GE_CREATEALBUM; mState = GE_CREATEALBUM;
mpJob = job; mpJob = job;
@ -260,10 +260,10 @@ bool GallerySink::addPhoto( const TQString& albumName,
job->addMetaData("content-type", form.contentType()); job->addMetaData("content-type", form.contentType());
job->addMetaData("cookies", "manual"); job->addMetaData("cookies", "manual");
job->addMetaData("setcookies", m_cookie); job->addMetaData("setcookies", m_cookie);
connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), connect(job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(data(TDEIO::Job*, const TQByteArray&))); TQ_SLOT(data(TDEIO::Job*, const TQByteArray&)));
connect(job, TQT_SIGNAL(result(TDEIO::Job *)), connect(job, TQ_SIGNAL(result(TDEIO::Job *)),
TQT_SLOT(slotResult(TDEIO::Job *))); TQ_SLOT(slotResult(TDEIO::Job *)));
mState = GE_ADDPHOTO; mState = GE_ADDPHOTO;
mpJob = job; mpJob = job;

@ -62,7 +62,7 @@ void Plugin_TimeAdjust::setup(TQWidget* widget)
"clock", "clock",
0, 0,
this, this,
TQT_SLOT(slotActivate()), TQ_SLOT(slotActivate()),
actionCollection(), actionCollection(),
"timeadjust"); "timeadjust");
@ -80,8 +80,8 @@ void Plugin_TimeAdjust::setup(TQWidget* widget)
m_actionTimeAjust->setEnabled(selection.isValid() && m_actionTimeAjust->setEnabled(selection.isValid() &&
!selection.images().isEmpty()); !selection.images().isEmpty());
connect(m_interface, TQT_SIGNAL(selectionChanged(bool)), connect(m_interface, TQ_SIGNAL(selectionChanged(bool)),
m_actionTimeAjust, TQT_SLOT(setEnabled(bool))); m_actionTimeAjust, TQ_SLOT(setEnabled(bool)));
} }
void Plugin_TimeAdjust::slotActivate() void Plugin_TimeAdjust::slotActivate()

@ -173,7 +173,7 @@ TimeAdjustDialog::TimeAdjustDialog(KIPI::Interface* interface, TQWidget* parent)
TQPushButton *helpButton = actionButton(Help); TQPushButton *helpButton = actionButton(Help);
KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false); KHelpMenu* helpMenu = new KHelpMenu(this, d->about, false);
helpMenu->menu()->removeItemAt(0); 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()); helpButton->setPopup(helpMenu->menu());
// -- Adjustment type ------------------------------------------------------------ // -- Adjustment type ------------------------------------------------------------
@ -258,29 +258,29 @@ TimeAdjustDialog::TimeAdjustDialog(KIPI::Interface* interface, TQWidget* parent)
// -- Slots/Signals ------------------------------------------------------ // -- Slots/Signals ------------------------------------------------------
connect(d->adjustTypeGrp, TQT_SIGNAL( clicked(int) ), connect(d->adjustTypeGrp, TQ_SIGNAL( clicked(int) ),
this, TQT_SLOT( slotAdjustmentTypeChanged() )); this, TQ_SLOT( slotAdjustmentTypeChanged() ));
connect(d->secs, TQT_SIGNAL( valueChanged( int ) ), connect(d->secs, TQ_SIGNAL( valueChanged( int ) ),
this, TQT_SLOT( slotUpdateExample() )); this, TQ_SLOT( slotUpdateExample() ));
connect(d->minutes, TQT_SIGNAL( valueChanged( int ) ), connect(d->minutes, TQ_SIGNAL( valueChanged( int ) ),
this, TQT_SLOT( slotUpdateExample() )); this, TQ_SLOT( slotUpdateExample() ));
connect(d->hours, TQT_SIGNAL( valueChanged( int ) ), connect(d->hours, TQ_SIGNAL( valueChanged( int ) ),
this, TQT_SLOT( slotUpdateExample() )); this, TQ_SLOT( slotUpdateExample() ));
connect(d->days, TQT_SIGNAL( valueChanged( int ) ), connect(d->days, TQ_SIGNAL( valueChanged( int ) ),
this, TQT_SLOT( slotUpdateExample() )); this, TQ_SLOT( slotUpdateExample() ));
connect(d->months, TQT_SIGNAL( valueChanged( int ) ), connect(d->months, TQ_SIGNAL( valueChanged( int ) ),
this, TQT_SLOT( slotUpdateExample() )); this, TQ_SLOT( slotUpdateExample() ));
connect(d->years, TQT_SIGNAL( valueChanged( int ) ), connect(d->years, TQ_SIGNAL( valueChanged( int ) ),
this, TQT_SLOT( slotUpdateExample() )); this, TQ_SLOT( slotUpdateExample() ));
connect(d->todayBtn, TQT_SIGNAL(clicked()), connect(d->todayBtn, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotResetDateToCurrent())); this, TQ_SLOT(slotResetDateToCurrent()));
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------

@ -73,49 +73,49 @@ void Plugin_WallPaper::setup( TQWidget* widget )
m_action_Background->insert(new TDEAction (i18n("Centered"), m_action_Background->insert(new TDEAction (i18n("Centered"),
0, 0,
this, this,
TQT_SLOT(slotSetCenter()), TQ_SLOT(slotSetCenter()),
actionCollection(), actionCollection(),
"images2desktop_center")); "images2desktop_center"));
m_action_Background->insert(new TDEAction (i18n("Tiled"), m_action_Background->insert(new TDEAction (i18n("Tiled"),
0, 0,
this, this,
TQT_SLOT(slotSetTiled()), TQ_SLOT(slotSetTiled()),
actionCollection(), actionCollection(),
"images2desktop_tiled")); "images2desktop_tiled"));
m_action_Background->insert(new TDEAction (i18n("Centered Tiled"), m_action_Background->insert(new TDEAction (i18n("Centered Tiled"),
0, 0,
this, this,
TQT_SLOT(slotSetCenterTiled()), TQ_SLOT(slotSetCenterTiled()),
actionCollection(), actionCollection(),
"images2desktop_center_tiled")); "images2desktop_center_tiled"));
m_action_Background->insert(new TDEAction (i18n("Centered Max-Aspect"), m_action_Background->insert(new TDEAction (i18n("Centered Max-Aspect"),
0, 0,
this, this,
TQT_SLOT(slotSetCenteredMaxpect()), TQ_SLOT(slotSetCenteredMaxpect()),
actionCollection(), actionCollection(),
"images2desktop_center_maxpect")); "images2desktop_center_maxpect"));
m_action_Background->insert(new TDEAction (i18n("Tiled Max-Aspect"), m_action_Background->insert(new TDEAction (i18n("Tiled Max-Aspect"),
0, 0,
this, this,
TQT_SLOT(slotSetTiledMaxpect()), TQ_SLOT(slotSetTiledMaxpect()),
actionCollection(), actionCollection(),
"images2desktop_tiled_maxpect")); "images2desktop_tiled_maxpect"));
m_action_Background->insert(new TDEAction (i18n("Scaled"), m_action_Background->insert(new TDEAction (i18n("Scaled"),
0, 0,
this, this,
TQT_SLOT(slotSetScaled()), TQ_SLOT(slotSetScaled()),
actionCollection(), actionCollection(),
"images2desktop_scaled")); "images2desktop_scaled"));
m_action_Background->insert(new TDEAction (i18n("Centered Auto Fit"), m_action_Background->insert(new TDEAction (i18n("Centered Auto Fit"),
0, 0,
this, this,
TQT_SLOT(slotSetCenteredAutoFit()), TQ_SLOT(slotSetCenteredAutoFit()),
actionCollection(), actionCollection(),
"images2desktop_centered_auto_fit")); "images2desktop_centered_auto_fit"));
@ -124,7 +124,7 @@ void Plugin_WallPaper::setup( TQWidget* widget )
m_action_Background->insert(new TDEAction (i18n("Scale && Crop"), m_action_Background->insert(new TDEAction (i18n("Scale && Crop"),
0, 0,
this, this,
TQT_SLOT(slotSetScaleAndCrop()), TQ_SLOT(slotSetScaleAndCrop()),
actionCollection(), actionCollection(),
"images2desktop_scale_and_crop")); "images2desktop_scale_and_crop"));
@ -143,8 +143,8 @@ void Plugin_WallPaper::setup( TQWidget* widget )
KIPI::ImageCollection selection = interface->currentSelection(); KIPI::ImageCollection selection = interface->currentSelection();
m_action_Background->setEnabled( selection.isValid() ); m_action_Background->setEnabled( selection.isValid() );
connect( interface, TQT_SIGNAL(selectionChanged(bool)), connect( interface, TQ_SIGNAL(selectionChanged(bool)),
m_action_Background, TQT_SLOT(setEnabled(bool))); m_action_Background, TQ_SLOT(setEnabled(bool)));
} }

Loading…
Cancel
Save