public int ToInt(string s) { return (int) interceptor.Invoke("toInt$", "toInt(const QString&) const", typeof(int), typeof(string), s); }