LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
qtutil.h File Reference
#include "sllconfig.h"
#include <QLatin1String>
+ Include dependency graph for qtutil.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 LC
 
 LC::Util
 

Functions

template<typename Assoc >
auto LC::Util::Stlize (Assoc &&assoc) noexcept
 Converts an Qt's associative sequence assoc to an STL-like iteratable range. More...
 
QByteArray LC::Util::AsByteArray (std::string_view view) noexcept
 Convert the view into a QByteArray without copying. More...
 
QByteArray LC::Util::ToByteArray (std::string_view view) noexcept
 Create a QByteArray with the data referenced by the view. More...
 
std::string_view LC::Util::AsStringView (const QByteArray &arr) noexcept
 Create a std::string_view referring the data within a QByteArray. More...
 
template<typename T , typename S >
std::pair< T, T > LC::Util::BreakAt (const T &str, S c) noexcept
 
constexpr QLatin1String LC::operator""_ql (const char *str, std::size_t size) noexcept
 
constexpr QStringView LC::operator""_qsv (const char16_t *str, std::size_t size) noexcept
 
QByteArray LC::operator""_qba (const char *str, std::size_t size) noexcept