Options
All
  • Public
  • Public/Protected
  • All
Menu

Used in FileEdit as the URL of the currently selected file.

Hierarchy

  • QUrl

Index

Constructors

Methods

Constructors

constructor

Methods

toString

  • toString(): string
  • Get a string representation of the URL.

    Note that this representation will generally start with "file://". In case you need a local file path, you can use the following code:

    var path = url.toString().replace(/^file:\/{3}/, (tiled.platform == 'windows') ? '' : '/');;
    

    Or have a look at whether an alternative property is available that gives you a local file path in the first place.

Generated using TypeDoc