diff options
author | Arno <am@disconnect.de> | 2012-11-16 18:01:21 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2012-11-16 18:01:21 +0100 |
commit | b40073331fcd756de4211fac113a6f9755dfa629 (patch) | |
tree | 309ffb496a242ab9017f60ccc3d17a95a3223558 /mappingtreemodel.h | |
parent | ba9c314b4ba68b2da1d6c59accbcb9cf1aa5f897 (diff) | |
download | SheMov-b40073331fcd756de4211fac113a6f9755dfa629.tar.gz SheMov-b40073331fcd756de4211fac113a6f9755dfa629.tar.bz2 SheMov-b40073331fcd756de4211fac113a6f9755dfa629.zip |
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.
Diffstat (limited to 'mappingtreemodel.h')
-rw-r--r-- | mappingtreemodel.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<mappingType> mMappingTypes; QMap<QString, int> mMappings; const QString mForbidden; |