| 1096 | } |
| 1097 | |
| 1098 | bool SQLiteDB::renameObject(int ohfi, const QString &name) |
| 1099 | { |
| 1100 | QSqlQuery query("UPDATE object_node SET title = :title WHERE object_id = :object_id"); |
| 1101 | query.bindValue(0, name); |
| 1102 | query.bindValue(1, ohfi); |
| 1103 | |
| 1104 | if(!query.exec()) { |
| 1105 | return false; |
| 1106 | } |
| 1107 | |
| 1108 | return updateObjectPath(ohfi, name); |
| 1109 | } |
| 1110 | |
| 1111 | void SQLiteDB::setObjectSize(int ohfi, qint64 size) |
| 1112 | { |
nothing calls this directly
no outgoing calls
no test coverage detected