25 #include <QStringList>
31 #include "ctkCoreExport.h"
38 void CTK_CORE_EXPORT
qListToSTLVector(
const QStringList& list, std::vector<char*>& vector);
43 void CTK_CORE_EXPORT
qListToSTLVector(
const QStringList& list, std::vector<std::string>& vector);
48 void CTK_CORE_EXPORT
stlVectorToQList(
const std::vector<std::string>& vector, QStringList& list);
151 qint64 CTK_CORE_EXPORT
msecsTo(
const QDateTime& t1,
const QDateTime& t2);
int CTK_CORE_EXPORT significantDecimals(double value, int defaultDecimals=-1)
bool CTK_CORE_EXPORT removeDirRecursively(const QString &dirName)
QString CTK_CORE_EXPORT extensionToRegExp(const QString &extension)
void CTK_CORE_EXPORT qListToSTLVector(const QStringList &list, std::vector< char * > &vector)
int CTK_CORE_EXPORT orderOfMagnitude(double value)
QStringList CTK_CORE_EXPORT nameFiltersToExtensions(const QStringList &nameFilters)
qint64 CTK_CORE_EXPORT msecsTo(const QDateTime &t1, const QDateTime &t2)
Compute the milli seconds from one QDateTime to an other.
QRegExp CTK_CORE_EXPORT nameFiltersToRegExp(const QStringList &nameFilters)
double CTK_CORE_EXPORT closestPowerOfTen(double value)
void CTK_CORE_EXPORT stlVectorToQList(const std::vector< std::string > &vector, QStringList &list)
bool CTK_CORE_EXPORT copyDirRecursively(const QString &srcPath, const QString &dstPath)
QString CTK_CORE_EXPORT qtHandleToString(Qt::HANDLE handle)
QStringList CTK_CORE_EXPORT nameFilterToExtensions(const QString &nameFilter)