File indexing completed on 2024-05-12 05:06:40

0001 /*
0002     SPDX-FileCopyrightText: 2002-2011 Thomas Baumgart <tbaumgart@kde.org>
0003     SPDX-FileCopyrightText: 2017-2018 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef MYMONEYKEYVALUECONTAINER_P_H
0008 #define MYMONEYKEYVALUECONTAINER_P_H
0009 
0010 // ----------------------------------------------------------------------------
0011 // QT Includes
0012 
0013 #include <QMap>
0014 
0015 // ----------------------------------------------------------------------------
0016 // KDE Includes
0017 
0018 // ----------------------------------------------------------------------------
0019 // Project Includes
0020 
0021 class MyMoneyKeyValueContainerPrivate
0022 {
0023 public:
0024     /**
0025      * Returns a string representing of a boolean value
0026      *
0027      * @param value the boolean value
0028      * @retval "yes" for @c true
0029      * @retval "no" for @c false
0030      */
0031     QString toString(bool value) const;
0032 
0033     /**
0034      * Returns a string representing an int value
0035      *
0036      * @param value the integer value
0037      * @returns value as QString
0038      */
0039     QString toString(int value) const;
0040 
0041     /**
0042       * This member variable represents the container of key/value pairs.
0043       */
0044     QMap<QString, QString>  m_kvp;
0045 };
0046 #endif