Files
att_browser/src/urlutil.h
T

14 lines
344 B
C++

#pragma once
#include <QString>
#include <QUrl>
namespace urlutil {
// Turns whatever the user typed into the command line into a URL: a real URL is
// kept as-is, something that looks like a host gets an https:// scheme, and
// anything else is handed to the search engine.
QUrl fromUserInput(const QString &input);
} // namespace urlutil