summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-02-17 22:26:27 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-20 11:29:03 +0100
commit989670737fbb84b6e5c483fd3faccd8d2ab917fe (patch)
treec7d9a2262e98104c4c1bf57ff7574a88ee91679a /doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp
parent5640b0b4439941c621b4f0efec541e387abb7daf (diff)
Use QMetaMethod::isValid() to check method validity
The signature() method will soon be replaced by a function that returns a QByteArray rather than a pointer, and calling it will be more expensive than calling isValid(). Plus, isValid() looks nicer. Change-Id: I6844988c84dcadf876fc86bc71c8b310a21f88de Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp')
0 files changed, 0 insertions, 0 deletions