diff --git a/privacyaction.cpp b/privacyaction.cpp index 0da7081..044512e 100644 --- a/privacyaction.cpp +++ b/privacyaction.cpp @@ -1,36 +1,31 @@ /** * Copyright (C) 2005 Brian S. Stephan ( bssteph at irtonline dot org ) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "privacyaction.h" PrivacyAction::PrivacyAction(QTreeWidgetItem * parent, const QString &name, const QString &desc) : QTreeWidgetItem(parent) { setText(0, name); if (!desc.isEmpty()) { setText(1, desc); } setCheckState(0, Qt::Unchecked); } -PrivacyAction::~PrivacyAction() -{ - // nothing to do -} - // kate: tab-width 3; indent-mode cstyle; replace-tabs true; diff --git a/privacyaction.h b/privacyaction.h index ee5ae67..7e99538 100644 --- a/privacyaction.h +++ b/privacyaction.h @@ -1,41 +1,41 @@ /** * Copyright (C) 2005 Brian S. Stephan ( bssteph at irtonline dot org ) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef PRIVACYACTION_H #define PRIVACYACTION_H #include class PrivacyAction : public QTreeWidgetItem { public: PrivacyAction(QTreeWidgetItem * parent, const QString &name, const QString &desc = QString()); - ~PrivacyAction(); + ~PrivacyAction() override = default; QString getErrMsg() const { return errMsg; } virtual bool action() = 0; virtual QString configKey() const = 0; protected: QString errMsg; }; #endif // kate: tab-width 3; indent-mode cstyle; replace-tabs true;