one way is:
#include "your-app.h"
Qt Code:
static_cast<YourApp*>(qApp)->getConfigData()To copy to clipboard, switch view to plain text mode
Of course, that is not the only way.
If the method is static, or your app class a singleton there are easier ways.
HTH




Reply With Quote
Bookmarks