projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: Replace QList by std::vector in the storage API
[quassel.git]
/
src
/
core
/
abstractsqlstorage.h
diff --git
a/src/core/abstractsqlstorage.h
b/src/core/abstractsqlstorage.h
index
a0bdd23
..
e43188a
100644
(file)
--- a/
src/core/abstractsqlstorage.h
+++ b/
src/core/abstractsqlstorage.h
@@
-21,6
+21,7
@@
#pragma once
#include <memory>
#pragma once
#include <memory>
+#include <vector>
#include <QHash>
#include <QMutex>
#include <QHash>
#include <QMutex>
@@
-95,7
+96,7
@@
protected:
*
* @return List of SQL query strings and filenames
*/
*
* @return List of SQL query strings and filenames
*/
-
QList
<SqlQueryResource> setupQueries();
+
std::vector
<SqlQueryResource> setupQueries();
/**
* Gets the collection of SQL upgrade queries and filenames for a given schema version
/**
* Gets the collection of SQL upgrade queries and filenames for a given schema version
@@
-103,7
+104,7
@@
protected:
* @param ver SQL schema version
* @return List of SQL query strings and filenames
*/
* @param ver SQL schema version
* @return List of SQL query strings and filenames
*/
-
QList
<SqlQueryResource> upgradeQueries(int ver);
+
std::vector
<SqlQueryResource> upgradeQueries(int ver);
bool upgradeDb();
bool watchQuery(QSqlQuery& query);
bool upgradeDb();
bool watchQuery(QSqlQuery& query);