File: keysequencerecordertest.h

package info (click to toggle)
kguiaddons 5.116.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 856 kB
  • sloc: cpp: 4,930; xml: 358; sh: 13; makefile: 11
file content (31 lines) | stat: -rw-r--r-- 657 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
    SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
    SPDX-FileCopyrightText: 2020 David Redondo <kde@david-redondo.de>
*/

#ifndef KEYSEQUENCERECORDERTEST_H
#define KEYSEQUENCERECORDERTEST_H

#include <QObject>

class QWindow;

class KeySequenceRecorderTest : public QObject
{
    Q_OBJECT
private Q_SLOTS:
    void initTestCase();
    void cleanupTestCase();
    void testValidWindow();
    void testRecording();
    void testModifiers();
    void testModifierless();
    void testModifierOnly();
    void testModifierOnlyDisabled();
    void testMultiKeyAllowed();

private:
    QWindow *m_window;
};

#endif