19#include <QtGui/private/qtguiglobal_p.h>
24#include <QTemporaryFile>
26#include "QtGui/qpa/qplatformsystemtrayicon.h"
27#include "private/qdbusmenuconnection_p.h"
98 void attentionTimerExpired();
100 void notificationClosed(
uint id,
uint reason);
101 void watcherServiceRegistered(
const QString &serviceName);
123 QIcon m_attentionIcon;
void init() override
This method is called to initialize the platform dependent implementation.
void updateMenu(QPlatformMenu *menu) override
This method is called when the system tray menu did change.
void statusChanged(QString arg)
bool isRequestingAttention() const
void showMessage(const QString &title, const QString &msg, const QIcon &icon, MessageIcon iconType, int msecs) override
Shows a balloon message for the entry with the given title, message msg and icon for the time specifi...
QString attentionIconName() const
QDBusMenuConnection * dBusConnection()
void cleanup() override
This method is called to cleanup the platform dependent implementation.
const QIcon & icon() const
QRect geometry() const override
This method returns the geometry of the platform dependent system tray icon on the screen.
QString instanceId() const
QString attentionIconName
bool isRequestingAttention
void updateIcon(const QIcon &icon) override
This method is called when the icon did change.
void updateToolTip(const QString &tooltip) override
This method is called when the tooltip text did change.
QString attentionTitle() const
bool supportsMessages() const override
Returns true if the system tray supports messages on the platform.
QDBusPlatformMenu * menu()
bool isSystemTrayAvailable() const override
Returns true if the system tray is available on the platform.
QPlatformMenu * createMenu() const override
This method allows platforms to use a different QPlatformMenu for system tray menus than what would n...
QString attentionMessage() const
const QIcon & attentionIcon() const
The QIcon class provides scalable icons in different modes and states.
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
\inmodule QtCore \reentrant
bool isActive() const
Returns true if the timer is running (pending); otherwise returns false.
Combined button and popup list for selecting options.
#define QT_REQUIRE_CONFIG(feature)