Clean up the DBBrowserDB class a bit

This commit is contained in:
Martin Kleusberg
2014-08-31 16:10:01 +02:00
parent 03879d93f0
commit b87992c8fb
6 changed files with 14 additions and 31 deletions

View File

@@ -118,6 +118,16 @@ QStringList Table::fieldList() const
return sl;
}
QStringList Table::fieldNames() const
{
QStringList sl;
foreach(FieldPtr f, m_fields)
sl << f->name();
return sl;
}
bool Table::hasAutoIncrement() const
{
foreach(FieldPtr f, m_fields) {