• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

superkaramba

  • sources
  • kde-4.12
  • kdeutils
  • superkaramba
  • plasma
skapplet.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007 Sebastian Sauer <mail@dipe.org>
3  *
4  * This file is part of SuperKaramba.
5  *
6  * SuperKaramba is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * SuperKaramba is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with SuperKaramba; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef SKAPPLET_H
22 #define SKAPPLET_H
23 
24 #include <QPaintDevice>
25 #include <QPaintEvent>
26 #include <QPainter>
27 #include <QWidget>
28 #include <QGraphicsItem>
29 
30 #include <plasma/applet.h>
31 #include <plasma/dataengine.h>
32 
33 class Karamba;
34 
35 class SuperKarambaApplet : public Plasma::Applet
36 {
37  Q_OBJECT
38  public:
39  SuperKarambaApplet(QObject *parent, const QVariantList &args);
40  virtual ~SuperKarambaApplet();
41 
42  void init();
43 
44  Karamba* karamba() const;
45 
46  QRectF boundingRect() const;
47  virtual void constraintsUpdated(Plasma::Constraints constraints);
48  void paintInterface(QPainter *painter, const QStyleOptionGraphicsItem *option, const QRect &rect);
49 
50  public slots:
51  virtual void showConfigurationInterface();
52 
53  private slots:
54  void configAccepted();
55  void loadKaramba();
56  void loadFailed();
57  void karambaStarted(QGraphicsItemGroup*);
58  void karambaClosed(QGraphicsItemGroup*);
59 
60  private:
62  class Private;
64  Private* const d;
65 
66  virtual QList<QAction*> contextActions();
67 };
68 
69 #endif
SuperKarambaApplet::karamba
Karamba * karamba() const
Definition: skapplet.cpp:171
SuperKarambaApplet::~SuperKarambaApplet
virtual ~SuperKarambaApplet()
Definition: skapplet.cpp:161
QObject
SuperKarambaApplet::paintInterface
void paintInterface(QPainter *painter, const QStyleOptionGraphicsItem *option, const QRect &rect)
Definition: skapplet.cpp:191
SuperKarambaApplet
Definition: skapplet.h:35
Karamba
Definition: karamba.h:52
SuperKarambaApplet::showConfigurationInterface
virtual void showConfigurationInterface()
Definition: skapplet.cpp:197
SuperKarambaApplet::constraintsUpdated
virtual void constraintsUpdated(Plasma::Constraints constraints)
Definition: skapplet.cpp:213
SuperKarambaApplet::init
void init()
Definition: skapplet.cpp:127
QGraphicsItemGroup
SuperKarambaApplet::SuperKarambaApplet
SuperKarambaApplet(QObject *parent, const QVariantList &args)
Definition: skapplet.cpp:115
SuperKarambaApplet::boundingRect
QRectF boundingRect() const
Definition: skapplet.cpp:220
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

superkaramba

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

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