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
qdbustraytypes_p.h
Go to the documentation of this file.
1// Copyright (C) 2009 Marco Martin <notmart@gmail.com>
2// Copyright (C) 2016 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QDBUSTRAYTYPES_P_H
6#define QDBUSTRAYTYPES_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of other Qt classes. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtGui/private/qtguiglobal_p.h>
20
21QT_REQUIRE_CONFIG(systemtrayicon);
22
23#include <QObject>
24#include <QString>
25#include <QDBusArgument>
26#include <QDBusConnection>
27#include <QDBusObjectPath>
28#include <QPixmap>
29
31
32// Custom message type to send icons across D-Bus
43
44using QXdgDBusImageVector = QList<QXdgDBusImageStruct>;
45
47
48// Custom message type to send tooltips across D-Bus
57
60
63
66
68
72
73#endif // QDBUSTRAYTYPES_P_H
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtDBus
The QIcon class provides scalable icons in different modes and states.
Definition qicon.h:20
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
const QDBusArgument & operator>>(const QDBusArgument &argument, QXdgDBusImageStruct &icon)
QXdgDBusImageVector iconToQXdgDBusImageVector(const QIcon &icon)
const QDBusArgument & operator<<(QDBusArgument &argument, const QXdgDBusImageStruct &icon)
#define QT_DECL_METATYPE_EXTERN(TYPE, EXPORT)
Definition qmetatype.h:1388
GLfloat GLfloat GLfloat w
[0]
GLint GLsizei GLsizei height
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLsizei width
GLfloat GLfloat GLfloat GLfloat h
#define QT_REQUIRE_CONFIG(feature)
@ Q_RELOCATABLE_TYPE
Definition qtypeinfo.h:158
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
Definition qtypeinfo.h:180
QDBusArgument argument
QXdgDBusImageStruct(int w, int h)
QXdgDBusImageVector image