~ubuntu-branches/ubuntu/raring/plasma-mobile/raring-proposed

« back to all changes in this revision

Viewing changes to handset/applets/windowstrip/applet.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-07-17 12:04:43 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120717120443-q3ig9u2fnltx67yg
Tags: 2.0+git2012071701-0ubuntu1
* New upstream snapshot
* Remove build-dep on kde-runtime-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *                                                                         *
 
3
 *   Copyright 2011 Sebastian Kügler <sebas@kde.org>                       *
 
4
 *                                                                         *
 
5
 *   This program is free software; you can redistribute it and/or modify  *
 
6
 *   it under the terms of the GNU General Public License as published by  *
 
7
 *   the Free Software Foundation; either version 2 of the License, or     *
 
8
 *   (at your option) any later version.                                   *
 
9
 *                                                                         *
 
10
 *   This program is distributed in the hope that it will be useful,       *
 
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 
13
 *   GNU General Public License for more details.                          *
 
14
 *                                                                         *
 
15
 *   You should have received a copy of the GNU General Public License     *
 
16
 *   along with this program; if not, write to the                         *
 
17
 *   Free Software Foundation, Inc.,                                       *
 
18
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA .        *
 
19
 ***************************************************************************/
 
20
 
 
21
#ifndef WINDOWSTRIPAPPLET_H
 
22
#define WINDOWSTRIPAPPLET_H
 
23
 
 
24
#include <Plasma/Containment>
 
25
#include <Plasma/DeclarativeWidget>
 
26
#include <Plasma/Svg>
 
27
#include <QtCore/QTimer>
 
28
 
 
29
class WindowStrip;
 
30
 
 
31
class WindowStripApplet : public Plasma::Containment
 
32
{
 
33
    Q_OBJECT
 
34
public:
 
35
    // Basic Create/Destroy
 
36
    WindowStripApplet(QObject *parent, const QVariantList &args);
 
37
    ~WindowStripApplet();
 
38
    void init();
 
39
    QGraphicsWidget* graphicsWidget();
 
40
 
 
41
private:
 
42
    WindowStrip* m_widget;
 
43
};
 
44
 
 
45
#endif