108 def __installQtDoc(self, name, version, engine): |
108 def __installQtDoc(self, name, version, engine): |
109 """ |
109 """ |
110 Private method to install/update a Qt help document. |
110 Private method to install/update a Qt help document. |
111 |
111 |
112 @param name name of the Qt help document (string) |
112 @param name name of the Qt help document (string) |
113 @param version Qt version of the help documens (integer) |
113 @param version Qt version of the help documents (integer) |
114 @param engine reference to the help engine (QHelpEngineCore) |
114 @param engine reference to the help engine (QHelpEngineCore) |
115 @return flag indicating success (boolean) |
115 @return flag indicating success (boolean) |
116 """ |
116 """ |
117 versionKey = "qt_version_{0}@@{1}".format(version, name) |
117 versionKey = "qt_version_{0}@@{1}".format(version, name) |
118 info = engine.customValue(versionKey, "") |
118 info = engine.customValue(versionKey, "") |