![]() |
QtLingo 1
QtLingo is an Application to make Qt Computer Translations easier
|
SQL Database Table Model. More...
#include <MySqlDbtModel.h>
Public Member Functions | |
| MySqlDbtModel (MyLanguageModel *thisLanguageModel=nullptr, MyConstants *thisConstant=nullptr, QObject *parent=0) | |
| MySqlDbtModel. More... | |
| ~MySqlDbtModel () | |
| ~MySqlDbtModel More... | |
| bool | createDataBaseConnection () |
| create DataBase Connection More... | |
| bool | isDbTable (const QString &thisTable) |
| isDbTable More... | |
| void | setSqlDriver (const QString &thisDriver) |
| setSqlDriver More... | |
| QString | getSqlDriver () |
| getSqlDriver More... | |
| void | setSqlTableName (const QString &thisTableName) |
| setSqlTableName More... | |
| QString | getSqlTableName () |
| getSqlTableName More... | |
| void | setSqlHostName (const QString &thisHostName) |
| setSqlHostName More... | |
| QString | getSqlHostName () |
| getSqlHostName More... | |
| void | setSqlUserName (const QString &thisUserName) |
| setSqlUserName More... | |
| QString | getSqlUserName () |
| getSqlUserName More... | |
| void | setSqlPassword (const QString &thisPassword) |
| setSqlPassword More... | |
| QString | getSqlPassword () |
| getSqlPassword More... | |
| void | setSqlDatabaseName (const QString &thisPassword) |
| setSqlDatabaseName More... | |
| QString | getSqlDatabaseName () |
| getSqlDatabaseName More... | |
| QString | getConnectionName () |
| get Connection Name More... | |
| void | setConnectionName (const QString &thisConnectionName) |
| set Connection Name More... | |
| QString | getRecordID () |
| get RecordID More... | |
| void | setRecordID (const QString &thisRecordID) |
| set RecordID More... | |
| bool | runQuery (const QString &thisQuery) |
| runQuery More... | |
| bool | moveDb (const QString &thisSourceFile, const QString &thisSourcePath, const QString &thisDestinationFolder) |
| Move Db. More... | |
| QString | runProcces (const QString &thisExePath, const QString &thisArgument, bool isWait, int thisWaitTimeSec) |
| run Procces More... | |
| int | getRunReturnCode () |
| get Run Return Code More... | |
| void | setDebugMessage (bool thisState) |
| set Debug Message More... | |
| bool | getDebugMessage () |
| get Debug Message More... | |
| void | setMessage (const QString &thisMessage) |
| setMessage More... | |
Public Attributes | |
| MyLanguageModel * | myLanguageModel |
myLanguageModel More... | |
| MyConstants * | myConstants |
myConstants More... | |
SQL Database Table Model.
Definition at line 20 of file MySqlDbtModel.h.
| MySqlDbtModel::MySqlDbtModel | ( | MyLanguageModel * | thisLanguageModel = nullptr, |
| MyConstants * | thisConstant = nullptr, |
||
| QObject * | parent = 0 |
||
| ) |
Constructor. MySqlDbtModel.
Definition at line 7 of file MySqlDbtModel.cpp.
| MySqlDbtModel::~MySqlDbtModel | ( | ) |
| bool MySqlDbtModel::createDataBaseConnection | ( | ) |
create DataBase Connection
create DataBase Connection. createDataBaseConnection
Definition at line 251 of file MySqlDbtModel.cpp.
| QString MySqlDbtModel::getConnectionName | ( | ) |
get Connection Name
get Connection Name. getConnectionName
Definition at line 183 of file MySqlDbtModel.cpp.
| bool MySqlDbtModel::getDebugMessage | ( | ) |
get Debug Message
get Debug Message. getDebugMessage
Definition at line 465 of file MySqlDbtModel.cpp.
| QString MySqlDbtModel::getRecordID | ( | ) |
| int MySqlDbtModel::getRunReturnCode | ( | ) |
get Run Return Code
get Run eturn Code. getRunReturnCode
Definition at line 449 of file MySqlDbtModel.cpp.
| QString MySqlDbtModel::getSqlDatabaseName | ( | ) |
getSqlDatabaseName
get Sql Database Name. getSqlDatabaseName
Definition at line 131 of file MySqlDbtModel.cpp.
| QString MySqlDbtModel::getSqlDriver | ( | ) |
| QString MySqlDbtModel::getSqlHostName | ( | ) |
| QString MySqlDbtModel::getSqlPassword | ( | ) |
| QString MySqlDbtModel::getSqlTableName | ( | ) |
getSqlTableName
get Sql Table Name. getSqlTableName
Definition at line 77 of file MySqlDbtModel.cpp.
| QString MySqlDbtModel::getSqlUserName | ( | ) |
| bool MySqlDbtModel::isDbTable | ( | const QString & | thisTable | ) |
| bool MySqlDbtModel::moveDb | ( | const QString & | thisSourceFile, |
| const QString & | thisSourcePath, | ||
| const QString & | thisDestinationFolder | ||
| ) |
Move Db.
move Db.
moveDb
Definition at line 390 of file MySqlDbtModel.cpp.
| QString MySqlDbtModel::runProcces | ( | const QString & | thisExePath, |
| const QString & | thisArgument, | ||
| bool | isWait, | ||
| int | thisWaitTimeSec | ||
| ) |
run Procces
run Procces given exe path, argument, and if you want to wait and how long, in both cases this is a blocking call and will wait till finished and return value. runProcces
Definition at line 422 of file MySqlDbtModel.cpp.
| bool MySqlDbtModel::runQuery | ( | const QString & | thisQuery | ) |
runQuery
Set myInsertID, returns true or false. runQuery.
Definition at line 366 of file MySqlDbtModel.cpp.
| void MySqlDbtModel::setConnectionName | ( | const QString & | thisConnectionName | ) |
set Connection Name
set Connection Name. setConnectionName
Definition at line 158 of file MySqlDbtModel.cpp.
| void MySqlDbtModel::setDebugMessage | ( | bool | thisState | ) |
set Debug Message
set Debug Message. setDebugMessage
Definition at line 457 of file MySqlDbtModel.cpp.
| void MySqlDbtModel::setMessage | ( | const QString & | thisMessage | ) |
| void MySqlDbtModel::setRecordID | ( | const QString & | thisRecordID | ) |
| void MySqlDbtModel::setSqlDatabaseName | ( | const QString & | thisPassword | ) |
setSqlDatabaseName
set Sql Database Name. setSqlDatabaseName
Definition at line 122 of file MySqlDbtModel.cpp.
| void MySqlDbtModel::setSqlDriver | ( | const QString & | thisDriver | ) |
setSqlDriver
set Sql Driver setSqlDriver(":memory:");. setSqlDriver
Definition at line 192 of file MySqlDbtModel.cpp.
| void MySqlDbtModel::setSqlHostName | ( | const QString & | thisHostName | ) |
| void MySqlDbtModel::setSqlPassword | ( | const QString & | thisPassword | ) |
| void MySqlDbtModel::setSqlTableName | ( | const QString & | thisTableName | ) |
setSqlTableName
set Sql Table Name. setSqlTableName
Definition at line 68 of file MySqlDbtModel.cpp.
| void MySqlDbtModel::setSqlUserName | ( | const QString & | thisUserName | ) |
| MyConstants* MySqlDbtModel::myConstants |
| MyLanguageModel* MySqlDbtModel::myLanguageModel |