So, in .usc file following declaration should be valid:
namespace MyApplication::HelperWidgets;
I also saw following hack in the code:
String CurrentNamespace; // this is ugly hack, but better than rewrite everything
The whole file when the function is used is relatively simply, so why not just extract class and put current namespace as variable? Should be easy and we will have better/cleaner (easier to maintain) code in that place.