GODT-1797: copyright notice shows a date range with the build year.

This commit is contained in:
Xavier Michelon
2023-01-11 16:59:05 +01:00
parent 777ad369a2
commit c3eb6b2dbf
3 changed files with 11 additions and 1 deletions

View File

@ -45,6 +45,7 @@ public: // member functions.
bool waitForEventStreamReaderToFinish(qint32 timeoutMs); ///< Wait for the event stream reader to finish.
// invokable methods can be called from QML. They generally return a value, which slots cannot do.
Q_INVOKABLE static QString buildYear(); ///< Return the application build year.
Q_INVOKABLE QPoint getCursorPos() const; ///< Retrieve the cursor position.
Q_INVOKABLE bool isPortFree(int port) const; ///< Check if a given network port is available.
Q_INVOKABLE QString nativePath(QUrl const &url) const; ///< Retrieve the native path of a local URL.