#include <sqlmanager.h>
Liste de tous les membres
Fonctions membres publiques |
| | SqlManager () |
Fonctions membres publiques statiques |
| static void | activerBDD () |
| static void | close () |
| static QSqlQuery * | sqlResult (int sqlDatas, int id=0) |
| static QSqlQuery * | sqlResult (int sqlDatas, const QString &text) |
| static QSqlQuery * | sqlResult (int sqlDatas, const QString &text, int page, int nbr, int id=0) |
| static QSqlQuery * | sqlResult (int sqlDatas, const QString &text, const QDateTime &date, bool avant=true) |
| static int | nbr (int sqlDatas, const QString &text, int id=0) |
| static int | nbr (int sqlDatas, int id) |
| static bool | sqlAct (int sqlDatas, int id=0, int id2=0) |
| static bool | sqlAct (int sqlDatas, const QMap< QString, QVariant > &map) |
| static bool | sqlAct (int sqlDatas, const QMap< QString, QVariant > &map, int &id) |
| static QString | creerSqlSearch (const SearchInfo &info, int nbrDonnee=0, int parametre=0) |
| static QSqlQuery * | sqlResult (const SearchInfo &info, int page, int nbr) |
| static int | nbr (const SearchInfo &info) |
| static QString | lastErreur () |
Attributs privés statiques |
| static QString | erreur = QString() |
Documentation des constructeurs et destructeur
| SqlManager::SqlManager |
( |
|
) |
|
Documentation des fonctions membres
| void SqlManager::activerBDD |
( |
|
) |
[static] |
| void SqlManager::close |
( |
|
) |
[static] |
| QString SqlManager::creerSqlSearch |
( |
const SearchInfo & |
info, |
|
|
int |
nbrDonnee = 0, |
|
|
int |
parametre = 0 | |
|
) |
| | [static] |
| static QString SqlManager::lastErreur |
( |
|
) |
[inline, static] |
| int SqlManager::nbr |
( |
const SearchInfo & |
info |
) |
[static] |
| int SqlManager::nbr |
( |
int |
sqlDatas, |
|
|
int |
id | |
|
) |
| | [static] |
| int SqlManager::nbr |
( |
int |
sqlDatas, |
|
|
const QString & |
text, |
|
|
int |
id = 0 | |
|
) |
| | [static] |
| bool SqlManager::sqlAct |
( |
int |
sqlDatas, |
|
|
const QMap< QString, QVariant > & |
map, |
|
|
int & |
id | |
|
) |
| | [static] |
| bool SqlManager::sqlAct |
( |
int |
sqlDatas, |
|
|
int |
id = 0, |
|
|
int |
id2 = 0 | |
|
) |
| | [static] |
on met 0 la o apparait _idUser => on garde l'info => state de sortie, commentaires ... 0 evite que les donnes soient accidentellement attribues à quelqu'un d'autre 0 permet de savoir instantanment que l'on refre a un membre supprimer
| bool SqlManager::sqlAct |
( |
int |
sqlDatas, |
|
|
const QMap< QString, QVariant > & |
map | |
|
) |
| | [static] |
| QSqlQuery * SqlManager::sqlResult |
( |
const SearchInfo & |
info, |
|
|
int |
page, |
|
|
int |
nbr | |
|
) |
| | [static] |
| QSqlQuery * SqlManager::sqlResult |
( |
int |
sqlDatas, |
|
|
const QString & |
text | |
|
) |
| | [static] |
| QSqlQuery * SqlManager::sqlResult |
( |
int |
sqlDatas, |
|
|
const QString & |
text, |
|
|
const QDateTime & |
date, |
|
|
bool |
avant = true | |
|
) |
| | [static] |
| QSqlQuery * SqlManager::sqlResult |
( |
int |
sqlDatas, |
|
|
const QString & |
text, |
|
|
int |
page, |
|
|
int |
nbr, |
|
|
int |
id = 0 | |
|
) |
| | [static] |
| QSqlQuery * SqlManager::sqlResult |
( |
int |
sqlDatas, |
|
|
int |
id = 0 | |
|
) |
| | [static] |
Documentation des données membres
La documentation de cette classe a été générée à partir des fichiers suivants :