30 const status_t status = message->GetInfo(
"refs", &type, &count);
31 if (status == B_OK && type == B_REF_TYPE) {
33 for (int32 i = 0; i < count; ++i) {
34 if (message->FindRef(
"refs", i, &ref) == B_OK) {
35 const BPath path(&ref);
36 QCoreApplication::postEvent(QCoreApplication::instance(),
new QFileOpenEvent(QFile::decodeName(path.Path())));
41 BApplication::RefsReceived(message);