Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 1 file). Show all
Unified · Split
| @@ -12,9 +12,8 @@ · 11 unmodified lines | ||
| 12 | 12 | #ifndef hifi_WindowScriptingInterface_h |
| 13 | 13 | #define hifi_WindowScriptingInterface_h |
| 14 | 14 | |
| 15 | −#include <QDebug> | |
| 16 | −#include <QMutex> | |
| 17 | 15 | #include <QObject> |
| 16 | +#include <QScriptValue> | |
| 18 | 17 | #include <QString> |
| 19 | 18 | |
| 20 | 19 | class WindowScriptingInterface : public QObject { |
| @@ -28,9 +27,9 @@ public: · 7 unmodified lines | ||
| 28 | 27 | int getInnerHeight(); |
| 29 | 28 | |
| 30 | 29 | public slots: |
| 31 | − QScriptValue alert(const QString& message); | |
| 32 | − QScriptValue confirm(const QString& message); | |
| 33 | − QScriptValue prompt(const QString& message, const QString& defaultText=""); | |
| 30 | + QScriptValue alert(const QString& message = ""); | |
| 31 | + QScriptValue confirm(const QString& message = ""); | |
| 32 | + QScriptValue prompt(const QString& message = "", const QString& defaultText = ""); | |
| 34 | 33 | |
| 35 | 34 | private slots: |
| 36 | 35 | QScriptValue showAlert(const QString& message); |