![]() |
LeechCraft 0.6.70-17769-g4e68d7fcba
Modular cross-platform feature rich live environment.
|
#include "util.h"#include <QDir>#include <QFile>#include <QSqlError>#include <QSqlQuery>#include <QThread>#include <QRandomGenerator>#include <util/sys/paths.h>#include <util/sll/qtutil.h>#include "dblock.h"Go to the source code of this file.
Namespaces | |
| namespace | LC |
| namespace | LC::Util |
Functions | |
| QSqlQuery | LC::Util::RunTextQuery (const QSqlDatabase &db, const QString &text) |
| Runs the given query text on the given db. | |
| QString | LC::Util::LoadQuery (const QString &plugin, const QString &filename) |
| Loads the query text from the given resource file. | |
| void | LC::Util::RunQuery (const QSqlDatabase &db, const QString &plugin, const QString &filename) |
| Loads the query from the given resource file and runs it. | |
| QString | LC::Util::GenConnectionName (const QString &base) |
| Generates an unique thread-safe connection name. | |
| QSqlDatabase | LC::Util::OpenSqliteDatabase (const SqliteDatabaseConfig &config) |