Debian Codegraph @

tests/dde-calendar-client-test/src/test_keypress/keypressstub.h

raw
1 // SPDX-FileCopyrightText: 2019 - 2026 UnionTech Software Technology Co., Ltd.
2 //
3 // SPDX-License-Identifier: LGPL-3.0-or-later
4
5 #ifndef KEYPRESSSTUB_H
6 #define KEYPRESSSTUB_H
7
8 #include "../third-party_stub/stub.h"
9 #include "view/graphicsItem/cfocusitem.h"
10
11 #include <QObject>
12
13 class QGraphicsItem;
14 class KeyPressStub
15 {
16 public:
17 KeyPressStub();
18 ~KeyPressStub();
19 Stub &getStub();
20
21 private:
22 Stub stub;
23 };
24
25 extern bool itemFocus;
26 extern bool scene_activeSwitching;
27 extern bool WeekDayBackgroundItem_hasNextItem;
28 extern bool WeekDayBackgroundItem_showFocus;
29 extern QGraphicsItem *SceneCurrentItem;
30 extern CFocusItem::CItemType focusItemType;
31 extern QDate itemDate;
32
33 #endif // KEYPRESSSTUB_H