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
qhaikuintegration.h
Go to the documentation of this file.
1// Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias Koenig <tobias.koenig@kdab.com>
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 QHAIKUINTEGRATION_H
5#define QHAIKUINTEGRATION_H
6
7#include <qpa/qplatformintegration.h>
8
10
11class QHaikuClipboard;
12class QHaikuScreen;
13class QHaikuServices;
14
16{
17public:
18 explicit QHaikuIntegration(const QStringList &paramList);
20
22
26
27 QPlatformFontDatabase *fontDatabase() const override;
28 QPlatformServices *services() const override;
29
30#ifndef QT_NO_CLIPBOARD
31 QPlatformClipboard *clipboard() const override;
32#endif
33
34private:
35 QHaikuClipboard *m_clipboard;
36 QHaikuScreen *m_screen;
37 QHaikuServices *m_services;
38};
39
41
42#endif
bool hasCapability(QPlatformIntegration::Capability cap) const override
QHaikuIntegration(const QStringList &paramList)
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
QPlatformClipboard * clipboard() const override
Accessor for the platform integration's clipboard.
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
QPlatformServices * services() const override
The QPlatformBackingStore class provides the drawing area for top-level windows.
The QPlatformClipboard class provides an abstraction for the system clipboard.
The QPlatformFontDatabase class makes it possible to customize how fonts are discovered and how they ...
The QPlatformIntegration class is the entry for WindowSystem specific functionality.
Capability
Capabilities are used to determine specific features of a platform integration.
The QPlatformServices provides the backend for desktop-related functionality.
The QPlatformWindow class provides an abstraction for top-level windows.
\inmodule QtCore
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
GLenum cap
aWidget window() -> setWindowTitle("New Window Title")
[2]