• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeplasma-addons API Reference
  • KDE Home
  • Contact Us
 

GroupingDesktop

  • sources
  • kde-4.12
  • kdeplasma-addons
  • containments
  • groupingdesktop
  • lib
groupinfo.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010 by Giulio Camuffo <giuliocamuffo@gmail.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Library General Public License as
6  * published by the Free Software Foundation; either version 2, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this program; if not, write to the
16  * Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  */
19 
20 #ifndef GROUPINFO_H
21 #define GROUPINFO_H
22 
23 #include <QtCore/QString>
24 #include <QtCore/QSet>
25 
26 #include <Plasma/Plasma>
27 
28 class GroupInfoPrivate;
29 
30 class GroupInfo
31 {
32  public:
33  explicit GroupInfo(const QString &name, const QString &prettyName = QString());
34  GroupInfo(const GroupInfo &other);
35  ~GroupInfo();
36  void setFormFactors(QSet<Plasma::FormFactor> formFactors);
37  void setIcon(const QString &icon);
38 
39  QString name() const;
40  QString prettyName() const;
41  QSet<Plasma::FormFactor> formFactors() const;
42  QString icon() const;
43 
44  GroupInfo &operator=(const GroupInfo &gi);
45  bool operator==(const GroupInfo &gi) const;
46  bool operator<(const GroupInfo &gi) const;
47 
48  private:
49  GroupInfoPrivate *const d;
50 };
51 
52 #endif //GROUPINFO_H
GroupInfo::icon
QString icon() const
Definition: groupinfo.cpp:82
GroupInfo::setFormFactors
void setFormFactors(QSet< Plasma::FormFactor > formFactors)
Definition: groupinfo.cpp:57
GroupInfo::formFactors
QSet< Plasma::FormFactor > formFactors() const
Definition: groupinfo.cpp:77
GroupInfo::GroupInfo
GroupInfo(const QString &name, const QString &prettyName=QString())
Definition: groupinfo.cpp:39
GroupInfo::~GroupInfo
~GroupInfo()
Definition: groupinfo.cpp:52
GroupInfo::prettyName
QString prettyName() const
Definition: groupinfo.cpp:72
GroupInfo::operator=
GroupInfo & operator=(const GroupInfo &gi)
Definition: groupinfo.cpp:87
GroupInfo::operator<
bool operator<(const GroupInfo &gi) const
Definition: groupinfo.cpp:100
GroupInfo::setIcon
void setIcon(const QString &icon)
Definition: groupinfo.cpp:62
GroupInfo::name
QString name() const
Definition: groupinfo.cpp:67
GroupInfo
Definition: groupinfo.h:30
GroupInfo::operator==
bool operator==(const GroupInfo &gi) const
Definition: groupinfo.cpp:95
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

GroupingDesktop

Skip menu "GroupingDesktop"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeplasma-addons API Reference

Skip menu "kdeplasma-addons API Reference"
  •     GroupingDesktop
  •   liblancelot

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal