Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qfbvthandler_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QFBVTHANDLER_H
5#define QFBVTHANDLER_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/private/qtguiglobal_p.h>
19#include <QObject>
20
22
23class QSocketNotifier;
24
25class QFbVtHandler : public QObject
26{
28
29public:
30 QFbVtHandler(QObject *parent = nullptr);
32
36 void resumed();
37
38private slots:
39 void handleSignal();
40
41private:
42 void setKeyboardEnabled(bool enable);
43 void handleInt();
44 static void signalHandler(int sigNo);
45
46 int m_tty;
47 int m_oldKbdMode;
48 int m_sigFd[2];
49 QSocketNotifier *m_signalNotifier;
50};
51
53
54#endif
void interrupted()
QFbVtHandler(QObject *parent=nullptr)
void resumed()
void aboutToSuspend()
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
\inmodule QtCore
Combined button and popup list for selecting options.
GLboolean enable
#define Q_OBJECT
#define slots
#define signals