template<class ReturnType> ReturnType getValue(const QString &t_tableName, const QString &t_columnName)
getValue<QString>("user", "name");
C++ (Qt)template<typename ReturnType>ReturnType getValue(const QString &s1, const QString &s2){ return "Hello";}//...QString s = getValue<QString>("user", "name");