Attica

icon.h
1 /*
2  This file is part of KDE.
3 
4  SPDX-FileCopyrightText: 2010 Intel Corporation
5  SPDX-FileContributor: Mateu Batle Sastre <[email protected]>
6 
7  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
8 */
9 
10 #ifndef ATTICA_ICON_H
11 #define ATTICA_ICON_H
12 
13 #include <QSharedDataPointer>
14 #include <QUrl>
15 
16 #include "attica_export.h"
17 
18 namespace Attica
19 {
24 class ATTICA_EXPORT Icon
25 {
26 public:
27  typedef QList<Icon> List;
28 
32  Icon();
33 
38  Icon(const Icon &other);
39 
45  Icon &operator=(const Icon &other);
46 
50  ~Icon();
51 
52  QUrl url() const;
53  void setUrl(const QUrl &url);
54 
55  uint width() const;
56  void setWidth(uint width);
57 
58  uint height() const;
59  void setHeight(uint height);
60 
61 private:
62  class Private;
64 };
65 
66 }
67 
68 #endif
The Icon class contains information about an icon.
Definition: icon.h:24
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.