1/*
2 This file is part of KDE.
3
4 SPDX-FileCopyrightText: 2010 Sebastian Kügler <sebas@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7*/
8
9#ifndef ATTICA_REMOTEACCOUNT_H
10#define ATTICA_REMOTEACCOUNT_H
11
12#include <QDate>
13#include <QList>
14#include <QMap>
15#include <QSharedDataPointer>
16#include <QStringList>
17#include <QUrl>
18
19#include "attica_export.h"
20
21namespace Attica
22{
23
24/**
25 * @class RemoteAccount remoteaccount.h <Attica/RemoteAccount>
26 *
27 * Represents a remote account.
28 */
29class ATTICA_EXPORT RemoteAccount
30{
31public:
32 typedef QList<RemoteAccount> List;
33 class Parser;
34
35 RemoteAccount();
36 RemoteAccount(const RemoteAccount &other);
37 RemoteAccount &operator=(const RemoteAccount &other);
38 ~RemoteAccount();
39
40 void setId(const QString &);
41 QString id() const;
42
43 void setType(const QString &);
44 QString type() const;
45
46 void setRemoteServiceId(const QString &);
47 QString remoteServiceId() const;
48
49 void setData(const QString &);
50 QString data() const;
51
52 void setLogin(const QString &);
53 QString login() const;
54
55 void setPassword(const QString &);
56 QString password() const;
57
58 bool isValid() const;
59
60private:
61 class Private;
62 QSharedDataPointer<Private> d;
63};
64
65}
66
67#endif
68

source code of attica/src/remoteaccount.h