Debian Codegraph @

autotests/ktooltipwidgettest.h

raw symbols SCIP
1 /*
2 SPDX-FileCopyrightText: 2017 Elvis Angelaccio <[email protected]>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6
7 #ifndef KTOOLTIPWIDGETTEST_H
8 #define KTOOLTIPWIDGETTEST_H
9
10 #include <QObject>
11 #include <QRect>
12
13 class KToolTipWidgetTest : public QObject
14 {
15 Q_OBJECT
16
17 private Q_SLOTS:
18
19 void initTestCase();
20
21 void showTooltipShouldShowContent();
22 void hideLaterShouldHideAfterDelay();
23 void setZeroDelayShouldHideImmediately();
24 void shouldHideImmediatelyIfContentDestroyed();
25 void shouldNotTakeOwnershipOfContent();
26
27 void shouldNotObscureTarget_data();
28 void shouldNotObscureTarget();
29
30 private:
31 QRect m_screenGeometry;
32 const int m_offset = 10;
33 };
34
35 #endif