File indexing completed on 2021-12-21 14:40:04

0001 /*
0002     SPDX-FileCopyrightText: 2005 Brian S. Stephan <bssteph@irtonline.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-or-later
0005 */
0006 
0007 #include "privacyaction.h"
0008 
0009 PrivacyAction::PrivacyAction(QTreeWidgetItem * parent, const QString &name, const QString &desc)
0010    : QTreeWidgetItem(parent)
0011 {
0012    setText(0, name);
0013    if (!desc.isEmpty()) {
0014       setText(1, desc);
0015    }
0016    setCheckState(0, Qt::Unchecked);
0017 }
0018 
0019 // kate: tab-width 3; indent-mode cstyle; replace-tabs true;