#include class Test { public: void foo(const QString&); void bar(const QString&) {} }; void Test::foo(const QString&) { }