8#include <QtCore/qloggingcategory.h>
9#include <QtGui/qpa/qplatformtheme.h>
10#include <QtGui/private/qguiapplication_p.h>
140 m_iconLoader(
nullptr),
146 qCDebug(qtLabsPlatformTray) <<
"SystemTrayIcon ->" << m_handle;
157 m_menu->setSystemTrayIcon(
nullptr);
160 m_iconLoader =
nullptr;
211 if (m_handle && m_complete) {
237 if (m_handle && m_complete)
260 m_menu->setSystemTrayIcon(
nullptr);
262 menu->setSystemTrayIcon(
this);
302 return m_iconLoader->
icon();
358 if (m_menu && m_menu->
create())
388 static int slot = staticMetaObject.indexOfSlot(
"updateIcon()");
395void QQuickLabsPlatformSystemTrayIcon::updateIcon()
397 if (!m_handle || !m_iconLoader)
404 if (oldGeometry != m_handle->
geometry())
405 emit geometryChanged();
410#include "moc_qquicklabsplatformsystemtrayicon_p.cpp"
static QPlatformTheme * platformTheme()
The QIcon class provides scalable icons in different modes and states.
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define Q_LOGGING_CATEGORY(name,...)
#define qCDebug(category,...)
connect(quitButton, &QPushButton::clicked, &app, &QCoreApplication::quit, Qt::QueuedConnection)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent