doc: fix code snippet of qConstOverload usage
Change-Id: I11628d2f9372f21f371ccf93000c26079eb9ef72 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
parent
4dcd9145e7
commit
2c35ef04ff
@ -617,7 +617,7 @@ template<> class QTypeInfo<A> : public QTypeInfoMerger<A, B, C, D> {};
|
||||
void overloadedFunction(int, QString);
|
||||
void overloadedFunction(int, QString) const;
|
||||
};
|
||||
... qConstOverload<>(&Foo::overloadedFunction)
|
||||
... qConstOverload<int, QString>(&Foo::overloadedFunction)
|
||||
... qNonConstOverload<int, QString>(&Foo::overloadedFunction)
|
||||
//! [54]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user