1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : free space widget tool tip
9
* Copyright (C) 2009-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
* This program is free software; you can redistribute it
12
* and/or modify it under the terms of the GNU General
13
* Public License as published by the Free Software Foundation;
14
* either version 2, or (at your option)
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
22
* ============================================================ */
24
#ifndef FREESPACETOOLTIP_H
25
#define FREESPACETOOLTIP_H
29
#include "ditemtooltip.h"
34
class FreeSpaceToolTip : public DItemToolTip
38
explicit FreeSpaceToolTip(QWidget* const parent);
39
virtual ~FreeSpaceToolTip();
41
void setToolTip(const QString& tip);
47
virtual QRect repositionRect();
48
virtual QString tipContents();
56
} // namespace Digikam
58
#endif /* FREESPACETOOLTIP_H */