Merge branch 'dev' into wip/shared_pointer
This commit is contained in:
commit
02ab615005
|
|
@ -37,5 +37,6 @@ while read line; do
|
|||
echo "#include \"../$src_dir/$header.h\"" >> "$Ns"
|
||||
echo "#include \"../$src_dir/$header.h\"" >> "$ns.h"
|
||||
fi
|
||||
echo $Ns
|
||||
done <&3
|
||||
exec 3<&-
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
#include "../src/table.h"
|
||||
#include "../src/database.h"
|
||||
#include "../src/sqlmodel.h"
|
||||
#include "../src/tableset.h"
|
||||
#include "../src/dbgeography.h"
|
||||
#include "../src/tablemodel.h"
|
||||
#include "../src/query.h"
|
||||
|
|
|
|||
|
|
@ -346,7 +346,6 @@ qDebug()<<d->sql;
|
|||
if (m_autoDelete)
|
||||
deleteLater();
|
||||
#endif
|
||||
qDebug() << "len="<<returnList.count();
|
||||
return returnList;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ public:
|
|||
QVariant data(const QModelIndex &index, int role) const;
|
||||
|
||||
template<class T>
|
||||
void setTable(QList<QSharedPointer<T>> rows);
|
||||
void setTable(RowList<T> rows);
|
||||
|
||||
void setRows(RowList<Table> rows);
|
||||
void append(Row<Table> table);
|
||||
|
|
@ -68,7 +68,7 @@ signals:
|
|||
};
|
||||
|
||||
template<class T>
|
||||
Q_OUTOFLINE_TEMPLATE void SqlModel::setTable(QList<QSharedPointer<T> > rows)
|
||||
Q_OUTOFLINE_TEMPLATE void SqlModel::setTable(RowList<T> rows)
|
||||
{
|
||||
Q_D(SqlModel);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue