summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qhooks_p.h
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2015-08-31 08:48:49 +0200
committerhjk <hjk@theqtcompany.com>2015-09-03 15:18:36 +0000
commit7b0e771ad7bb8508997b451d1709ba8abd11b9eb (patch)
tree4298f8570e9b0d5f3e54711c78f35fc9430b59fc /src/corelib/global/qhooks_p.h
parent51e501fa8d11277fef35da4d81d9cdd2d9657d21 (diff)
Add a qtHookData field for Qt Creator's data display
Qt Creator needs to be able to determine structure sizes and data member offsets for certain private types even in the absence of debug information. It is sufficient to keep and test the actual data sets on the Qt Creator side, as long library provides a hint which data set is needed. So far, HookDataVersion was meant to be used for that purpose. To make it more explicit, this patch introduce a TypeInformationVersion field in qtHookData. Change-Id: Ia1c3c6f62f314d63c4df289ef456f047c5e84cf4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qhooks_p.h')
-rw-r--r--src/corelib/global/qhooks_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qhooks_p.h b/src/corelib/global/qhooks_p.h
index 12a59a1399..28e0c1ed37 100644
--- a/src/corelib/global/qhooks_p.h
+++ b/src/corelib/global/qhooks_p.h
@@ -50,6 +50,7 @@ enum HookIndex {
AddQObject = 3,
RemoveQObject = 4,
Startup = 5,
+ TypeInformationVersion = 6,
LastHookIndex
};