1 /***************************************************************************
6 * begin : Tue Jan 29 2002
7 * copyright : (C) 2002 by Patrick Charbonnier
8 * : Based On Caitoo v.0.7.3 (c) 1998 - 2000, Matej Koss
9 * email : pch@freeshell.org
11 ****************************************************************************/
13 /***************************************************************************
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; either version 2 of the License, or
18 * (at your option) any later version.
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
25 ***************************************************************************/
34 #include <qdragobject.h>
36 #include <ksystemtray.h>
41 class DynamicTip
: public QToolTip
44 DynamicTip( QWidget
* parent
);
45 virtual ~DynamicTip() {}//TODO workaround for qt-bug, can be removed after 4.0
46 void setStatus( const QString
& _status
);
49 void maybeTip( const QPoint
& );
55 class DockWidget
:public KSystemTray
59 DockWidget(KMainWidget
* parent
);
61 /** No descriptions */
62 void updateToolTip( const QString
& );
67 void mousePressEvent(QMouseEvent
* e
);
71 void dragEnterEvent(QDragEnterEvent
*);
72 void dropEvent(QDropEvent
*);