Download src/macos/mac_url_handler.cc from dlxjj/goldendict-ng: direct link, hf CLI and curl.
- Browser
- Download file 333 Bytes
-
https://huggingface.co/datasets/dlxjj/goldendict-ng/resolve/main/src/macos/mac_url_handler.cc
- Command line
-
hf download hf://datasets/dlxjj/goldendict-ng/src/macos/mac_url_handler.cc
-
curl -L -o mac_url_handler.cc https://huggingface.co/datasets/dlxjj/goldendict-ng/resolve/main/src/macos/mac_url_handler.cc
333 Bytes
| void MacUrlHandler::processURL( const QUrl & url ) | |
| { | |
| qDebug() << "External URL received: " << url; | |
| emit wordReceived( QStringLiteral( "translateWord: " ) | |
| + QUrl::fromAce( url.authority().toLatin1(), QUrl::IgnoreIDNWhitelist ) ); | |
| } | |