From 7d4516afc4cd194f9224dcd5e07e0f234c162fdf Mon Sep 17 00:00:00 2001 From: un1versal Date: Wed, 9 Dec 2015 11:58:53 +0000 Subject: src/modules typos: capitalize, formatting, consistency and syntax fixes --- src/modules/objects/KvsObject_sql.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/objects/KvsObject_sql.cpp') diff --git a/src/modules/objects/KvsObject_sql.cpp b/src/modules/objects/KvsObject_sql.cpp index 3bb2016ca..5083a4f9f 100644 --- a/src/modules/objects/KvsObject_sql.cpp +++ b/src/modules/objects/KvsObject_sql.cpp @@ -50,7 +50,7 @@ @type: class @short: - A sql database interface. + A SQL database interface. @inherits: [class]object[/class] @description: @@ -75,7 +75,7 @@ !fn: $closeConnection() Closes the connection . !fn: $queryResultsSize() - Returns the query size in rows or -1 if the query is empty or the database driver doesn' support the function. + Returns the query size in rows or -1 if the query is empty or the database driver doesn't support the function. !fn: $lastError() Returns last error occurred. Use the more_details flag for more info about the error. !fn: $queryExec([]) @@ -91,7 +91,7 @@ See also [classfnc]$queryExec[/classfnc]and[classfnc]$queryBindValue[/classfnc]. !fn: $queryBindValue() Sets the placeholder to be bound to the value in the prepared statement. - Note that the placeholder mark (e.g :) must be included when specifing the placeholder name. + Note that the placeholder mark (e.g :) must be included when specifying the placeholder name. !fn: $queryPrevious() Sets the current query position to the previous resulting record. Returns true if the operation is successful, false otherwise. @@ -226,7 +226,7 @@ KVSO_CLASS_FUNCTION(sql,features) QStringList connections = QSqlDatabase::connectionNames(); if (!connections.contains(szConnectionName)) { - c->warning(__tr2qs_ctx("Connection %Q does not exist","objects"),&szConnectionName); + c->warning(__tr2qs_ctx("Connection %Q doesn't exist","objects"),&szConnectionName); return true; } QSqlDatabase db=QSqlDatabase::database(szConnectionName); @@ -283,7 +283,7 @@ KVSO_CLASS_FUNCTION(sql,closeConnection) QStringList connections = QSqlDatabase::connectionNames(); if (!connections.contains(szConnectionName)) { - c->warning(__tr2qs_ctx("Connection %Q does not exist","objects"),&szConnectionName); + c->warning(__tr2qs_ctx("Connection %Q doesn't exist","objects"),&szConnectionName); return true; } if(m_pCurrentSQlQuery) -- cgit v1.3.1-10-gc9f91