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

Go to the source code of this file.

Namespaces

 LeechCraft
 
 LeechCraft::Util
 

Functions

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