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

Clean up

parent dfd8c589
......@@ -18,7 +18,6 @@
ConfigModuleWithTabs::ConfigModuleWithTabs(QWidget *parent)
: ConfigModule(parent)
, mWasInitialized(false)
{
QVBoxLayout *vlay = new QVBoxLayout(this);
vlay->setMargin(0);
......
......@@ -82,7 +82,7 @@ protected:
private:
QTabWidget *mTabWidget = nullptr;
bool mWasInitialized;
bool mWasInitialized = false;
};
#endif // _CONFIGURE_DIALOG_PRIVATE_H_
......@@ -20,10 +20,8 @@ protected:
void resizeEvent(QResizeEvent *e) override;
void showEvent(QShowEvent *e) override;
private Q_SLOTS:
void slotContextMenu(const QPoint &pos);
private:
void slotContextMenu(const QPoint &pos);
void resizeColums();
};
......
......@@ -34,10 +34,8 @@ public:
void initialize() override;
void defaults() override;
private Q_SLOTS:
void slotConfigureClicked(const QString &configureGroupName, const QString &identifier);
private:
void slotConfigureClicked(const QString &configureGroupName, const QString &identifier);
void initializeAgentPlugins();
PimCommon::PluginUtilData createAgentPluginData(const QString &interfaceName, const QString &path);
bool agentActivateState(const QString &interfaceName, const QString &pathName, bool &failed);
......
......@@ -33,11 +33,10 @@ public:
Akonadi::Item selectedContact() const;
private Q_SLOTS:
private:
void slotSelectionChanged();
void slotDoubleClicked();
private:
void readConfig();
void writeConfig();
Akonadi::EmailAddressSelectionWidget *mEmailSelectionWidget = nullptr;
......
......@@ -42,14 +42,13 @@ public:
explicit ArchiveFolderDialog(QWidget *parent = nullptr);
void setFolder(const Akonadi::Collection &defaultCollection);
private Q_SLOTS:
private:
void slotFixFileExtension();
void slotFolderChanged(const Akonadi::Collection &);
void slotRecursiveCheckboxClicked();
void slotAccepted();
void slotUrlChanged(const QString &);
private:
bool allowToDeleteFolders(const Akonadi::Collection &folder) const;
QString standardArchivePath(const QString &folderName);
......
......@@ -34,17 +34,14 @@ public:
void setCurrentNotification(const QString &name);
private Q_SLOTS:
private:
void slotComboChanged(int);
void slotOk();
void slotConfigChanged(bool changed);
private:
void initCombobox();
void writeConfig();
void readConfig();
private:
KComboBox *m_comboNotify = nullptr;
KNotifyConfigWidget *m_notifyWidget = nullptr;
bool m_changed = false;
......
......@@ -63,10 +63,8 @@ protected:
/** reimpl to avoid drags from ourselves */
void dragEnterEvent(QDragEnterEvent *event) override;
private Q_SLOTS:
void slotShowHideAttchementList(bool);
private:
void slotShowHideAttchementList(bool);
void saveHeaderState();
void restoreHeaderState();
......
......@@ -32,10 +32,8 @@ public:
void fillList(const QStringList &lst);
private Q_SLOTS:
void slotSave();
private:
void slotSave();
void readConfig();
void writeConfig();
PotentialPhishingDetailWidget *mPotentialPhishingDetailWidget = nullptr;
......
......@@ -35,9 +35,8 @@ public:
Q_SIGNALS:
void sendNow();
private Q_SLOTS:
void slotShowDetails(const QString &link);
private:
void slotShowDetails(const QString &link);
QStringList mPotentialPhishingEmails;
};
......
......@@ -29,8 +29,8 @@ public:
bool validate();
private:
QWidget *mParent;
KActionCollection *mActionCollection;
QWidget *mParent = nullptr;
KActionCollection *mActionCollection = nullptr;
};
#endif // VALIDATESENDMAILSHORTCUT_H
......@@ -37,11 +37,9 @@ public:
void setActionCollection(const QList<KActionCollection *> &actionCollectionList);
private Q_SLOTS:
private:
void slotAddNewTag();
void slotTagsFetched(KJob *);
private:
void writeConfig();
void readConfig();
void createTagList(bool updateList);
......
......@@ -29,9 +29,6 @@ public:
explicit AttachmentMissingWarning(QWidget *parent = nullptr);
~AttachmentMissingWarning();
private Q_SLOTS:
void explicitlyClosed();
void slotAttachFile();
public Q_SLOTS:
void slotFileAttached();
......@@ -40,6 +37,10 @@ Q_SIGNALS:
void attachMissingFile();
void closeAttachMissingFile();
void explicitClosedMissingAttachment();
private:
void explicitlyClosed();
void slotAttachFile();
};
#endif // ATTACHMENTMISSINGWARNING_H
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