acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
text_stream.h
1//
2// Created by camilo on 2024-09-27 16:44 <3ThomasBorregaardSorensen!!
3//
4#pragma once
5
6
7#include <QString>
8#include <QByteArray>
9
10
11inline ::write_text_stream & operator <<(::write_text_stream & textstream, const ::QString & qstr)
12{
13
14 ::QByteArray utf8ByteArray = qstr.toUtf8();
15
16 const_char_pointer utf8Buffer = utf8ByteArray.constData();
17
18 textstream << utf8Buffer;
19
20 return textstream;
21
22}
23
24
25
Definition write_text_stream.h:43