Debian Codegraph @

src/librssguard/gui/dialogs/formaddaccount.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.
2
3 #ifndef FORMADDACCOUNT_H
4 #define FORMADDACCOUNT_H
5
6 #include "ui_formaddaccount.h"
7
8 #include <QDialog>
9
10 class ServiceEntryPoint;
11 class FeedsModel;
12
13 class FormAddAccount : public QDialog {
14 Q_OBJECT
15
16 public:
17 explicit FormAddAccount(const QList<ServiceEntryPoint*>& entry_points,
18 FeedsModel* model,
19 QWidget* parent = nullptr);
20 virtual ~FormAddAccount();
21
22 private slots:
23 void addSelectedAccount();
24 void showAccountDetails();
25
26 private:
27 ServiceEntryPoint* selectedEntryPoint() const;
28
29 void loadEntryPoints();
30
31 QScopedPointer<Ui::FormAddAccount> m_ui;
32 FeedsModel* m_model;
33 QList<ServiceEntryPoint*> m_entryPoints;
34 };
35
36 #endif // FORMADDACCOUNT_H