• 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
  • groupexplorer
groupexplorer.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 GROUPEXPLORER_H
21 #define GROUPEXPLORER_H
22 
23 #include <QGraphicsWidget>
24 #include <Plasma/Plasma>
25 
26 namespace Plasma
27 {
28 class Corona;
29 class Containment;
30 }
31 class GroupExplorerPrivate;
32 
33 class GroupExplorer : public QGraphicsWidget
34 {
35  Q_OBJECT
36  public:
37  GroupExplorer(Plasma::Location location);
38  ~GroupExplorer();
39 
45  void setContainment(Plasma::Containment *containment);
46 
50  void setLocation(Plasma::Location location);
51 
55  void setIconSize(int size);
56 
57  Q_SIGNALS:
58  void closeClicked();
59 
60  public Q_SLOTS:
61  void immutabilityChanged(Plasma::ImmutabilityType type);
62 
63  protected:
64  void showEvent(QShowEvent *e);
65 
66  private:
67  Q_PRIVATE_SLOT(d, void containmentDestroyed())
68 
69  GroupExplorerPrivate *const d;
70 
71 };
72 
73 #endif
GroupExplorer::~GroupExplorer
~GroupExplorer()
Definition: groupexplorer.cpp:110
GroupExplorer::setLocation
void setLocation(Plasma::Location location)
set orientation
Definition: groupexplorer.cpp:115
GroupExplorer::immutabilityChanged
void immutabilityChanged(Plasma::ImmutabilityType type)
Definition: groupexplorer.cpp:149
GroupExplorer::setIconSize
void setIconSize(int size)
Sets the icon size.
Definition: groupexplorer.cpp:122
GroupExplorer::GroupExplorer
GroupExplorer(Plasma::Location location)
Definition: groupexplorer.cpp:102
GroupExplorer::setContainment
void setContainment(Plasma::Containment *containment)
Changes the current containment you've got to call this at least once so that it can access the coron...
Definition: groupexplorer.cpp:128
GroupExplorer
Definition: groupexplorer.h:33
GroupExplorer::showEvent
void showEvent(QShowEvent *e)
Definition: groupexplorer.cpp:144
GroupExplorer::closeClicked
void closeClicked()
QGraphicsWidget
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