summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_qtsql.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-02-17 22:12:05 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-20 11:28:38 +0100
commit5640b0b4439941c621b4f0efec541e387abb7daf (patch)
tree4f038d4270c54a56415d34dc141520be8dac4ade /doc/src/snippets/code/doc_src_qtsql.cpp
parent9c1680a7eda7f465d1db0fe1298d7aabd744bd15 (diff)
Add QMetaMethod::isValid() function
This function provides a proper way of determining whether a function returned by QMetaObject::method() is valid. (Checking whether signature() returns a 0 pointer, which e.g. testlib does, is not an ideal API -- especially given that signature() will soon be removed and replaced by a function that returns a QByteArray.) Change-Id: I644f476b09904925f2042945f5d0ad744482b682 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/doc_src_qtsql.cpp')
0 files changed, 0 insertions, 0 deletions