25 lines
696 B
C++
25 lines
696 B
C++
// For license of this file, see <project-root-folder>/LICENSE.md.
|
|
|
|
#ifndef FEEDSTOOLBAR_H
|
|
#define FEEDSTOOLBAR_H
|
|
|
|
#include "gui/basetoolbar.h"
|
|
|
|
class FeedsToolBar : public BaseToolBar {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit FeedsToolBar(const QString& title, QWidget* parent = nullptr);
|
|
|
|
QList<QAction*> availableActions() const;
|
|
QList<QAction*> activatedActions() const;
|
|
void saveAndSetActions(const QStringList& actions);
|
|
|
|
QList<QAction*> convertActions(const QStringList& actions);
|
|
void loadSpecificActions(const QList<QAction*>& actions, bool initial_load = false);
|
|
|
|
QStringList defaultActions() const;
|
|
QStringList savedActions() const;
|
|
};
|
|
|
|
#endif // FEEDSTOOLBAR_H
|