Akonadi

akhelpers.h
1 /*
2  SPDX-FileCopyrightText: 2018-2019 Daniel Vr├ítil <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 namespace Akonadi
10 {
11 static const auto IsNull = [](auto ptr) {
12  return !(bool)ptr;
13 };
14 static const auto IsNotNull = [](auto ptr) {
15  return (bool)ptr;
16 };
17 
18 } // namespace Akonadi
19 
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jun 30 2022 03:51:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.