LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
util.cpp File Reference
#include "util.h"
#include <QFile>
#include <QSqlQuery>
#include <QThread>
#include <QRandomGenerator>
#include "dblock.h"
+ Include dependency graph for util.cpp:

Go to the source code of this file.

Namespaces

 LC
 
 LC::Util
 

Functions

QSqlQuery LC::Util::RunTextQuery (const QSqlDatabase &db, const QString &text)
 Runs the given query text on the given db. More...
 
QString LC::Util::LoadQuery (const QString &plugin, const QString &filename)
 Loads the query text from the given resource file. More...
 
void LC::Util::RunQuery (const QSqlDatabase &db, const QString &plugin, const QString &filename)
 Loads the query from the given resource file and runs it. More...
 
QString LC::Util::GenConnectionName (const QString &base)
 Generates an unique thread-safe connection name. More...