diff options
Diffstat (limited to 'src/ktooltip_p.h')
| -rw-r--r-- | src/ktooltip_p.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/src/ktooltip_p.h b/src/ktooltip_p.h deleted file mode 100644 index 332df4854..000000000 --- a/src/ktooltip_p.h +++ /dev/null @@ -1,67 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2008 by Fredrik Höglund <[email protected]> * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - ***************************************************************************/ - -#ifndef KTOOLTIP_P_H -#define KTOOLTIP_P_H - -class KAbstractToolTipLabel; -class KStyleOptionToolTip; -class KToolTipDelegate; - -class KToolTipManager -{ -public: - ~KToolTipManager(); - - static KToolTipManager *instance() { - if (!s_instance) - s_instance = new KToolTipManager(); - - return s_instance; - } - - void showTip(const QPoint &pos, KToolTipItem *item); - void hideTip(); - - void initStyleOption(KStyleOptionToolTip *option) const; - bool haveAlphaChannel() const; - - void setDelegate(KToolTipDelegate *delegate); - KToolTipDelegate *delegate() const; - - void update(); - -private: - KToolTipManager(); - - KAbstractToolTipLabel *label; - KToolTipItem *currentItem; - KToolTipDelegate *m_delegate; - - QPoint m_tooltipPos; - -#ifdef Q_WS_X11 - bool haveArgbVisual; - Atom net_wm_cm_s0; -#endif - - static KToolTipManager *s_instance; -}; - -#endif |
