Akonadi

tristate.cpp
1 /*
2  * SPDX-FileCopyrightText: 2015 Daniel Vr├ítil <[email protected]>
3  *
4  * SPDX-License-Identifier: LGPL-2.0-or-later
5  */
6 
7 #include "tristate_p.h"
8 
9 using namespace Akonadi;
10 
11 QDebug 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 }
QDataStream & operator<<(QDataStream &out, const KDateTime &dateTime)
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:01:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.