Akonadi

tristate.cpp
1/*
2 * SPDX-FileCopyrightText: 2015 Daniel Vrátil <dvratil@redhat.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#include "tristate_p.h"
8
9using namespace Akonadi;
10
11QDebug operator<<(QDebug dbg, Tristate tristate)
12{
13 switch (tristate) {
14 case Tristate::True:
15 return dbg << "True";
16 case Tristate::False:
17 return dbg << "False";
18 case Tristate::Undefined:
19 return dbg << "Undefined";
20 }
21
22 Q_ASSERT(false);
23 return dbg;
24}
Helper integration between Akonadi and Qt.
QDebug operator<<(QDebug dbg, const DcrawInfoContainer &c)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.