Alkimia API

alkcompany.h
1/*
2 SPDX-FileCopyrightText: 2011 Alvaro Soliverez asoliverez @kde.org
3
4 This file is part of libalkimia.
5
6 SPDX-License-Identifier: LGPL-2.1-or-later
7*/
8
9#ifndef ALKCOMPANY_H
10#define ALKCOMPANY_H
11
12#include <alkimia/alk_export.h>
13
14#include <QDBusArgument>
15#include <QMetaType>
16#include <QObject>
17#include <QString>
18
19class ALK_EXPORT AlkCompany : public QObject
20{
21 Q_OBJECT
22public:
23 explicit AlkCompany(QObject *parent = 0);
24 AlkCompany(const AlkCompany &company, QObject *parent = 0);
25 ~AlkCompany();
26
27 /**
28 * Financial symbol
29 */
30 const QString &symbol() const;
31
32 /**
33 * Name of the equity
34 */
35 const QString &name() const;
36
37 /**
38 * Type of the equity
39 */
40 const QString &type() const;
41
42 /**
43 * Exchange market of the equity
44 */
45 const QString &exchange() const;
46
47 /**
48 * Internal id
49 */
50 const QString &recordId() const;
51
52 void setSymbol(const QString &symbol);
53 void setName(const QString &name);
54 void setType(const QString &type);
55 void setExchange(const QString &exchange);
56 void setRecordId(const QString &recordId);
57
58private:
59 /// \internal d-pointer class.
60 class Private;
61 /// \internal d-pointer instance.
62 Private *const d;
63};
64
65ALK_EXPORT QDBusArgument &operator<<(QDBusArgument &argument, const AlkCompany &company);
66ALK_EXPORT const QDBusArgument &operator>>(const QDBusArgument &argument, AlkCompany &company);
67
68Q_DECLARE_METATYPE(AlkCompany)
69
70#endif
Type type(const QSqlDatabase &db)
KCALENDARCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalendarCore::Alarm::Ptr &)
QDebug operator<<(QDebug dbg, const DcrawInfoContainer &c)
QString name(StandardAction id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.