* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef IDENTITIESSETTINGSPAGE_H
-#define IDENTITIESSETTINGSPAGE_H
+#pragma once
#include "clientidentity.h"
#include "settingspage.h"
Q_OBJECT
public:
- IdentitiesSettingsPage(QWidget *parent = 0);
+ IdentitiesSettingsPage(QWidget *parent = nullptr);
- virtual inline bool needsCoreConnection() const { return true; }
+ inline bool needsCoreConnection() const override { return true; }
- bool aboutToSave();
+ bool aboutToSave() override;
public slots:
- void save();
- void load();
+ void save() final override;
+ void load() final override;
private slots:
void coreConnectionStateChanged(bool);
Q_OBJECT
public:
- CreateIdentityDlg(QAbstractItemModel *model, QWidget *parent = 0);
+ CreateIdentityDlg(QAbstractItemModel *model, QWidget *parent = nullptr);
QString identityName() const;
IdentityId duplicateId() const;
Q_OBJECT
public:
- SaveIdentitiesDlg(const QList<CertIdentity *> &toCreate, const QList<CertIdentity *> &toUpdate, const QList<IdentityId> &toRemove, QWidget *parent = 0);
+ SaveIdentitiesDlg(const QList<CertIdentity *> &toCreate, const QList<CertIdentity *> &toUpdate, const QList<IdentityId> &toRemove, QWidget *parent = nullptr);
private slots:
void clientEvent();
int numevents, rcvevents;
};
-
-
-#endif