38 static QString representFileSize( qint64 bytes );
48 static QStringList extensionsFromFilter(
const QString &filter );
56 static QString wildcardsFromFilter(
const QString &filter );
66 static bool fileMatchesFilter(
const QString &fileName,
const QString &filter );
79 static QString ensureFileNameHasExtension(
const QString &fileName,
const QStringList &extensions );
92 static QString addExtensionFromFilter(
const QString &fileName,
const QString &filter );
100 static QString stringToSafeFilename(
const QString &
string );
108 static QString findClosestExistingPath(
const QString &path );
120 static QStringList findFile(
const QString &file,
const QString &basepath = QString(),
int maxClimbs = 4,
int searchCeiling = 4,
const QString ¤tDir = QString() );
137 static bool pathIsSlowDevice(
const QString &path );
155 static QSet< QString > sidecarFilesForPath(
const QString &path );
191 static int openedFileLimit()
SIP_SKIP;
202 static int openedFileCount()
SIP_SKIP;
215 static bool isCloseToLimitOfOpenedFiles(
int filesToBeOpened = 1 )
SIP_SKIP;
225 static QStringList splitPathToComponents(
const QString &path );
237 static QString uniquePath(
const QString &path );