Pimcommon

needupdateversionutils.h
1/*
2 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8#include "pimcommon_export.h"
9#include <QDate>
10#include <QString>
11namespace PimCommon
12{
13namespace NeedUpdateVersionUtils
14{
15enum class PIMCOMMON_EXPORT ObsoleteVersion : uint8_t {
16 Unknown,
17 NotObsoleteYet,
18 OlderThan6Months,
19 OlderThan12Months,
20};
21
22PIMCOMMON_EXPORT void disableCheckVersion();
23PIMCOMMON_EXPORT bool checkVersion();
24[[nodiscard]] PIMCOMMON_EXPORT NeedUpdateVersionUtils::ObsoleteVersion obsoleteVersionStatus(const QString &str, QDate currentDate);
25};
26}
NETWORKMANAGERQT_EXPORT bool checkVersion(const int x, const int y, const int z)
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:39:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.