1 /*
2  *  SPDX-FileCopyrightText: 2012 Sebastian Gottfried <sebastiangottfried@web.de>
3  *
4  *  SPDX-License-Identifier: GPL-2.0-or-later
5  */
6 
7 #ifndef NEWCOURSEWIDGET_H
8 #define NEWCOURSEWIDGET_H
9 
10 #include <QWidget>
11 #include "ui_newcoursewidget.h"
12 
13 class ResourceModel;
14 
15 class NewCourseWidget : public QWidget, private Ui::NewCourseWidget
16 {
17     Q_OBJECT
18 public:
19     explicit NewCourseWidget(ResourceModel* resourceModel, QWidget* parent = 0);
20     bool isValid() const;
21     QString title() const;
22     QString keyboardLayoutName() const;
23     QString description() const;
24 signals:
25     void isValidChanged() const;
26 };
27 
28 #endif // NEWCOURSEWIDGET_H
29