3
** Copyright (C) 2001-2004 Richard Moore <rich@kde.org>
5
** All rights reserved.
7
** KasBar is dual-licensed: you can choose the GPL or the BSD license.
8
** Short forms of both licenses are included below.
12
** This program is free software; you can redistribute it and/or modify
13
** it under the terms of the GNU General Public License as published by
14
** the Free Software Foundation; either version 2 of the License, or
15
** (at your option) any later version.
17
** This program is distributed in the hope that it will be useful,
18
** but WITHOUT ANY WARRANTY; without even the implied warranty of
19
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
** GNU General Public License for more details.
22
** You should have received a copy of the GNU General Public License
23
** along with this program in a file called COPYING; if not, write to
24
** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25
** MA 02110-1301, USA.
29
** Redistribution and use in source and binary forms, with or without
30
** modification, are permitted provided that the following conditions
32
** 1. Redistributions of source code must retain the above copyright
33
** notice, this list of conditions and the following disclaimer.
34
** 2. Redistributions in binary form must reproduce the above copyright
35
** notice, this list of conditions and the following disclaimer in the
36
** documentation and/or other materials provided with the distribution.
38
** THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
39
** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
40
** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
41
** ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
42
** FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
43
** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
44
** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
45
** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
46
** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
47
** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
52
** Bug reports and questions can be sent to kde-devel@kde.org
57
#ifndef KASSTARTUPITEM_H
58
#define KASSTARTUPITEM_H
68
* A KasItem that represents a single Startup.
70
class KasStartupItem : public KasItem
75
KasStartupItem( KasBar *parent, Startup::StartupPtr startup );
76
virtual ~KasStartupItem();
79
Startup::StartupPtr startup() const { return startup_; }
82
* Reimplemented to paint the item.
84
virtual void paint( QPainter *p );
90
Startup::StartupPtr startup_;
95
#endif // KASSTARTUPITEM_H