class whatever: public QObject
{
Q_OBJECT
public:
explicit generalUnitConverter(QObject *parent = nullptr);
QList<QPair<double, QString>> do_something();
}
How could I access the data return by do_something in qml?
↧