00001 /*************************************************************************** 00002 contactitemtooltip.h - description 00003 ------------------- 00004 begin : mer avr 19 2006 00005 copyright : (C) 2006 by Sylvain Archenault <sylvain.archenault@laposte.net> Yves Houpert <yves.houpert@insa-rouen.fr> 00006 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 #ifndef CONTACTITEMTOOLTIP_H 00018 #define CONTACTITEMTOOLTIP_H 00019 00020 #include <qtooltip.h> 00021 class ContactListView; 00022 class QPoint; 00023 00029 class ContactItemTooltip : public QToolTip 00030 { 00031 public: 00034 ContactItemTooltip(ContactListView* pListView); 00035 00037 virtual ~ContactItemTooltip(); 00038 00039 protected: 00042 void maybeTip(const QPoint& point); 00043 00044 private : 00048 ContactListView* m_pListView; 00049 }; 00050 00051 #endif
1.4.6