From b40073331fcd756de4211fac113a6f9755dfa629 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 16 Nov 2012 18:01:21 +0100 Subject: Rename table mappings to more fitting mapping_description Well, many errors are a result of the very confusing naming scheme. We have tables: * mappings, more correctly mapping_descriptions * mapping_parents2, mapping_parents will be eliminated * mapping_types, maybe right, not sure. This commit renames mappings (_the_ mapping table) to mapping_descriptions. Hope I didn't miss anything. No functional change, BTW. --- mappingtreemodel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mappingtreemodel.h') diff --git a/mappingtreemodel.h b/mappingtreemodel.h index fa91a78..5531eae 100644 --- a/mappingtreemodel.h +++ b/mappingtreemodel.h @@ -79,12 +79,12 @@ class MappingTreeModel : public SmTreeModel { QSqlQuery *mUpdateChildQ; QSqlQuery *mAddMappingTypeQ; QSqlQuery *mDeleteMappingTypeQ; - QSqlQuery *mAddChildQ; - QSqlQuery *mSelectChildQ; + QSqlQuery *mAddDescriptionQ; + QSqlQuery *mSelectDescriptionQ; QSqlQuery *mAddParentQ; QSqlQuery *mUpdateParentQ; QSqlQuery *mDeleteMappingParentQ; - QSqlQuery *mMappingsQ; + QSqlQuery *mDescriptionQ; QList mMappingTypes; QMap mMappings; const QString mForbidden; -- cgit v1.2.3-70-g09d2