Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 3 files). Show all
Unified · Split
| @@ -54,7 +54,7 @@ public slots: · 53 unmodified lines | ||
| 54 | 54 | QScriptValue prompt(const QString& message = "", const QString& defaultText = ""); |
| 55 | 55 | CustomPromptResult customPrompt(const QVariant& config); |
| 56 | 56 | void browseDir(const QString& title = "", const QString& directory = ""); |
| 57 | − QScriptValue browse(const QString& title = "", const QString& directory = "", const QString& nameFilter = ""); | |
| 57 | + void browse(const QString& title = "", const QString& directory = "", const QString& nameFilter = ""); | |
| 58 | 58 | void save(const QString& title = "", const QString& directory = "", const QString& nameFilter = ""); |
| 59 | 59 | void browseAssets(const QString& title = "", const QString& directory = "", const QString& nameFilter = ""); |
| 60 | 60 | void showAssetServer(const QString& upload = ""); |
| @@ -89,7 +89,8 @@ signals: · 28 unmodified lines | ||
| 89 | 89 | void messageBoxClosed(int id, int button); |
| 90 | 90 | void browseDirChanged(QString browseDir); |
| 91 | 91 | void assetsDirChanged(QString assetsDir); |
| 92 | − void saveFileChanged(QString saveFile); | |
| 92 | + void saveFileChanged(QString filename); | |
| 93 | + void openFileChanged(QString filename); | |
| 93 | 94 | |
| 94 | 95 | // triggered when window size or position changes |
| 95 | 96 | void geometryChanged(QRect geometry); |