#ifndef SYNCTHINGMENUACTION_H #define SYNCTHINGMENUACTION_H #include #include namespace Data { enum class SyncthingStatus; } /*! * \brief The SyncthingMenuAction class provides the top-level menu "Syncthing" entry for the context menu. */ class SyncthingMenuAction : public QAction { Q_OBJECT public: explicit SyncthingMenuAction(const KFileItemListProperties &properties = KFileItemListProperties(), const QList &actions = QList(), QWidget *parentWidget = nullptr); public Q_SLOTS: void updateStatus(Data::SyncthingStatus status); private: KFileItemListProperties m_properties; }; #endif // SYNCTHINGMENUACTION_H