38 Q_DECL_EXPORT
bool download(
const QUrl& src, QString& target, QWidget* window = 0);
44 Q_DECL_EXPORT QStringList
funcNames(
const QString& libPath);
52 Q_DECL_EXPORT
bool getFuncAddr(
const QString& path,
const QString& name,
53 QLibrary** lib, QFunctionPointer* fkt);
61 Q_DECL_EXPORT
bool move(
const QString& src,
const QUrl& dest, QWidget* window = 0);
67 Q_DECL_EXPORT QString
tempFileName(
const QString& suffix =
".tmp");
72 Q_DECL_EXPORT QUrl
url(
const QString& s);
Utility namespace.
Definition: utils.h:30
Q_DECL_EXPORT QString tempFileName(const QString &suffix=".tmp")
Generates unique temporary file name.
Q_DECL_EXPORT bool download(const QUrl &src, QString &target, QWidget *window=0)
Downloads file.
Q_DECL_EXPORT QUrl url(const QString &s)
Returns URL for given user input, assuming local file.
Q_DECL_EXPORT bool getFuncAddr(const QString &path, const QString &name, QLibrary **lib, QFunctionPointer *fkt)
Gets module handle and address of a shared library function.
Q_DECL_EXPORT bool move(const QString &src, const QUrl &dest, QWidget *window=0)
Moves file to remote location.
Q_DECL_EXPORT QStringList funcNames(const QString &libPath)
Generates sorted list of function names.