aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/config-ui/mainwindow.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-10-31 10:21:55 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2014-11-05 12:33:27 +0100
commite5bf7e784e90417551d681731aee8b27beeefc6f (patch)
tree4a2e2ceaa66d9262aefe64eb9c73929ffaac6ee5 /src/app/config-ui/mainwindow.h
parentdf5b5f42d1ac6a9c0ce19a0d7a0b6cb2c6720e55 (diff)
Move the SettingsModel into the library.
So that other applications can easily display qbs settings as well. Change-Id: Ic5e4ab5354f7879df29c90407905fc50b5546796 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/app/config-ui/mainwindow.h')
-rw-r--r--src/app/config-ui/mainwindow.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/config-ui/mainwindow.h b/src/app/config-ui/mainwindow.h
index db0072c18..a5160ea3e 100644
--- a/src/app/config-ui/mainwindow.h
+++ b/src/app/config-ui/mainwindow.h
@@ -32,13 +32,13 @@
#include <QMainWindow>
+namespace qbs { class SettingsModel; }
+
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
class QPoint;
QT_END_NAMESPACE
-class SettingsModel;
-
class MainWindow : public QMainWindow
{
Q_OBJECT
@@ -60,7 +60,7 @@ private slots:
private:
Ui::MainWindow *ui;
- SettingsModel *m_model;
+ qbs::SettingsModel *m_model;
};
#endif // MAINWINDOW_H