2014-08-23 21:50:11 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/qt/taskbar.h
|
|
|
|
// Author: Peter Most
|
|
|
|
// Copyright: (c) Peter Most
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_QT_TASKBAR_H_
|
|
|
|
#define _WX_QT_TASKBAR_H_
|
|
|
|
|
2016-08-25 11:56:00 -04:00
|
|
|
class QSystemTrayIcon;
|
2014-08-23 21:50:11 -04:00
|
|
|
|
2018-08-02 17:36:59 -04:00
|
|
|
class WXDLLIMPEXP_ADV wxTaskBarIcon : public wxTaskBarIconBase
|
2014-08-23 21:50:11 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxTaskBarIcon(wxTaskBarIconType iconType = wxTBI_DEFAULT_TYPE);
|
2016-08-25 11:56:00 -04:00
|
|
|
virtual ~wxTaskBarIcon();
|
2014-08-23 21:50:11 -04:00
|
|
|
|
|
|
|
// Accessors
|
|
|
|
bool IsOk() const { return false; }
|
|
|
|
bool IsIconInstalled() const { return false; }
|
|
|
|
|
|
|
|
// Operations
|
|
|
|
virtual bool SetIcon(const wxIcon& icon,
|
2019-04-05 14:08:53 -04:00
|
|
|
const wxString& tooltip = wxEmptyString) wxOVERRIDE;
|
|
|
|
virtual bool RemoveIcon() wxOVERRIDE;
|
|
|
|
virtual bool PopupMenu(wxMenu *menu) wxOVERRIDE;
|
2014-08-23 21:50:11 -04:00
|
|
|
|
|
|
|
private:
|
2016-08-25 11:56:00 -04:00
|
|
|
QSystemTrayIcon *m_qtSystemTrayIcon;
|
2014-08-23 21:50:11 -04:00
|
|
|
|
2015-04-23 07:49:01 -04:00
|
|
|
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxTaskBarIcon);
|
2014-08-23 21:50:11 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_QT_TASKBAR_H_
|