2 * kPPP: A pppd Front End for the KDE project
6 * Copyright (C) 1997 Bernd Johannes Wuebben
7 * wuebben@math.cornell.edu
9 * This file was contributed by Harri Porten <porten@tu-harburg.de>
10 * Latest changes (dynamic tooltips) by Cristian Tibirna <tibirna@kde.org>
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Library General Public
15 * License as published by the Free Software Foundation; either
16 * version 2 of the License, or (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Library General Public License for more details.
23 * You should have received a copy of the GNU Library General Public
24 * License along with this program; if not, write to the Free
25 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
32 #include <ksystemtrayicon.h>
40 class DockWidget
: public KSystemTrayIcon
45 explicit DockWidget(KSCD
* parent
, const char *name
= 0);
49 void setToolTip(const QString
& text
);
50 void createPopup(const QString
& songName
, bool addButtons
= true);
53 virtual void wheelEvent(QWheelEvent
*e
);
55 KPassivePopup
* m_popup
;
57 QAction
* m_forwardAction
;
58 QAction
* m_backAction
;