Commit 6e6a096c authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent d5ed49f6
......@@ -41,14 +41,12 @@ public:
~SendLaterJob();
void start();
private Q_SLOTS:
private:
void sendDone();
void sendError(const QString &error, SendLaterManager::ErrorType type);
void slotMessageTransfered(const Akonadi::Item::List &);
void slotJobFinished(KJob *);
void slotDeleteItem(KJob *);
private:
void updateAndCleanMessageBeforeSending(const KMime::Message::Ptr &msg);
Akonadi::ItemFetchScope mFetchScope;
SendLaterManager *mManager;
......
......@@ -72,11 +72,9 @@ Q_SIGNALS:
public Q_SLOTS:
void load(bool forcereload = false);
private Q_SLOTS:
private:
void slotCreateJob();
void createSendInfoList();
private:
QString infoToStr(SendLater::SendLaterInfo *info);
void removeLaterInfo(SendLater::SendLaterInfo *info);
SendLater::SendLaterInfo *searchInfo(Akonadi::Item::Id id);
......
......@@ -34,10 +34,8 @@ public:
void start();
private Q_SLOTS:
void slotItemDeleteDone(KJob *job);
private:
void slotItemDeleteDone(KJob *job);
void deleteItem();
QList<Akonadi::Item::Id> mListItems;
int mIndex;
......
......@@ -55,7 +55,7 @@ protected:
protected Q_SLOTS:
void slotFetchDone(KJob *job);
private Q_SLOTS:
private:
/*
* Detects mailing-list related stuff
*/
......@@ -65,8 +65,6 @@ private Q_SLOTS:
void slotHoldsML(bool holdsML);
void slotAddressChanged(int addr);
void slotConfigChanged();
private:
void fillMLFromWidgets();
void fillEditBox();
......
......@@ -42,14 +42,11 @@ public:
protected:
void init(const Akonadi::Collection &);
private Q_SLOTS:
private:
void updateCollectionStatistic(Akonadi::Collection::Id, const Akonadi::CollectionStatistics &);
void slotReindexCollection();
private:
void updateLabel(qint64 nbMail, qint64 nbUnreadMail, qint64 size);
private:
Akonadi::Collection mCurrentCollection;
bool mIsNotAVirtualCollection;
QLabel *mFolderSizeLabel;
......
......@@ -38,10 +38,8 @@ public:
void load(const Akonadi::Collection &col) Q_DECL_OVERRIDE;
void save(Akonadi::Collection &col) Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotShortcutChanged();
private:
void slotShortcutChanged();
void init(const Akonadi::Collection &);
QSharedPointer<MailCommon::FolderCollection> mFolder;
KKeySequenceWidget *mKeySeqWidget;
......
......@@ -40,13 +40,9 @@ public:
void save(Akonadi::Collection &col) Q_DECL_OVERRIDE;
bool canHandle(const Akonadi::Collection &collection) const Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotCopyGlobal();
private Q_SLOTS:
void slotChanged();
private:
void init();
QCheckBox *mCustom;
TemplateParser::TemplatesConfiguration *mWidget;
......
......@@ -51,10 +51,8 @@ protected:
void dragMoveEvent(QDragMoveEvent *e) Q_DECL_OVERRIDE;
void dropEvent(QDropEvent *e) Q_DECL_OVERRIDE;
private Q_SLOTS:
void newColor(const QModelIndex &index);
private:
void newColor(const QModelIndex &index);
QTreeWidgetItem *mCurrentOnDragEnter;
};
......
......@@ -59,15 +59,13 @@ public:
Q_SIGNALS:
void accountListChanged(const QStringList &);
private Q_SLOTS:
private:
void slotEditNotifications();
void slotShowMailCheckMenu(const QString &, const QPoint &);
void slotCustomizeAccountOrder();
void slotIncludeInCheckChanged(bool checked);
void slotOfflineOnShutdownChanged(bool checked);
void slotCheckOnStatupChanged(bool checked);
private:
void doLoadFromGlobalSettings() Q_DECL_OVERRIDE;
struct RetrievalOptions {
......
......@@ -40,12 +40,12 @@ public:
void updateItemWidgets(const QList<QWidget *> widgets,
const QStyleOptionViewItem &option,
const QPersistentModelIndex &index) const Q_DECL_OVERRIDE;
private Q_SLOTS:
Q_SIGNALS:
void requestConfiguration(const QModelIndex &index);
private:
void slotCheckboxClicked(bool checked);
void slotConfigure();
Q_SIGNALS:
void requestConfiguration(const QModelIndex &index);
};
#endif // CONFIGUREAGENTLISTDELEGATE_H
......@@ -33,15 +33,13 @@ public:
void save();
void resetToDefault();
private Q_SLOTS:
void slotConfigureAgent(const QModelIndex &index);
void slotAgentClicked(const QModelIndex &index);
Q_SIGNALS:
void descriptionChanged(const QString &desc);
void agentChanged();
private:
void slotConfigureAgent(const QModelIndex &index);
void slotAgentClicked(const QModelIndex &index);
void changeAgentActiveState(const QString &interfaceName, const QString &path, bool enable);
};
......
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