#ifndef QMLWARNINGDIALOG_H
#define QMLWARNINGDIALOG_H

#include <QDialog>

namespace Ui {
    class QmlWarningDialog;
}

namespace QmlDesigner {

namespace Internal {

class QmlWarningDialog : public QDialog
{
    Q_OBJECT

public:
    explicit QmlWarningDialog(QWidget *parent, const QStringList &warnings);
    ~QmlWarningDialog();

    bool warningsEnabled() const;

public slots:
    void ignoreButtonPressed();
    void okButtonPressed();
    void checkBoxToggled(bool);
    void linkClicked(const QString &link);

private:
    Ui::QmlWarningDialog *ui;
    const QStringList m_warnings;
};

} //Internal

} //QmlDesigner

#endif // QMLWARNINGDIALOG_H

#ifndef QMLWARNINGDIALOG_H
#define QMLWARNINGDIALOG_H

#include <QDialog>

QT_BEGIN_NAMESPACE
namespace Ui {
    class QmlWarningDialog;
}
QT_END_NAMESPACE

namespace QmlDesigner {

namespace Internal {

class QmlWarningDialog : public QDialog
{
    Q_OBJECT

public:
    explicit QmlWarningDialog(QWidget *parent, const QStringList &warnings);
    ~QmlWarningDialog();

    bool warningsEnabled() const;

public slots:
    void ignoreButtonPressed();
    void okButtonPressed();
    void checkBoxToggled(bool);
    void linkClicked(const QString &link);

private:
    Ui::QmlWarningDialog *ui;
    const QStringList m_warnings;
};

} //Internal

} //QmlDesigner

#endif // QMLWARNINGDIALOG_H

Fix compilation with namespaced Qt.
QmlDesigner: Fix compilation with namespaced Qt.

Change-Id: I4de7ae4391f57f4c7eac4e5e8b057b8365ca42c9
Reviewed-by: Thomas Hartmann <588ee739c05aab7547907becfd1420d2b7316069@digia.com>
