/***************************************************************************
- * Copyright (C) 2005-09 by the Quassel Project *
+ * Copyright (C) 2005-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
+ * (at your option) version 3. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 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