File indexing completed on 2024-04-28 16:29:35
0001 /* 0002 SPDX-FileCopyrightText: 2018 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #ifndef KMYMONEYENUMS_H 0007 #define KMYMONEYENUMS_H 0008 0009 #include <QHashFunctions> 0010 0011 namespace eKMyMoney { 0012 enum class FileAction { 0013 Opened, 0014 Saved, 0015 Closing, 0016 Closed, 0017 Changed, 0018 }; 0019 0020 enum class StorageType { 0021 None, 0022 XML, 0023 SQL, 0024 GNC, 0025 }; 0026 0027 inline uint qHash(const StorageType key, uint seed) { 0028 return ::qHash(static_cast<uint>(key), seed); 0029 } 0030 0031 } 0032 #endif