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 eda5e699 authored by Laurent Montel's avatar Laurent Montel 😁

Add some Q_DISABLE_COPY

parent f0008670
......@@ -56,6 +56,7 @@ public:
void expunge(Akonadi::Collection::Id col, bool sync) override;
private:
Q_DISABLE_COPY(ArchiveMailKernel)
KIdentityManagement::IdentityManager *mIdentityManager = nullptr;
MailCommon::FolderCollectionMonitor *mFolderCollectionMonitor = nullptr;
Akonadi::EntityTreeModel *mEntityTreeModel = nullptr;
......
......@@ -36,6 +36,7 @@ public:
void expunge(Akonadi::Collection::Id id, bool sync) override;
private:
Q_DISABLE_COPY(DummyKernel)
KIdentityManagement::IdentityManager *mIdentityManager = nullptr;
MessageComposer::MessageSender *mMessageSender = nullptr;
MailCommon::FolderCollectionMonitor *mFolderCollectionMonitor = nullptr;
......
......@@ -47,6 +47,7 @@ public:
void clearCache();
private:
Q_DISABLE_COPY(FolderArchiveCache)
QHash<QString, ArchiveCache> mCache;
};
......
......@@ -55,6 +55,7 @@ public Q_SLOTS:
void slotInstanceRemoved(const Akonadi::AgentInstance &instance);
private:
Q_DISABLE_COPY(FolderArchiveManager)
void slotFetchParentCollection(KJob *job);
void slotFetchCollection(KJob *job);
......
......@@ -51,6 +51,7 @@ Q_SIGNALS:
void selectCollectionFolder(const Akonadi::Collection &col);
private:
Q_DISABLE_COPY(FolderShortcutCommand)
Akonadi::Collection mCollectionFolder;
QWidget *mMainWidget = nullptr;
QAction *mAction = nullptr;
......@@ -81,6 +82,7 @@ private:
void slotRowsInserted(const QModelIndex &parent, int start, int end);
private:
Q_DISABLE_COPY(FolderShortcutActionManager)
void updateShortcutsForIndex(const QModelIndex &parent, int start, int end);
QHash< Akonadi::Collection::Id, FolderShortcutCommand * > mFolderShortcutCommands;
KActionCollection *mActionCollection = nullptr;
......
......@@ -35,6 +35,7 @@ public:
void setCurrentCollection(const Akonadi::Collection &col);
private:
Q_DISABLE_COPY(ComposeNewMessageJob)
void slotOpenComposer(bool forceCursorPosition);
QSharedPointer<MailCommon::FolderSettings> mFolder;
Akonadi::Collection mCurrentCollection;
......
......@@ -46,6 +46,7 @@ public:
bool canStart() const;
private:
Q_DISABLE_COPY(CreateFollowupReminderOnExistingMessageJob)
void itemFetchJobDone(KJob *job);
void slotReminderDone(KJob *job);
......
......@@ -49,6 +49,7 @@ public:
bool excludeFolder(const Akonadi::Collection &collection) const;
bool ignoreNewMailInFolder(const Akonadi::Collection &collection);
private:
Q_DISABLE_COPY(UnityServiceManager)
void unreadMail(const QAbstractItemModel *model, const QModelIndex &parentIndex = {});
void slotCollectionStatisticsChanged(Akonadi::Collection::Id id, const Akonadi::CollectionStatistics &);
void updateCount();
......
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