Mercurial > dedupe
view ConfigurationProcessing.cpp @ 108:e9b798e80bad
Setup prepared begin, end queries.
Support for more effective delete statement.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Tue, 18 Feb 2014 17:08:06 +0100 |
| parents | b9515dc35fe4 |
| children |
line wrap: on
line source
#include <QtCore/QDir> #include <QtGui/QDesktopServices> QString processSetupVariables(const QString& inString) { QString outString = inString; QString homeLocation = QString("%1%2") .arg(QDesktopServices::storageLocation(QDesktopServices::HomeLocation)) .arg(QDir::separator()); outString.replace(QRegExp("^~/"), homeLocation); return outString; }
