#ifndef BLOGSVIEW_H #define BLOGSVIEW_H #include namespace Ui { class blogsView; } class blogsView : public QMainWindow { Q_OBJECT public: explicit blogsView(QWidget *parent = nullptr); ~blogsView(); void createNewBlogEntry(); void setUserId(const QString &userId); QJsonObject readJsonFile(const QString title); private slots: void on_actionCreate_new_Blog_entry_triggered(); private: Ui::blogsView *ui; QString userId; }; #endif // BLOGSVIEW_H