File: privacyaction.cpp

package info (click to toggle)
sweeper 4%3A25.04.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,500 kB
  • sloc: cpp: 522; xml: 214; makefile: 3; sh: 2
file content (19 lines) | stat: -rw-r--r-- 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
    SPDX-FileCopyrightText: 2005 Brian S. Stephan <bssteph@irtonline.org>

    SPDX-License-Identifier: LGPL-2.1-or-later
*/

#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);
}

// kate: tab-width 3; indent-mode cstyle; replace-tabs true;