Redo Clock class to support both QML WebView and QWebFrame