some refactore
This commit is contained in:
@@ -17,12 +17,12 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "components/button/iconButton.hpp"
|
||||
#include "connection/dbus/tray.hpp"
|
||||
#include "components/base/button.hpp"
|
||||
|
||||
class TrayIconWidget : public Button {
|
||||
class TrayIconWidget : public IconButton {
|
||||
public:
|
||||
TrayIconWidget(std::string id);
|
||||
TrayIconWidget(Icon::Type icon, std::string id);
|
||||
~TrayIconWidget() override;
|
||||
|
||||
void update(const TrayService::Item &item);
|
||||
|
||||
Reference in New Issue
Block a user