~neon/kdeplasma-addons/trunk

« back to all changes in this revision

Viewing changes to applets/rssnow/header.h

  • Committer: asouza
  • Date: 2011-02-01 19:41:58 UTC
  • Revision ID: svn-v4:283d02a7-25f6-0310-bc7c-ecb5cbfe19da:trunk/KDE/kdeplasma-addons:1218275
Move kdeplasma-addons to git

- You can find information about the project in the link below:

https://projects.kde.org/projects/kde/kdeplasma-addons/repository

- And you can clone the repository using:

git clone git://anongit.kde.org/kdeplasma-addons


Thanks eean and all the sysadmins for the help.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *   Copyright (C) 2007 Petri Damsten <damu@iki.fi>
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 HEADER_HEADER
21
 
#define HEADER_HEADER
22
 
 
23
 
#include <QGraphicsWidget>
24
 
#include <plasma/plasma_export.h>
25
 
 
26
 
namespace Plasma
27
 
{
28
 
    class Svg;
29
 
} // namespace Plasma
30
 
 
31
 
 
32
 
class Header : public QGraphicsWidget
33
 
{
34
 
    Q_OBJECT
35
 
 
36
 
public:
37
 
    Header(QGraphicsItem *parent = 0);
38
 
 
39
 
 
40
 
protected:
41
 
    virtual void paint(QPainter *p,
42
 
                       const QStyleOptionGraphicsItem *option,
43
 
                       QWidget *widget = 0);
44
 
    Plasma::Svg *m_icon;
45
 
};
46
 
 
47
 
#endif