Attica

accountbalance.h
1 /*
2  SPDX-FileCopyrightText: 2009 Frederik Gladhorn <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 
7 #ifndef ATTICA_ACCOUNTBALANCE_H
8 #define ATTICA_ACCOUNTBALANCE_H
9 
10 #include <QSharedDataPointer>
11 #include <QString>
12 
13 #include "attica_export.h"
14 
15 namespace Attica
16 {
17 
21 class ATTICA_EXPORT AccountBalance
22 {
23 public:
25  class Parser;
26 
31 
36  AccountBalance(const AccountBalance &other);
37 
43  AccountBalance &operator=(const AccountBalance &other);
44 
48  ~AccountBalance();
49 
54  void setCurrency(const QString &currency);
55 
60  QString currency() const;
61 
66  void setBalance(const QString &name);
67 
72  QString balance() const;
73 
74 private:
75  class Private;
77 };
78 
79 }
80 
81 #endif // ACCOUNTBALANCE_H
Represents the money in the account of the user.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Aug 2 2020 23:00:10 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.