Convert accidental instances of STQL to the proper SQL

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/digikam@1247182 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 23bfbfff2d
commit e0ac4ab32f

@ -666,7 +666,7 @@ bool AlbumDB::execSql(const TQString& sql, TQStringList* const values,
if ( !d->dataBase )
{
DWarning() << k_funcinfo << "STQLite pointer == NULL"
DWarning() << k_funcinfo << "SQLite pointer == NULL"
<< endl;
return false;
}

@ -92,7 +92,7 @@ bool AlbumDB_Sqlite2::execSql(const TQString& sql, TQStringList* const values,
DDebug() << "SQL-query: " << sql << endl;
if ( !m_db ) {
DWarning() << k_funcinfo << "STQLite pointer == NULL"
DWarning() << k_funcinfo << "SQLite pointer == NULL"
<< endl;
return false;
}

@ -21,8 +21,8 @@
*
* ============================================================ */
#ifndef ALBUMDB_STQLITE2_H
#define ALBUMDB_STQLITE2_H
#ifndef ALBUMDB_SQLITE2_H
#define ALBUMDB_SQLITE2_H
// TQt includes.
@ -82,4 +82,4 @@ private:
} // namespace Digikam
#endif /* ALBUMDB_STQLITE2_H */
#endif /* ALBUMDB_SQLITE2_H */

@ -21,8 +21,8 @@
*
* ============================================================ */
#ifndef UPGRADEDB_STQLITE2TOSTQLITE3_H
#define UPGRADEDB_STQLITE2TOSTQLITE3_H
#ifndef UPGRADEDB_SQLITE2TOSQLITE3_H
#define UPGRADEDB_SQLITE2TOSQLITE3_H
#include "digikam_export.h"
@ -35,4 +35,4 @@ extern bool DIGIKAM_EXPORT upgradeDB_Sqlite2ToSqlite3(const TQString& libraryPat
} // namespace Digikam
#endif /* UPGRADEDB_STQLITE2TOSTQLITE3_H */
#endif /* UPGRADEDB_SQLITE2TOSQLITE3_H */

@ -94,11 +94,11 @@ bool SqliteDB::execSql(const TQString& sql, TQStringList* const values,
if ( !m_db )
{
kdWarning() << k_funcinfo << "STQLite pointer == NULL"
kdWarning() << k_funcinfo << "SQLite pointer == NULL"
<< endl;
if (errMsg)
{
*errMsg = TQString::tqfromLatin1("STQLite database not open");
*errMsg = TQString::tqfromLatin1("SQLite database not open");
}
return false;
}

@ -20,8 +20,8 @@
* GNU General Public License for more details.
* ============================================================ */
#ifndef STQLITEDB_H
#define STQLITEDB_H
#ifndef SQLITEDB_H
#define SQLITEDB_H
// TQt includes.
@ -55,4 +55,4 @@ private:
extern TQString escapeString(const TQString& str);
#endif /* STQLITEDB_H */
#endif /* SQLITEDB_H */

Loading…
Cancel
Save