34#include <shlobj_core.h>
35#elif defined(__linux__)
112 bool connect(HWND hwnd);
113#elif defined(__linux__)
119 bool connect(
const std::string& desktopFile);
123 mutable std::mutex m_mutex;
133 void drawCountIcon();
135 CComPtr<ITaskbarList3> m_taskbar;
137#elif defined(__linux__)
141 void sendDBusUpdate();
142 GDBusConnection* m_connection;
143 std::string m_objectPath;
144 std::string m_appUri;
An item on the taskbar.
Definition taskbaritem.h:45
TaskbarItem()
Constructs a TaskbarItem.
long getCount() const
Gets the count shown on the taskbar item.
void setCount(long count)
Sets the count shown on the taskbar item.
~TaskbarItem()
Destructs a TaskbarItem.
bool getUrgent() const
Gets whether or not the taskbar item is shown in an urgent state.
bool getCountVisible() const
Gets whether or not the count is visible on the taskbar item.
ProgressState getProgressState() const
Gets the state of the progress.
double getProgress() const
Gets the value of the progress.
void setCountVisible(bool countVisible)
Sets whether or not the count is visible on the taskbar item.
void setUrgent(bool urgent)
Sets whether or not the taskbar item is shown in an urgent state.
void setProgress(double progress)
Sets the value of the progress. Setting the progress value will set the progress state to Normal if p...
void setProgressState(ProgressState state)
Sets the state of the progress.
Definition progressstate.h:27
ProgressState
States of progress on a taskbar button.
Definition progressstate.h:32