diff options
Diffstat (limited to 'src/engine.h')
-rw-r--r-- | src/engine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine.h b/src/engine.h index 89fa28d..a837879 100644 --- a/src/engine.h +++ b/src/engine.h @@ -71,6 +71,7 @@ public: void setWindow(QQuickWindow *window) { m_window = window; } + Q_INVOKABLE QUrl fromUserInput(const QString& userInput) { return QUrl::fromUserInput(userInput); } Q_INVOKABLE int sensibleButtonSize() const; Q_INVOKABLE int titleBarSize() const; Q_INVOKABLE int smallFontSize() const { return qMax<int>(m_dpcm * 0.4, 10); } |