Better_Software_Header_MobileBetter_Software_Header_Web

Find what you need - explore our website and developer resources

Assessing the automatic Qt 4 to 5 porting tool

template<typename T>  void doSomething(const T&) {
      T.intersect();
    }
renameMethod("QPaintDevice", "numColors", "colorCount")
  renameMethod("QImage", "numColors", "colorCount")
  renameMethod("QImage", "setNumColors", "setColorCount")
namespace clang {
  namespace ast_matchers {
  const internal::VariadicDynCastAllOfMatcher<
    clang::Decl,
    clang::EnumConstantDecl> EnumeratorConstant;
  }
  }
DeclarationReference(
    To(EnumeratorConstant(
      HasName("QSsl::SslProtocol::TlsV1"))
    )
  )
template<typename T> int numColors(const T&) {
    return T.numColors();
  }