Attica

remoteaccount.h
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:
33 class Parser;
34
36 RemoteAccount(const RemoteAccount &other);
37 RemoteAccount &operator=(const RemoteAccount &other);
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;
63};
64
65}
66
67#endif
Represents a remote account.
The Attica namespace,.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.