Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 3303ebcb authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_DISABLE_COPY

parent 45a687a6
......@@ -59,6 +59,7 @@ Q_SIGNALS:
void needUpdateConfigDialogBox();
private:
Q_DISABLE_COPY(ArchiveMailManager)
QString infoToStr(ArchiveMailInfo *info) const;
void removeCollectionId(Akonadi::Collection::Id id);
KSharedConfig::Ptr mConfig;
......
......@@ -40,6 +40,7 @@ public:
QString printDebugInfo();
private:
Q_DISABLE_COPY(FollowUpReminderManager)
void slotCheckFollowUpFinished(const QString &messageId, Akonadi::Item::Id id);
void slotFinishTaskDone();
......
......@@ -37,6 +37,7 @@ Q_SIGNALS:
void finishTaskFailed();
private:
Q_DISABLE_COPY(FollowUpReminderFinishTaskJob)
void slotItemFetchJobDone(KJob *job);
void slotItemModifiedResult(KJob *job);
void closeTodo();
......
......@@ -39,6 +39,7 @@ Q_SIGNALS:
void finished(const QString &messageId, Akonadi::Item::Id id);
private:
Q_DISABLE_COPY(FollowUpReminderJob)
void slotItemFetchJobDone(KJob *job);
Akonadi::Item mItem;
};
......
......@@ -33,6 +33,7 @@ public:
void start();
private:
Q_DISABLE_COPY(FollowUpReminderShowMessageJob)
Akonadi::Item::Id mId;
};
......
......@@ -41,6 +41,7 @@ public:
void start();
private:
Q_DISABLE_COPY(SendLaterJob)
void sendDone();
void sendError(const QString &error, SendLaterManager::ErrorType type);
void slotMessageTransfered(const Akonadi::Item::List &);
......
......@@ -71,6 +71,7 @@ public Q_SLOTS:
void load(bool forcereload = false);
private:
Q_DISABLE_COPY(SendLaterManager)
void slotCreateJob();
void createSendInfoList();
QString infoToStr(SendLater::SendLaterInfo *info);
......
......@@ -35,6 +35,7 @@ public:
void start();
private:
Q_DISABLE_COPY(SendLaterRemoveMessageJob)
void slotItemDeleteDone(KJob *job);
void deleteItem();
QList<Akonadi::Item::Id> mListItems;
......
......@@ -36,6 +36,7 @@ public:
void setCurrentIdentity(const uint &currentIdentity);
private:
Q_DISABLE_COPY(KMComposerCreateNewComposerJob)
void slotCreateNewComposer(bool forceCursorPosition);
Akonadi::Collection mCollectionForNewMessage;
KMime::Message::Ptr mMsg = nullptr;
......
......@@ -35,6 +35,7 @@ public Q_SLOTS:
void slotPaste();
void slotMarkAll();
private:
Q_DISABLE_COPY(KMComposerGlobalAction)
KMComposerWin *mComposerWin = nullptr;
};
......
......@@ -51,6 +51,7 @@ Q_SIGNALS:
void updateComposer(const KIdentityManagement::Identity &ident, const KMime::Message::Ptr &msg, uint uoid, uint uoldId, bool wasModified);
private:
Q_DISABLE_COPY(KMComposerUpdateTemplateJob)
void slotFinished();
QString mTextSelection;
......
......@@ -44,6 +44,7 @@ public:
void initializePlugins();
bool execute(const MessageComposer::PluginEditorCheckBeforeSendParams &params) const;
private:
Q_DISABLE_COPY(KMailPluginEditorCheckBeforeSendManagerInterface)
QList<MessageComposer::PluginEditorCheckBeforeSendInterface *> mListPluginInterface;
QWidget *mParentWidget = nullptr;
};
......
......@@ -40,6 +40,7 @@ public:
void initializePlugins();
private:
Q_DISABLE_COPY(KMailPluginEditorInitManagerInterface)
KPIMTextEdit::RichTextComposer *mRichTextEditor = nullptr;
QWidget *mParentWidget = nullptr;
bool mWasInitialized = false;
......
......@@ -56,6 +56,7 @@ Q_SIGNALS:
void message(const QString &str);
private:
Q_DISABLE_COPY(KMailPluginEditorManagerInterface)
void slotPluginActivated(MessageComposer::PluginEditorInterface *interface);
KPIMTextEdit::RichTextEditor *mRichTextEditor = nullptr;
QWidget *mParentWidget = nullptr;
......
......@@ -43,6 +43,7 @@ Q_SIGNALS:
void potentialPhishingEmailsFound(const QStringList &emails);
private:
Q_DISABLE_COPY(PotentialPhishingEmailJob)
QStringList mEmails;
QStringList mPotentialPhisingEmails;
QStringList mEmailWhiteList;
......
......@@ -37,6 +37,7 @@ Q_SIGNALS:
void checkFailed(const QString &message);
private:
Q_DISABLE_COPY(FolderArchiveAgentCheckCollection)
void slotInitialCollectionFetchingFirstLevelDone(KJob *job);
void slotCreateNewFolder(KJob *);
void createNewFolder(const QString &name);
......
......@@ -35,6 +35,7 @@ public:
void start();
private:
Q_DISABLE_COPY(FolderArchiveAgentJob)
void slotFetchCollection(KJob *job);
void sloMoveMailsToCollection(const Akonadi::Collection &col);
void slotCheckFailed(const QString &message);
......
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