Commit fdbbeb9b authored by Laurent Montel's avatar Laurent Montel 😁

We use new connect api. Not necessary to create slot

parent eb05fc64
......@@ -35,10 +35,9 @@ public:
bool hasPopupMenuSupport() const Q_DECL_OVERRIDE;
void updateActions(int numberOfSelectedItems, int numberOfSelectedCollections) Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotActivated();
void slotModifyContactFinished(KJob *job);
private:
Akonadi::Item::List mListItems;
QAction *mAction;
};
......
......@@ -49,11 +49,9 @@ Q_SIGNALS:
void resolvedUrl(const QUrl &url);
void gravatarPixmap(const QPixmap &pix);
private Q_SLOTS:
private:
void slotGravatarResolvUrlFinished(Gravatar::GravatarResolvUrlJob *job);
void slotUpdateGravatarDone(KJob *job);
private:
void updatePixmap(const QPixmap &pix);
QString mEmail;
Akonadi::Item mItem;
......
......@@ -45,16 +45,15 @@ public:
QUrl resolvedUrl() const;
void setOriginalUrl(const QUrl &url);
private Q_SLOTS:
void slotSearchGravatar();
void slotSearchGravatarFinished(Gravatar::GravatarResolvUrlJob *job);
void slotResolvUrl(const QUrl &url);
Q_SIGNALS:
void activateDialogButton(bool state);
private:
void slotSearchGravatar();
void slotSearchGravatarFinished(Gravatar::GravatarResolvUrlJob *job);
void slotResolvUrl(const QUrl &url);
QString mEmail;
QPixmap mPixmap;
QUrl mCurrentUrl;
......
......@@ -105,10 +105,10 @@ void MailSenderJob::fetchItem(const Akonadi::Item &item)
Akonadi::ItemFetchJob *job = new Akonadi::ItemFetchJob(item, this);
job->fetchScope().fetchFullPayload();
connect(job, &Akonadi::ItemFetchJob::result, this, &MailSenderJob::fetchJobFinished);
connect(job, &Akonadi::ItemFetchJob::result, this, &MailSenderJob::slotFetchJobFinished);
}
void MailSenderJob::fetchJobFinished(KJob *job)
void MailSenderJob::slotFetchJobFinished(KJob *job)
{
if (job->error()) {
qCDebug(KADDRESSBOOK_SENDMAIL_LOG) << " error during fetching " << job->errorString();
......
......@@ -43,10 +43,8 @@ Q_SIGNALS:
void sendMails(const QStringList &emails);
void sendMailsError(const QString &error);
private Q_SLOTS:
void fetchJobFinished(KJob *job);
private:
void slotFetchJobFinished(KJob *job);
void finishJob();
void fetchItem(const Akonadi::Item &item);
void fetchNextItem();
......
......@@ -46,10 +46,8 @@ public:
Q_SIGNALS:
void sendVCardsError(const QString &error);
private Q_SLOTS:
void slotExpandGroupResult(KJob *job);
private:
void slotExpandGroupResult(KJob *job);
void createTemporaryFile(const QByteArray &data, const QString &filename);
void createTemporaryDir();
void jobFinished();
......
......@@ -33,13 +33,12 @@ public:
void exec() Q_DECL_OVERRIDE;
bool hasPopupMenuSupport() const Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotUpperCase();
void slotLowerCase();
void slotSentenceCase();
void slotReverseCase();
private:
void sentenceCase();
void upperCase();
void lowerCase();
......
......@@ -33,12 +33,11 @@ public:
void exec() Q_DECL_OVERRIDE;
bool hasPopupMenuSupport() const Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotZoomOut();
void slotZoomIn();
void slotZoomReset();
private:
void zoomReset();
void zoomIn();
void zoomOut();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment