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
qplatformsystemtrayicon.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// Copyright (C) 2012 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Christoph Schleifenbaum <christoph.schleifenbaum@kdab.com>
3
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5
#include "
qplatformsystemtrayicon.h
"
6
7
#include <QtGui/private/qguiapplication_p.h>
8
#include <QtGui/qpa/qplatformtheme.h>
9
10
#ifndef QT_NO_SYSTEMTRAYICON
11
12
QT_BEGIN_NAMESPACE
13
50
QPlatformSystemTrayIcon::QPlatformSystemTrayIcon
()
51
{
52
}
53
54
QPlatformSystemTrayIcon::~QPlatformSystemTrayIcon
()
55
{
56
}
57
141
QPlatformMenu
*
QPlatformSystemTrayIcon::createMenu
()
const
142
{
143
return
QGuiApplicationPrivate::platformTheme
()->createPlatformMenu();
144
}
145
146
QT_END_NAMESPACE
147
148
#include "moc_qplatformsystemtrayicon.cpp"
149
150
#endif
// QT_NO_SYSTEMTRAYICON
QGuiApplicationPrivate::platformTheme
static QPlatformTheme * platformTheme()
Definition
qguiapplication_p.h:95
QPlatformMenu
Definition
qplatformmenu.h:72
QPlatformSystemTrayIcon::createMenu
virtual QPlatformMenu * createMenu() const
This method allows platforms to use a different QPlatformMenu for system tray menus than what would n...
Definition
qplatformsystemtrayicon.cpp:141
QPlatformSystemTrayIcon::QPlatformSystemTrayIcon
QPlatformSystemTrayIcon()
Definition
qplatformsystemtrayicon.cpp:50
QPlatformSystemTrayIcon::~QPlatformSystemTrayIcon
~QPlatformSystemTrayIcon()
Definition
qplatformsystemtrayicon.cpp:54
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qplatformsystemtrayicon.h
qtbase
src
gui
kernel
qplatformsystemtrayicon.cpp
Generated by
1.10.0