|
| | QtlMovieExecFile (const QString &name, const QString &homePage, const QString &windowsBuilds, const QString &fileName, const QStringList &versionOptions, const QString &versionStart, const QString &versionEnd, QtlLogger *log, QObject *parent=0) |
| | Constructor. More...
|
| |
| | QtlMovieExecFile (const QtlMovieExecFile &other, const QString &fileName, QObject *parent=0) |
| | Constructor. More...
|
| |
| QString | homePage () const |
| | Get the product home page URL. More...
|
| |
| QString | htmlDescription () const |
| | A description of the executable in HTML format. More...
|
| |
| QtlLogger * | log () const |
| | Get the associated error logger. More...
|
| |
| QString | name () const |
| | Get the commn name (for display). More...
|
| |
| virtual bool | setFileName (const QString &fileName) Q_DECL_OVERRIDE |
| | Set the file name. More...
|
| |
| QString | version () const |
| | Get the version string obtained from executable. More...
|
| |
| QString | windowsBuilds () const |
| | Get the binary builds for Windows home page URL. More...
|
| |
| | QtlFile (const QString &fileName, QObject *parent=0) |
| | Constructor. More...
|
| |
| | QtlFile (const QtlFile &other, QObject *parent=0) |
| | Copy constructor. More...
|
| |
| QString | directoryName () const |
| | Get the directory name of the file. More...
|
| |
| QString | fileName () const |
| | Get the file name. More...
|
| |
| bool | isSet () const |
| | Check if the file name is set. More...
|
| |
| QtlByteBlock | readBinary (int maxSize=-1) const |
| | Read the binary content of the file. More...
|
| |
| QString | readText () const |
| | Read the text content of the file. More...
|
| |
| QStringList | readTextLines (int maxSize=-1) const |
| | Read the text content of the file. More...
|
| |
| QString | shortPath (bool keepOnError) const |
| | Get the "short path name" of the file. More...
|
| |
| bool | writeBinary (const QtlByteBlock &content) |
| | Write the binary content of the file. More...
|
| |
| bool | writeText (const QString &text) |
| | Write the text content of the file. More...
|
| |
| bool | writeTextLines (const QStringList &lines) |
| | Write the text content of the file. More...
|
| |
|
| static QStringList | movieExecSearchPath () |
| | Build the search path of QtlMovie utilities. More...
|
| |
| static QString | absoluteNativeFilePath (const QString &path, bool removeSymLinks=false) |
| | Build an absolute file path with native directory separators. More...
|
| |
| static QStringList | commandSearchPath () |
| | Return the list of directories in the system search path. More...
|
| |
| static bool | createDirectory (const QString &path, bool createOnly=false) |
| | Create a directory and all parent directories if necessary. More...
|
| |
| static QString | enforceSuffix (const QString &path, const QString &suffix, Qt::CaseSensitivity cs=Qt::CaseInsensitive) |
| | Enforce a suffix in a file name. More...
|
| |
| static QStringList | expandFilePath (const QString &path, QtlFilePathFilterInterface *filter=0) |
| | Expand a file path containing wildcards to all existing files matching the specification. More...
|
| |
| static QString | parentPath (const QString &path, int upLevels=1) |
| | Get the absolute file path of the parent directory of a file. More...
|
| |
| template<typename T > |
| static bool | readBigEndianAt (QIODevice &device, qint64 position, T &data) |
| | Read a big endian integer in a binary file at a given position. More...
|
| |
| static bool | readBinary (QIODevice &device, QtlByteBlock &data, int maxSize=-1) |
| | Read a portion of a binary file at the current position. More...
|
| |
| static bool | readBinaryAt (QIODevice &device, qint64 position, QtlByteBlock &data, int maxSize=-1) |
| | Read a portion of a binary file at a given position. More...
|
| |
| static QtlByteBlock | readBinaryFile (const QString &fileName, int maxSize=-1) |
| | Read the content of a binary file. More...
|
| |
| static QString | readTextFile (const QString &fileName) |
| | Read the content of a text file. More...
|
| |
| static QStringList | readTextLinesFile (const QString &fileName, int maxSize=-1) |
| | Read the content of a text file. More...
|
| |
| static QString | search (const QString &baseName, const QStringList &searchPath, const QString &extension=QString(), QFile::Permissions permissions=QFile::Permissions()) |
| | Search a file in a list of directories. More...
|
| |
| static QString | searchExecutable (const QString &baseName, const QStringList &searchPath) |
| | Search an executable file in a list of directories. More...
|
| |
| static QString | searchParentSubdirectory (const QString &dir, const QString &subdir, int maxLevels=128) |
| | Search a subdirectory in the parent path. More...
|
| |
| static QString | shortPath (const QString &path, bool keepOnError) |
| | Get the "short path name" of a file path. More...
|
| |
| static QString | toFileName (const QUrl &url) |
| | Format the content of an URL into a file path if the URL scheme is file: More...
|
| |
| static bool | writeBinary (QIODevice &file, const QtlByteBlock &data) |
| | Write binary data into an open file. More...
|
| |
| static bool | writeBinary (QIODevice &file, const void *data, int size, bool processEvents=false) |
| | Write binary data into an open file. More...
|
| |
| static bool | writeBinaryFile (const QString &fileName, const QtlByteBlock &content) |
| | Write the content of a binary file. More...
|
| |
| static bool | writeTextFile (const QString &fileName, const QString &text) |
| | Write the content of a text file. More...
|
| |
| static bool | writeTextLinesFile (const QString &fileName, const QStringList &lines) |
| | Write the content of a text file. More...
|
| |
Describe an executable file such as ffmpeg, ffprobe, etc.