1/* This file is part of the KDE project
2 Copyright (C) by Andrew Stanley-Jones <asj@cban.com>
3 Copyright (C) 2004 Esben Mose Hansen <kde@mosehansen.dk>
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (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 GNU
13 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; see the file COPYING. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
19*/
20#ifndef TRAY_H
21#define TRAY_H
22
23#include <QtCore/QPointer>
24
25#include <KStatusNotifierItem>
26
27class KNotification;
28class Klipper;
29
30class KlipperTray : public KStatusNotifierItem
31{
32 Q_OBJECT
33
34public:
35 KlipperTray();
36
37public slots:
38 void slotSetToolTipFromHistory();
39 void slotPassivePopup(const QString& caption, const QString& text);
40
41private:
42 Klipper* m_klipper;
43 QPointer<KNotification> m_notification;
44};
45
46#endif
47