Attica

remoteaccount.h
1 /*
2  This file is part of KDE.
3 
4  SPDX-FileCopyrightText: 2010 Sebastian Kügler <[email protected]>
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 
21 namespace Attica
22 {
23 
24 /**
25  * @class RemoteAccount remoteaccount.h <Attica/RemoteAccount>
26  *
27  * Represents a remote account.
28  */
29 class ATTICA_EXPORT RemoteAccount
30 {
31 public:
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 
60 private:
61  class Private;
63 };
64 
65 }
66 
67 #endif
The Attica namespace,.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:05:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.