Attica

folder.h
1 /*
2  This file is part of KDE.
3 
4  SPDX-FileCopyrightText: 2008 Cornelius Schumacher <[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_FOLDER_H
10 #define ATTICA_FOLDER_H
11 
12 #include "attica_export.h"
13 #include <QList>
14 #include <QSharedDataPointer>
15 #include <QString>
16 
17 namespace Attica
18 {
19 
23 class ATTICA_EXPORT Folder
24 {
25 public:
26  typedef QList<Folder> List;
27  class Parser;
28 
32  Folder();
33 
38  Folder(const Folder &other);
39 
45  Folder &operator=(const Folder &other);
46 
50  ~Folder();
51 
57  void setId(const QString &id);
58 
64  QString id() const;
65 
70  void setName(const QString &name);
71 
76  QString name() const;
77 
82  void setMessageCount(int messageCount);
83 
88  int messageCount() const;
89 
94  void setType(const QString &type);
95 
100  QString type() const;
101 
106  bool isValid() const;
107 
108 private:
109  class Private;
111 };
112 
113 }
114 
115 #endif
Represents a single mail folder.
Definition: folder.h:23
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:06:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.