#ifndef WEBENGINEPART_UTILS_H
#define WEBENGINEPART_UTILS_H

namespace Utils
{

#define QL1S(x)  QLatin1String(x)
#define QL1C(x)  QLatin1Char(x)

inline bool isBlankUrl(const QUrl& url)
{
    return (url.isEmpty() || url.url() == QL1S("about:blank"));
}

}
#endif // WEBENGINEPART_UTILS_H
