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 class ATTICA_EXPORT RemoteAccount
25 {
26 public:
27  typedef QList<RemoteAccount> List;
28  class Parser;
29 
30  RemoteAccount();
31  RemoteAccount(const RemoteAccount &other);
32  RemoteAccount &operator=(const RemoteAccount &other);
33  ~RemoteAccount();
34 
35  void setId(const QString &);
36  QString id() const;
37 
38  void setType(const QString &);
39  QString type() const;
40 
41  void setRemoteServiceId(const QString &);
42  QString remoteServiceId() const;
43 
44  void setData(const QString &);
45  QString data() const;
46 
47  void setLogin(const QString &);
48  QString login() const;
49 
50  void setPassword(const QString &);
51  QString password() const;
52 
53  bool isValid() const;
54 
55 private:
56  class Private;
58 };
59 
60 }
61 
62 #endif
Type type(const QSqlDatabase &db)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:06:25 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.