dde-dock/frame/item/systemtraypluginitem.h
listenerri e9c48fb2f0 refactor(system-tray): new fashion system tray
Change-Id: I7d359c1a33fbb32bc174026e7aee130d328313ef
2018-10-22 10:06:12 +08:00

23 lines
564 B
C++

#ifndef SYSTEMTRAYPLUGINITEM_H
#define SYSTEMTRAYPLUGINITEM_H
#include "pluginsitem.h"
class SystemTrayPluginItem : public PluginsItem
{
Q_OBJECT
public:
SystemTrayPluginItem(PluginsItemInterface* const pluginInter, const QString &itemKey, QWidget *parent = 0);
inline ItemType itemType() const Q_DECL_OVERRIDE {return ItemType::SystemTrayPlugin;}
Q_SIGNALS:
void fashionSystemTraySizeChanged(const QSize &systemTraySize) const;
private:
bool eventFilter(QObject *watched, QEvent *e) Q_DECL_OVERRIDE;
};
#endif // SYSTEMTRAYPLUGINITEM_H