File indexing completed on 2024-05-05 12:23:24
0001 /* 0002 * SPDX-FileCopyrightText: 2009 Petri Damstén <damu@iki.fi> 0003 * SPDX-FileCopyrightText: 2014 John Layt <jlayt@kde.org> 0004 * 0005 * SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef CURRENCY_P_H 0009 #define CURRENCY_P_H 0010 0011 #include "unitcategory_p.h" 0012 #include <QDateTime> 0013 0014 namespace KUnitConversion 0015 { 0016 namespace Currency 0017 { 0018 UnitCategory makeCategory(); 0019 /** 0020 * @brief Provides time of last conversion table update for usage in tests 0021 * 0022 * If no conversion table is available the QDateTime object is a null datetime. 0023 * 0024 * @internal exported for unit tests only 0025 */ 0026 KUNITCONVERSION_EXPORT QDateTime lastConversionTableUpdate(); 0027 }; 0028 0029 } 0030 0031 #endif