[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kipi-plugins] /: normalize signals/slots
From: Montel Laurent <montel () kde ! org>
Date: 2011-07-31 19:58:42
Message-ID: 20110731195842.8D549A60A6 () git ! kde ! org
[Download RAW message or body]
Git commit ee53cdeffbb1222c7b71690ac8d89c3d20559c02 by Montel Laurent.
Committed on 31/07/2011 at 21:58.
Pushed by mlaurent into branch 'master'.
normalize signals/slots
M +5 -5 mediawiki/wikimediajob.cpp
M +4 -4 acquireimages/scandialog.cpp
M +4 -4 dngconverter/plugin/batchdialog.cpp
M +6 -6 panorama/importwizard/preprocessingpage.cpp
M +26 -26 flickrexport/flickrtalker.cpp
M +5 -5 metadataedit/plugin/altlangstringedit.cpp
M +2 -2 calendar/wizard/monthwidget.cpp
M +8 -8 printimages/plugin/plugin_printimages.cpp
M +4 -4 ipodexport/IpodHeader.cpp
M +1 -1 batchprocessimages/common/pixmapview.cpp
M +2 -2 yandexfotki/plugin_yandexfotki.cpp
M +6 -6 expoblending/importwizard/preprocessingpage.cpp
M +2 -2 kioexportimport/KioExportWidget.cpp
M +15 -15 rajceexport/rajcewidget.cpp
M +5 -5 metadataedit/xmp/xmporigin.cpp
M +2 -2 metadataedit/xmp/xmpcontent.cpp
M +6 -6 debianscreenshots/dswindow.cpp
M +2 -2 advancedslideshow/dialogs/captiondialog.cpp
M +10 -10 metadataedit/xmp/xmpcredits.cpp
M +2 -2 shwup/plugin_shwup.cpp
M +32 -32 picasawebexport/picasawebtalker.cpp
M +2 -2 mediawiki/plugin_wikimedia.cpp
M +8 -8 facebook/facebookjob.cpp
M +4 -4 metadataedit/exif/exifcaption.cpp
M +2 -2 picasawebexport/plugin_picasawebexport.cpp
M +3 -3 timeadjust/timeadjustdialog.cpp
M +1 -1 metadataedit/xmp/xmpstatus.cpp
M +9 -9 expoblending/blendingdlg/expoblendingdlg.cpp
M +2 -2 metadataedit/exif/exifdevice.cpp
M +3 -3 metadataedit/iptc/iptccredits.cpp
M +20 -20 printimages/wizard/printoptionspage.cpp
M +6 -6 sendimages/sendimages.cpp
M +2 -2 mediawiki/wmwindow.cpp
M +4 -4 yandexfotki/logindialog.cpp
M +6 -6 panorama/importwizard/optimizepage.cpp
M +2 -2 advancedslideshow/plugin/plugin_advancedslideshow.cpp
M +16 -16 galleryexport/gallerywindow.cpp
M +16 -16 piwigoexport/piwigowindow.cpp
M +4 -4 calendar/wizard/caltemplate.cpp
M +4 -4 panorama/importwizard/importwizarddlg.cpp
M +2 -2 piwigoexport/piwigoconfig.cpp
M +2 -2 galleryexport/galleryconfig.cpp
M +4 -4 smug/plugin_smug.cpp
M +22 -22 smug/smugtalker.cpp
M +12 -12 common/libkipiplugins/widgets/imageslist.cpp
M +4 -4 flickrexport/flickrlist.cpp
M +2 -2 htmlexport/generator.cpp
M +2 -2 kioexportimport/KioExportWindow.cpp
M +1 -1 metadataedit/xmp/xmpcategories.cpp
M +6 -6 batchprocessimages/tools/renameimageswidget.cpp
M +2 -2 printimages/wizard/customdlg.cpp
M +4 -4 debianscreenshots/dstalker.cpp
M +4 -4 flashexport/firstrundlg.cpp
M +2 -2 dngconverter/plugin/settingswidget.cpp
M +28 -28 piwigoexport/piwigotalker.cpp
M +18 -18 galleryexport/gallerytalker.cpp
M +28 -28 ipodexport/IpodExportDialog.cpp
M +8 -8 expoblending/blendingdlg/bracketstack.cpp
M +2 -2 calendar/wizard/calwizard.cpp
M +3 -3 metadataedit/exif/exifdatetime.cpp
M +14 -14 jpeglossless/plugin/plugin_jpeglossless.cpp
M +12 -12 advancedslideshow/widgets/slideshow.cpp
M +34 -34 picasawebexport/picasawebwindow.cpp
M +8 -8 batchprocessimages/common/batchprocessimagesdialog.cpp
M +8 -8 common/libkipiplugins/dialogs/imagedialog.cpp
M +32 -32 shwup/swwindow.cpp
M +26 -26 advancedslideshow/dialogs/soundtrackdialog.cpp
M +4 -4 shwup/swwidget.cpp
M +2 -2 rajceexport/rajcewindow.cpp
M +22 -22 facebook/fbtalker.cpp
M +2 -2 metadataedit/xmp/xmpproperties.cpp
M +4 -4 facebook/plugin_facebook.cpp
M +1 -1 htmlexport/wizard.cpp
M +4 -4 kmlexport/kmlexportconfig.cpp
M +20 -20 yandexfotki/yftalker.cpp
M +38 -38 smug/smugwindow.cpp
M +1 -1 metadataedit/iptc/iptccategories.cpp
M +1 -1 metadataedit/iptc/iptccontent.cpp
M +3 -3 printimages/wizard/printhelper.cpp
M +6 -6 metadataedit/iptc/iptcenvelope.cpp
M +8 -8 facebook/fbwidget.cpp
M +2 -2 debianscreenshots/plugin_debianscreenshots.cpp
M +2 -2 kioexportimport/KioImportWindow.cpp
M +5 -5 expoblending/blendingdlg/enfusestack.cpp
M +2 -2 advancedslideshow/widgets/listsounditems.cpp
M +20 -20 yandexfotki/yfwindow.cpp
M +4 -4 shwup/swconnector.cpp
M +6 -6 expoblending/importwizard/itemspage.cpp
M +2 -2 flickrexport/flickrwidget.cpp
M +32 -32 flickrexport/flickrwindow.cpp
M +2 -2 smug/smugwidget.cpp
M +6 -6 picasawebexport/picasawebreplacedialog.cpp
M +7 -7 metadataedit/iptc/iptcproperties.cpp
M +4 -4 rawconverter/dialogs/batchdialog.cpp
M +2 -2 flickrexport/comboboxdelegate.cpp
M +7 -7 rawconverter/dialogs/singledialog.cpp
M +2 -2 mediawiki/wmwidget.cpp
M +2 -2 expoblending/importwizard/importwizarddlg.cpp
M +2 -2 picasawebexport/picasawebwidget.cpp
M +2 -2 advancedslideshow/widgets/playbackwidget.cpp
M +7 -7 metadataedit/iptc/iptcorigin.cpp
M +59 -59 printimages/wizard/wizard.cpp
M +6 -6 advancedslideshow/dialogs/maindialog.cpp
M +30 -30 facebook/fbwindow.cpp
M +6 -6 debianscreenshots/dsjob.cpp
M +3 -3 metadataedit/iptc/iptcstatus.cpp
http://commits.kde.org/kipi-plugins/ee53cdeffbb1222c7b71690ac8d89c3d20559c02
diff --git a/acquireimages/scandialog.cpp b/acquireimages/scandialog.cpp
index 9e1e4ca..d0d54ae 100644
--- a/acquireimages/scandialog.cpp
+++ b/acquireimages/scandialog.cpp
@@ -115,11 +115,11 @@ ScanDialog::ScanDialog(KIPI::Interface* kinterface, \
KSaneIface::KSaneWidget* san
// ------------------------------------------------------------------------
- connect(d->saneWidget, SIGNAL(imageReady(QByteArray&, int, int, int, int)),
- this, SLOT(slotSaveImage(QByteArray&, int, int, int, int)));
+ connect(d->saneWidget, SIGNAL(imageReady(QByteArray&,int,int,int,int)),
+ this, SLOT(slotSaveImage(QByteArray&,int,int,int,int)));
- connect(d->saveThread, SIGNAL(signalComplete(const KUrl&, bool)),
- this, SLOT(slotThreadDone(const KUrl&, bool)));
+ connect(d->saveThread, SIGNAL(signalComplete(KUrl,bool)),
+ this, SLOT(slotThreadDone(KUrl,bool)));
}
ScanDialog::~ScanDialog()
diff --git a/advancedslideshow/dialogs/captiondialog.cpp \
b/advancedslideshow/dialogs/captiondialog.cpp index 944d761..6d27613 100644
--- a/advancedslideshow/dialogs/captiondialog.cpp
+++ b/advancedslideshow/dialogs/captiondialog.cpp
@@ -47,10 +47,10 @@ CaptionDialog::~CaptionDialog()
void CaptionDialog::readSettings()
{
- connect(m_commentsFontColor, SIGNAL(changed(const QColor&)),
+ connect(m_commentsFontColor, SIGNAL(changed(QColor)),
this, SLOT(slotCommentsFontColorChanged()));
- connect(m_commentsBgColor, SIGNAL(changed(const QColor&)),
+ connect(m_commentsBgColor, SIGNAL(changed(QColor)),
this, SLOT(slotCommentsBgColorChanged()));
m_commentsLinesLengthSpinBox->setValue(m_sharedData->commentsLinesLength);
diff --git a/advancedslideshow/dialogs/maindialog.cpp \
b/advancedslideshow/dialogs/maindialog.cpp index ca5629a..5e7beaa 100644
--- a/advancedslideshow/dialogs/maindialog.cpp
+++ b/advancedslideshow/dialogs/maindialog.cpp
@@ -350,8 +350,8 @@ void MainDialog::slotImagesFilesSelected(QTreeWidgetItem* item)
KUrl url;
url.setPath(pitem->url().path());
- connect(m_sharedData->iface(), SIGNAL(gotThumbnail(const KUrl&, const \
QPixmap&)),
- this, SLOT(slotThumbnail(const KUrl&, const QPixmap&)));
+ connect(m_sharedData->iface(), SIGNAL(gotThumbnail(KUrl,QPixmap)),
+ this, SLOT(slotThumbnail(KUrl,QPixmap)));
m_sharedData->iface()->thumbnail(url, ICONSIZE);
@@ -517,11 +517,11 @@ void MainDialog::setupConnections()
connect(m_effectsComboBox, SIGNAL(activated(int)),
this, SLOT(slotEffectChanged()));
- connect(m_ImagesFilesListBox, SIGNAL( signalImageListChanged() ),
- this, SLOT( slotImageListChanged() ));
+ connect(m_ImagesFilesListBox, SIGNAL(signalImageListChanged()),
+ this, SLOT(slotImageListChanged()));
- connect(m_ImagesFilesListBox, SIGNAL( signalItemClicked(QTreeWidgetItem*) ),
- this, SLOT( slotImagesFilesSelected(QTreeWidgetItem*) ));
+ connect(m_ImagesFilesListBox, SIGNAL(signalItemClicked(QTreeWidgetItem*)),
+ this, SLOT(slotImagesFilesSelected(QTreeWidgetItem*)));
if (m_sharedData->showSelectedFilesOnly)
{
diff --git a/advancedslideshow/dialogs/soundtrackdialog.cpp \
b/advancedslideshow/dialogs/soundtrackdialog.cpp index 9e2b54e..48b7d38 100644
--- a/advancedslideshow/dialogs/soundtrackdialog.cpp
+++ b/advancedslideshow/dialogs/soundtrackdialog.cpp
@@ -118,38 +118,38 @@ SoundtrackDialog::SoundtrackDialog(QWidget* parent, \
SharedContainer* sharedData)
// --------------------------------------------------------
- connect( m_SoundFilesListBox, SIGNAL( currentRowChanged( int ) ),
- this, SLOT( slotSoundFilesSelected( int ) ) );
+ connect( m_SoundFilesListBox, SIGNAL(currentRowChanged(int)),
+ this, SLOT(slotSoundFilesSelected(int)) );
- connect( m_SoundFilesListBox, SIGNAL( signalAddedDropItems(const KUrl::List&) ),
- this, SLOT( slotAddDropItems(const KUrl::List&)));
+ connect( m_SoundFilesListBox, SIGNAL(signalAddedDropItems(KUrl::List)),
+ this, SLOT(slotAddDropItems(KUrl::List)));
- connect( m_SoundFilesButtonAdd, SIGNAL( clicked() ),
- this, SLOT( slotSoundFilesButtonAdd() ) );
+ connect( m_SoundFilesButtonAdd, SIGNAL(clicked()),
+ this, SLOT(slotSoundFilesButtonAdd()) );
- connect( m_SoundFilesButtonDelete, SIGNAL( clicked() ),
- this, SLOT( slotSoundFilesButtonDelete() ) );
+ connect( m_SoundFilesButtonDelete, SIGNAL(clicked()),
+ this, SLOT(slotSoundFilesButtonDelete()) );
- connect( m_SoundFilesButtonUp, SIGNAL( clicked() ),
- this, SLOT( slotSoundFilesButtonUp() ) );
+ connect( m_SoundFilesButtonUp, SIGNAL(clicked()),
+ this, SLOT(slotSoundFilesButtonUp()) );
- connect( m_SoundFilesButtonDown, SIGNAL( clicked() ),
- this, SLOT( slotSoundFilesButtonDown() ) );
+ connect( m_SoundFilesButtonDown, SIGNAL(clicked()),
+ this, SLOT(slotSoundFilesButtonDown()) );
- connect( m_SoundFilesButtonLoad, SIGNAL( clicked() ),
- this, SLOT( slotSoundFilesButtonLoad() ) );
+ connect( m_SoundFilesButtonLoad, SIGNAL(clicked()),
+ this, SLOT(slotSoundFilesButtonLoad()) );
- connect( m_SoundFilesButtonSave, SIGNAL( clicked() ),
- this, SLOT( slotSoundFilesButtonSave() ) );
+ connect( m_SoundFilesButtonSave, SIGNAL(clicked()),
+ this, SLOT(slotSoundFilesButtonSave()) );
- connect( m_SoundFilesButtonReset, SIGNAL( clicked() ),
- this, SLOT( slotSoundFilesButtonReset() ) );
+ connect( m_SoundFilesButtonReset, SIGNAL(clicked()),
+ this, SLOT(slotSoundFilesButtonReset()) );
- connect( m_previewButton, SIGNAL( clicked() ),
- this, SLOT( slotPreviewButtonClicked() ));
+ connect( m_previewButton, SIGNAL(clicked()),
+ this, SLOT(slotPreviewButtonClicked()));
- connect( m_sharedData->mainPage, SIGNAL(signalTotalTimeChanged(const QTime&)),
- this, SLOT( slotImageTotalTimeChanged(const QTime&)));
+ connect( m_sharedData->mainPage, SIGNAL(signalTotalTimeChanged(QTime)),
+ this, SLOT(slotImageTotalTimeChanged(QTime)));
}
SoundtrackDialog::~SoundtrackDialog()
@@ -165,8 +165,8 @@ void SoundtrackDialog::readSettings()
m_rememberSoundtrack->setChecked(m_sharedData->soundtrackRememberPlaylist);
m_loopCheckBox->setChecked(m_sharedData->soundtrackLoop);
- connect( m_sharedData->mainPage, SIGNAL(signalTotalTimeChanged(const QTime&)),
- this, SLOT(slotImageTotalTimeChanged(const QTime&) ) );
+ connect( m_sharedData->mainPage, SIGNAL(signalTotalTimeChanged(QTime)),
+ this, SLOT(slotImageTotalTimeChanged(QTime)) );
// if tracks are already set in m_sharedData, add them now
if (!m_sharedData->soundtrackUrls.isEmpty())
@@ -201,8 +201,8 @@ void SoundtrackDialog::addItems(const KUrl::List& fileList)
m_soundItems->insert(path, item);
- connect(m_soundItems->value(path), SIGNAL(signalTotalTimeReady(const KUrl&, \
const QTime&)),
- this, SLOT(slotAddNewTime(const KUrl&, const QTime&)));
+ connect(m_soundItems->value(path), SIGNAL(signalTotalTimeReady(KUrl,QTime)),
+ this, SLOT(slotAddNewTime(KUrl,QTime)));
m_urlList.append(path);
}
diff --git a/advancedslideshow/plugin/plugin_advancedslideshow.cpp \
b/advancedslideshow/plugin/plugin_advancedslideshow.cpp index e6840fd..1d447e5 100644
--- a/advancedslideshow/plugin/plugin_advancedslideshow.cpp
+++ b/advancedslideshow/plugin/plugin_advancedslideshow.cpp
@@ -104,8 +104,8 @@ void Plugin_AdvancedSlideshow::setup(QWidget* widget)
m_urlList = KUrl::List();
- connect(m_interface, SIGNAL( currentAlbumChanged( bool )),
- this, SLOT( slotAlbumChanged( bool )));
+ connect(m_interface, SIGNAL(currentAlbumChanged(bool)),
+ this, SLOT(slotAlbumChanged(bool)));
if (m_interface->currentAlbum().isValid())
{
diff --git a/advancedslideshow/widgets/listsounditems.cpp \
b/advancedslideshow/widgets/listsounditems.cpp index e89b53f..f4d09b5 100644
--- a/advancedslideshow/widgets/listsounditems.cpp
+++ b/advancedslideshow/widgets/listsounditems.cpp
@@ -54,8 +54,8 @@ SoundItem::SoundItem(QListWidget* parent, const KUrl& url)
m_mediaObject = new Phonon::MediaObject();
m_mediaObject->setCurrentSource(url);
- connect(m_mediaObject, SIGNAL(stateChanged(Phonon::State, Phonon::State)),
- this, SLOT(slotMediaStateChanged(Phonon::State, Phonon::State)));
+ connect(m_mediaObject, SIGNAL(stateChanged(Phonon::State,Phonon::State)),
+ this, SLOT(slotMediaStateChanged(Phonon::State,Phonon::State)));
}
SoundItem::~SoundItem()
diff --git a/advancedslideshow/widgets/playbackwidget.cpp \
b/advancedslideshow/widgets/playbackwidget.cpp index 86a3949..ba7b031 100644
--- a/advancedslideshow/widgets/playbackwidget.cpp
+++ b/advancedslideshow/widgets/playbackwidget.cpp
@@ -93,8 +93,8 @@ PlaybackWidget::PlaybackWidget(QWidget* parent, KUrl::List &urls, \
SharedContaine
m_mediaObject->setTickInterval(500);
- connect(m_mediaObject, SIGNAL(stateChanged(Phonon::State, Phonon::State)),
- this, SLOT(slotMediaStateChanged(Phonon::State, Phonon::State)));
+ connect(m_mediaObject, SIGNAL(stateChanged(Phonon::State,Phonon::State)),
+ this, SLOT(slotMediaStateChanged(Phonon::State,Phonon::State)));
connect(m_mediaObject, SIGNAL(finished()),
this, SLOT(slotSongFinished()));
diff --git a/advancedslideshow/widgets/slideshow.cpp \
b/advancedslideshow/widgets/slideshow.cpp index 5e73d41..9014164 100644
--- a/advancedslideshow/widgets/slideshow.cpp
+++ b/advancedslideshow/widgets/slideshow.cpp
@@ -97,20 +97,20 @@ SlideShow::SlideShow(const FileList& fileList, const QStringList& \
commentsList, m_playbackWidget->hide();
m_playbackWidget->move(m_deskX, m_deskY);
- connect(m_slidePlaybackWidget, SIGNAL( signalPause() ),
- this, SLOT( slotPause() ));
+ connect(m_slidePlaybackWidget, SIGNAL(signalPause()),
+ this, SLOT(slotPause()));
- connect(m_slidePlaybackWidget, SIGNAL( signalPlay() ),
- this, SLOT( slotPlay() ));
+ connect(m_slidePlaybackWidget, SIGNAL(signalPlay()),
+ this, SLOT(slotPlay()));
- connect(m_slidePlaybackWidget, SIGNAL( signalNext() ),
- this, SLOT( slotNext() ));
+ connect(m_slidePlaybackWidget, SIGNAL(signalNext()),
+ this, SLOT(slotNext()));
- connect(m_slidePlaybackWidget, SIGNAL( signalPrev() ),
- this, SLOT( slotPrev() ));
+ connect(m_slidePlaybackWidget, SIGNAL(signalPrev()),
+ this, SLOT(slotPrev()));
- connect(m_slidePlaybackWidget, SIGNAL( signalClose() ),
- this, SLOT( slotClose() ));
+ connect(m_slidePlaybackWidget, SIGNAL(signalClose()),
+ this, SLOT(slotClose()));
// ---------------------------------------------------------------
@@ -164,8 +164,8 @@ SlideShow::SlideShow(const FileList& fileList, const QStringList& \
commentsList, // -- hide cursor when not moved --------------------
m_mouseMoveTimer = new QTimer;
- connect( m_mouseMoveTimer, SIGNAL( timeout() ),
- SLOT( slotMouseMoveTimeOut() ) );
+ connect( m_mouseMoveTimer, SIGNAL(timeout()),
+ SLOT(slotMouseMoveTimeOut()) );
setMouseTracking( true );
slotMouseMoveTimeOut();
diff --git a/batchprocessimages/common/batchprocessimagesdialog.cpp \
b/batchprocessimages/common/batchprocessimagesdialog.cpp index 531bc2f..ee5f9c1 \
100644
--- a/batchprocessimages/common/batchprocessimagesdialog.cpp
+++ b/batchprocessimages/common/batchprocessimagesdialog.cpp
@@ -183,8 +183,8 @@ void BatchProcessImagesDialog::setupUi()
m_optionsButton = m_ui->m_optionsButton;
m_listFiles = m_ui->m_listView;
- connect(m_listFiles, SIGNAL(itemDoubleClicked(QTreeWidgetItem *, int)),
- this, SLOT(slotListDoubleClicked(QTreeWidgetItem *)));
+ connect(m_listFiles, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)),
+ this, SLOT(slotListDoubleClicked(QTreeWidgetItem*)));
connect(this, SIGNAL(user1Clicked()),
this, SLOT(slotProcessStart()));
@@ -201,8 +201,8 @@ void BatchProcessImagesDialog::setupUi()
connect(m_listFiles, SIGNAL(addedDropItems(QStringList)),
this, SLOT(slotAddDropItems(QStringList)));
- connect(m_listFiles, SIGNAL(currentItemChanged(QTreeWidgetItem *, \
QTreeWidgetItem *)),
- this, SLOT(slotImageSelected(QTreeWidgetItem *)));
+ connect(m_listFiles, \
SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)), + this, \
SLOT(slotImageSelected(QTreeWidgetItem*)));
connect(m_ui->m_addImagesButton, SIGNAL(clicked()),
this, SLOT(slotImagesFilesButtonAdd()));
@@ -264,8 +264,8 @@ void BatchProcessImagesDialog::slotImageSelected(QTreeWidgetItem \
* item)
KIO::PreviewJob* m_thumbJob = KIO::filePreview(url, \
m_ui->m_imageLabel->height());
- connect(m_thumbJob, SIGNAL(gotPreview(const KFileItem&, const QPixmap&)),
- this, SLOT(slotGotPreview(const KFileItem&, const QPixmap&)));
+ connect(m_thumbJob, SIGNAL(gotPreview(KFileItem,QPixmap)),
+ this, SLOT(slotGotPreview(KFileItem,QPixmap)));
}
void BatchProcessImagesDialog::slotGotPreview(const KFileItem& item, const QPixmap& \
pixmap) @@ -511,7 +511,7 @@ bool BatchProcessImagesDialog::startProcess()
item->changeOutputMess(m_commandLine + "\n\n");
- connect(m_ProcessusProc, SIGNAL(finished(int, QProcess::ExitStatus)),
+ connect(m_ProcessusProc, SIGNAL(finished(int,QProcess::ExitStatus)),
this, SLOT(slotFinished()));
connect(m_ProcessusProc, SIGNAL(readyRead()),
@@ -717,7 +717,7 @@ void BatchProcessImagesDialog::slotPreview(void)
*m_PreviewProc << m_tmpFolder + '/' + QString::number(getpid()) + "preview.PNG";
m_previewOutput.append(' ' + m_tmpFolder + '/' + QString::number(getpid()) + \
"preview.PNG\n\n");
- connect(m_PreviewProc, SIGNAL(finished(int, QProcess::ExitStatus)),
+ connect(m_PreviewProc, SIGNAL(finished(int,QProcess::ExitStatus)),
this, SLOT(slotPreviewFinished()));
connect(m_PreviewProc, SIGNAL(readyRead()),
diff --git a/batchprocessimages/common/pixmapview.cpp \
b/batchprocessimages/common/pixmapview.cpp index f9ada28..2b23d31 100644
--- a/batchprocessimages/common/pixmapview.cpp
+++ b/batchprocessimages/common/pixmapview.cpp
@@ -135,7 +135,7 @@ void PixmapView::PreviewCal(const QString& ImagePath, const \
QString& /*tmpPath*/
*m_PreviewProc << m_previewFileName;
m_previewOutput.append(" -verbose " + ImagePath + ' ' + m_previewFileName + \
"\n\n");
- connect(m_PreviewProc, SIGNAL(finished(int, QProcess::ExitStatus)),
+ connect(m_PreviewProc, SIGNAL(finished(int,QProcess::ExitStatus)),
this, SLOT(slotPreviewProcessFinished()));
connect(m_PreviewProc, SIGNAL(readyRead()),
diff --git a/batchprocessimages/tools/renameimageswidget.cpp \
b/batchprocessimages/tools/renameimageswidget.cpp index c5311d2..55416ed 100644
--- a/batchprocessimages/tools/renameimageswidget.cpp
+++ b/batchprocessimages/tools/renameimageswidget.cpp
@@ -105,13 +105,13 @@ RenameImagesWidget::RenameImagesWidget(QWidget *parent, \
KIPI::Interface* interfa
"[B:4..-2] - base name (big one - all before last ',', from 4-th \
to one before last characters)\n"
"[b-:-3..] - base name (small one - all before first '.', last 3 \
characters)");
- connect(ui->m_listView, SIGNAL(itemDoubleClicked(QTreeWidgetItem*, int)),
+ connect(ui->m_listView, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)),
this, SLOT(slotListViewDoubleClicked(QTreeWidgetItem*)));
- connect(ui->m_listView, SIGNAL(currentItemChanged(QTreeWidgetItem*, \
QTreeWidgetItem*)), + connect(ui->m_listView, \
SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)), this, \
SLOT(slotImageSelected(QTreeWidgetItem*)));
- connect(ui->m_prefixEdit, SIGNAL(textChanged(const QString&)),
+ connect(ui->m_prefixEdit, SIGNAL(textChanged(QString)),
this, SLOT(slotOptionsChanged()));
connect(ui->m_seqSpin, SIGNAL(valueChanged(int)),
@@ -129,7 +129,7 @@ RenameImagesWidget::RenameImagesWidget(QWidget *parent, \
KIPI::Interface* interfa connect(ui->m_formatDateCheck, SIGNAL(toggled(bool)),
this, SLOT(slotOptionsChanged()));
- connect(ui->m_formatDateEdit, SIGNAL(textChanged(const QString&)),
+ connect(ui->m_formatDateEdit, SIGNAL(textChanged(QString)),
this, SLOT(slotOptionsChanged()));
connect(ui->m_addButton, SIGNAL(clicked()),
@@ -155,8 +155,8 @@ RenameImagesWidget::RenameImagesWidget(QWidget *parent, \
KIPI::Interface* interfa connect(m_timer, SIGNAL(timeout()),
this, SLOT(slotNext()));
- connect(m_interface, SIGNAL(gotThumbnail(const KUrl&, const QPixmap&)),
- this, SLOT(slotGotPreview(const KUrl&, const QPixmap&)));
+ connect(m_interface, SIGNAL(gotThumbnail(KUrl,QPixmap)),
+ this, SLOT(slotGotPreview(KUrl,QPixmap)));
kDebug() << m_urlList;
for (KUrl::List::iterator it = m_urlList.begin();
diff --git a/calendar/wizard/caltemplate.cpp b/calendar/wizard/caltemplate.cpp
index 738200a..45f0a5d 100644
--- a/calendar/wizard/caltemplate.cpp
+++ b/calendar/wizard/caltemplate.cpp
@@ -46,8 +46,8 @@ CalTemplate::CalTemplate(QWidget* parent)
ui.calendarWidget->recreate();
- connect(ui.paperSizeCombo, SIGNAL(currentIndexChanged(const QString&)),
- settings, SLOT(setPaperSize(const QString&)));
+ connect(ui.paperSizeCombo, SIGNAL(currentIndexChanged(QString)),
+ settings, SLOT(setPaperSize(QString)));
connect(ui.imagePosButtonGroup, SIGNAL(changed(int)),
settings, SLOT(setImagePos(int)));
@@ -58,8 +58,8 @@ CalTemplate::CalTemplate(QWidget* parent)
connect(ui.ratioSlider, SIGNAL(valueChanged(int)),
settings, SLOT(setRatio(int)));
- connect(ui.fontCombo, SIGNAL(currentIndexChanged(const QString&)),
- settings, SLOT(setFont(const QString&)));
+ connect(ui.fontCombo, SIGNAL(currentIndexChanged(QString)),
+ settings, SLOT(setFont(QString)));
connect(settings, SIGNAL(settingsChanged()),
ui.calendarWidget, SLOT(recreate()));
diff --git a/calendar/wizard/calwizard.cpp b/calendar/wizard/calwizard.cpp
index cddfb23..11418bc 100644
--- a/calendar/wizard/calwizard.cpp
+++ b/calendar/wizard/calwizard.cpp
@@ -131,8 +131,8 @@ CalWizard::CalWizard( KIPI::Interface* interface, QWidget* parent \
) printThread_ = 0;
printer_ = 0;
- connect(this, SIGNAL(currentPageChanged(KPageWidgetItem *, KPageWidgetItem *)),
- this, SLOT(slotPageSelected(KPageWidgetItem *, KPageWidgetItem *)));
+ connect(this, SIGNAL(currentPageChanged(KPageWidgetItem*,KPageWidgetItem*)),
+ this, SLOT(slotPageSelected(KPageWidgetItem*,KPageWidgetItem*)));
setCaption(i18n("Create Calendar"));
}
diff --git a/calendar/wizard/monthwidget.cpp b/calendar/wizard/monthwidget.cpp
index a626799..202fa5a 100644
--- a/calendar/wizard/monthwidget.cpp
+++ b/calendar/wizard/monthwidget.cpp
@@ -72,8 +72,8 @@ MonthWidget::MonthWidget( KIPI::Interface* interface, QWidget* \
parent, int month KIconLoader::SizeMedium,
KIconLoader::DisabledState)));
- connect(interface_, SIGNAL(gotThumbnail(const KUrl&, const QPixmap&)),
- this, SLOT(gotThumbnail(const KUrl&, const QPixmap&)));
+ connect(interface_, SIGNAL(gotThumbnail(KUrl,QPixmap)),
+ this, SLOT(gotThumbnail(KUrl,QPixmap)));
}
MonthWidget::~MonthWidget()
diff --git a/common/libkipiplugins/dialogs/imagedialog.cpp \
b/common/libkipiplugins/dialogs/imagedialog.cpp index 6c52b7b..431e44e 100644
--- a/common/libkipiplugins/dialogs/imagedialog.cpp
+++ b/common/libkipiplugins/dialogs/imagedialog.cpp
@@ -103,14 +103,14 @@ ImageDialogPreview::ImageDialogPreview(KIPI::Interface* iface, \
QWidget* parent)
if (d->iface)
{
- connect(d->iface, SIGNAL(gotThumbnail(const KUrl&, const QPixmap&)),
- this, SLOT(slotThumbnail(const KUrl&, const QPixmap&)));
+ connect(d->iface, SIGNAL(gotThumbnail(KUrl,QPixmap)),
+ this, SLOT(slotThumbnail(KUrl,QPixmap)));
}
d->loadRawThumb = new LoadRawThumbThread(this);
- connect(d->loadRawThumb, SIGNAL(signalRawThumb(const KUrl&, const QImage&)),
- this, SLOT(slotRawThumb(const KUrl&, const QImage&)));
+ connect(d->loadRawThumb, SIGNAL(signalRawThumb(KUrl,QImage)),
+ this, SLOT(slotRawThumb(KUrl,QImage)));
}
ImageDialogPreview::~ImageDialogPreview()
@@ -158,11 +158,11 @@ void ImageDialogPreview::showPreview(const KUrl& url)
{
KIO::PreviewJob *job = KIO::filePreview(d->currentUrl, 256);
- connect(job, SIGNAL(gotPreview(const KFileItem&, const QPixmap&)),
- this, SLOT(slotKDEPreview(const KFileItem&, const QPixmap&)));
+ connect(job, SIGNAL(gotPreview(KFileItem,QPixmap)),
+ this, SLOT(slotKDEPreview(KFileItem,QPixmap)));
- connect(job, SIGNAL(failed(const KFileItem&)),
- this, SLOT(slotKDEPreviewFailed(const KFileItem&)));
+ connect(job, SIGNAL(failed(KFileItem)),
+ this, SLOT(slotKDEPreviewFailed(KFileItem)));
}
// Try to use libkexiv2 to identify image.
diff --git a/common/libkipiplugins/widgets/imageslist.cpp \
b/common/libkipiplugins/widgets/imageslist.cpp index d676370..7b048a3 100644
--- a/common/libkipiplugins/widgets/imageslist.cpp
+++ b/common/libkipiplugins/widgets/imageslist.cpp
@@ -299,8 +299,8 @@ void ImagesListView::setup(int iconSize)
header()->setResizeMode(User5, QHeaderView::Stretch);
header()->setResizeMode(User6, QHeaderView::Stretch);
- connect(this, SIGNAL(itemClicked(QTreeWidgetItem*, int)),
- this, SLOT(slotItemClicked(QTreeWidgetItem*, int)));
+ connect(this, SIGNAL(itemClicked(QTreeWidgetItem*,int)),
+ this, SLOT(slotItemClicked(QTreeWidgetItem*,int)));
}
void ImagesListView::enableDragAndDrop(const bool enable)
@@ -512,19 +512,19 @@ ImagesList::ImagesList(Interface* iface, QWidget* parent, int \
iconSize)
// --------------------------------------------------------
- connect(d->listView, SIGNAL(addedDropedItems(const KUrl::List&)),
- this, SLOT(slotAddImages(const KUrl::List&)));
+ connect(d->listView, SIGNAL(addedDropedItems(KUrl::List)),
+ this, SLOT(slotAddImages(KUrl::List)));
if (d->iface)
{
- connect(d->iface, SIGNAL(gotThumbnail( const KUrl&, const QPixmap& )),
- this, SLOT(slotThumbnail(const KUrl&, const QPixmap&)));
+ connect(d->iface, SIGNAL(gotThumbnail(KUrl,QPixmap)),
+ this, SLOT(slotThumbnail(KUrl,QPixmap)));
}
d->loadRawThumb = new LoadRawThumbThread(this);
- connect(d->loadRawThumb, SIGNAL(signalRawThumb(const KUrl&, const QImage&)),
- this, SLOT(slotRawThumb(const KUrl&, const QImage&)));
+ connect(d->loadRawThumb, SIGNAL(signalRawThumb(KUrl,QImage)),
+ this, SLOT(slotRawThumb(KUrl,QImage)));
connect(d->listView, SIGNAL(signalItemClicked(QTreeWidgetItem*)),
this, SIGNAL(signalItemClicked(QTreeWidgetItem*)));
@@ -958,11 +958,11 @@ void ImagesList::updateThumbnail(const KUrl& url)
{
KIO::PreviewJob* job = KIO::filePreview(KUrl::List() << url.toLocalFile(), \
DEFAULTSIZE);
- connect(job, SIGNAL(gotPreview(const KFileItem&, const QPixmap&)),
- this, SLOT(slotKDEPreview(const KFileItem&, const QPixmap&)));
+ connect(job, SIGNAL(gotPreview(KFileItem,QPixmap)),
+ this, SLOT(slotKDEPreview(KFileItem,QPixmap)));
- connect(job, SIGNAL(failed(const KFileItem&)),
- this, SLOT(slotKDEPreviewFailed(const KFileItem&)));
+ connect(job, SIGNAL(failed(KFileItem)),
+ this, SLOT(slotKDEPreviewFailed(KFileItem)));
}
}
diff --git a/debianscreenshots/dsjob.cpp b/debianscreenshots/dsjob.cpp
index c4f6e10..26a0518 100644
--- a/debianscreenshots/dsjob.cpp
+++ b/debianscreenshots/dsjob.cpp
@@ -36,14 +36,14 @@ DebianScreenshotsJob::DebianScreenshotsJob(const QString& \
packageName, const KUr {
setObjectName("DebianScreenshotsJob");
/*
- connect(&talk, SIGNAL(signalLoginDone(int, QString)),
- this, SLOT(loginDone(int, QString)));
+ connect(&talk, SIGNAL(signalLoginDone(int,QString)),
+ this, SLOT(loginDone(int,QString)));
- connect(&talk, SIGNAL(signalListAlbumsDone(int, QString, QList<FbAlbum>)),
- this, SLOT(albumList(int, QString, QList<FbAlbum>)));
+ connect(&talk, SIGNAL(signalListAlbumsDone(int,QString,QList<FbAlbum>)),
+ this, SLOT(albumList(int,QString,QList<FbAlbum>)));
- connect(&talk, SIGNAL(signalCreateAlbumDone(int,QString, QString)),
- this, SLOT(albumCreated(int, QString, QString)));
+ connect(&talk, SIGNAL(signalCreateAlbumDone(int,QString,QString)),
+ this, SLOT(albumCreated(int,QString,QString)));
connect(&talk, SIGNAL(signalAddPhotoDone(int,QString)),
this, SLOT(addPhoto(int,QString)));*/
diff --git a/debianscreenshots/dstalker.cpp b/debianscreenshots/dstalker.cpp
index 6868064..ffdef73 100644
--- a/debianscreenshots/dstalker.cpp
+++ b/debianscreenshots/dstalker.cpp
@@ -94,11 +94,11 @@ bool DsTalker::addScreenshot(const QString& imgPath, const \
QString& packageName, job->addMetaData("UserAgent", m_userAgent);
job->addMetaData("content-type", form.contentType());
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_job = job;
m_buffer.resize(0);
diff --git a/debianscreenshots/dswindow.cpp b/debianscreenshots/dswindow.cpp
index a53ac35..d03daaa 100644
--- a/debianscreenshots/dswindow.cpp
+++ b/debianscreenshots/dswindow.cpp
@@ -92,14 +92,14 @@ DsWindow::DsWindow(KIPI::Interface* interface, const QString \
&tmpFolder, QWidget
// ------------------------------------------------------------------------
- connect(m_widget->m_imgList, SIGNAL( signalImageListChanged()),
- this, SLOT( slotMaybeEnableUser1()) );
+ connect(m_widget->m_imgList, SIGNAL(signalImageListChanged()),
+ this, SLOT(slotMaybeEnableUser1()) );
connect(m_widget, SIGNAL(requiredPackageInfoAvailable(bool)),
this, SLOT(slotRequiredPackageInfoAvailableReceived(bool)));
- connect(this, SIGNAL( user1Clicked() ),
- this, SLOT( slotStartTransfer()) );
+ connect(this, SIGNAL(user1Clicked()),
+ this, SLOT(slotStartTransfer()) );
// ------------------------------------------------------------------------
@@ -112,8 +112,8 @@ DsWindow::DsWindow(KIPI::Interface* interface, const QString \
&tmpFolder, QWidget
m_about->addAuthor(ki18n("Pau Garcia i Quiles"), ki18n("Author and maintainer"),
"pgquiles at elpauer dot org");
- disconnect(this, SIGNAL( helpClicked() ),
- this, SLOT( slotHelp()) );
+ disconnect(this, SIGNAL(helpClicked()),
+ this, SLOT(slotHelp()) );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeAction(helpMenu->menu()->actions().first());
diff --git a/debianscreenshots/plugin_debianscreenshots.cpp \
b/debianscreenshots/plugin_debianscreenshots.cpp index 9c55e37..1ea5bb2 100644
--- a/debianscreenshots/plugin_debianscreenshots.cpp
+++ b/debianscreenshots/plugin_debianscreenshots.cpp
@@ -75,8 +75,8 @@ void Plugin_DebianScreenshots::setup(QWidget* widget)
m_actionExport->setIcon(KIcon("debianscreenshots"));
m_actionExport->setShortcut(KShortcut(Qt::ALT+Qt::SHIFT+Qt::Key_D));
- connect(m_actionExport, SIGNAL( triggered(bool) ),
- this, SLOT( slotExport()) );
+ connect(m_actionExport, SIGNAL(triggered(bool)),
+ this, SLOT(slotExport()) );
addAction(m_actionExport);
diff --git a/dngconverter/plugin/batchdialog.cpp \
b/dngconverter/plugin/batchdialog.cpp index b496b8b..ffbc4de 100644
--- a/dngconverter/plugin/batchdialog.cpp
+++ b/dngconverter/plugin/batchdialog.cpp
@@ -175,11 +175,11 @@ BatchDialog::BatchDialog(KIPI::Interface* iface, \
DNGConverterAboutData* about) connect(this, SIGNAL(applyClicked()),
this, SLOT(slotStartStop()));
- connect(d->thread, SIGNAL(starting(const KIPIDNGConverterPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIDNGConverterPlugin::ActionData&)));
+ connect(d->thread, SIGNAL(starting(KIPIDNGConverterPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIDNGConverterPlugin::ActionData)));
- connect(d->thread, SIGNAL(finished(const KIPIDNGConverterPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIDNGConverterPlugin::ActionData&)));
+ connect(d->thread, SIGNAL(finished(KIPIDNGConverterPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIDNGConverterPlugin::ActionData)));
connect(d->listView, SIGNAL(signalImageListChanged()),
this, SLOT(slotIdentify()));
diff --git a/dngconverter/plugin/settingswidget.cpp \
b/dngconverter/plugin/settingswidget.cpp index 799e3d2..3727240 100644
--- a/dngconverter/plugin/settingswidget.cpp
+++ b/dngconverter/plugin/settingswidget.cpp
@@ -149,8 +149,8 @@ SettingsWidget::SettingsWidget(QWidget *parent)
settingsBoxLayout->setMargin(KDialog::spacingHint());
settingsBoxLayout->setSpacing(KDialog::spacingHint());
- connect(dngLogoLabel, SIGNAL(leftClickedUrl(const QString&)),
- this, SLOT(processUrl(const QString&)));
+ connect(dngLogoLabel, SIGNAL(leftClickedUrl(QString)),
+ this, SLOT(processUrl(QString)));
}
SettingsWidget::~SettingsWidget()
diff --git a/expoblending/blendingdlg/bracketstack.cpp \
b/expoblending/blendingdlg/bracketstack.cpp index 2ca303d..d253e79 100644
--- a/expoblending/blendingdlg/bracketstack.cpp
+++ b/expoblending/blendingdlg/bracketstack.cpp
@@ -144,14 +144,14 @@ BracketStackList::BracketStackList(Interface* iface, QWidget* \
parent)
if (d->iface)
{
- connect(d->iface, SIGNAL(gotThumbnail(const KUrl&, const QPixmap&)),
- this, SLOT(slotThumbnail(const KUrl&, const QPixmap&)));
+ connect(d->iface, SIGNAL(gotThumbnail(KUrl,QPixmap)),
+ this, SLOT(slotThumbnail(KUrl,QPixmap)));
}
d->loadRawThumb = new LoadRawThumbThread(this);
- connect(d->loadRawThumb, SIGNAL(signalRawThumb(const KUrl&, const QImage&)),
- this, SLOT(slotRawThumb(const KUrl&, const QImage&)));
+ connect(d->loadRawThumb, SIGNAL(signalRawThumb(KUrl,QImage)),
+ this, SLOT(slotRawThumb(KUrl,QImage)));
sortItems(2, Qt::DescendingOrder);
}
@@ -235,11 +235,11 @@ void BracketStackList::addItems(const KUrl::List& list)
{
KIO::PreviewJob *job = KIO::filePreview(urls, iconSize().width());
- connect(job, SIGNAL(gotPreview(const KFileItem&, const QPixmap&)),
- this, SLOT(slotKDEPreview(const KFileItem&, const QPixmap&)));
+ connect(job, SIGNAL(gotPreview(KFileItem,QPixmap)),
+ this, SLOT(slotKDEPreview(KFileItem,QPixmap)));
- connect(job, SIGNAL(failed(const KFileItem&)),
- this, SLOT(slotKDEPreviewFailed(const KFileItem&)));
+ connect(job, SIGNAL(failed(KFileItem)),
+ this, SLOT(slotKDEPreviewFailed(KFileItem)));
}
emit signalAddItems(urls);
diff --git a/expoblending/blendingdlg/enfusestack.cpp \
b/expoblending/blendingdlg/enfusestack.cpp index cb3091b..31eed40 100644
--- a/expoblending/blendingdlg/enfusestack.cpp
+++ b/expoblending/blendingdlg/enfusestack.cpp
@@ -185,11 +185,11 @@ EnfuseStackList::EnfuseStackList(QWidget* parent)
labels.append( i18n("Inputs") );
setHeaderLabels(labels);
- connect(this, SIGNAL(itemClicked(QTreeWidgetItem*, int)),
+ connect(this, SIGNAL(itemClicked(QTreeWidgetItem*,int)),
this, SLOT(slotItemClicked(QTreeWidgetItem*)));
- connect(this, SIGNAL(customContextMenuRequested(const QPoint&)),
- this, SLOT(slotContextMenu(const QPoint&)));
+ connect(this, SIGNAL(customContextMenuRequested(QPoint)),
+ this, SLOT(slotContextMenu(QPoint)));
connect(d->progressTimer, SIGNAL(timeout()),
this, SLOT(slotProgressTimerDone()));
@@ -208,14 +208,14 @@ void EnfuseStackList::slotContextMenu(const QPoint& p)
if (item)
{
KAction* rmItem = new KAction(KIcon("dialog-close"), i18n("Remove item"), \
this);
- connect(rmItem, SIGNAL(triggered(bool) ),
+ connect(rmItem, SIGNAL(triggered(bool)),
this, SLOT(slotRemoveItem()));
popmenu.addAction(rmItem);
popmenu.addSeparator();
}
KAction* rmAll = new KAction(KIcon("edit-delete-shred"), i18n("Clear all"), \
this);
- connect(rmAll, SIGNAL(triggered(bool) ),
+ connect(rmAll, SIGNAL(triggered(bool)),
this, SLOT(clear()));
popmenu.addAction(rmAll);
diff --git a/expoblending/blendingdlg/expoblendingdlg.cpp \
b/expoblending/blendingdlg/expoblendingdlg.cpp index 65f17f8..70322e9 100644
--- a/expoblending/blendingdlg/expoblendingdlg.cpp
+++ b/expoblending/blendingdlg/expoblendingdlg.cpp
@@ -240,22 +240,22 @@ ExpoBlendingDlg::ExpoBlendingDlg(Manager* mngr, QWidget* \
parent) connect(this, SIGNAL(user3Clicked()),
this, SLOT(slotAbort()));
- connect(d->mngr->thread(), SIGNAL(starting(const \
KIPIExpoBlendingPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIExpoBlendingPlugin::ActionData&)));
+ connect(d->mngr->thread(), SIGNAL(starting(KIPIExpoBlendingPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIExpoBlendingPlugin::ActionData)));
- connect(d->mngr->thread(), SIGNAL(finished(const \
KIPIExpoBlendingPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIExpoBlendingPlugin::ActionData&)));
+ connect(d->mngr->thread(), SIGNAL(finished(KIPIExpoBlendingPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIExpoBlendingPlugin::ActionData)));
- connect(d->bracketStack, SIGNAL(signalAddItems(const KUrl::List&)),
- this, SLOT(slotAddItems(const KUrl::List&)));
+ connect(d->bracketStack, SIGNAL(signalAddItems(KUrl::List)),
+ this, SLOT(slotAddItems(KUrl::List)));
connect(d->previewWidget, SIGNAL(signalButtonClicked()),
this, SLOT(slotPreviewButtonClicked()));
- connect(d->enfuseStack, SIGNAL(signalItemClicked(const KUrl&)),
- this, SLOT(slotLoadProcessed(const KUrl&)));
+ connect(d->enfuseStack, SIGNAL(signalItemClicked(KUrl)),
+ this, SLOT(slotLoadProcessed(KUrl)));
- connect(d->templateFileName, SIGNAL(textChanged(const QString&)),
+ connect(d->templateFileName, SIGNAL(textChanged(QString)),
this, SLOT(slotFileFormatChanged()));
connect(d->saveSettingsBox, SIGNAL(signalSaveFormatChanged()),
diff --git a/expoblending/importwizard/importwizarddlg.cpp \
b/expoblending/importwizard/importwizarddlg.cpp index 99c9e95..01bce9c 100644
--- a/expoblending/importwizard/importwizarddlg.cpp
+++ b/expoblending/importwizard/importwizarddlg.cpp
@@ -101,8 +101,8 @@ ImportWizardDlg::ImportWizardDlg(Manager* mngr, QWidget* parent)
connect(d->itemsPage, SIGNAL(signalItemsPageIsValid(bool)),
this, SLOT(slotItemsPageIsValid(bool)));
- connect(d->preProcessingPage, SIGNAL(signalPreProcessed(const ItemUrlsMap&)),
- this, SLOT(slotPreProcessed(const ItemUrlsMap&)));
+ connect(d->preProcessingPage, SIGNAL(signalPreProcessed(ItemUrlsMap)),
+ this, SLOT(slotPreProcessed(ItemUrlsMap)));
}
ImportWizardDlg::~ImportWizardDlg()
diff --git a/expoblending/importwizard/itemspage.cpp \
b/expoblending/importwizard/itemspage.cpp index eb304b0..9ac5bf7 100644
--- a/expoblending/importwizard/itemspage.cpp
+++ b/expoblending/importwizard/itemspage.cpp
@@ -90,14 +90,14 @@ ItemsPage::ItemsPage(Manager* mngr, KAssistantDialog* dlg)
QPixmap leftPix = KStandardDirs::locate("data", \
"kipiplugin_expoblending/pics/assistant-stack.png");
setLeftBottomPix(leftPix.scaledToWidth(128, Qt::SmoothTransformation));
- connect(d->mngr->thread(), SIGNAL(starting(const \
KIPIExpoBlendingPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIExpoBlendingPlugin::ActionData&)));
+ connect(d->mngr->thread(), SIGNAL(starting(KIPIExpoBlendingPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIExpoBlendingPlugin::ActionData)));
- connect(d->mngr->thread(), SIGNAL(finished(const \
KIPIExpoBlendingPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIExpoBlendingPlugin::ActionData&)));
+ connect(d->mngr->thread(), SIGNAL(finished(KIPIExpoBlendingPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIExpoBlendingPlugin::ActionData)));
- connect(d->list, SIGNAL(signalAddItems(const KUrl::List&)),
- this, SLOT(slotAddItems(const KUrl::List&)));
+ connect(d->list, SIGNAL(signalAddItems(KUrl::List)),
+ this, SLOT(slotAddItems(KUrl::List)));
connect(d->list, SIGNAL(signalImageListChanged()),
this, SLOT(slotImageListChanged()));
diff --git a/expoblending/importwizard/preprocessingpage.cpp \
b/expoblending/importwizard/preprocessingpage.cpp index 10dbae2..b06b319 100644
--- a/expoblending/importwizard/preprocessingpage.cpp
+++ b/expoblending/importwizard/preprocessingpage.cpp
@@ -130,8 +130,8 @@ PreProcessingPage::PreProcessingPage(Manager* mngr, \
KAssistantDialog* dlg)
QPixmap leftPix = KStandardDirs::locate("data", \
"kipiplugin_expoblending/pics/assistant-preprocessing.png");
setLeftBottomPix(leftPix.scaledToWidth(128, Qt::SmoothTransformation));
- connect(d->mngr->thread(), SIGNAL(starting(const \
KIPIExpoBlendingPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIExpoBlendingPlugin::ActionData&)));
+ connect(d->mngr->thread(), SIGNAL(starting(KIPIExpoBlendingPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIExpoBlendingPlugin::ActionData)));
connect(d->progressTimer, SIGNAL(timeout()),
this, SLOT(slotProgressTimerDone()));
@@ -179,8 +179,8 @@ void PreProcessingPage::process()
d->alignCheckBox->hide();
d->progressTimer->start(300);
- connect(d->mngr->thread(), SIGNAL(finished(const \
KIPIExpoBlendingPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIExpoBlendingPlugin::ActionData&)));
+ connect(d->mngr->thread(), SIGNAL(finished(KIPIExpoBlendingPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIExpoBlendingPlugin::ActionData)));
d->mngr->thread()->setPreProcessingSettings(d->alignCheckBox->isChecked(), \
d->mngr->rawDecodingSettings()); \
d->mngr->thread()->preProcessFiles(d->mngr->itemsList()); @@ -190,8 +190,8 @@ void \
PreProcessingPage::process()
void PreProcessingPage::cancel()
{
- disconnect(d->mngr->thread(), SIGNAL(finished(const \
KIPIExpoBlendingPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIExpoBlendingPlugin::ActionData&)));
+ disconnect(d->mngr->thread(), \
SIGNAL(finished(KIPIExpoBlendingPlugin::ActionData)), + this, \
SLOT(slotAction(KIPIExpoBlendingPlugin::ActionData)));
d->mngr->thread()->cancel();
d->progressTimer->stop();
diff --git a/facebook/facebookjob.cpp b/facebook/facebookjob.cpp
index b69c6ac..c5d4343 100644
--- a/facebook/facebookjob.cpp
+++ b/facebook/facebookjob.cpp
@@ -36,17 +36,17 @@ FacebookJob::FacebookJob(const QString& albumName, const \
KUrl::List& url, QObjec {
setObjectName("FacebookJob");
- connect(&m_talk, SIGNAL(signalLoginDone(int, QString)),
- this, SLOT(loginDone(int, QString)));
+ connect(&m_talk, SIGNAL(signalLoginDone(int,QString)),
+ this, SLOT(loginDone(int,QString)));
- connect(&m_talk, SIGNAL(signalListAlbumsDone(int, QString, QList<FbAlbum>)),
- this, SLOT(albumList(int, QString, QList<FbAlbum>)));
+ connect(&m_talk, SIGNAL(signalListAlbumsDone(int,QString,QList<FbAlbum>)),
+ this, SLOT(albumList(int,QString,QList<FbAlbum>)));
- connect(&m_talk, SIGNAL(signalCreateAlbumDone(int, QString, QString)),
- this, SLOT(albumCreated(int, QString, QString)));
+ connect(&m_talk, SIGNAL(signalCreateAlbumDone(int,QString,QString)),
+ this, SLOT(albumCreated(int,QString,QString)));
- connect(&m_talk, SIGNAL(signalAddPhotoDone(int, QString)),
- this, SLOT(addPhoto(int, QString)));
+ connect(&m_talk, SIGNAL(signalAddPhotoDone(int,QString)),
+ this, SLOT(addPhoto(int,QString)));
}
void FacebookJob::start()
diff --git a/facebook/fbtalker.cpp b/facebook/fbtalker.cpp
index 26c7509..1114cfc 100644
--- a/facebook/fbtalker.cpp
+++ b/facebook/fbtalker.cpp
@@ -225,8 +225,8 @@ void FbTalker::exchangeSession(const QString& sessionKey)
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -349,8 +349,8 @@ void FbTalker::getLoggedInUser()
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -387,8 +387,8 @@ void FbTalker::getUserInfo(const QString& userIDs)
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -428,8 +428,8 @@ void FbTalker::getUploadPermission()
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -480,8 +480,8 @@ void FbTalker::logout()
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
m_state = FB_LOGOUT;
m_job = job;
@@ -510,8 +510,8 @@ void FbTalker::listFriends()
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -545,8 +545,8 @@ void FbTalker::listAlbums(long long userID)
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -581,8 +581,8 @@ void FbTalker::listPhotos(long long userID, const QString \
&albumID) job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -632,8 +632,8 @@ void FbTalker::createAlbum(const FbAlbum& album)
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -687,8 +687,8 @@ bool FbTalker::addPhoto(const QString& imgPath,
job->addMetaData("UserAgent", m_userAgent);
job->addMetaData("content-type", form.contentType());
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -711,8 +711,8 @@ void FbTalker::getPhoto(const QString& imgPath)
KIO::TransferJob* job = KIO::get(imgPath, KIO::Reload, KIO::HideProgressInfo);
job->addMetaData("UserAgent", m_userAgent);
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
diff --git a/facebook/fbwidget.cpp b/facebook/fbwidget.cpp
index 076be2b..d5dbc86 100644
--- a/facebook/fbwidget.cpp
+++ b/facebook/fbwidget.cpp
@@ -225,17 +225,17 @@ FbWidget::FbWidget(QWidget* parent, KIPI::Interface *iface, \
bool import)
// ------------------------------------------------------------------------
- connect(m_dlGrp, SIGNAL( buttonClicked(int) ),
- this, SLOT( slotDownloadTypeChanged(int) ));
+ connect(m_dlGrp, SIGNAL(buttonClicked(int)),
+ this, SLOT(slotDownloadTypeChanged(int)));
- connect(m_reloadAlbumsBtn, SIGNAL( clicked() ),
- this, SLOT( slotReloadAlbumsRequest() ));
+ connect(m_reloadAlbumsBtn, SIGNAL(clicked()),
+ this, SLOT(slotReloadAlbumsRequest()));
- connect(m_friendsCoB, SIGNAL( currentIndexChanged(int) ),
- this, SLOT( slotFriendsIndexChanged(int) ));
+ connect(m_friendsCoB, SIGNAL(currentIndexChanged(int)),
+ this, SLOT(slotFriendsIndexChanged(int)));
- connect(m_resizeChB, SIGNAL( clicked() ),
- this, SLOT( slotResizeChecked() ));
+ connect(m_resizeChB, SIGNAL(clicked()),
+ this, SLOT(slotResizeChecked()));
// ------------------------------------------------------------------------
diff --git a/facebook/fbwindow.cpp b/facebook/fbwindow.cpp
index d158aab..f498432 100644
--- a/facebook/fbwindow.cpp
+++ b/facebook/fbwindow.cpp
@@ -106,20 +106,20 @@ FbWindow::FbWindow(KIPI::Interface* interface, const QString& \
tmpFolder,
// ------------------------------------------------------------------------
- connect(m_widget->m_imgList, SIGNAL( signalImageListChanged()),
- this, SLOT( slotImageListChanged()) );
+ connect(m_widget->m_imgList, SIGNAL(signalImageListChanged()),
+ this, SLOT(slotImageListChanged()) );
- connect(m_widget->m_changeUserBtn, SIGNAL( clicked() ),
- this, SLOT( slotUserChangeRequest()) );
+ connect(m_widget->m_changeUserBtn, SIGNAL(clicked()),
+ this, SLOT(slotUserChangeRequest()) );
- connect(m_widget->m_newAlbumBtn, SIGNAL( clicked() ),
- this, SLOT( slotNewAlbumRequest()) );
+ connect(m_widget->m_newAlbumBtn, SIGNAL(clicked()),
+ this, SLOT(slotNewAlbumRequest()) );
- connect(m_widget, SIGNAL( reloadAlbums(long long) ),
- this, SLOT( slotReloadAlbumsRequest(long long)) );
+ connect(m_widget, SIGNAL(reloadAlbums(long long)),
+ this, SLOT(slotReloadAlbumsRequest(long long)) );
- connect(this, SIGNAL( user1Clicked() ),
- this, SLOT( slotStartTransfer()) );
+ connect(this, SIGNAL(user1Clicked()),
+ this, SLOT(slotStartTransfer()) );
// ------------------------------------------------------------------------
@@ -134,8 +134,8 @@ FbWindow::FbWindow(KIPI::Interface* interface, const QString& \
tmpFolder,
m_about->addAuthor(ki18n("Luka Renko"), ki18n("Author and maintainer"),
"lure at kubuntu dot org");
- disconnect(this, SIGNAL( helpClicked() ),
- this, SLOT( slotHelp()) );
+ disconnect(this, SIGNAL(helpClicked()),
+ this, SLOT(slotHelp()) );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeAction(helpMenu->menu()->actions().first());
@@ -153,32 +153,32 @@ FbWindow::FbWindow(KIPI::Interface* interface, const QString& \
tmpFolder,
m_talker = new FbTalker(this);
- connect(m_talker, SIGNAL( signalBusy(bool) ),
- this, SLOT( slotBusy(bool) ));
+ connect(m_talker, SIGNAL(signalBusy(bool)),
+ this, SLOT(slotBusy(bool)));
- connect(m_talker, SIGNAL( signalLoginProgress(int, int, const QString&) ),
- this, SLOT( slotLoginProgress(int, int, const QString&) ));
+ connect(m_talker, SIGNAL(signalLoginProgress(int,int,QString)),
+ this, SLOT(slotLoginProgress(int,int,QString)));
- connect(m_talker, SIGNAL( signalLoginDone(int, const QString&) ),
- this, SLOT( slotLoginDone(int, const QString&) ));
+ connect(m_talker, SIGNAL(signalLoginDone(int,QString)),
+ this, SLOT(slotLoginDone(int,QString)));
- connect(m_talker, SIGNAL( signalAddPhotoDone(int, const QString&) ),
- this, SLOT( slotAddPhotoDone(int, const QString&) ));
+ connect(m_talker, SIGNAL(signalAddPhotoDone(int,QString)),
+ this, SLOT(slotAddPhotoDone(int,QString)));
- connect(m_talker, SIGNAL( signalGetPhotoDone(int, const QString&, const \
QByteArray&) ),
- this, SLOT( slotGetPhotoDone(int, const QString&, const QByteArray&) ));
+ connect(m_talker, SIGNAL(signalGetPhotoDone(int,QString,QByteArray)),
+ this, SLOT(slotGetPhotoDone(int,QString,QByteArray)));
- connect(m_talker, SIGNAL( signalCreateAlbumDone(int, const QString&, const \
QString&) ),
- this, SLOT( slotCreateAlbumDone(int, const QString&, const QString&) ));
+ connect(m_talker, SIGNAL(signalCreateAlbumDone(int,QString,QString)),
+ this, SLOT(slotCreateAlbumDone(int,QString,QString)));
- connect(m_talker, SIGNAL( signalListAlbumsDone(int, const QString&, const \
QList<FbAlbum>&) ),
- this, SLOT( slotListAlbumsDone(int, const QString&, const \
QList<FbAlbum>&) )); + connect(m_talker, \
SIGNAL(signalListAlbumsDone(int,QString,QList<FbAlbum>)), + this, \
SLOT(slotListAlbumsDone(int,QString,QList<FbAlbum>)));
- connect(m_talker, SIGNAL( signalListPhotosDone(int, const QString&, const \
QList<FbPhoto>&) ),
- this, SLOT( slotListPhotosDone(int, const QString&, const \
QList<FbPhoto>&) )); + connect(m_talker, \
SIGNAL(signalListPhotosDone(int,QString,QList<FbPhoto>)), + this, \
SLOT(slotListPhotosDone(int,QString,QList<FbPhoto>)));
- connect(m_talker, SIGNAL( signalListFriendsDone(int, const QString&, const \
QList<FbUser>&) ),
- this, SLOT( slotListFriendsDone(int, const QString&, const \
QList<FbUser>&) )); + connect(m_talker, \
SIGNAL(signalListFriendsDone(int,QString,QList<FbUser>)), + this, \
SLOT(slotListFriendsDone(int,QString,QList<FbUser>)));
// ------------------------------------------------------------------------
diff --git a/facebook/plugin_facebook.cpp b/facebook/plugin_facebook.cpp
index c81650f..5af94c8 100644
--- a/facebook/plugin_facebook.cpp
+++ b/facebook/plugin_facebook.cpp
@@ -79,8 +79,8 @@ void Plugin_Facebook::setup(QWidget* widget)
m_actionExport->setIcon(KIcon("facebook"));
m_actionExport->setShortcut(KShortcut(Qt::ALT+Qt::SHIFT+Qt::Key_F));
- connect(m_actionExport, SIGNAL( triggered(bool) ),
- this, SLOT( slotExport()) );
+ connect(m_actionExport, SIGNAL(triggered(bool)),
+ this, SLOT(slotExport()) );
addAction(m_actionExport);
@@ -89,8 +89,8 @@ void Plugin_Facebook::setup(QWidget* widget)
m_actionImport->setIcon(KIcon("facebook"));
m_actionImport->setShortcut(KShortcut(Qt::ALT+Qt::SHIFT+Qt::CTRL+Qt::Key_F));
- connect(m_actionImport, SIGNAL( triggered(bool) ),
- this, SLOT( slotImport()) );
+ connect(m_actionImport, SIGNAL(triggered(bool)),
+ this, SLOT(slotImport()) );
addAction(m_actionImport);
diff --git a/flashexport/firstrundlg.cpp b/flashexport/firstrundlg.cpp
index 55e6ebc..45d9acd 100644
--- a/flashexport/firstrundlg.cpp
+++ b/flashexport/firstrundlg.cpp
@@ -140,15 +140,15 @@ FirstRunDlg::FirstRunDlg(QWidget* parent)
link->setText("http://www.simpleviewer.net");
link->setUrl("http://www.simpleviewer.net");
- connect(link, SIGNAL(leftClickedUrl(const QString&)),
- this, SLOT(slotDownload(const QString&)));
+ connect(link, SIGNAL(leftClickedUrl(QString)),
+ this, SLOT(slotDownload(QString)));
QLabel* info3 = new QLabel(page);
info3->setText(i18n("<p>2.) Point this tool to the downloaded archive</p>"));
d->urlRequester = new KUrlRequester(page);
- connect(d->urlRequester, SIGNAL(urlSelected(const KUrl&)),
- this, SLOT(slotUrlSelected(const KUrl&)));
+ connect(d->urlRequester, SIGNAL(urlSelected(KUrl)),
+ this, SLOT(slotUrlSelected(KUrl)));
topLayout->setMargin(0);
topLayout->setSpacing(spacingHint());
diff --git a/flickrexport/comboboxdelegate.cpp b/flickrexport/comboboxdelegate.cpp
index d2d17e8..f687f53 100644
--- a/flickrexport/comboboxdelegate.cpp
+++ b/flickrexport/comboboxdelegate.cpp
@@ -136,8 +136,8 @@ QWidget* ComboBoxDelegate::createEditor(QWidget* parent, const \
QStyleOptionViewI
// To keep track of the item being edited, the m_rowEdited parameter should
// be reset when the editor is destroyed.
- connect(cb, SIGNAL(destroyed(QObject *)),
- this, SLOT(slotResetEditedState(QObject *)));
+ connect(cb, SIGNAL(destroyed(QObject*)),
+ this, SLOT(slotResetEditedState(QObject*)));
return cb;
}
diff --git a/flickrexport/flickrlist.cpp b/flickrexport/flickrlist.cpp
index f4dbbb4..5242c87 100644
--- a/flickrexport/flickrlist.cpp
+++ b/flickrexport/flickrlist.cpp
@@ -56,12 +56,12 @@ FlickrList::FlickrList(KIPI::Interface* iface, QWidget* parent, \
bool is_23) m_is23(is_23)
{
// Catch a click on the items.
- connect(listView(), SIGNAL(itemClicked(QTreeWidgetItem*, int)),
- this, SLOT(slotItemClicked(QTreeWidgetItem*, int)));
+ connect(listView(), SIGNAL(itemClicked(QTreeWidgetItem*,int)),
+ this, SLOT(slotItemClicked(QTreeWidgetItem*,int)));
// Catch it if the items change.
- connect(listView(), SIGNAL(itemChanged(QTreeWidgetItem*, int)),
- this, SLOT(slotItemChanged(QTreeWidgetItem*, int)));
+ connect(listView(), SIGNAL(itemChanged(QTreeWidgetItem*,int)),
+ this, SLOT(slotItemChanged(QTreeWidgetItem*,int)));
}
void FlickrList::setPublic(Qt::CheckState isPublic)
diff --git a/flickrexport/flickrtalker.cpp b/flickrexport/flickrtalker.cpp
index c10a085..9683b0a 100644
--- a/flickrexport/flickrtalker.cpp
+++ b/flickrexport/flickrtalker.cpp
@@ -194,8 +194,8 @@ void FlickrTalker::getFrob()
job->addMetaData("content-type", "Content-Type: \
application/x-www-form-urlencoded"); }
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -239,8 +239,8 @@ void FlickrTalker::checkToken(const QString& token)
job->addMetaData("content-type", "Content-Type: \
application/x-www-form-urlencoded"); }
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -321,8 +321,8 @@ void FlickrTalker::getToken()
job->addMetaData("content-type", "Content-Type: \
application/x-www-form-urlencoded"); }
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -360,11 +360,11 @@ void FlickrTalker::listPhotoSets()
job->addMetaData("content-type", "Content-Type: \
application/x-www-form-urlencoded"); }
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = FE_LISTPHOTOSETS;
m_job = job;
@@ -408,11 +408,11 @@ void FlickrTalker::getPhotoProperty(const QString& method, \
const QStringList& ar
job->addMetaData("content-type", "Content-Type: \
application/x-www-form-urlencoded"); }
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = FE_GETPHOTOPROPERTY;
m_job = job;
@@ -464,11 +464,11 @@ void FlickrTalker::createPhotoSet(const QString& /*albumName*/, \
const QString& a }
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = FE_CREATEPHOTOSET;
m_job = job;
@@ -516,11 +516,11 @@ void FlickrTalker::addPhotoToPhotoSet(const QString& photoId,
KIO::TransferJob* job = KIO::http_post(url, tmp, KIO::HideProgressInfo);
job->addMetaData("content-type", "Content-Type: \
application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = FE_ADDPHOTOTOPHOTOSET;
m_job = job;
@@ -643,11 +643,11 @@ bool FlickrTalker::addPhoto(const QString& photoPath, const \
FPhotoInfo& info,
KIO::TransferJob* job = KIO::http_post(url, form.formData(), \
KIO::HideProgressInfo); job->addMetaData("content-type", form.contentType());
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = FE_ADDPHOTO;
m_job = job;
diff --git a/flickrexport/flickrwidget.cpp b/flickrexport/flickrwidget.cpp
index 4c2e33f..c32f5e0 100644
--- a/flickrexport/flickrwidget.cpp
+++ b/flickrexport/flickrwidget.cpp
@@ -355,8 +355,8 @@ FlickrWidget::FlickrWidget(QWidget* parent, KIPI::Interface \
*iface, const QStrin connect(m_resizeCheckBox, SIGNAL(clicked()),
this, SLOT(slotResizeChecked()));
- connect(m_imglst, SIGNAL(signalPermissionChanged(FlickrList::FieldType, \
Qt::CheckState)),
- this, SLOT(slotPermissionChanged(FlickrList::FieldType, \
Qt::CheckState))); + connect(m_imglst, \
SIGNAL(signalPermissionChanged(FlickrList::FieldType,Qt::CheckState)), + \
this, SLOT(slotPermissionChanged(FlickrList::FieldType,Qt::CheckState)));
connect(m_publicCheckBox, SIGNAL(stateChanged(int)),
this, SLOT(slotMainPublicToggled(int)));
diff --git a/flickrexport/flickrwindow.cpp b/flickrexport/flickrwindow.cpp
index 67732e0..861fd65 100644
--- a/flickrexport/flickrwindow.cpp
+++ b/flickrexport/flickrwindow.cpp
@@ -162,35 +162,35 @@ FlickrWindow::FlickrWindow(KIPI::Interface* interface, const \
QString& tmpFolder,
m_talker = new FlickrTalker(this, serviceName);
- connect(m_talker, SIGNAL( signalError( const QString& ) ),
- m_talker, SLOT( slotError( const QString& ) ));
+ connect(m_talker, SIGNAL(signalError(QString)),
+ m_talker, SLOT(slotError(QString)));
- connect(m_talker, SIGNAL( signalBusy( bool ) ),
- this, SLOT( slotBusy( bool ) ));
+ connect(m_talker, SIGNAL(signalBusy(bool)),
+ this, SLOT(slotBusy(bool)));
- connect(m_talker, SIGNAL( signalAddPhotoSucceeded() ),
- this, SLOT( slotAddPhotoSucceeded() ));
+ connect(m_talker, SIGNAL(signalAddPhotoSucceeded()),
+ this, SLOT(slotAddPhotoSucceeded()));
- connect(m_talker, SIGNAL( signalAddPhotoFailed( const QString& ) ),
- this, SLOT( slotAddPhotoFailed( const QString& ) ));
+ connect(m_talker, SIGNAL(signalAddPhotoFailed(QString)),
+ this, SLOT(slotAddPhotoFailed(QString)));
- connect(m_talker, SIGNAL( signalAddPhotoSetSucceeded() ),
- this, SLOT( slotAddPhotoSetSucceeded() ));
+ connect(m_talker, SIGNAL(signalAddPhotoSetSucceeded()),
+ this, SLOT(slotAddPhotoSetSucceeded()));
- connect(m_talker, SIGNAL( signalListPhotoSetsSucceeded() ),
- this, SLOT( slotPopulatePhotoSetComboBox() ));
+ connect(m_talker, SIGNAL(signalListPhotoSetsSucceeded()),
+ this, SLOT(slotPopulatePhotoSetComboBox()));
- connect(m_talker, SIGNAL( signalListPhotoSetsFailed(const QString&) ),
- this, SLOT( slotListPhotoSetsFailed(const QString&) ));
+ connect(m_talker, SIGNAL(signalListPhotoSetsFailed(QString)),
+ this, SLOT(slotListPhotoSetsFailed(QString)));
- connect(m_talker, SIGNAL( signalTokenObtained(const QString&) ),
- this, SLOT( slotTokenObtained(const QString&) ));
+ connect(m_talker, SIGNAL(signalTokenObtained(QString)),
+ this, SLOT(slotTokenObtained(QString)));
- //connect( m_talker, SIGNAL( signalAlbums( const QValueList<GAlbum>& ) ),
- // SLOT( slotAlbums( const QValueList<GAlbum>& ) ) );
+ //connect( m_talker, SIGNAL(signalAlbums(QValueList<GAlbum>)),
+ // SLOT(slotAlbums(QValueList<GAlbum>)) );
- //connect( m_talker, SIGNAL( signalPhotos( const QValueList<GPhoto>& ) ),
- // SLOT( slotPhotos( const QValueList<GPhoto>& ) ) );
+ //connect( m_talker, SIGNAL(signalPhotos(QValueList<GPhoto>)),
+ // SLOT(slotPhotos(QValueList<GPhoto>)) );
// --------------------------------------------------------------------------
@@ -199,21 +199,21 @@ FlickrWindow::FlickrWindow(KIPI::Interface* interface, const \
QString& tmpFolder, m_progressDlg->setAutoReset(true);
m_progressDlg->setAutoClose(true);
- connect(m_progressDlg, SIGNAL( canceled() ),
- this, SLOT( slotAddPhotoCancel() ));
+ connect(m_progressDlg, SIGNAL(canceled()),
+ this, SLOT(slotAddPhotoCancel()));
- connect(m_changeUserButton, SIGNAL( clicked() ),
- this, SLOT( slotUserChangeRequest() ));
+ connect(m_changeUserButton, SIGNAL(clicked()),
+ this, SLOT(slotUserChangeRequest()));
- connect(m_newAlbumBtn, SIGNAL( clicked() ),
- this, SLOT( slotCreateNewPhotoSet() ));
+ connect(m_newAlbumBtn, SIGNAL(clicked()),
+ this, SLOT(slotCreateNewPhotoSet()));
- //connect( m_tagView, SIGNAL( selectionChanged() ),
- // SLOT( slotTagSelected() ) );
+ //connect( m_tagView, SIGNAL(selectionChanged()),
+ // SLOT(slotTagSelected()) );
- //connect( m_photoView->browserExtension(), SIGNAL( openURLRequest( const KUrl&, \
const KParts::URLArgs& ) ),
- // SLOT( slotOpenPhoto( const KUrl& ) ) );
+ //connect( m_photoView->browserExtension(), \
SIGNAL(openURLRequest(KUrl,KParts::URLArgs)), + // \
SLOT(slotOpenPhoto(KUrl)) );
// --------------------------------------------------------------------------
@@ -224,8 +224,8 @@ FlickrWindow::FlickrWindow(KIPI::Interface* interface, const \
QString& tmpFolder, m_authProgressDlg->setAutoReset(true);
m_authProgressDlg->setAutoClose(true);
- connect(m_authProgressDlg, SIGNAL( canceled() ),
- this, SLOT( slotAuthCancel() ));
+ connect(m_authProgressDlg, SIGNAL(canceled()),
+ this, SLOT(slotAuthCancel()));
m_talker->m_authProgressDlg = m_authProgressDlg;
diff --git a/galleryexport/galleryconfig.cpp b/galleryexport/galleryconfig.cpp
index 0eed858..6ff530e 100644
--- a/galleryexport/galleryconfig.cpp
+++ b/galleryexport/galleryconfig.cpp
@@ -107,8 +107,8 @@ GalleryEdit::GalleryEdit(QWidget* pParent, Gallery* pGallery, \
const QString& tit mpUsernameEdit->setText(pGallery->username());
mpPasswordEdit->setText(pGallery->password());
- connect(this, SIGNAL( okClicked() ),
- this, SLOT( slotOk() ));
+ connect(this, SIGNAL(okClicked()),
+ this, SLOT(slotOk()));
}
GalleryEdit::~GalleryEdit()
diff --git a/galleryexport/gallerytalker.cpp b/galleryexport/gallerytalker.cpp
index ec465b6..29f0da2 100644
--- a/galleryexport/gallerytalker.cpp
+++ b/galleryexport/gallerytalker.cpp
@@ -101,11 +101,11 @@ void GalleryTalker::login(const KUrl& url, const QString& name, \
const QString& p m_job->addMetaData("content-type", form.contentType());
m_job->addMetaData("cookies", "manual");
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
- connect(m_job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(m_job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
emit signalBusy(true);
}
@@ -129,11 +129,11 @@ void GalleryTalker::listAlbums()
m_job->addMetaData("cookies", "manual");
m_job->addMetaData("setcookies", m_cookie);
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
- connect(m_job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(m_job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
emit signalBusy(true);
}
@@ -155,11 +155,11 @@ void GalleryTalker::listPhotos(const QString& albumName)
m_job->addMetaData("cookies", "manual");
m_job->addMetaData("setcookies", m_cookie);
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
- connect(m_job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(m_job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
emit signalBusy(true);
}
@@ -194,8 +194,8 @@ void GalleryTalker::createAlbum(const QString& parentAlbumName,
m_job->addMetaData("cookies", "manual");
m_job->addMetaData("setcookies", m_cookie);
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
connect(m_job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -280,11 +280,11 @@ bool GalleryTalker::addPhoto(const QString& albumName,
m_job->addMetaData("cookies", "manual");
m_job->addMetaData("setcookies", m_cookie);
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
- connect(m_job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(m_job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
emit signalBusy(true);
diff --git a/galleryexport/gallerywindow.cpp b/galleryexport/gallerywindow.cpp
index 42f295d..6217fc4 100644
--- a/galleryexport/gallerywindow.cpp
+++ b/galleryexport/gallerywindow.cpp
@@ -250,7 +250,7 @@ GalleryWindow::GalleryWindow(KIPI::Interface* interface, QWidget \
*parent, Galler confButton->setText( i18n("Settings") );
confButton->setIcon( KIcon("configure") );
connect(confButton, SIGNAL(clicked()),
- this, SLOT(slotSettings() ) );
+ this, SLOT(slotSettings()) );
// we need to let m_talker work..
m_talker = new GalleryTalker(d->widget);
@@ -293,7 +293,7 @@ GalleryWindow::~GalleryWindow()
void GalleryWindow::connectSignals()
{
connect(d->albumView, SIGNAL(itemSelectionChanged()),
- this , SLOT( slotAlbumSelected() ) );
+ this , SLOT(slotAlbumSelected()) );
connect(d->newAlbumBtn, SIGNAL(clicked()),
this, SLOT(slotNewAlbum()));
@@ -304,32 +304,32 @@ void GalleryWindow::connectSignals()
connect(d->resizeCheckBox, SIGNAL(stateChanged(int)),
this, SLOT(slotEnableSpinBox(int)));
- connect(d->logo, SIGNAL(leftClickedUrl(const QString&)),
- this, SLOT(slotProcessUrl(const QString&)));
+ connect(d->logo, SIGNAL(leftClickedUrl(QString)),
+ this, SLOT(slotProcessUrl(QString)));
- connect(m_progressDlg, SIGNAL( canceled() ),
- this, SLOT( slotAddPhotoCancel() ));
+ connect(m_progressDlg, SIGNAL(canceled()),
+ this, SLOT(slotAddPhotoCancel()));
- connect(m_talker, SIGNAL(signalError(const QString&)),
- this, SLOT(slotError(const QString&)));
+ connect(m_talker, SIGNAL(signalError(QString)),
+ this, SLOT(slotError(QString)));
connect(m_talker, SIGNAL(signalBusy(bool)),
this, SLOT(slotBusy(bool)));
- connect(m_talker, SIGNAL(signalLoginFailed(const QString&)),
- this, SLOT(slotLoginFailed(const QString&)));
+ connect(m_talker, SIGNAL(signalLoginFailed(QString)),
+ this, SLOT(slotLoginFailed(QString)));
- connect(m_talker, SIGNAL(signalAlbums(const QList<GAlbum>&)),
- this, SLOT(slotAlbums(const QList<GAlbum>&)));
+ connect(m_talker, SIGNAL(signalAlbums(QList<GAlbum>)),
+ this, SLOT(slotAlbums(QList<GAlbum>)));
- connect(m_talker, SIGNAL(signalPhotos(const QList<GPhoto>&)),
- this, SLOT(slotPhotos(const QList<GPhoto>&)));
+ connect(m_talker, SIGNAL(signalPhotos(QList<GPhoto>)),
+ this, SLOT(slotPhotos(QList<GPhoto>)));
connect(m_talker, SIGNAL(signalAddPhotoSucceeded()),
this, SLOT(slotAddPhotoSucceeded()));
- connect(m_talker, SIGNAL(signalAddPhotoFailed(const QString&)),
- this, SLOT(slotAddPhotoFailed(const QString&)));
+ connect(m_talker, SIGNAL(signalAddPhotoFailed(QString)),
+ this, SLOT(slotAddPhotoFailed(QString)));
}
void GalleryWindow::slotProcessUrl(const QString& url)
diff --git a/htmlexport/generator.cpp b/htmlexport/generator.cpp
index df9cbf5..185908d 100644
--- a/htmlexport/generator.cpp
+++ b/htmlexport/generator.cpp
@@ -441,8 +441,8 @@ Generator::Generator(KIPI::Interface* interface, GalleryInfo* \
info, KIPIPlugins: d->mProgressDialog=progressDialog;
d->mWarnings=false;
- connect(this, SIGNAL(logWarningRequested(const QString&)),
- SLOT(logWarning(const QString&)), Qt::QueuedConnection);
+ connect(this, SIGNAL(logWarningRequested(QString)),
+ SLOT(logWarning(QString)), Qt::QueuedConnection);
}
diff --git a/htmlexport/wizard.cpp b/htmlexport/wizard.cpp
index 8d0df7f..4cd1b6a 100644
--- a/htmlexport/wizard.cpp
+++ b/htmlexport/wizard.cpp
@@ -257,7 +257,7 @@ Wizard::Wizard(QWidget* parent, GalleryInfo* info, \
KIPI::Interface* interface) d->mOutputPage=new OutputPage(this, i18n("Output"));
d->mOutputPage->kcfg_destUrl->setMode(KFile::Directory);
- connect(d->mOutputPage->kcfg_destUrl, SIGNAL(textChanged(const QString&)),
+ connect(d->mOutputPage->kcfg_destUrl, SIGNAL(textChanged(QString)),
this, SLOT(updateFinishPageValidity()) );
d->mConfigManager=new KConfigDialogManager(this, d->mInfo);
diff --git a/ipodexport/IpodExportDialog.cpp b/ipodexport/IpodExportDialog.cpp
index d797ac6..bc3a740 100644
--- a/ipodexport/IpodExportDialog.cpp
+++ b/ipodexport/IpodExportDialog.cpp
@@ -123,13 +123,13 @@ UploadDialog::UploadDialog
// ------------------------------------------------------------
- disconnect(this, SIGNAL( helpClicked() ),
- this, SLOT( slotHelp() ) );
+ disconnect(this, SIGNAL(helpClicked()),
+ this, SLOT(slotHelp()) );
KHelpMenu* helpMenu = new KHelpMenu( this, m_about, false );
QAction* handbook = new QAction( i18n("Plugin Handbook"), this );
- connect(handbook, SIGNAL( triggered(bool) ),
- this, SLOT( slotHelp() ) );
+ connect(handbook, SIGNAL(triggered(bool)),
+ this, SLOT(slotHelp()) );
helpMenu->menu()->removeAction( helpMenu->menu()->actions().first() );
helpMenu->menu()->insertAction( helpMenu->menu()->actions().first(), handbook );
@@ -243,32 +243,32 @@ UploadDialog::UploadDialog
/// connect the signals & slots
- connect(m_createAlbumButton, SIGNAL( clicked() ),
- this, SLOT( createIpodAlbum() ) );
+ connect(m_createAlbumButton, SIGNAL(clicked()),
+ this, SLOT(createIpodAlbum()) );
- connect(m_removeAlbumButton, SIGNAL( clicked() ),
- this, SLOT( deleteIpodAlbum() ) );
+ connect(m_removeAlbumButton, SIGNAL(clicked()),
+ this, SLOT(deleteIpodAlbum()) );
- connect(m_renameAlbumButton, SIGNAL( clicked() ),
- this, SLOT( renameIpodAlbum() ) );
+ connect(m_renameAlbumButton, SIGNAL(clicked()),
+ this, SLOT(renameIpodAlbum()) );
- connect(m_addImagesButton, SIGNAL( clicked() ),
- this, SLOT( imagesFilesButtonAdd() ) );
+ connect(m_addImagesButton, SIGNAL(clicked()),
+ this, SLOT(imagesFilesButtonAdd()) );
- connect(m_remImagesButton, SIGNAL( clicked() ),
- this, SLOT( imagesFilesButtonRem() ) );
+ connect(m_remImagesButton, SIGNAL(clicked()),
+ this, SLOT(imagesFilesButtonRem()) );
- connect(m_transferImagesButton, SIGNAL( clicked() ),
- this, SLOT( startTransfer() ) );
+ connect(m_transferImagesButton, SIGNAL(clicked()),
+ this, SLOT(startTransfer()) );
- connect(m_uploadList, SIGNAL( signalAddedDropItems(const QStringList&) ),
- this, SLOT( addDropItems(const QStringList&) ) );
+ connect(m_uploadList, SIGNAL(signalAddedDropItems(QStringList)),
+ this, SLOT(addDropItems(QStringList)) );
- connect(m_uploadList, SIGNAL( currentItemChanged(QTreeWidgetItem*, \
QTreeWidgetItem*) ),
- this, SLOT( imageSelected(QTreeWidgetItem*) ));
+ connect(m_uploadList, \
SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)), + this, \
SLOT(imageSelected(QTreeWidgetItem*)));
- connect(m_ipodAlbumList, SIGNAL( currentItemChanged(QTreeWidgetItem*, \
QTreeWidgetItem*) ),
- this, SLOT( ipodItemSelected(QTreeWidgetItem*) ));
+ connect(m_ipodAlbumList, \
SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)), + this, \
SLOT(ipodItemSelected(QTreeWidgetItem*))); }
UploadDialog::~UploadDialog()
@@ -523,8 +523,8 @@ void UploadDialog::imageSelected( QTreeWidgetItem* item )
KIO::PreviewJob* m_thumbJob = KIO::filePreview( url, m_imagePreview->height() );
- connect(m_thumbJob, SIGNAL( gotPreview(const KFileItem*, const QPixmap&) ),
- this, SLOT( gotImagePreview(const KFileItem*, const QPixmap&) ) );
+ connect(m_thumbJob, SIGNAL(gotPreview(const KFileItem*,QPixmap)),
+ this, SLOT(gotImagePreview(const KFileItem*,QPixmap)) );
}
void UploadDialog::gotImagePreview( const KFileItem* url, const QPixmap& pixmap )
@@ -883,8 +883,8 @@ void UploadDialog::refreshDevices()
{
m_ipodHeader->setViewType( IpodHeader::NoIpod );
- connect(m_ipodHeader, SIGNAL( refreshDevices() ),
- this, SLOT( refreshDevices() ));
+ connect(m_ipodHeader, SIGNAL(refreshDevices()),
+ this, SLOT(refreshDevices()));
}
else //device opened! hooray!
{
@@ -896,8 +896,8 @@ void UploadDialog::refreshDevices()
kDebug() << "the ipod model must be set before photos can be added" ;
m_ipodHeader->setViewType( IpodHeader::IncompatibleIpod );
- connect(m_ipodHeader, SIGNAL( updateSysInfo() ),
- this, SLOT( updateSysInfo() ) );
+ connect(m_ipodHeader, SIGNAL(updateSysInfo()),
+ this, SLOT(updateSysInfo()) );
return;
}
diff --git a/ipodexport/IpodHeader.cpp b/ipodexport/IpodHeader.cpp
index 9cc08e8..4081ae8 100644
--- a/ipodexport/IpodHeader.cpp
+++ b/ipodexport/IpodHeader.cpp
@@ -103,8 +103,8 @@ void IpodHeader::setNoIpod()
m_button->disconnect();
- connect(m_button, SIGNAL( clicked() ),
- this, SIGNAL( refreshDevices() ));
+ connect(m_button, SIGNAL(clicked()),
+ this, SIGNAL(refreshDevices()));
}
void IpodHeader::setIncompatibleIpod()
@@ -124,8 +124,8 @@ void IpodHeader::setIncompatibleIpod()
m_button->disconnect();
- connect(m_button, SIGNAL( clicked() ),
- this, SIGNAL( updateSysInfo() ));
+ connect(m_button, SIGNAL(clicked()),
+ this, SIGNAL(updateSysInfo()));
}
void IpodHeader::setValidIpod()
diff --git a/jpeglossless/plugin/plugin_jpeglossless.cpp \
b/jpeglossless/plugin/plugin_jpeglossless.cpp index 744a49a..963b15c 100644
--- a/jpeglossless/plugin/plugin_jpeglossless.cpp
+++ b/jpeglossless/plugin/plugin_jpeglossless.cpp
@@ -178,32 +178,32 @@ void Plugin_JPEGLossless::setup(QWidget* widget)
d->thread = new KIPIJPEGLossLessPlugin::ActionThread(interface, this);
- connect( d->thread, SIGNAL(starting(const QString&, int)),
- this, SLOT(slotStarting(const QString&, int)));
+ connect( d->thread, SIGNAL(starting(QString,int)),
+ this, SLOT(slotStarting(QString,int)));
- connect( d->thread, SIGNAL(finished(const QString&, int)),
- this, SLOT(slotFinished(const QString&, int)));
+ connect( d->thread, SIGNAL(finished(QString,int)),
+ this, SLOT(slotFinished(QString,int)));
- connect( d->thread, SIGNAL(failed(const QString&, int, const QString&)),
- this, SLOT(slotFailed(const QString&, int, const QString&)));
+ connect( d->thread, SIGNAL(failed(QString,int,QString)),
+ this, SLOT(slotFailed(QString,int,QString)));
bool hasSelection = interface->currentSelection().isValid();
d->action_AutoExif->setEnabled( hasSelection );
- connect( interface, SIGNAL( selectionChanged( bool ) ),
- d->action_AutoExif, SLOT( setEnabled( bool ) ) );
+ connect( interface, SIGNAL(selectionChanged(bool)),
+ d->action_AutoExif, SLOT(setEnabled(bool)) );
d->action_RotateImage->setEnabled( hasSelection );
- connect( interface, SIGNAL( selectionChanged( bool ) ),
- d->action_RotateImage, SLOT( setEnabled( bool ) ) );
+ connect( interface, SIGNAL(selectionChanged(bool)),
+ d->action_RotateImage, SLOT(setEnabled(bool)) );
d->action_FlipImage->setEnabled( hasSelection );
- connect( interface, SIGNAL( selectionChanged( bool ) ),
- d->action_FlipImage, SLOT( setEnabled( bool ) ) );
+ connect( interface, SIGNAL(selectionChanged(bool)),
+ d->action_FlipImage, SLOT(setEnabled(bool)) );
d->action_Convert2GrayScale->setEnabled( hasSelection );
- connect( interface, SIGNAL( selectionChanged( bool ) ),
- d->action_Convert2GrayScale, SLOT( setEnabled( bool ) ) );
+ connect( interface, SIGNAL(selectionChanged(bool)),
+ d->action_Convert2GrayScale, SLOT(setEnabled(bool)) );
}
void Plugin_JPEGLossless::slotFlipHorizontally()
diff --git a/kioexportimport/KioExportWidget.cpp \
b/kioexportimport/KioExportWidget.cpp index a7f14df..e25b44d 100644
--- a/kioexportimport/KioExportWidget.cpp
+++ b/kioexportimport/KioExportWidget.cpp
@@ -91,8 +91,8 @@ KioExportWidget::KioExportWidget(QWidget *parent, KIPI::Interface \
*interface) connect(m_targetSearchButton, SIGNAL(clicked(bool)),
this, SLOT(slotShowTargetDialogClicked(bool)));
- connect(m_targetLabel, SIGNAL(leftClickedUrl(const QString&)),
- this, SLOT(slotProcessUrl(const QString&)));
+ connect(m_targetLabel, SIGNAL(leftClickedUrl(QString)),
+ this, SLOT(slotProcessUrl(QString)));
// ------------------------------------------------------------------------
diff --git a/kioexportimport/KioExportWindow.cpp \
b/kioexportimport/KioExportWindow.cpp index fc2558e..a7f3943 100644
--- a/kioexportimport/KioExportWindow.cpp
+++ b/kioexportimport/KioExportWindow.cpp
@@ -237,8 +237,8 @@ void KioExportWindow::slotUpload()
KIO::CopyJob *copyJob = KIO::copy(m_exportWidget->imagesList()->imageUrls(),
m_exportWidget->targetUrl());
- connect(copyJob, SIGNAL(copyingDone(KIO::Job*, const KUrl&, const KUrl&, time_t, \
bool, bool)),
- this, SLOT(slotCopyingDone(KIO::Job*, const KUrl&, const KUrl&, time_t, \
bool, bool))); + connect(copyJob, \
SIGNAL(copyingDone(KIO::Job*,KUrl,KUrl,time_t,bool,bool)), + this, \
SLOT(slotCopyingDone(KIO::Job*,KUrl,KUrl,time_t,bool,bool)));
connect(copyJob, SIGNAL(result(KJob*)),
this, SLOT(slotCopyingFinished(KJob*)));
diff --git a/kioexportimport/KioImportWindow.cpp \
b/kioexportimport/KioImportWindow.cpp index 1df4f31..9d85a6b 100644
--- a/kioexportimport/KioImportWindow.cpp
+++ b/kioexportimport/KioImportWindow.cpp
@@ -125,8 +125,8 @@ void KioImportWindow::slotImport()
KIO::CopyJob *copyJob = KIO::copy(m_importWidget->imagesList()->imageUrls(),
\
m_importWidget->uploadWidget()->selectedImageCollection().uploadPath());
- connect(copyJob, SIGNAL(copyingDone(KIO::Job*, const KUrl&, const KUrl&, time_t, \
bool, bool)),
- this, SLOT(slotCopyingDone(KIO::Job*, const KUrl&, const KUrl&, time_t, \
bool, bool))); + connect(copyJob, \
SIGNAL(copyingDone(KIO::Job*,KUrl,KUrl,time_t,bool,bool)), + this, \
SLOT(slotCopyingDone(KIO::Job*,KUrl,KUrl,time_t,bool,bool)));
connect(copyJob, SIGNAL(result(KJob*)),
this, SLOT(slotCopyingFinished(KJob*)));
diff --git a/kmlexport/kmlexportconfig.cpp b/kmlexport/kmlexportconfig.cpp
index 9d4960f..280cd1a 100644
--- a/kmlexport/kmlexportconfig.cpp
+++ b/kmlexport/kmlexportconfig.cpp
@@ -267,11 +267,11 @@ KMLExportConfig::KMLExportConfig(QWidget* parent)
connect(this, SIGNAL(okClicked()),
this, SLOT(slotOk()));
- connect( GoogleMapTargetRadioButton_, SIGNAL( toggled(bool) ),
- this, SLOT( GoogleMapTargetRadioButton__toggled(bool) ) );
+ connect( GoogleMapTargetRadioButton_, SIGNAL(toggled(bool)),
+ this, SLOT(GoogleMapTargetRadioButton__toggled(bool)) );
- connect( GPXTracksCheckBox_, SIGNAL( toggled(bool) ),
- this, SLOT( KMLTracksCheckButton__toggled(bool) ) );
+ connect( GPXTracksCheckBox_, SIGNAL(toggled(bool)),
+ this, SLOT(KMLTracksCheckButton__toggled(bool)) );
// --------------------------------------------------------------
// About data and help button.
diff --git a/mediawiki/plugin_wikimedia.cpp b/mediawiki/plugin_wikimedia.cpp
index 37ae395..8c3d746 100644
--- a/mediawiki/plugin_wikimedia.cpp
+++ b/mediawiki/plugin_wikimedia.cpp
@@ -76,8 +76,8 @@ void Plugin_WikiMedia::setup(QWidget* widget)
m_actionExport->setText(i18n("Export to &WikiMedia Commons..."));
m_actionExport->setIcon(KIcon("wikimedia"));
- connect(m_actionExport, SIGNAL( triggered(bool) ),
- this, SLOT( slotExport()) );
+ connect(m_actionExport, SIGNAL(triggered(bool)),
+ this, SLOT(slotExport()) );
addAction(m_actionExport);
diff --git a/mediawiki/wikimediajob.cpp b/mediawiki/wikimediajob.cpp
index 46e94f6..1777a23 100644
--- a/mediawiki/wikimediajob.cpp
+++ b/mediawiki/wikimediajob.cpp
@@ -71,10 +71,10 @@ void WikiMediaJob::uploadHandle(KJob* j)
kDebug() << "Upload" << (int)j->error();
emit uploadProgress(100);
- disconnect(j, SIGNAL(result(KJob* )),
+ disconnect(j, SIGNAL(result(KJob*)),
this, SLOT(uploadHandle(KJob*)));
- disconnect(j, SIGNAL(percent(KJob *, unsigned long)),
+ disconnect(j, SIGNAL(percent(KJob*,ulong)),
this, SLOT(slotUploadProgress(KJob*,ulong)));
//error from previous upload
@@ -109,11 +109,11 @@ void WikiMediaJob::uploadHandle(KJob* j)
e1->setFilename(file->fileName());
e1->setText(buildWikiText(info));
- connect(e1, SIGNAL(result(KJob* )),
+ connect(e1, SIGNAL(result(KJob*)),
this, SLOT(uploadHandle(KJob*)));
- connect(e1, SIGNAL(percent(KJob *, unsigned long)),
- this, SLOT(slotUploadProgress(KJob*, ulong)));
+ connect(e1, SIGNAL(percent(KJob*,ulong)),
+ this, SLOT(slotUploadProgress(KJob*,ulong)));
emit uploadProgress(0);
e1->start();
diff --git a/mediawiki/wmwidget.cpp b/mediawiki/wmwidget.cpp
index 0b9ea19..f8e935f 100644
--- a/mediawiki/wmwidget.cpp
+++ b/mediawiki/wmwidget.cpp
@@ -251,8 +251,8 @@ WmWidget::WmWidget(QWidget* parent, KIPI::Interface* iface)
// ------------------------------------------------------------------------
- connect(m_resizeChB, SIGNAL( clicked() ),
- this, SLOT( slotResizeChecked() ));
+ connect(m_resizeChB, SIGNAL(clicked()),
+ this, SLOT(slotResizeChecked()));
connect(m_changeUserBtn, SIGNAL(clicked()),
this, SLOT(slotChangeUserClicked()));
diff --git a/mediawiki/wmwindow.cpp b/mediawiki/wmwindow.cpp
index 37f3dcc..7b3bdf4 100644
--- a/mediawiki/wmwindow.cpp
+++ b/mediawiki/wmwindow.cpp
@@ -114,8 +114,8 @@ WMWindow::WMWindow(KIPI::Interface* interface, const QString& \
tmpFolder, QWidget connect(m_widget, SIGNAL(signalChangeUserRequest()),
this, SLOT(slotChangeUserClicked()));
- connect(m_widget, SIGNAL(signalLoginRequest(const QString&, const QString&, \
const QUrl&)),
- this, SLOT(slotDoLogin(const QString&, const QString&, const QUrl&)));
+ connect(m_widget, SIGNAL(signalLoginRequest(QString,QString,QUrl)),
+ this, SLOT(slotDoLogin(QString,QString,QUrl)));
readSettings();
reactivate();
diff --git a/metadataedit/exif/exifcaption.cpp b/metadataedit/exif/exifcaption.cpp
index cc76966..b531315 100644
--- a/metadataedit/exif/exifcaption.cpp
+++ b/metadataedit/exif/exifcaption.cpp
@@ -242,16 +242,16 @@ EXIFCaption::EXIFCaption(QWidget* parent)
connect(d->userCommentEdit, SIGNAL(textChanged()),
this, SIGNAL(signalModified()));
- connect(d->documentNameEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->documentNameEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->imageDescEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->imageDescEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->artistEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->artistEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->copyrightEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->copyrightEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
}
diff --git a/metadataedit/exif/exifdatetime.cpp b/metadataedit/exif/exifdatetime.cpp
index d441483..a116480 100644
--- a/metadataedit/exif/exifdatetime.cpp
+++ b/metadataedit/exif/exifdatetime.cpp
@@ -259,13 +259,13 @@ EXIFDateTime::EXIFDateTime(QWidget* parent)
connect(d->dateDigitalizedSubSecEdit, SIGNAL(valueChanged(int)),
this, SIGNAL(signalModified()));
- connect(d->dateCreatedSel, SIGNAL(valueChanged (const QDateTime &)),
+ connect(d->dateCreatedSel, SIGNAL(valueChanged(QDateTime)),
this, SIGNAL(signalModified()));
- connect(d->dateOriginalSel, SIGNAL(valueChanged (const QDateTime &)),
+ connect(d->dateOriginalSel, SIGNAL(valueChanged(QDateTime)),
this, SIGNAL(signalModified()));
- connect(d->dateDigitalizedSel, SIGNAL(valueChanged (const QDateTime &)),
+ connect(d->dateDigitalizedSel, SIGNAL(valueChanged(QDateTime)),
this, SIGNAL(signalModified()));
// --------------------------------------------------------
diff --git a/metadataedit/exif/exifdevice.cpp b/metadataedit/exif/exifdevice.cpp
index e68fe07..f38188d 100644
--- a/metadataedit/exif/exifdevice.cpp
+++ b/metadataedit/exif/exifdevice.cpp
@@ -465,10 +465,10 @@ EXIFDevice::EXIFDevice(QWidget* parent)
connect(d->subjectDistanceTypeCB, SIGNAL(activated(int)),
this, SIGNAL(signalModified()));
- connect(d->makeEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->makeEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->modelEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->modelEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
connect(d->exposureTimeNumEdit, SIGNAL(valueChanged(int)),
diff --git a/metadataedit/iptc/iptccategories.cpp \
b/metadataedit/iptc/iptccategories.cpp index abda191..ea10fcd 100644
--- a/metadataedit/iptc/iptccategories.cpp
+++ b/metadataedit/iptc/iptccategories.cpp
@@ -219,7 +219,7 @@ IPTCCategories::IPTCCategories(QWidget* parent)
connect(d->repSubCategoryButton, SIGNAL(clicked()),
this, SIGNAL(signalModified()));
- connect(d->categoryEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->categoryEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
}
diff --git a/metadataedit/iptc/iptccontent.cpp b/metadataedit/iptc/iptccontent.cpp
index 43bfe46..6843dfe 100644
--- a/metadataedit/iptc/iptccontent.cpp
+++ b/metadataedit/iptc/iptccontent.cpp
@@ -185,7 +185,7 @@ IPTCContent::IPTCContent(QWidget* parent)
connect(d->captionEdit, SIGNAL(textChanged()),
this, SIGNAL(signalModified()));
- connect(d->headlineEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->headlineEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
}
diff --git a/metadataedit/iptc/iptccredits.cpp b/metadataedit/iptc/iptccredits.cpp
index ffa1d04..3965402 100644
--- a/metadataedit/iptc/iptccredits.cpp
+++ b/metadataedit/iptc/iptccredits.cpp
@@ -205,13 +205,13 @@ IPTCCredits::IPTCCredits(QWidget* parent)
// --------------------------------------------------------
- connect(d->copyrightEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->copyrightEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->creditEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->creditEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->sourceEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->sourceEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
}
diff --git a/metadataedit/iptc/iptcenvelope.cpp b/metadataedit/iptc/iptcenvelope.cpp
index d9452ec..8eaa51e 100644
--- a/metadataedit/iptc/iptcenvelope.cpp
+++ b/metadataedit/iptc/iptcenvelope.cpp
@@ -363,19 +363,19 @@ IPTCEnvelope::IPTCEnvelope(QWidget* parent)
// --------------------------------------------------------
- connect(d->envelopeIDEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->envelopeIDEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
connect(d->destinationEdit, SIGNAL(textChanged()),
this, SIGNAL(signalModified()));
- connect(d->serviceIDEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->serviceIDEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->productIDEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->productIDEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->unoIDEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->unoIDEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
connect(d->priorityCB, SIGNAL(activated(int)),
@@ -384,10 +384,10 @@ IPTCEnvelope::IPTCEnvelope(QWidget* parent)
connect(d->formatCB, SIGNAL(activated(int)),
this, SIGNAL(signalModified()));
- connect(d->dateSentSel, SIGNAL(changed(const QDate&)),
+ connect(d->dateSentSel, SIGNAL(changed(QDate)),
this, SIGNAL(signalModified()));
- connect(d->timeSentSel, SIGNAL(timeChanged(const QTime&)),
+ connect(d->timeSentSel, SIGNAL(timeChanged(QTime)),
this, SIGNAL(signalModified()));
// --------------------------------------------------------
diff --git a/metadataedit/iptc/iptcorigin.cpp b/metadataedit/iptc/iptcorigin.cpp
index 5856db5..3b6a82b 100644
--- a/metadataedit/iptc/iptcorigin.cpp
+++ b/metadataedit/iptc/iptcorigin.cpp
@@ -597,16 +597,16 @@ IPTCOrigin::IPTCOrigin(QWidget* parent)
// --------------------------------------------------------
- connect(d->dateCreatedSel, SIGNAL(changed(const QDate&)),
+ connect(d->dateCreatedSel, SIGNAL(changed(QDate)),
this, SIGNAL(signalModified()));
- connect(d->dateDigitalizedSel, SIGNAL(changed(const QDate&)),
+ connect(d->dateDigitalizedSel, SIGNAL(changed(QDate)),
this, SIGNAL(signalModified()));
- connect(d->timeCreatedSel, SIGNAL(timeChanged(const QTime&)),
+ connect(d->timeCreatedSel, SIGNAL(timeChanged(QTime)),
this, SIGNAL(signalModified()));
- connect(d->timeDigitalizedSel, SIGNAL(timeChanged(const QTime&)),
+ connect(d->timeDigitalizedSel, SIGNAL(timeChanged(QTime)),
this, SIGNAL(signalModified()));
// --------------------------------------------------------
@@ -622,13 +622,13 @@ IPTCOrigin::IPTCOrigin(QWidget* parent)
connect(d->countryCB, SIGNAL(activated(int)),
this, SIGNAL(signalModified()));
- connect(d->cityEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->cityEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->sublocationEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->sublocationEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->provinceEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->provinceEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
}
diff --git a/metadataedit/iptc/iptcproperties.cpp \
b/metadataedit/iptc/iptcproperties.cpp index 56f696e..9b189be 100644
--- a/metadataedit/iptc/iptcproperties.cpp
+++ b/metadataedit/iptc/iptcproperties.cpp
@@ -345,16 +345,16 @@ IPTCProperties::IPTCProperties(QWidget* parent)
// --------------------------------------------------------
- connect(d->dateReleasedSel, SIGNAL(changed(const QDate&)),
+ connect(d->dateReleasedSel, SIGNAL(changed(QDate)),
this, SIGNAL(signalModified()));
- connect(d->dateExpiredSel, SIGNAL(changed(const QDate&)),
+ connect(d->dateExpiredSel, SIGNAL(changed(QDate)),
this, SIGNAL(signalModified()));
- connect(d->timeReleasedSel, SIGNAL(timeChanged(const QTime&)),
+ connect(d->timeReleasedSel, SIGNAL(timeChanged(QTime)),
this, SIGNAL(signalModified()));
- connect(d->timeExpiredSel, SIGNAL(timeChanged(const QTime&)),
+ connect(d->timeExpiredSel, SIGNAL(timeChanged(QTime)),
this, SIGNAL(signalModified()));
// --------------------------------------------------------
@@ -367,7 +367,7 @@ IPTCProperties::IPTCProperties(QWidget* parent)
// --------------------------------------------------------
- connect(d->languageBtn, SIGNAL(activated(const QString&)),
+ connect(d->languageBtn, SIGNAL(activated(QString)),
this, SIGNAL(signalModified()));
connect(d->priorityCB, SIGNAL(activated(int)),
@@ -379,10 +379,10 @@ IPTCProperties::IPTCProperties(QWidget* parent)
connect(d->objectTypeCB, SIGNAL(activated(int)),
this, SIGNAL(signalModified()));
- connect(d->objectTypeDescEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->objectTypeDescEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->originalTransEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->originalTransEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
}
diff --git a/metadataedit/iptc/iptcstatus.cpp b/metadataedit/iptc/iptcstatus.cpp
index 2d1b5dd..b0a3449 100644
--- a/metadataedit/iptc/iptcstatus.cpp
+++ b/metadataedit/iptc/iptcstatus.cpp
@@ -183,13 +183,13 @@ IPTCStatus::IPTCStatus(QWidget* parent)
// --------------------------------------------------------
- connect(d->objectNameEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->objectNameEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->statusEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->statusEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->JobIDEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->JobIDEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
connect(d->specialInstructionEdit, SIGNAL(textChanged()),
diff --git a/metadataedit/plugin/altlangstringedit.cpp \
b/metadataedit/plugin/altlangstringedit.cpp index aeda6a6..c5796e2 100644
--- a/metadataedit/plugin/altlangstringedit.cpp
+++ b/metadataedit/plugin/altlangstringedit.cpp
@@ -94,17 +94,17 @@ AltLangStringsEdit::AltLangStringsEdit(QWidget* parent, const \
QString& title, co
// --------------------------------------------------------
- connect(d->editor, SIGNAL(signalModified(const QString&, const QString&)),
+ connect(d->editor, SIGNAL(signalModified(QString,QString)),
this, SIGNAL(signalModified()));
- connect(d->editor, SIGNAL(signalValueAdded(const QString&, const QString&)),
+ connect(d->editor, SIGNAL(signalValueAdded(QString,QString)),
this, SIGNAL(signalModified()));
- connect(d->editor, SIGNAL(signalValueDeleted(const QString&)),
+ connect(d->editor, SIGNAL(signalValueDeleted(QString)),
this, SIGNAL(signalModified()));
- connect(d->editor, SIGNAL(signalSelectionChanged(const QString&)),
- this, SLOT(slotSelectionChanged(const QString&)));
+ connect(d->editor, SIGNAL(signalSelectionChanged(QString)),
+ this, SLOT(slotSelectionChanged(QString)));
}
AltLangStringsEdit::~AltLangStringsEdit()
diff --git a/metadataedit/xmp/xmpcategories.cpp b/metadataedit/xmp/xmpcategories.cpp
index e1973e1..1aacd83 100644
--- a/metadataedit/xmp/xmpcategories.cpp
+++ b/metadataedit/xmp/xmpcategories.cpp
@@ -195,7 +195,7 @@ XMPCategories::XMPCategories(QWidget* parent)
connect(d->repSubCategoryButton, SIGNAL(clicked()),
this, SIGNAL(signalModified()));
- connect(d->categoryEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->categoryEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
}
diff --git a/metadataedit/xmp/xmpcontent.cpp b/metadataedit/xmp/xmpcontent.cpp
index 62bb670..a87a0d8 100644
--- a/metadataedit/xmp/xmpcontent.cpp
+++ b/metadataedit/xmp/xmpcontent.cpp
@@ -172,10 +172,10 @@ XMPContent::XMPContent(QWidget* parent)
connect(d->copyrightEdit, SIGNAL(signalModified()),
this, SIGNAL(signalModified()));
- connect(d->headlineEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->headlineEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->writerEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->writerEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
}
diff --git a/metadataedit/xmp/xmpcredits.cpp b/metadataedit/xmp/xmpcredits.cpp
index 4c7635b..9c6cf97 100644
--- a/metadataedit/xmp/xmpcredits.cpp
+++ b/metadataedit/xmp/xmpcredits.cpp
@@ -276,34 +276,34 @@ XMPCredits::XMPCredits(QWidget* parent)
// --------------------------------------------------------
- connect(d->bylineTitleEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->bylineTitleEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->emailEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->emailEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->urlEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->urlEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->phoneEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->phoneEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->addressEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->addressEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->postalCodeEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->postalCodeEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->cityEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->cityEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->countryEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->countryEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->creditEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->creditEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->sourceEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->sourceEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
}
diff --git a/metadataedit/xmp/xmporigin.cpp b/metadataedit/xmp/xmporigin.cpp
index 655448a..dc7e1a0 100644
--- a/metadataedit/xmp/xmporigin.cpp
+++ b/metadataedit/xmp/xmporigin.cpp
@@ -515,10 +515,10 @@ XMPOrigin::XMPOrigin(QWidget* parent)
// --------------------------------------------------------
- connect(d->dateCreatedSel, SIGNAL(valueChanged(const QDateTime&)),
+ connect(d->dateCreatedSel, SIGNAL(valueChanged(QDateTime)),
this, SIGNAL(signalModified()));
- connect(d->dateDigitalizedSel, SIGNAL(valueChanged(const QDateTime&)),
+ connect(d->dateDigitalizedSel, SIGNAL(valueChanged(QDateTime)),
this, SIGNAL(signalModified()));
// --------------------------------------------------------
@@ -534,13 +534,13 @@ XMPOrigin::XMPOrigin(QWidget* parent)
connect(d->countryCB, SIGNAL(activated(int)),
this, SIGNAL(signalModified()));
- connect(d->cityEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->cityEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->sublocationEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->sublocationEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->provinceEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->provinceEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
}
diff --git a/metadataedit/xmp/xmpproperties.cpp b/metadataedit/xmp/xmpproperties.cpp
index 3611005..2f1e99c 100644
--- a/metadataedit/xmp/xmpproperties.cpp
+++ b/metadataedit/xmp/xmpproperties.cpp
@@ -321,10 +321,10 @@ XMPProperties::XMPProperties(QWidget* parent)
connect(d->objectAttributeCB, SIGNAL(activated(int)),
this, SIGNAL(signalModified()));
- connect(d->objectAttributeEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->objectAttributeEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
- connect(d->originalTransEdit, SIGNAL(textChanged(const QString&)),
+ connect(d->originalTransEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
}
diff --git a/metadataedit/xmp/xmpstatus.cpp b/metadataedit/xmp/xmpstatus.cpp
index 3793bb6..c8e2f0d 100644
--- a/metadataedit/xmp/xmpstatus.cpp
+++ b/metadataedit/xmp/xmpstatus.cpp
@@ -146,7 +146,7 @@ XMPStatus::XMPStatus(QWidget* parent)
connect(d->objectNameEdit, SIGNAL(signalModified()),
this, SIGNAL(signalModified()));
- connect(d->nicknameEdit, SIGNAL(textChanged(const QString &)),
+ connect(d->nicknameEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
connect(d->specialInstructionEdit, SIGNAL(textChanged()),
diff --git a/panorama/importwizard/importwizarddlg.cpp \
b/panorama/importwizard/importwizarddlg.cpp index 4e41204..0f6b3ba 100644
--- a/panorama/importwizard/importwizarddlg.cpp
+++ b/panorama/importwizard/importwizarddlg.cpp
@@ -105,11 +105,11 @@ ImportWizardDlg::ImportWizardDlg(Manager* mngr, QWidget* \
parent) connect(d->itemsPage, SIGNAL(signalItemsPageIsValid(bool)),
this, SLOT(slotItemsPageIsValid(bool)));
- connect(d->preProcessingPage, SIGNAL(signalPreProcessed(const ItemUrlsMap&)),
- this, SLOT(slotPreProcessed(const ItemUrlsMap&)));
+ connect(d->preProcessingPage, SIGNAL(signalPreProcessed(ItemUrlsMap)),
+ this, SLOT(slotPreProcessed(ItemUrlsMap)));
- connect(d->optimizePage, SIGNAL(signalOptimized(const KUrl&)),
- this, SLOT(slotOptimized(const KUrl&)));
+ connect(d->optimizePage, SIGNAL(signalOptimized(KUrl)),
+ this, SLOT(slotOptimized(KUrl)));
}
ImportWizardDlg::~ImportWizardDlg()
diff --git a/panorama/importwizard/optimizepage.cpp \
b/panorama/importwizard/optimizepage.cpp index ee80921..d6c3e0d 100644
--- a/panorama/importwizard/optimizepage.cpp
+++ b/panorama/importwizard/optimizepage.cpp
@@ -111,8 +111,8 @@ OptimizePage::OptimizePage(Manager* mngr, KAssistantDialog* dlg)
//QPixmap leftPix = KStandardDirs::locate("data", \
"kipiplugin_panorama/pics/assistant-optimization.png");
//setLeftBottomPix(leftPix.scaledToWidth(128, Qt::SmoothTransformation));
- connect(d->mngr->thread(), SIGNAL(starting(const \
KIPIPanoramaPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIPanoramaPlugin::ActionData&)));
+ connect(d->mngr->thread(), SIGNAL(starting(KIPIPanoramaPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIPanoramaPlugin::ActionData)));
connect(d->progressTimer, SIGNAL(timeout()),
this, SLOT(slotProgressTimerDone()));
@@ -150,8 +150,8 @@ void OptimizePage::process()
d->progressTimer->start(300);
- connect(d->mngr->thread(), SIGNAL(finished(const \
KIPIPanoramaPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIPanoramaPlugin::ActionData&)));
+ connect(d->mngr->thread(), SIGNAL(finished(KIPIPanoramaPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIPanoramaPlugin::ActionData)));
d->mngr->thread()->optimizeProject(d->mngr->cpFindUrl());
if (!d->mngr->thread()->isRunning())
@@ -160,8 +160,8 @@ void OptimizePage::process()
void OptimizePage::cancel()
{
- disconnect(d->mngr->thread(), SIGNAL(finished(const \
KIPIPanoramaPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIPanoramaPlugin::ActionData&)));
+ disconnect(d->mngr->thread(), SIGNAL(finished(KIPIPanoramaPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIPanoramaPlugin::ActionData)));
d->mngr->thread()->cancel();
d->progressTimer->stop();
diff --git a/panorama/importwizard/preprocessingpage.cpp \
b/panorama/importwizard/preprocessingpage.cpp index 807cbc6..bc2e3e2 100644
--- a/panorama/importwizard/preprocessingpage.cpp
+++ b/panorama/importwizard/preprocessingpage.cpp
@@ -126,8 +126,8 @@ PreProcessingPage::PreProcessingPage(Manager* mngr, \
KAssistantDialog* dlg)
QPixmap leftPix = KStandardDirs::locate("data", \
"kipiplugin_panorama/pics/assistant-preprocessing.png");
setLeftBottomPix(leftPix.scaledToWidth(128, Qt::SmoothTransformation));
- connect(d->mngr->thread(), SIGNAL(starting(const \
KIPIPanoramaPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIPanoramaPlugin::ActionData&)));
+ connect(d->mngr->thread(), SIGNAL(starting(KIPIPanoramaPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIPanoramaPlugin::ActionData)));
connect(d->progressTimer, SIGNAL(timeout()),
this, SLOT(slotProgressTimerDone()));
@@ -174,8 +174,8 @@ void PreProcessingPage::process()
d->celesteCheckBox->hide();
d->progressTimer->start(300);
- connect(d->mngr->thread(), SIGNAL(finished(const \
KIPIPanoramaPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIPanoramaPlugin::ActionData&)));
+ connect(d->mngr->thread(), SIGNAL(finished(KIPIPanoramaPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIPanoramaPlugin::ActionData)));
d->mngr->thread()->setPreProcessingSettings(d->celesteCheckBox->isChecked(), \
d->mngr->rawDecodingSettings()); \
d->mngr->thread()->preProcessFiles(d->mngr->itemsList()); @@ -185,8 +185,8 @@ void \
PreProcessingPage::process()
void PreProcessingPage::cancel()
{
- disconnect(d->mngr->thread(), SIGNAL(finished(const \
KIPIPanoramaPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIPanoramaPlugin::ActionData&)));
+ disconnect(d->mngr->thread(), SIGNAL(finished(KIPIPanoramaPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIPanoramaPlugin::ActionData)));
d->mngr->thread()->cancel();
d->progressTimer->stop();
diff --git a/picasawebexport/picasawebreplacedialog.cpp \
b/picasawebexport/picasawebreplacedialog.cpp index b0ffdb2..130023d 100644
--- a/picasawebexport/picasawebreplacedialog.cpp
+++ b/picasawebexport/picasawebreplacedialog.cpp
@@ -177,8 +177,8 @@ PicasawebReplaceDialog::PicasawebReplaceDialog(QWidget* parent, \
const QString& _ // get source thumbnail
if (d->iface && d->src.isValid())
{
- connect(d->iface, SIGNAL(gotThumbnail( const KUrl&, const QPixmap& )),
- this, SLOT(slotThumbnail(const KUrl&, const QPixmap&)));
+ connect(d->iface, SIGNAL(gotThumbnail(KUrl,QPixmap)),
+ this, SLOT(slotThumbnail(KUrl,QPixmap)));
d->iface->thumbnail(d->src, KIconLoader::SizeLarge);
}
@@ -191,11 +191,11 @@ PicasawebReplaceDialog::PicasawebReplaceDialog(QWidget* parent, \
const QString& _
KIO::TransferJob* job = KIO::get(d->dest, KIO::NoReload, \
KIO::HideProgressInfo);
job->addMetaData("content-type", "Content-Type: \
application/x-www-form-urlencoded" );
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotData(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotData(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
}
resize(sizeHint());
diff --git a/picasawebexport/picasawebtalker.cpp \
b/picasawebexport/picasawebtalker.cpp index de5de69..8814ecc 100644
--- a/picasawebexport/picasawebtalker.cpp
+++ b/picasawebexport/picasawebtalker.cpp
@@ -86,8 +86,8 @@ namespace KIPIPicasawebExportPlugin
PicasawebTalker::PicasawebTalker( QWidget* parent )
: m_parent( parent ), m_job( 0 )
{
- connect(this, SIGNAL(signalError(const QString&)),
- this, SLOT(slotError(const QString&)));
+ connect(this, SIGNAL(signalError(QString)),
+ this, SLOT(slotError(QString)));
}
PicasawebTalker::~PicasawebTalker()
@@ -142,11 +142,11 @@ void PicasawebTalker::getToken(const QString& username, const \
QString& password m_state = FE_GETTOKEN;
emit signalLoginProgress(1, 2, "Getting the token");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_job = job;
m_buffer.resize(0);
@@ -187,11 +187,11 @@ void PicasawebTalker::checkToken(const QString& token)
job->addMetaData("content-type", "Content-Type: \
application/x-www-form-urlencoded" );
job->addMetaData("customHTTPHeader", "Authorization: " + auth_string );
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = FE_CHECKTOKEN;
emit signalLoginProgress(1, 2, "Checking if previous token is still valid");
@@ -226,11 +226,11 @@ void PicasawebTalker::listAlbums(const QString& username)
job->addMetaData("customHTTPHeader", "Authorization: " + auth_string );
}
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = FE_LISTALBUMS;
m_job = job;
@@ -259,11 +259,11 @@ void PicasawebTalker::listPhotos(const QString& username,
job->addMetaData("customHTTPHeader", "Authorization: " + auth_string );
}
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = FE_LISTPHOTOS;
m_job = job;
@@ -334,11 +334,11 @@ void PicasawebTalker::createAlbum(const PicasaWebAlbum& album)
job->addMetaData("content-length", QString("Content-Length: \
%1").arg(buffer.length()));
job->addMetaData("customHTTPHeader", "Authorization: " + auth_string );
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = FE_CREATEALBUM;
m_job = job;
@@ -412,11 +412,11 @@ bool PicasawebTalker::addPhoto(const QString& photoPath, \
PicasaWebPhoto& info,
job->addMetaData("content-length", QString("Content-Length: \
%1").arg(form.formData().length()));
job->addMetaData("customHTTPHeader", "Authorization: " + auth_string + \
"\nMIME-version: 1.0" );
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = FE_ADDPHOTO;
m_job = job;
@@ -489,11 +489,11 @@ bool PicasawebTalker::updatePhoto(const QString& photoPath, \
PicasaWebPhoto& info
m_jobData.insert(job, form.formData());
- connect(job, SIGNAL(dataReq(KIO::Job*, QByteArray&)),
- this, SLOT(dataReq(KIO::Job*, QByteArray&)));
+ connect(job, SIGNAL(dataReq(KIO::Job*,QByteArray&)),
+ this, SLOT(dataReq(KIO::Job*,QByteArray&)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = FE_UPDATEPHOTO;
m_job = job;
@@ -514,8 +514,8 @@ void PicasawebTalker::getPhoto(const QString& imgPath)
KIO::TransferJob* job = KIO::get(imgPath, KIO::Reload, KIO::HideProgressInfo);
//job->addMetaData("customHTTPHeader", "Authorization: " + auth_string );
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
diff --git a/picasawebexport/picasawebwidget.cpp \
b/picasawebexport/picasawebwidget.cpp index f4721d1..32b8e9d 100644
--- a/picasawebexport/picasawebwidget.cpp
+++ b/picasawebexport/picasawebwidget.cpp
@@ -227,8 +227,8 @@ PicasawebWidget::PicasawebWidget(QWidget* parent, Interface* \
iface, bool import) connect(m_resizeChB, SIGNAL(clicked()),
this, SLOT(slotResizeChecked()));
- connect(m_anonymousRBtn, SIGNAL( toggled(bool) ),
- this, SLOT( slotAnonymousToggled(bool)) );
+ connect(m_anonymousRBtn, SIGNAL(toggled(bool)),
+ this, SLOT(slotAnonymousToggled(bool)) );
// ------------------------------------------------------------------------
diff --git a/picasawebexport/picasawebwindow.cpp \
b/picasawebexport/picasawebwindow.cpp index 8373fc1..22d7be8 100644
--- a/picasawebexport/picasawebwindow.cpp
+++ b/picasawebexport/picasawebwindow.cpp
@@ -114,20 +114,20 @@ PicasawebWindow::PicasawebWindow(KIPI::Interface* interface, \
const QString& tmpF m_widget->setMinimumSize(700, 500);
}
- connect(m_widget, SIGNAL( signalUserChangeRequest(bool) ),
- this, SLOT( slotUserChangeRequest(bool)) );
+ connect(m_widget, SIGNAL(signalUserChangeRequest(bool)),
+ this, SLOT(slotUserChangeRequest(bool)) );
- connect(m_widget->m_imgList, SIGNAL( signalImageListChanged() ),
- this, SLOT( slotImageListChanged()) );
+ connect(m_widget->m_imgList, SIGNAL(signalImageListChanged()),
+ this, SLOT(slotImageListChanged()) );
- connect(m_widget->m_reloadAlbumsBtn, SIGNAL( clicked() ),
- this, SLOT( slotReloadAlbumsRequest()) );
+ connect(m_widget->m_reloadAlbumsBtn, SIGNAL(clicked()),
+ this, SLOT(slotReloadAlbumsRequest()) );
- connect(m_widget->m_newAlbumBtn, SIGNAL( clicked() ),
- this, SLOT( slotNewAlbumRequest()) );
+ connect(m_widget->m_newAlbumBtn, SIGNAL(clicked()),
+ this, SLOT(slotNewAlbumRequest()) );
- connect(this, SIGNAL( user1Clicked() ),
- this, SLOT( slotStartTransfer()) );
+ connect(this, SIGNAL(user1Clicked()),
+ this, SLOT(slotStartTransfer()) );
// ------------------------------------------------------------------------
@@ -153,8 +153,8 @@ PicasawebWindow::PicasawebWindow(KIPI::Interface* interface, \
const QString& tmpF m_about->addAuthor(ki18n( "Jens Mueller" ), ki18n("Developer"),
"tschenser at gmx dot de");
- disconnect(this, SIGNAL( helpClicked() ),
- this, SLOT( slotHelp()) );
+ disconnect(this, SIGNAL(helpClicked()),
+ this, SLOT(slotHelp()) );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeAction(helpMenu->menu()->actions().first());
@@ -168,26 +168,26 @@ PicasawebWindow::PicasawebWindow(KIPI::Interface* interface, \
const QString& tmpF
m_talker = new PicasawebTalker(this);
- connect(m_talker, SIGNAL( signalBusy(bool) ),
- this, SLOT( slotBusy(bool) ));
+ connect(m_talker, SIGNAL(signalBusy(bool)),
+ this, SLOT(slotBusy(bool)));
- connect(m_talker, SIGNAL( signalLoginProgress(int, int, const QString&) ),
- this, SLOT( slotLoginProgress(int, int, const QString&) ));
+ connect(m_talker, SIGNAL(signalLoginProgress(int,int,QString)),
+ this, SLOT(slotLoginProgress(int,int,QString)));
- connect(m_talker, SIGNAL( signalLoginDone(int, const QString&) ),
- this, SLOT( slotLoginDone(int, const QString&) ));
+ connect(m_talker, SIGNAL(signalLoginDone(int,QString)),
+ this, SLOT(slotLoginDone(int,QString)));
- connect(m_talker, SIGNAL( signalAddPhotoDone(int, const QString&, const \
QString&) ),
- this, SLOT( slotAddPhotoDone(int, const QString&, const QString&) ));
+ connect(m_talker, SIGNAL(signalAddPhotoDone(int,QString,QString)),
+ this, SLOT(slotAddPhotoDone(int,QString,QString)));
- connect(m_talker, SIGNAL( signalCreateAlbumDone(int, const QString&, const \
QString&) ),
- this, SLOT( slotCreateAlbumDone(int, const QString&, const QString&) ));
+ connect(m_talker, SIGNAL(signalCreateAlbumDone(int,QString,QString)),
+ this, SLOT(slotCreateAlbumDone(int,QString,QString)));
- connect(m_talker, SIGNAL( signalListAlbumsDone(int, const QString&, const QList \
<PicasaWebAlbum>&) ),
- this, SLOT( slotListAlbumsDone(int, const QString&, const QList \
<PicasaWebAlbum>&) )); + connect(m_talker, \
SIGNAL(signalListAlbumsDone(int,QString,QList<PicasaWebAlbum>)), + this, \
SLOT(slotListAlbumsDone(int,QString,QList<PicasaWebAlbum>)));
- connect(m_talker, SIGNAL( signalGetPhotoDone(int, const QString&, const \
QByteArray&) ),
- this, SLOT( slotGetPhotoDone(int, const QString&, const QByteArray&) ));
+ connect(m_talker, SIGNAL(signalGetPhotoDone(int,QString,QByteArray)),
+ this, SLOT(slotGetPhotoDone(int,QString,QByteArray)));
// ------------------------------------------------------------------------
readSettings();
@@ -360,8 +360,8 @@ void PicasawebWindow::slotListAlbumsDone(int errCode, const \
QString &errMsg, void PicasawebWindow::slotListPhotosDoneForDownload(int errCode, \
const QString &errMsg,
const QList <PicasaWebPhoto>& \
photosList) {
- disconnect(m_talker, SIGNAL(signalListPhotosDone(int, const QString&, const \
QList <PicasaWebPhoto>&)),
- this, SLOT(slotListPhotosDoneForDownload(int, const QString&, const \
QList <PicasaWebPhoto>&))); + disconnect(m_talker, \
SIGNAL(signalListPhotosDone(int,QString,QList<PicasaWebPhoto>)), + \
this, SLOT(slotListPhotosDoneForDownload(int,QString,QList<PicasaWebPhoto>)));
if (errCode != 0)
{
@@ -397,8 +397,8 @@ void PicasawebWindow::slotListPhotosDoneForDownload(int errCode, \
const QString & void PicasawebWindow::slotListPhotosDoneForUpload(int errCode, const \
QString &errMsg,
const QList <PicasaWebPhoto>& \
photosList) {
- disconnect(m_talker, SIGNAL(signalListPhotosDone(int, const QString&, const \
QList <PicasaWebPhoto>&)),
- this, SLOT(slotListPhotosDoneForUpload(int, const QString&, const \
QList <PicasaWebPhoto>&))); + disconnect(m_talker, \
SIGNAL(signalListPhotosDone(int,QString,QList<PicasaWebPhoto>)), + \
this, SLOT(slotListPhotosDoneForUpload(int,QString,QList<PicasaWebPhoto>)));
if (errCode != 0)
{
@@ -520,8 +520,8 @@ void PicasawebWindow::slotStartTransfer()
if (m_import)
{
// list photos of the album, then start download
- connect(m_talker, SIGNAL(signalListPhotosDone(int, const QString&, const \
QList <PicasaWebPhoto>&)),
- this, SLOT(slotListPhotosDoneForDownload(int, const QString&, const \
QList <PicasaWebPhoto>&))); + connect(m_talker, \
SIGNAL(signalListPhotosDone(int,QString,QList<PicasaWebPhoto>)), + \
this, SLOT(slotListPhotosDoneForDownload(int,QString,QList<PicasaWebPhoto>)));
m_talker->listPhotos(m_username,
\
m_widget->m_albumsCoB->itemData(m_widget->m_albumsCoB->currentIndex()).toString()); \
@@ -530,8 +530,8 @@ void PicasawebWindow::slotStartTransfer() else
{
// list photos of the album, then start upload with add/update items
- connect(m_talker, SIGNAL(signalListPhotosDone(int, const QString&, const \
QList <PicasaWebPhoto>&)),
- this, SLOT(slotListPhotosDoneForUpload(int, const QString&, const \
QList <PicasaWebPhoto>&))); + connect(m_talker, \
SIGNAL(signalListPhotosDone(int,QString,QList<PicasaWebPhoto>)), + \
this, SLOT(slotListPhotosDoneForUpload(int,QString,QList<PicasaWebPhoto>)));
m_talker->listPhotos(m_username,
\
m_widget->m_albumsCoB->itemData(m_widget->m_albumsCoB->currentIndex()).toString());
diff --git a/picasawebexport/plugin_picasawebexport.cpp \
b/picasawebexport/plugin_picasawebexport.cpp index 538fef1..ffe976b 100644
--- a/picasawebexport/plugin_picasawebexport.cpp
+++ b/picasawebexport/plugin_picasawebexport.cpp
@@ -89,8 +89,8 @@ void Plugin_PicasawebExport::setup(QWidget* widget)
m_actionImport->setIcon(KIcon("picasa"));
m_actionImport->setShortcut(KShortcut(Qt::ALT+Qt::SHIFT+Qt::CTRL+Qt::Key_P));
- connect(m_actionImport, SIGNAL( triggered(bool) ),
- this, SLOT( slotImport()) );
+ connect(m_actionImport, SIGNAL(triggered(bool)),
+ this, SLOT(slotImport()) );
addAction(m_actionImport);
diff --git a/piwigoexport/piwigoconfig.cpp b/piwigoexport/piwigoconfig.cpp
index 6522773..a38473f 100644
--- a/piwigoexport/piwigoconfig.cpp
+++ b/piwigoexport/piwigoconfig.cpp
@@ -94,8 +94,8 @@ PiwigoEdit::PiwigoEdit(QWidget* pParent, Piwigo* pPiwigo, const \
QString& title) mpUsernameEdit->setText(pPiwigo->username());
mpPasswordEdit->setText(pPiwigo->password());
- connect(this, SIGNAL( okClicked() ),
- this, SLOT( slotOk() ));
+ connect(this, SIGNAL(okClicked()),
+ this, SLOT(slotOk()));
}
PiwigoEdit::~PiwigoEdit()
diff --git a/piwigoexport/piwigotalker.cpp b/piwigoexport/piwigotalker.cpp
index fc05d13..7430ae7 100644
--- a/piwigoexport/piwigotalker.cpp
+++ b/piwigoexport/piwigotalker.cpp
@@ -116,11 +116,11 @@ void PiwigoTalker::login(const KUrl& url, const QString& name, \
const QString& pa
m_job->addMetaData("content-type", "Content-Type: \
application/x-www-form-urlencoded" );
m_job->addMetaData("customHTTPHeader", "Authorization: " + s_authToken );
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
- connect(m_job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(m_job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
emit signalBusy(true);
}
@@ -142,11 +142,11 @@ void PiwigoTalker::listAlbums()
m_job->addMetaData("content-type", "Content-Type: \
application/x-www-form-urlencoded" );
m_job->addMetaData("customHTTPHeader", "Authorization: " + s_authToken );
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
- connect(m_job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(m_job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
emit signalBusy(true);
}
@@ -259,11 +259,11 @@ bool PiwigoTalker::addPhoto(int albumId,
emit signalProgressInfo( i18n("Check if %1 already exists", \
KUrl(m_path).fileName()) );
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
- connect(m_job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(m_job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
emit signalBusy(true);
@@ -524,11 +524,11 @@ void PiwigoTalker::parseResponseDoesPhotoExist(const \
QByteArray& data)
emit signalProgressInfo( i18n("Upload resized version of %1", \
KUrl(m_path).fileName()) );
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
- connect(m_job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(m_job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
}
void PiwigoTalker::parseResponseAddPhoto(const QByteArray& data)
@@ -591,11 +591,11 @@ void PiwigoTalker::parseResponseAddPhoto(const QByteArray& \
data)
emit signalProgressInfo( i18n("Upload the thumbnail of %1", \
KUrl(m_path).fileName()) );
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
- connect(m_job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(m_job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
}
void PiwigoTalker::addHQNextChunk()
@@ -625,11 +625,11 @@ void PiwigoTalker::addHQNextChunk()
emit signalProgressInfo( i18n("Upload the chunk %1 of %2", m_chunkId, \
KUrl(m_path).fileName()) );
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
- connect(m_job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(m_job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
}
void PiwigoTalker::parseResponseAddThumbnail(const QByteArray& data)
@@ -758,11 +758,11 @@ void PiwigoTalker::addPhotoSummary()
emit signalProgressInfo( i18n("Upload the metadata of %1", \
KUrl(m_path).fileName()) );
- connect(m_job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(slotTalkerData(KIO::Job*, const QByteArray&)));
+ connect(m_job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotTalkerData(KIO::Job*,QByteArray)));
- connect(m_job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(m_job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
}
void PiwigoTalker::parseResponseAddPhotoSummary(const QByteArray& data)
diff --git a/piwigoexport/piwigowindow.cpp b/piwigoexport/piwigowindow.cpp
index f2364ec..09f95c3 100644
--- a/piwigoexport/piwigowindow.cpp
+++ b/piwigoexport/piwigowindow.cpp
@@ -271,7 +271,7 @@ PiwigoWindow::PiwigoWindow(KIPI::Interface* interface, QWidget \
*parent, Piwigo* confButton->setText( i18n("Settings") );
confButton->setIcon( KIcon("configure") );
connect(confButton, SIGNAL(clicked()),
- this, SLOT(slotSettings() ) );
+ this, SLOT(slotSettings()) );
// we need to let m_talker work..
m_talker = new PiwigoTalker(d->widget);
@@ -318,7 +318,7 @@ PiwigoWindow::~PiwigoWindow()
void PiwigoWindow::connectSignals()
{
connect(d->albumView, SIGNAL(itemSelectionChanged()),
- this , SLOT( slotAlbumSelected() ) );
+ this , SLOT(slotAlbumSelected()) );
connect(d->addPhotoBtn, SIGNAL(clicked()),
this, SLOT(slotAddPhoto()));
@@ -326,32 +326,32 @@ void PiwigoWindow::connectSignals()
connect(d->resizeCheckBox, SIGNAL(stateChanged(int)),
this, SLOT(slotEnableSpinBox(int)));
- connect(d->logo, SIGNAL(leftClickedUrl(const QString&)),
- this, SLOT(slotProcessUrl(const QString&)));
+ connect(d->logo, SIGNAL(leftClickedUrl(QString)),
+ this, SLOT(slotProcessUrl(QString)));
- connect(m_progressDlg, SIGNAL( canceled() ),
- this, SLOT( slotAddPhotoCancel() ));
+ connect(m_progressDlg, SIGNAL(canceled()),
+ this, SLOT(slotAddPhotoCancel()));
- connect(m_talker, SIGNAL(signalProgressInfo(const QString&)),
- this, SLOT(slotProgressInfo(const QString&)));
+ connect(m_talker, SIGNAL(signalProgressInfo(QString)),
+ this, SLOT(slotProgressInfo(QString)));
- connect(m_talker, SIGNAL(signalError(const QString&)),
- this, SLOT(slotError(const QString&)));
+ connect(m_talker, SIGNAL(signalError(QString)),
+ this, SLOT(slotError(QString)));
connect(m_talker, SIGNAL(signalBusy(bool)),
this, SLOT(slotBusy(bool)));
- connect(m_talker, SIGNAL(signalLoginFailed(const QString&)),
- this, SLOT(slotLoginFailed(const QString&)));
+ connect(m_talker, SIGNAL(signalLoginFailed(QString)),
+ this, SLOT(slotLoginFailed(QString)));
- connect(m_talker, SIGNAL(signalAlbums(const QList<GAlbum>&)),
- this, SLOT(slotAlbums(const QList<GAlbum>&)));
+ connect(m_talker, SIGNAL(signalAlbums(QList<GAlbum>)),
+ this, SLOT(slotAlbums(QList<GAlbum>)));
connect(m_talker, SIGNAL(signalAddPhotoSucceeded()),
this, SLOT(slotAddPhotoSucceeded()));
- connect(m_talker, SIGNAL(signalAddPhotoFailed(const QString&)),
- this, SLOT(slotAddPhotoFailed(const QString&)));
+ connect(m_talker, SIGNAL(signalAddPhotoFailed(QString)),
+ this, SLOT(slotAddPhotoFailed(QString)));
}
void PiwigoWindow::slotProcessUrl(const QString& url)
diff --git a/printimages/plugin/plugin_printimages.cpp \
b/printimages/plugin/plugin_printimages.cpp index 2b776fd..d48839a 100644
--- a/printimages/plugin/plugin_printimages.cpp
+++ b/printimages/plugin/plugin_printimages.cpp
@@ -75,8 +75,8 @@ void Plugin_PrintImages::setup( QWidget* widget )
m_printImagesAction->setText ( i18n ( "Print images" ) );
m_printImagesAction->setIcon ( KIcon ( "document-print" ) );
- connect ( m_printImagesAction, SIGNAL ( triggered ( bool ) ),
- this, SLOT ( slotPrintImagesActivate() ) );
+ connect ( m_printImagesAction, SIGNAL (triggered(bool)),
+ this, SLOT (slotPrintImagesActivate()) );
addAction ( m_printImagesAction );
@@ -85,8 +85,8 @@ void Plugin_PrintImages::setup( QWidget* widget )
m_printAssistantAction->setIcon ( KIcon ( "document-print" ) );
addAction ( m_printAssistantAction );
- connect ( m_printAssistantAction, SIGNAL ( triggered ( bool ) ),
- this, SLOT ( slotPrintAssistantActivate() ) );
+ connect ( m_printAssistantAction, SIGNAL (triggered(bool)),
+ this, SLOT (slotPrintAssistantActivate()) );
m_interface = dynamic_cast< KIPI::Interface* > ( parent() );
@@ -103,11 +103,11 @@ void Plugin_PrintImages::setup( QWidget* widget )
m_printAssistantAction->setEnabled ( selection.isValid() &&
!selection.images().isEmpty() );
- connect ( m_interface, SIGNAL ( selectionChanged ( bool ) ),
- m_printImagesAction, SLOT ( setEnabled ( bool ) ) );
+ connect ( m_interface, SIGNAL (selectionChanged(bool)),
+ m_printImagesAction, SLOT (setEnabled(bool)) );
- connect ( m_interface, SIGNAL ( selectionChanged ( bool ) ),
- m_printAssistantAction, SLOT ( setEnabled ( bool ) ) );
+ connect ( m_interface, SIGNAL (selectionChanged(bool)),
+ m_printAssistantAction, SLOT (setEnabled(bool)) );
}
Plugin_PrintImages::~Plugin_PrintImages()
diff --git a/printimages/wizard/customdlg.cpp b/printimages/wizard/customdlg.cpp
index ee68917..1659aa7 100644
--- a/printimages/wizard/customdlg.cpp
+++ b/printimages/wizard/customdlg.cpp
@@ -40,8 +40,8 @@ CustomLayoutDlg::CustomLayoutDlg ( QWidget* parent )
{
setupUi ( this );
- connect ( m_doneButton, SIGNAL ( clicked() ),
- this, SLOT ( accept() ) );
+ connect ( m_doneButton, SIGNAL (clicked()),
+ this, SLOT (accept()) );
m_photoGridCheck->setToolTip(i18n("Choose your grid size"));
m_photoGridCheck->setWhatsThis(i18n("Choose your grid size"));
diff --git a/printimages/wizard/printhelper.cpp b/printimages/wizard/printhelper.cpp
index 4ddb4ef..e730d99 100644
--- a/printimages/wizard/printhelper.cpp
+++ b/printimages/wizard/printhelper.cpp
@@ -73,8 +73,8 @@ private:
PrintHelperDialog::PrintHelperDialog ( QPrinter* printer, PrintOptionsPage* \
optionsPage, QWidget* parent ) : QPrintDialog ( printer, parent ), pOptionsPage ( \
optionsPage ) {
- connect ( this, SIGNAL ( accepted ( QPrinter* ) ),/* this,*/
- pOptionsPage, SLOT ( manageQPrintDialogChanges ( QPrinter * ) ) );
+ connect ( this, SIGNAL (accepted(QPrinter*)),/* this,*/
+ pOptionsPage, SLOT (manageQPrintDialogChanges(QPrinter*)) );
}
void PrintHelperDialog::manageQPrintDialogChanges ( QPrinter* /*printer*/ )
@@ -224,7 +224,7 @@ void PrintHelper::print ( const KUrl::List& fileList )
#if 0
connect(dialog, SIGNAL(accepted(QPrinter*)),
- optionsPage, SLOT(ogChanges(QPrinter *)));
+ optionsPage, SLOT(ogChanges(QPrinter*)));
std::auto_ptr<QPrintDialog> dialog(
KdePrint::createPrintDialog(&printer,
diff --git a/printimages/wizard/printoptionspage.cpp \
b/printimages/wizard/printoptionspage.cpp index 6b7d253..b1531f4 100644
--- a/printimages/wizard/printoptionspage.cpp
+++ b/printimages/wizard/printoptionspage.cpp
@@ -155,32 +155,32 @@ PrintOptionsPage::PrintOptionsPage ( QWidget *parent, \
QList<TPhoto*> *photoList enableButtons();
QApplication::restoreOverrideCursor();
- connect ( d->kcfg_PrintWidth, SIGNAL ( valueChanged ( double ) ),
- SLOT ( adjustHeightToRatio() ) );
+ connect ( d->kcfg_PrintWidth, SIGNAL (valueChanged(double)),
+ SLOT (adjustHeightToRatio()) );
- connect ( d->kcfg_PrintHeight, SIGNAL ( valueChanged ( double ) ),
- SLOT ( adjustWidthToRatio() ) );
+ connect ( d->kcfg_PrintHeight, SIGNAL (valueChanged(double)),
+ SLOT (adjustWidthToRatio()) );
- connect ( d->kcfg_PrintKeepRatio, SIGNAL ( toggled ( bool ) ),
- SLOT ( adjustHeightToRatio() ) );
+ connect ( d->kcfg_PrintKeepRatio, SIGNAL (toggled(bool)),
+ SLOT (adjustHeightToRatio()) );
- connect ( d->mPhotoXPage, SIGNAL ( valueChanged ( int ) ), SLOT ( \
photoXpageChanged ( int ) ) );
- connect ( d->mPX, SIGNAL ( valueChanged ( int ) ), SLOT ( horizontalPagesChanged \
( int ) ) );
- connect ( d->mPY, SIGNAL ( valueChanged ( int ) ), SLOT ( verticalPagesChanged ( \
int ) ) ); + connect ( d->mPhotoXPage, SIGNAL (valueChanged(int)), SLOT \
(photoXpageChanged(int)) ); + connect ( d->mPX, SIGNAL (valueChanged(int)), SLOT \
(horizontalPagesChanged(int)) ); + connect ( d->mPY, SIGNAL (valueChanged(int)), \
SLOT (verticalPagesChanged(int)) );
- connect ( d->mRightButton, SIGNAL ( clicked() ),
- this, SLOT ( selectNext() ) );
+ connect ( d->mRightButton, SIGNAL (clicked()),
+ this, SLOT (selectNext()) );
- connect ( d->mLeftButton, SIGNAL ( clicked() ),
- this, SLOT ( selectPrev() ) );
- connect ( d->mSaveSettings, SIGNAL ( clicked() ),
- this, SLOT ( saveConfig() ) );
+ connect ( d->mLeftButton, SIGNAL (clicked()),
+ this, SLOT (selectPrev()) );
+ connect ( d->mSaveSettings, SIGNAL (clicked()),
+ this, SLOT (saveConfig()) );
- connect ( d->mNoScale, SIGNAL ( clicked ( bool ) ), SLOT ( scaleOption() ) );
- connect ( d->mScaleToPage, SIGNAL ( clicked ( bool ) ), SLOT ( scaleOption() ) \
);
- connect ( d->mScaleTo, SIGNAL ( clicked ( bool ) ), SLOT ( scaleOption() ) );
- connect ( d->kcfg_PrintAutoRotate, SIGNAL ( toggled ( bool ) ), SLOT ( \
autoRotate ( bool ) ) );
- connect ( &d->mPositionGroup, SIGNAL (buttonClicked(int )), SLOT ( \
positionChosen(int))); + connect ( d->mNoScale, SIGNAL (clicked(bool)), SLOT \
(scaleOption()) ); + connect ( d->mScaleToPage, SIGNAL (clicked(bool)), SLOT \
(scaleOption()) ); + connect ( d->mScaleTo, SIGNAL (clicked(bool)), SLOT \
(scaleOption()) ); + connect ( d->kcfg_PrintAutoRotate, SIGNAL (toggled(bool)), \
SLOT (autoRotate(bool)) ); + connect ( &d->mPositionGroup, SIGNAL \
(buttonClicked(int)), SLOT (positionChosen(int))); layout()->setMargin ( 0 );
}
diff --git a/printimages/wizard/wizard.cpp b/printimages/wizard/wizard.cpp
index ddf917a..2a98b79 100644
--- a/printimages/wizard/wizard.cpp
+++ b/printimages/wizard/wizard.cpp
@@ -204,95 +204,95 @@ Wizard::Wizard ( QWidget* parent, KIPI::Interface* interface )
// connections
// help
- connect ( handbook, SIGNAL ( triggered ( bool ) ),
- this, SLOT ( slotHelp() ) );
+ connect ( handbook, SIGNAL (triggered(bool)),
+ this, SLOT (slotHelp()) );
// selected page
- connect ( this, SIGNAL ( currentPageChanged ( KPageWidgetItem *, KPageWidgetItem \
* ) ),
- this, SLOT ( pageChanged ( KPageWidgetItem *, KPageWidgetItem * ) ) );
+ connect ( this, SIGNAL (currentPageChanged(KPageWidgetItem*,KPageWidgetItem*)),
+ this, SLOT (pageChanged(KPageWidgetItem*,KPageWidgetItem*)) );
// cancel button
- connect ( this, SIGNAL ( cancelClicked() ),
- this, SLOT ( reject() ) );
+ connect ( this, SIGNAL (cancelClicked()),
+ this, SLOT (reject()) );
// caption information
- connect ( d->mInfoPage->m_captions, SIGNAL ( activated ( const QString & ) ),
- this, SLOT ( captionChanged ( const QString & ) ) );
- connect ( d->mInfoPage->m_FreeCaptionFormat , SIGNAL ( editingFinished () ),
- this, SLOT ( infopage_updateCaptions ( ) ) );
- connect ( d->mInfoPage->m_sameCaption , SIGNAL ( stateChanged (int) ),
- this, SLOT ( infopage_updateCaptions ( ) ) );
- connect ( d->mInfoPage->m_font_name , SIGNAL ( currentFontChanged ( const QFont \
& ) ),
- this, SLOT ( infopage_updateCaptions ( ) ) );
- connect ( d->mInfoPage->m_font_size , SIGNAL ( valueChanged(int) ),
- this, SLOT ( infopage_updateCaptions ( ) ) );
- connect ( d->mInfoPage->m_font_color , SIGNAL ( changed (const QColor &) ),
- this, SLOT ( infopage_updateCaptions ( ) ) );
-
- connect ( d->mInfoPage->m_setDefault , SIGNAL ( clicked () ),
- this, SLOT ( saveCaptionSettings ( ) ) );
+ connect ( d->mInfoPage->m_captions, SIGNAL (activated(QString)),
+ this, SLOT (captionChanged(QString)) );
+ connect ( d->mInfoPage->m_FreeCaptionFormat , SIGNAL (editingFinished()),
+ this, SLOT (infopage_updateCaptions()) );
+ connect ( d->mInfoPage->m_sameCaption , SIGNAL (stateChanged(int)),
+ this, SLOT (infopage_updateCaptions()) );
+ connect ( d->mInfoPage->m_font_name , SIGNAL (currentFontChanged(QFont)),
+ this, SLOT (infopage_updateCaptions()) );
+ connect ( d->mInfoPage->m_font_size , SIGNAL (valueChanged(int)),
+ this, SLOT (infopage_updateCaptions()) );
+ connect ( d->mInfoPage->m_font_color , SIGNAL (changed(QColor)),
+ this, SLOT (infopage_updateCaptions()) );
+
+ connect ( d->mInfoPage->m_setDefault , SIGNAL (clicked()),
+ this, SLOT (saveCaptionSettings()) );
// printer
- connect (d->mInfoPage->m_printer_choice, SIGNAL (activated ( const QString & ) \
),
- this, SLOT ( outputChanged ( const QString & ) ) );
+ connect (d->mInfoPage->m_printer_choice, SIGNAL (activated(QString)),
+ this, SLOT (outputChanged(QString)) );
- connect ( d->mInfoPage->m_preview_right, SIGNAL ( clicked() ),
- this, SLOT ( infopage_selectNext()) );
+ connect ( d->mInfoPage->m_preview_right, SIGNAL (clicked()),
+ this, SLOT (infopage_selectNext()) );
- connect ( d->mInfoPage->m_preview_left, SIGNAL ( clicked() ),
- this, SLOT ( infopage_selectPrev()) );
+ connect ( d->mInfoPage->m_preview_left, SIGNAL (clicked()),
+ this, SLOT (infopage_selectPrev()) );
- connect ( d->mInfoPage->m_increase_copies, SIGNAL ( clicked() ),
- this, SLOT ( infopage_increaseCopies() ) );
+ connect ( d->mInfoPage->m_increase_copies, SIGNAL (clicked()),
+ this, SLOT (infopage_increaseCopies()) );
- connect ( d->mInfoPage->m_decrease_copies, SIGNAL ( clicked() ),
- this, SLOT ( infopage_decreaseCopies() ) );
+ connect ( d->mInfoPage->m_decrease_copies, SIGNAL (clicked()),
+ this, SLOT (infopage_decreaseCopies()) );
- connect ( d->mInfoPage->m_PictureInfo, SIGNAL ( itemSelectionChanged() ),
- this, SLOT ( infopage_imageSelected() ) );
+ connect ( d->mInfoPage->m_PictureInfo, SIGNAL (itemSelectionChanged()),
+ this, SLOT (infopage_imageSelected()) );
// Print order (down)
- connect ( d->mPhotoPage->BtnPrintOrderDown, SIGNAL ( clicked ( void ) ),
- this, SLOT ( BtnPrintOrderDown_clicked ( void ) ) );
+ connect ( d->mPhotoPage->BtnPrintOrderDown, SIGNAL (clicked()),
+ this, SLOT (BtnPrintOrderDown_clicked()) );
// Print order (up)
- connect ( d->mPhotoPage->BtnPrintOrderUp, SIGNAL ( clicked ( void ) ),
- this, SLOT ( BtnPrintOrderUp_clicked ( void ) ) );
+ connect ( d->mPhotoPage->BtnPrintOrderUp, SIGNAL (clicked()),
+ this, SLOT (BtnPrintOrderUp_clicked()) );
- connect ( d->mPhotoPage->BtnPreviewPageUp, SIGNAL ( clicked ( void ) ),
- this, SLOT ( BtnPreviewPageUp_clicked ( void ) ) );
+ connect ( d->mPhotoPage->BtnPreviewPageUp, SIGNAL (clicked()),
+ this, SLOT (BtnPreviewPageUp_clicked()) );
- connect ( d->mPhotoPage->BtnPreviewPageDown, SIGNAL ( clicked ( void ) ),
- this, SLOT ( BtnPreviewPageDown_clicked ( void ) ) );
+ connect ( d->mPhotoPage->BtnPreviewPageDown, SIGNAL (clicked()),
+ this, SLOT (BtnPreviewPageDown_clicked()) );
- connect ( d->mCropPage->BtnCropPrev, SIGNAL ( clicked() ),
- this, SLOT ( BtnCropPrev_clicked() ) );
+ connect ( d->mCropPage->BtnCropPrev, SIGNAL (clicked()),
+ this, SLOT (BtnCropPrev_clicked()) );
- connect ( d->mCropPage->BtnCropNext, SIGNAL ( clicked() ),
- this, SLOT ( BtnCropNext_clicked() ) );
+ connect ( d->mCropPage->BtnCropNext, SIGNAL (clicked()),
+ this, SLOT (BtnCropNext_clicked()) );
- connect ( d->mCropPage->BtnCropRotate, SIGNAL ( clicked() ),
- this, SLOT ( BtnCropRotate_clicked() ) );
+ connect ( d->mCropPage->BtnCropRotate, SIGNAL (clicked()),
+ this, SLOT (BtnCropRotate_clicked()) );
- connect ( d->mPhotoPage->ListPrintOrder, SIGNAL ( itemSelectionChanged() ),
- this, SLOT ( ListPrintOrder_selected() ) );
+ connect ( d->mPhotoPage->ListPrintOrder, SIGNAL (itemSelectionChanged()),
+ this, SLOT (ListPrintOrder_selected()) );
- connect ( d->mPhotoPage->ListPrintOrder, SIGNAL ( itemEntered ( QListWidgetItem \
* ) ),
- this, SLOT ( ListPrintOrder_selected() ) );
+ connect ( d->mPhotoPage->ListPrintOrder, SIGNAL (itemEntered(QListWidgetItem*)),
+ this, SLOT (ListPrintOrder_selected()) );
- connect ( d->mPhotoPage->ListPhotoSizes, SIGNAL ( currentRowChanged ( int ) ),
- this, SLOT ( ListPhotoSizes_selected() ) );
+ connect ( d->mPhotoPage->ListPhotoSizes, SIGNAL (currentRowChanged(int)),
+ this, SLOT (ListPhotoSizes_selected()) );
// don't crop
- connect ( d->mCropPage->m_disableCrop, SIGNAL ( stateChanged ( int ) ),
- this, SLOT ( crop_selection ( int ) ) );
+ connect ( d->mCropPage->m_disableCrop, SIGNAL (stateChanged(int)),
+ this, SLOT (crop_selection(int)) );
// remove a page
- connect ( this, SIGNAL ( pageRemoved ( KPageWidgetItem * ) ),
- this, SLOT ( PageRemoved ( KPageWidgetItem * ) ) );
+ connect ( this, SIGNAL (pageRemoved(KPageWidgetItem*)),
+ this, SLOT (PageRemoved(KPageWidgetItem*)) );
- connect ( d->mInfoPage->m_pagesetup, SIGNAL ( clicked () ),
- this, SLOT ( pagesetupclicked () ) );
+ connect ( d->mInfoPage->m_pagesetup, SIGNAL (clicked()),
+ this, SLOT (pagesetupclicked()) );
d->m_currentPreviewPage = 0;
d->m_currentCropPhoto = 0;
diff --git a/rajceexport/rajcewidget.cpp b/rajceexport/rajcewidget.cpp
index d5d2874..87dddcb 100644
--- a/rajceexport/rajcewidget.cpp
+++ b/rajceexport/rajcewidget.cpp
@@ -195,14 +195,14 @@ RajceWidget::RajceWidget(KIPI::Interface* interface, const \
QString& tmpFolder, Q
// ------------------------------------------------------------------------
- connect(m_session, SIGNAL(busyStarted(unsigned)),
- this, SLOT(progressStarted(unsigned)));
+ connect(m_session, SIGNAL(busyStarted(uint)),
+ this, SLOT(progressStarted(uint)));
- connect(m_session, SIGNAL(busyFinished(unsigned)),
- this, SLOT(progressFinished(unsigned)));
+ connect(m_session, SIGNAL(busyFinished(uint)),
+ this, SLOT(progressFinished(uint)));
- connect(m_session, SIGNAL(busyProgress(unsigned, unsigned)),
- this, SLOT(progressChange(unsigned, unsigned)));
+ connect(m_session, SIGNAL(busyProgress(uint,uint)),
+ this, SLOT(progressChange(uint,uint)));
connect(m_changeUserBtn, SIGNAL(clicked()),
this, SLOT(changeUserClicked()));
@@ -412,7 +412,7 @@ void RajceWidget::changeUserClicked()
if (dlg->exec() == QDialog::Accepted)
{
m_session->clearLastError();
- connect(m_session, SIGNAL(busyFinished(unsigned)),
+ connect(m_session, SIGNAL(busyFinished(uint)),
this, SLOT(loadAlbums()));
m_session->login(dlg->username(), dlg->password());
}
@@ -422,7 +422,7 @@ void RajceWidget::changeUserClicked()
void RajceWidget::loadAlbums()
{
- disconnect(m_session, SIGNAL(busyFinished(unsigned)),
+ disconnect(m_session, SIGNAL(busyFinished(uint)),
this, SLOT(loadAlbums()));
m_session->loadAlbums();
@@ -435,7 +435,7 @@ void RajceWidget::createAlbum()
if (dlg->exec() == QDialog::Accepted)
{
m_session->clearLastError();
- connect(m_session, SIGNAL(busyFinished(unsigned)),
+ connect(m_session, SIGNAL(busyFinished(uint)),
this, SLOT(loadAlbums()));
m_session->createAlbum(dlg->albumName(), dlg->albumDescription(), \
dlg->albumVisible()); }
@@ -455,7 +455,7 @@ void RajceWidget::startUpload()
m_uploadQueue.append(imagePath);
}
- connect(m_session, SIGNAL(busyFinished(unsigned)),
+ connect(m_session, SIGNAL(busyFinished(uint)),
this, SLOT(startUploadAfterAlbumOpened()));
QString albumName = m_albumsCoB->currentText();
@@ -477,10 +477,10 @@ void RajceWidget::startUpload()
void RajceWidget::startUploadAfterAlbumOpened()
{
- disconnect(m_session, SIGNAL(busyFinished(unsigned)),
+ disconnect(m_session, SIGNAL(busyFinished(uint)),
this, SLOT(startUploadAfterAlbumOpened()));
- connect(m_session, SIGNAL(busyFinished(unsigned)),
+ connect(m_session, SIGNAL(busyFinished(uint)),
this, SLOT(uploadNext()));
m_uploadingPhotos = true;
@@ -494,7 +494,7 @@ void RajceWidget::closeAlbum()
{
_setEnabled(true);
- disconnect(m_session, SIGNAL(busyFinished(unsigned)),
+ disconnect(m_session, SIGNAL(busyFinished(uint)),
this, SLOT(closeAlbum()));
m_uploadQueue.clear();
@@ -534,10 +534,10 @@ void RajceWidget::cancelUpload()
m_imgList->processed(false);
}
- disconnect(m_session, SIGNAL(busyFinished(unsigned)),
+ disconnect(m_session, SIGNAL(busyFinished(uint)),
this, SLOT(uploadNext()));
- connect(m_session, SIGNAL(busyFinished(unsigned)),
+ connect(m_session, SIGNAL(busyFinished(uint)),
this, SLOT(closeAlbum()));
m_session->cancelCurrentCommand();
diff --git a/rajceexport/rajcewindow.cpp b/rajceexport/rajcewindow.cpp
index 4eadfb4..f032ca5 100644
--- a/rajceexport/rajcewindow.cpp
+++ b/rajceexport/rajcewindow.cpp
@@ -81,8 +81,8 @@ RajceWindow::RajceWindow(KIPI::Interface* interface, const QString& \
tmpFolder,
m_about->addAuthor(ki18n( "Lukas Krejci" ), ki18n("Author and maintainer"),
"metlosh at gmail dot com");
- disconnect(this, SIGNAL( helpClicked() ),
- this, SLOT( showHelp()) );
+ disconnect(this, SIGNAL(helpClicked()),
+ this, SLOT(showHelp()) );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeAction(helpMenu->menu()->actions().first());
diff --git a/rawconverter/dialogs/batchdialog.cpp \
b/rawconverter/dialogs/batchdialog.cpp index 4a416cc..ce082d8 100644
--- a/rawconverter/dialogs/batchdialog.cpp
+++ b/rawconverter/dialogs/batchdialog.cpp
@@ -234,11 +234,11 @@ BatchDialog::BatchDialog(KIPI::Interface* iface)
connect(this, SIGNAL(applyClicked()),
this, SLOT(slotStartStop()));
- connect(d->thread, SIGNAL(starting(const KIPIRawConverterPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIRawConverterPlugin::ActionData&)));
+ connect(d->thread, SIGNAL(starting(KIPIRawConverterPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIRawConverterPlugin::ActionData)));
- connect(d->thread, SIGNAL(finished(const KIPIRawConverterPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIRawConverterPlugin::ActionData&)));
+ connect(d->thread, SIGNAL(finished(KIPIRawConverterPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIRawConverterPlugin::ActionData)));
connect(d->listView, SIGNAL(signalImageListChanged()),
this, SLOT(slotIdentify()));
diff --git a/rawconverter/dialogs/singledialog.cpp \
b/rawconverter/dialogs/singledialog.cpp index d8a8d97..e10c68e 100644
--- a/rawconverter/dialogs/singledialog.cpp
+++ b/rawconverter/dialogs/singledialog.cpp
@@ -227,11 +227,11 @@ SingleDialog::SingleDialog(const QString& file, \
KIPI::Interface* iface) connect(this, SIGNAL(user3Clicked()),
this, SLOT(slotUser3()));
- connect(d->thread, SIGNAL(starting(const KIPIRawConverterPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIRawConverterPlugin::ActionData&)));
+ connect(d->thread, SIGNAL(starting(KIPIRawConverterPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIRawConverterPlugin::ActionData)));
- connect(d->thread, SIGNAL(finished(const KIPIRawConverterPlugin::ActionData&)),
- this, SLOT(slotAction(const KIPIRawConverterPlugin::ActionData&)));
+ connect(d->thread, SIGNAL(finished(KIPIRawConverterPlugin::ActionData)),
+ this, SLOT(slotAction(KIPIRawConverterPlugin::ActionData)));
// ---------------------------------------------------------------
@@ -251,7 +251,7 @@ void SingleDialog::setFile(const QString& file)
{
d->inputFile = file;
d->inputFileName = QFileInfo(file).fileName();
- QTimer::singleShot(0, this, SLOT( slotIdentify() ));
+ QTimer::singleShot(0, this, SLOT(slotIdentify()));
}
void SingleDialog::slotHelp()
@@ -345,8 +345,8 @@ void SingleDialog::slotIdentify()
}
else
{
- connect(d->iface, SIGNAL(gotThumbnail( const KUrl&, const QPixmap& )),
- this, SLOT(slotThumbnail(const KUrl&, const QPixmap&)));
+ connect(d->iface, SIGNAL(gotThumbnail(KUrl,QPixmap)),
+ this, SLOT(slotThumbnail(KUrl,QPixmap)));
d->iface->thumbnail(KUrl(d->inputFile), 256);
}
diff --git a/sendimages/sendimages.cpp b/sendimages/sendimages.cpp
index 7cb68ee..f26cba0 100644
--- a/sendimages/sendimages.cpp
+++ b/sendimages/sendimages.cpp
@@ -88,14 +88,14 @@ SendImages::SendImages(const EmailSettingsContainer& settings, \
QObject* parent, d->iface = iface;
d->threadImgResize = new KIPISendimagesPlugin::ImageResize(this);
- connect(d->threadImgResize, SIGNAL(startingResize(const KUrl&)),
- this, SLOT(slotStartingResize(const KUrl&)));
+ connect(d->threadImgResize, SIGNAL(startingResize(KUrl)),
+ this, SLOT(slotStartingResize(KUrl)));
- connect(d->threadImgResize, SIGNAL(finishedResize(const KUrl&, const KUrl&, \
int)),
- this, SLOT(slotFinishedResize(const KUrl&, const KUrl&, int)));
+ connect(d->threadImgResize, SIGNAL(finishedResize(KUrl,KUrl,int)),
+ this, SLOT(slotFinishedResize(KUrl,KUrl,int)));
- connect(d->threadImgResize, SIGNAL(failedResize(const KUrl&, const QString&, \
int)),
- this, SLOT(slotFailedResize(const KUrl&, const QString&, int)));
+ connect(d->threadImgResize, SIGNAL(failedResize(KUrl,QString,int)),
+ this, SLOT(slotFailedResize(KUrl,QString,int)));
connect(d->threadImgResize, SIGNAL(completeResize()),
this, SLOT(slotCompleteResize()));
diff --git a/shwup/plugin_shwup.cpp b/shwup/plugin_shwup.cpp
index 321c10b..8b4bdaa 100644
--- a/shwup/plugin_shwup.cpp
+++ b/shwup/plugin_shwup.cpp
@@ -79,8 +79,8 @@ void Plugin_Shwup::setup(QWidget* widget)
m_actionExport->setIcon(KIcon("shwup"));
m_actionExport->setShortcut(KShortcut(Qt::ALT+Qt::SHIFT+Qt::Key_W));
- connect(m_actionExport, SIGNAL( triggered(bool) ),
- this, SLOT( slotExport()) );
+ connect(m_actionExport, SIGNAL(triggered(bool)),
+ this, SLOT(slotExport()) );
addAction(m_actionExport);
diff --git a/shwup/swconnector.cpp b/shwup/swconnector.cpp
index a8db657..bf8ecaf 100644
--- a/shwup/swconnector.cpp
+++ b/shwup/swconnector.cpp
@@ -175,8 +175,8 @@ void SwConnector::setupRequest(KIO::TransferJob* job, const \
QString& requestPath
job->addMetaData("customHTTPHeader", customHeader);
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -204,8 +204,8 @@ void SwConnector::getRestServiceURL()
KIO::TransferJob* job = KIO::get(m_apiStartURL, KIO::Reload, \
KIO::HideProgressInfo);
setupRequest(job, KUrl(m_apiStartURL).path(), method, md5, type, length, false); \
// initial request will NOT send password
- connect(job, SIGNAL(redirection(KIO::Job*, const KUrl&)),
- this, SLOT(slotRequestRestURLRedirection(KIO::Job*, const KUrl&)));
+ connect(job, SIGNAL(redirection(KIO::Job*,KUrl)),
+ this, SLOT(slotRequestRestURLRedirection(KIO::Job*,KUrl)));
m_job = job;
m_buffer.resize(0);
diff --git a/shwup/swwidget.cpp b/shwup/swwidget.cpp
index 82b8228..e0fba3f 100644
--- a/shwup/swwidget.cpp
+++ b/shwup/swwidget.cpp
@@ -181,11 +181,11 @@ SwWidget::SwWidget(QWidget* parent, KIPI::Interface* iface)
// ------------------------------------------------------------------------
- connect(m_reloadAlbumsBtn, SIGNAL( clicked() ),
- this, SLOT( slotReloadAlbumsRequest() ));
+ connect(m_reloadAlbumsBtn, SIGNAL(clicked()),
+ this, SLOT(slotReloadAlbumsRequest()));
- connect(m_resizeChB, SIGNAL( clicked() ),
- this, SLOT( slotResizeChecked() ));
+ connect(m_resizeChB, SIGNAL(clicked()),
+ this, SLOT(slotResizeChecked()));
uploadBox->hide();
}
diff --git a/shwup/swwindow.cpp b/shwup/swwindow.cpp
index 7705469..9fb8682 100644
--- a/shwup/swwindow.cpp
+++ b/shwup/swwindow.cpp
@@ -94,23 +94,23 @@ SwWindow::SwWindow(KIPI::Interface* interface, const QString& \
tmpFolder, QWidget i18n("Start upload to Shwup web service")));
m_widget->setMinimumSize(700, 500);
- connect(m_widget->m_imgList, SIGNAL( signalImageListChanged()),
- this, SLOT( slotImageListChanged()) );
+ connect(m_widget->m_imgList, SIGNAL(signalImageListChanged()),
+ this, SLOT(slotImageListChanged()) );
- connect(m_widget->m_changeUserBtn, SIGNAL( clicked() ),
- this, SLOT( slotUserChangeRequest()) );
+ connect(m_widget->m_changeUserBtn, SIGNAL(clicked()),
+ this, SLOT(slotUserChangeRequest()) );
- connect(m_widget->m_newAlbumBtn, SIGNAL( clicked() ),
- this, SLOT( slotNewAlbumRequest()) );
+ connect(m_widget->m_newAlbumBtn, SIGNAL(clicked()),
+ this, SLOT(slotNewAlbumRequest()) );
- connect(m_widget, SIGNAL( reloadAlbums() ),
- this, SLOT( slotReloadAlbumsRequest()) );
+ connect(m_widget, SIGNAL(reloadAlbums()),
+ this, SLOT(slotReloadAlbumsRequest()) );
- connect(this, SIGNAL( closeClicked() ),
- this, SLOT( slotClose()) );
+ connect(this, SIGNAL(closeClicked()),
+ this, SLOT(slotClose()) );
- connect(this, SIGNAL( user1Clicked() ),
- this, SLOT( slotStartTransfer()) );
+ connect(this, SIGNAL(user1Clicked()),
+ this, SLOT(slotStartTransfer()) );
// ------------------------------------------------------------------------
@@ -123,8 +123,8 @@ SwWindow::SwWindow(KIPI::Interface* interface, const QString& \
tmpFolder, QWidget
m_about->addAuthor(ki18n("Timothée Groleau"), ki18n("Author and maintainer"),
"kde at timotheegroleau dot com");
- disconnect(this, SIGNAL( helpClicked() ),
- this, SLOT( slotHelp()) );
+ disconnect(this, SIGNAL(helpClicked()),
+ this, SLOT(slotHelp()) );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeAction(helpMenu->menu()->actions().first());
@@ -143,33 +143,33 @@ SwWindow::SwWindow(KIPI::Interface* interface, const QString& \
tmpFolder, QWidget
m_connector = new SwConnector(this);
- connect(m_connector, SIGNAL( signalShwupKipiBlackListed() ),
- this, SLOT( slotShwupKipiBlackListed() ),
+ connect(m_connector, SIGNAL(signalShwupKipiBlackListed()),
+ this, SLOT(slotShwupKipiBlackListed()),
Qt::QueuedConnection);
//FIXME: this slot doesn't exist
- connect(m_connector, SIGNAL( signalShwupSignatureError() ),
- this, SLOT( slotShwupSignatureError() ),
+ connect(m_connector, SIGNAL(signalShwupSignatureError()),
+ this, SLOT(slotShwupSignatureError()),
Qt::QueuedConnection);
- connect(m_connector, SIGNAL( signalShwupInvalidCredentials() ),
- this, SLOT( slotShwupInvalidCredentials() ),
+ connect(m_connector, SIGNAL(signalShwupInvalidCredentials()),
+ this, SLOT(slotShwupInvalidCredentials()),
Qt::QueuedConnection);
- connect(m_connector, SIGNAL( signalBusy(bool) ),
- this, SLOT( slotBusy(bool) ));
+ connect(m_connector, SIGNAL(signalBusy(bool)),
+ this, SLOT(slotBusy(bool)));
- connect(m_connector, SIGNAL( signalRequestRestURLDone(int, const QString&) ),
- this, SLOT( slotRequestRestURLDone(int, const QString&) ));
+ connect(m_connector, SIGNAL(signalRequestRestURLDone(int,QString)),
+ this, SLOT(slotRequestRestURLDone(int,QString)));
- connect(m_connector, SIGNAL( signalListAlbumsDone(int, const QString&, const \
QList <SwAlbum>&) ),
- this, SLOT( slotListAlbumsDone(int, const QString&, const QList \
<SwAlbum>&) )); + connect(m_connector, \
SIGNAL(signalListAlbumsDone(int,QString,QList<SwAlbum>)), + this, \
SLOT(slotListAlbumsDone(int,QString,QList<SwAlbum>)));
- connect(m_connector, SIGNAL( signalCreateAlbumDone(int, const QString&, const \
SwAlbum&) ),
- this, SLOT( slotCreateAlbumDone(int, const QString&, const SwAlbum&) ));
+ connect(m_connector, SIGNAL(signalCreateAlbumDone(int,QString,SwAlbum)),
+ this, SLOT(slotCreateAlbumDone(int,QString,SwAlbum)));
- connect(m_connector, SIGNAL( signalAddPhotoDone(int, const QString&) ),
- this, SLOT( slotAddPhotoDone(int, const QString&) ));
+ connect(m_connector, SIGNAL(signalAddPhotoDone(int,QString)),
+ this, SLOT(slotAddPhotoDone(int,QString)));
// ------------------------------------------------------------------------
@@ -423,8 +423,8 @@ void SwWindow::slotStartTransfer()
m_progressDlg->setAutoClose(true);
m_progressDlg->progressBar()->setFormat(i18n("%v / %m"));
- connect(m_progressDlg, SIGNAL( cancelClicked() ),
- this, SLOT( slotTransferCancel() ));
+ connect(m_progressDlg, SIGNAL(cancelClicked()),
+ this, SLOT(slotTransferCancel()));
uploadNextPhoto();
}
diff --git a/smug/plugin_smug.cpp b/smug/plugin_smug.cpp
index 568bba6..66b1c69 100644
--- a/smug/plugin_smug.cpp
+++ b/smug/plugin_smug.cpp
@@ -80,8 +80,8 @@ void Plugin_Smug::setup(QWidget* widget)
m_actionExport->setIcon(KIcon("smugmug"));
m_actionExport->setShortcut(KShortcut(Qt::ALT+Qt::SHIFT+Qt::Key_S));
- connect(m_actionExport, SIGNAL( triggered(bool) ),
- this, SLOT( slotExport()) );
+ connect(m_actionExport, SIGNAL(triggered(bool)),
+ this, SLOT(slotExport()) );
addAction(m_actionExport);
@@ -90,8 +90,8 @@ void Plugin_Smug::setup(QWidget* widget)
m_actionImport->setIcon(KIcon("smugmug"));
m_actionImport->setShortcut(KShortcut(Qt::ALT+Qt::SHIFT+Qt::CTRL+Qt::Key_S));
- connect(m_actionImport, SIGNAL( triggered(bool) ),
- this, SLOT( slotImport()) );
+ connect(m_actionImport, SIGNAL(triggered(bool)),
+ this, SLOT(slotImport()) );
addAction(m_actionImport);
diff --git a/smug/smugtalker.cpp b/smug/smugtalker.cpp
index bf7dc0e..f229b54 100644
--- a/smug/smugtalker.cpp
+++ b/smug/smugtalker.cpp
@@ -120,8 +120,8 @@ void SmugTalker::login(const QString& email, const QString& \
password) job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -152,8 +152,8 @@ void SmugTalker::logout()
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
m_state = SMUG_LOGOUT;
m_job = job;
@@ -186,8 +186,8 @@ void SmugTalker::listAlbums(const QString& nickName)
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -224,8 +224,8 @@ void SmugTalker::listPhotos(int albumID,
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -254,8 +254,8 @@ void SmugTalker::listAlbumTmpl()
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -284,8 +284,8 @@ void SmugTalker::listCategories()
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -315,8 +315,8 @@ void SmugTalker::listSubCategories(int categoryID)
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -367,8 +367,8 @@ void SmugTalker::createAlbum(const SmugAlbum& album)
job->addMetaData("content-type",
"Content-Type: application/x-www-form-urlencoded");
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
@@ -425,11 +425,11 @@ bool SmugTalker::addPhoto(const QString& imgPath, int albumID,
customHdr += "X-Smug-Version: " + m_apiVersion + "\r\n";
job->addMetaData("customHTTPHeader", customHdr);
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(slotResult(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(slotResult(KJob*)));
m_state = SMUG_ADDPHOTO;
m_job = job;
@@ -449,8 +449,8 @@ void SmugTalker::getPhoto(const QString& imgPath)
KIO::TransferJob* job = KIO::get(imgPath, KIO::Reload, KIO::HideProgressInfo);
job->addMetaData("UserAgent", m_userAgent);
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(data(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(data(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
diff --git a/smug/smugwidget.cpp b/smug/smugwidget.cpp
index c6ce1ad..55f1e9e 100644
--- a/smug/smugwidget.cpp
+++ b/smug/smugwidget.cpp
@@ -225,8 +225,8 @@ SmugWidget::SmugWidget(QWidget* parent, KIPI::Interface* iface, \
bool import) connect(m_resizeChB, SIGNAL(clicked()),
this, SLOT(slotResizeChecked()));
- connect(m_anonymousRBtn, SIGNAL( toggled(bool) ),
- this, SLOT( slotAnonymousToggled(bool)) );
+ connect(m_anonymousRBtn, SIGNAL(toggled(bool)),
+ this, SLOT(slotAnonymousToggled(bool)) );
// ------------------------------------------------------------------------
diff --git a/smug/smugwindow.cpp b/smug/smugwindow.cpp
index 3eecef9..2235668 100644
--- a/smug/smugwindow.cpp
+++ b/smug/smugwindow.cpp
@@ -111,20 +111,20 @@ SmugWindow::SmugWindow(KIPI::Interface* interface, const \
QString& tmpFolder, }
- connect(m_widget, SIGNAL( signalUserChangeRequest(bool) ),
- this, SLOT( slotUserChangeRequest(bool)) );
+ connect(m_widget, SIGNAL(signalUserChangeRequest(bool)),
+ this, SLOT(slotUserChangeRequest(bool)) );
- connect(m_widget->m_imgList, SIGNAL( signalImageListChanged() ),
- this, SLOT( slotImageListChanged()) );
+ connect(m_widget->m_imgList, SIGNAL(signalImageListChanged()),
+ this, SLOT(slotImageListChanged()) );
- connect(m_widget->m_reloadAlbumsBtn, SIGNAL( clicked() ),
- this, SLOT( slotReloadAlbumsRequest()) );
+ connect(m_widget->m_reloadAlbumsBtn, SIGNAL(clicked()),
+ this, SLOT(slotReloadAlbumsRequest()) );
- connect(m_widget->m_newAlbumBtn, SIGNAL( clicked() ),
- this, SLOT( slotNewAlbumRequest()) );
+ connect(m_widget->m_newAlbumBtn, SIGNAL(clicked()),
+ this, SLOT(slotNewAlbumRequest()) );
- connect(this, SIGNAL( user1Clicked() ),
- this, SLOT( slotStartTransfer()) );
+ connect(this, SIGNAL(user1Clicked()),
+ this, SLOT(slotStartTransfer()) );
// ------------------------------------------------------------------------
@@ -139,8 +139,8 @@ SmugWindow::SmugWindow(KIPI::Interface* interface, const QString& \
tmpFolder,
m_about->addAuthor(ki18n("Luka Renko"), ki18n("Author and maintainer"),
"lure at kubuntu dot org");
- disconnect(this, SIGNAL( helpClicked() ),
- this, SLOT( slotHelp()) );
+ disconnect(this, SIGNAL(helpClicked()),
+ this, SLOT(slotHelp()) );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeAction(helpMenu->menu()->actions().first());
@@ -160,47 +160,47 @@ SmugWindow::SmugWindow(KIPI::Interface* interface, const \
QString& tmpFolder,
m_albumDlg = new SmugNewAlbum(this);
- connect(m_albumDlg->m_categCoB, SIGNAL( currentIndexChanged(int) ),
- this, SLOT( slotCategorySelectionChanged(int)) );
+ connect(m_albumDlg->m_categCoB, SIGNAL(currentIndexChanged(int)),
+ this, SLOT(slotCategorySelectionChanged(int)) );
- connect(m_albumDlg->m_templateCoB, SIGNAL( currentIndexChanged(int) ),
- this, SLOT( slotTemplateSelectionChanged(int)) );
+ connect(m_albumDlg->m_templateCoB, SIGNAL(currentIndexChanged(int)),
+ this, SLOT(slotTemplateSelectionChanged(int)) );
// ------------------------------------------------------------------------
m_talker = new SmugTalker(this);
- connect(m_talker, SIGNAL( signalBusy(bool) ),
- this, SLOT( slotBusy(bool) ));
+ connect(m_talker, SIGNAL(signalBusy(bool)),
+ this, SLOT(slotBusy(bool)));
- connect(m_talker, SIGNAL( signalLoginProgress(int, int, const QString&) ),
- this, SLOT( slotLoginProgress(int, int, const QString&) ));
+ connect(m_talker, SIGNAL(signalLoginProgress(int,int,QString)),
+ this, SLOT(slotLoginProgress(int,int,QString)));
- connect(m_talker, SIGNAL( signalLoginDone(int, const QString&) ),
- this, SLOT( slotLoginDone(int, const QString&) ));
+ connect(m_talker, SIGNAL(signalLoginDone(int,QString)),
+ this, SLOT(slotLoginDone(int,QString)));
- connect(m_talker, SIGNAL( signalAddPhotoDone(int, const QString&) ),
- this, SLOT( slotAddPhotoDone(int, const QString&) ));
+ connect(m_talker, SIGNAL(signalAddPhotoDone(int,QString)),
+ this, SLOT(slotAddPhotoDone(int,QString)));
- connect(m_talker, SIGNAL( signalGetPhotoDone(int, const QString&, const \
QByteArray&) ),
- this, SLOT( slotGetPhotoDone(int, const QString&, const QByteArray&) ));
+ connect(m_talker, SIGNAL(signalGetPhotoDone(int,QString,QByteArray)),
+ this, SLOT(slotGetPhotoDone(int,QString,QByteArray)));
- connect(m_talker, SIGNAL( signalCreateAlbumDone(int, const QString&, int) ),
- this, SLOT( slotCreateAlbumDone(int, const QString&, int) ));
+ connect(m_talker, SIGNAL(signalCreateAlbumDone(int,QString,int)),
+ this, SLOT(slotCreateAlbumDone(int,QString,int)));
- connect(m_talker, SIGNAL( signalListAlbumsDone(int, const QString&, const QList \
<SmugAlbum>&) ),
- this, SLOT( slotListAlbumsDone(int, const QString&, const QList \
<SmugAlbum>&) )); + connect(m_talker, \
SIGNAL(signalListAlbumsDone(int,QString,QList<SmugAlbum>)), + this, \
SLOT(slotListAlbumsDone(int,QString,QList<SmugAlbum>)));
- connect(m_talker, SIGNAL( signalListPhotosDone(int, const QString&, const QList \
<SmugPhoto>&) ),
- this, SLOT( slotListPhotosDone(int, const QString&, const QList \
<SmugPhoto>&) ));
- connect(m_talker, SIGNAL( signalListAlbumTmplDone(int, const QString&, const \
QList <SmugAlbumTmpl>&) ),
- this, SLOT( slotListAlbumTmplDone(int, const QString&, const QList \
<SmugAlbumTmpl>&) )); + connect(m_talker, \
SIGNAL(signalListPhotosDone(int,QString,QList<SmugPhoto>)), + this, \
SLOT(slotListPhotosDone(int,QString,QList<SmugPhoto>))); + connect(m_talker, \
SIGNAL(signalListAlbumTmplDone(int,QString,QList<SmugAlbumTmpl>)), + this, \
SLOT(slotListAlbumTmplDone(int,QString,QList<SmugAlbumTmpl>)));
- connect(m_talker, SIGNAL( signalListCategoriesDone(int, const QString&, const \
QList <SmugCategory>&) ),
- this, SLOT( slotListCategoriesDone(int, const QString&, const QList \
<SmugCategory>&) )); + connect(m_talker, \
SIGNAL(signalListCategoriesDone(int,QString,QList<SmugCategory>)), + this, \
SLOT(slotListCategoriesDone(int,QString,QList<SmugCategory>)));
- connect(m_talker, SIGNAL( signalListSubCategoriesDone(int, const QString&, const \
QList <SmugCategory>&) ),
- this, SLOT( slotListSubCategoriesDone(int, const QString&, const QList \
<SmugCategory>&) )); + connect(m_talker, \
SIGNAL(signalListSubCategoriesDone(int,QString,QList<SmugCategory>)), + \
this, SLOT(slotListSubCategoriesDone(int,QString,QList<SmugCategory>)));
// ------------------------------------------------------------------------
diff --git a/timeadjust/timeadjustdialog.cpp b/timeadjust/timeadjustdialog.cpp
index 7cff52e..e987a6d 100644
--- a/timeadjust/timeadjustdialog.cpp
+++ b/timeadjust/timeadjustdialog.cpp
@@ -369,10 +369,10 @@ TimeAdjustDialog::TimeAdjustDialog(KIPI::Interface* interface, \
QWidget* parent) connect(d->useMetaDateTypeChooser, \
SIGNAL(currentIndexChanged(int)), this, SLOT(slotSrcTimestampChanged()));
- connect(d->useCustDateInput, SIGNAL(dateChanged(const QDate&)),
+ connect(d->useCustDateInput, SIGNAL(dateChanged(QDate)),
this, SLOT(slotUpdateExample()));
- connect(d->useCustTimeInput, SIGNAL(timeChanged (const QTime&)),
+ connect(d->useCustTimeInput, SIGNAL(timeChanged(QTime)),
this, SLOT(slotUpdateExample()));
connect(d->adjTypeChooser, SIGNAL(currentIndexChanged(int)),
@@ -381,7 +381,7 @@ TimeAdjustDialog::TimeAdjustDialog(KIPI::Interface* interface, \
QWidget* parent) connect(d->adjDaysInput, SIGNAL(valueChanged(int)),
this, SLOT(slotUpdateExample()));
- connect(d->adjTimeInput, SIGNAL(timeChanged(const QTime&)),
+ connect(d->adjTimeInput, SIGNAL(timeChanged(QTime)),
this, SLOT(slotUpdateExample()));
connect(d->useCustomDateTodayBtn, SIGNAL(clicked()),
diff --git a/yandexfotki/logindialog.cpp b/yandexfotki/logindialog.cpp
index 9138868..76aaeb1 100644
--- a/yandexfotki/logindialog.cpp
+++ b/yandexfotki/logindialog.cpp
@@ -85,8 +85,8 @@ LoginDialog::LoginDialog(QWidget* parent,
KUrlLabel *forgotLabel = new KUrlLabel(this);
forgotLabel->setText(i18n("Forgot your password?"));
forgotLabel->setUrl("http://passport.yandex.ru/passport?mode=restore");
- connect(forgotLabel, SIGNAL(leftClickedUrl(const QString&)),
- this, SLOT(slotProcessUrl(const QString&)));
+ connect(forgotLabel, SIGNAL(leftClickedUrl(QString)),
+ this, SLOT(slotProcessUrl(QString)));
centerLayout->addWidget(m_loginEdit, 0, 1);
centerLayout->addWidget(m_passwordEdit, 1, 1);
@@ -113,8 +113,8 @@ LoginDialog::LoginDialog(QWidget* parent,
KUrlLabel *licenseLabel = new KUrlLabel(this);
licenseLabel->setText(i18n("Yandex User Agreement"));
licenseLabel->setUrl("http://fotki.yandex.ru/agreement.xml");
- connect(licenseLabel, SIGNAL(leftClickedUrl(const QString&)),
- this, SLOT(slotProcessUrl(const QString&)));
+ connect(licenseLabel, SIGNAL(leftClickedUrl(QString)),
+ this, SLOT(slotProcessUrl(QString)));
footerLayout->addItem(new QSpacerItem(20, 20, QSizePolicy::Expanding, \
QSizePolicy::Minimum)); footerLayout->addWidget(licenseLabel);
diff --git a/yandexfotki/plugin_yandexfotki.cpp b/yandexfotki/plugin_yandexfotki.cpp
index ec4e234..6335d78 100644
--- a/yandexfotki/plugin_yandexfotki.cpp
+++ b/yandexfotki/plugin_yandexfotki.cpp
@@ -113,8 +113,8 @@ void Plugin_YandexFotki::slotExport()
false, kapp->activeWindow());
// clean it up in finish signal
- connect(m_dlgExport, SIGNAL( finished(int) ),
- this, SLOT( slotDialogFinished(int) ));
+ connect(m_dlgExport, SIGNAL(finished(int)),
+ this, SLOT(slotDialogFinished(int)));
}
else
{
diff --git a/yandexfotki/yftalker.cpp b/yandexfotki/yftalker.cpp
index 011d2dd..443aff2 100644
--- a/yandexfotki/yftalker.cpp
+++ b/yandexfotki/yftalker.cpp
@@ -82,8 +82,8 @@ void YandexFotkiTalker::getService()
KIO::TransferJob* job = KIO::get(SERVICE_URL.arg(m_login),
KIO::NoReload, KIO::HideProgressInfo);
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(handleJobData(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(handleJobData(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(parseResponseGetService(KJob*)));
@@ -104,11 +104,11 @@ void YandexFotkiTalker::checkToken()
.arg(AUTH_REALM).arg(m_token));
m_state = STATE_CHECKTOKEN;
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(handleJobData(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(handleJobData(KIO::Job*,QByteArray)));
- connect(job, SIGNAL(result(KJob *)),
- this, SLOT(parseResponseCheckToken(KJob *)));
+ connect(job, SIGNAL(result(KJob*)),
+ this, SLOT(parseResponseCheckToken(KJob*)));
m_job = job;
m_buffer.resize(0);
@@ -127,8 +127,8 @@ void YandexFotkiTalker::getSession()
//job->ui()->setWindow(m_parent);
m_state = STATE_GETSESSION;
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(handleJobData(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(handleJobData(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(parseResponseGetSession(KJob*)));
@@ -162,8 +162,8 @@ void YandexFotkiTalker::getToken()
m_state = STATE_GETTOKEN;
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(handleJobData(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(handleJobData(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(parseResponseGetToken(KJob*)));
@@ -197,8 +197,8 @@ void YandexFotkiTalker::listAlbumsNext()
.arg(AUTH_REALM).arg(m_token));
m_state = STATE_LISTALBUMS;
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(handleJobData(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(handleJobData(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(parseResponseListAlbums(KJob*)));
@@ -233,8 +233,8 @@ void YandexFotkiTalker::listPhotosNext()
.arg(AUTH_REALM).arg(m_token));
m_state = STATE_LISTPHOTOS;
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(handleJobData(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(handleJobData(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(parseResponseListPhotos(KJob*)));
@@ -299,8 +299,8 @@ void YandexFotkiTalker::updatePhotoFile(YandexFotkiPhoto& photo)
m_state = STATE_UPDATEPHOTO_FILE;
m_lastPhoto = &photo;
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(handleJobData(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(handleJobData(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(parseResponseUpdatePhotoFile(KJob*)));
@@ -385,8 +385,8 @@ void YandexFotkiTalker::updatePhotoInfo(YandexFotkiPhoto& photo)
.arg(m_buffer.size()));
// no result data in this method, but reading from m_buffer
- connect(job, SIGNAL(dataReq(KIO::Job*, QByteArray&)),
- this, SLOT(handleJobReq(KIO::Job*, QByteArray&)));
+ connect(job, SIGNAL(dataReq(KIO::Job*,QByteArray&)),
+ this, SLOT(handleJobReq(KIO::Job*,QByteArray&)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(parseResponseUpdatePhotoInfo(KJob*)));
@@ -449,8 +449,8 @@ void YandexFotkiTalker::updateAlbumCreate(YandexFotkiAlbum& \
album)
m_state = STATE_UPDATEALBUM;
- connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)),
- this, SLOT(handleJobData(KIO::Job*, const QByteArray&)));
+ connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(handleJobData(KIO::Job*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(parseResponseUpdateAlbum(KJob*)));
diff --git a/yandexfotki/yfwindow.cpp b/yandexfotki/yfwindow.cpp
index e0064af..b8c8828 100644
--- a/yandexfotki/yfwindow.cpp
+++ b/yandexfotki/yfwindow.cpp
@@ -189,12 +189,12 @@ YandexFotkiWindow::YandexFotkiWindow(KIPI::Interface* \
interface, albumsBoxLayout->addWidget(m_newAlbumButton, 1, 3, 1, 1);
albumsBoxLayout->addWidget(m_reloadAlbumsButton, 1, 4, 1, 1);
- connect(m_newAlbumButton, SIGNAL( clicked() ),
- this, SLOT( slotNewAlbumRequest()) );
+ connect(m_newAlbumButton, SIGNAL(clicked()),
+ this, SLOT(slotNewAlbumRequest()) );
- connect(m_reloadAlbumsButton, SIGNAL( clicked() ),
- this, SLOT( slotReloadAlbumsRequest()) );
+ connect(m_reloadAlbumsButton, SIGNAL(clicked()),
+ this, SLOT(slotReloadAlbumsRequest()) );
// ------------------------------------------------------------------------
@@ -357,8 +357,8 @@ YandexFotkiWindow::YandexFotkiWindow(KIPI::Interface* interface,
about->addAuthor(ki18n( "Roman Tsisyk" ), ki18n("Author"),
"roman at tsisyk dot com");
- disconnect(this, SIGNAL( helpClicked() ),
- this, SLOT( slotHelp()) );
+ disconnect(this, SIGNAL(helpClicked()),
+ this, SLOT(slotHelp()) );
KHelpMenu* helpMenu = new KHelpMenu(this, about, false);
helpMenu->menu()->removeAction(helpMenu->menu()->actions().first());
@@ -372,29 +372,29 @@ YandexFotkiWindow::YandexFotkiWindow(KIPI::Interface* \
interface,
* UI slots
*/
- connect(this, SIGNAL( user1Clicked() ),
- this, SLOT( slotStartTransfer()) );
+ connect(this, SIGNAL(user1Clicked()),
+ this, SLOT(slotStartTransfer()) );
/*
* Talker slots
*/
- connect(&m_talker, SIGNAL( signalError() ),
- this, SLOT( slotError()));
+ connect(&m_talker, SIGNAL(signalError()),
+ this, SLOT(slotError()));
- connect(&m_talker, SIGNAL( signalGetSessionDone() ),
- this, SLOT( slotGetSessionDone()));
+ connect(&m_talker, SIGNAL(signalGetSessionDone()),
+ this, SLOT(slotGetSessionDone()));
- connect(&m_talker, SIGNAL( signalGetTokenDone() ),
- this, SLOT( slotGetTokenDone()));
+ connect(&m_talker, SIGNAL(signalGetTokenDone()),
+ this, SLOT(slotGetTokenDone()));
- connect(&m_talker, SIGNAL( signalGetServiceDone() ),
- this, SLOT( slotGetServiceDone()));
+ connect(&m_talker, SIGNAL(signalGetServiceDone()),
+ this, SLOT(slotGetServiceDone()));
- connect(&m_talker, SIGNAL( signalListAlbumsDone(const QList<YandexFotkiAlbum>&) \
),
- this, SLOT( slotListAlbumsDone(const QList<YandexFotkiAlbum>&) ));
+ connect(&m_talker, SIGNAL(signalListAlbumsDone(QList<YandexFotkiAlbum>)),
+ this, SLOT(slotListAlbumsDone(QList<YandexFotkiAlbum>)));
- connect(&m_talker, SIGNAL(signalListPhotosDone(const QList \
<YandexFotkiPhoto>&)),
- this, SLOT(slotListPhotosDone(const QList <YandexFotkiPhoto>&)));
+ connect(&m_talker, SIGNAL(signalListPhotosDone(QList<YandexFotkiPhoto>)),
+ this, SLOT(slotListPhotosDone(QList<YandexFotkiPhoto>)));
connect(&m_talker, SIGNAL(signalUpdatePhotoDone(YandexFotkiPhoto&)),
this, SLOT(slotUpdatePhotoDone(YandexFotkiPhoto&)));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic