\hypertarget{structpybind11_1_1detail_1_1type__caster_3_01QString_01_4}{}\section{pybind11\+:\+:detail\+:\+:type\+\_\+caster$<$ Q\+String $>$ Struct Template Reference}
\label{structpybind11_1_1detail_1_1type__caster_3_01QString_01_4}\index{pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$@{pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structpybind11_1_1detail_1_1type__caster_3_01QString_01_4_af1d220689b028db3da8683acdca8f1ef}{P\+Y\+B\+I\+N\+D11\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+A\+S\+T\+ER} (Q\+String, \+\_\+(\char`\"{}str\char`\"{}))
\item 
bool \hyperlink{structpybind11_1_1detail_1_1type__caster_3_01QString_01_4_a27ff060e25491d2569b0a8d672ce4280}{load} (handle src, bool)
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static handle \hyperlink{structpybind11_1_1detail_1_1type__caster_3_01QString_01_4_a43c27078bb68e04954c8026cfecb8ad3}{cast} (Q\+String src, return\+\_\+value\+\_\+policy, handle)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$$>$\newline
struct pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$}



Definition at line 50 of file Python\+Type\+Conversions.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{structpybind11_1_1detail_1_1type__caster_3_01QString_01_4_a43c27078bb68e04954c8026cfecb8ad3}\label{structpybind11_1_1detail_1_1type__caster_3_01QString_01_4_a43c27078bb68e04954c8026cfecb8ad3}} 
\index{pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$@{pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$}!cast@{cast}}
\index{cast@{cast}!pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$@{pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$}}
\subsubsection{\texorpdfstring{cast()}{cast()}}
{\footnotesize\ttfamily static handle pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$\+::cast (\begin{DoxyParamCaption}\item[{Q\+String}]{src,  }\item[{return\+\_\+value\+\_\+policy}]{,  }\item[{handle}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

Conversion part 2 (C++ -\/$>$ Python)\+: convert an Q\+String instance into a Python object. The second and third arguments are used to indicate the return value policy and parent object (for {\ttfamily return\+\_\+value\+\_\+policy\+::reference\+\_\+internal}) and are generally ignored by implicit casters. 

Definition at line 93 of file Python\+Type\+Conversions.\+hh.

\mbox{\Hypertarget{structpybind11_1_1detail_1_1type__caster_3_01QString_01_4_a27ff060e25491d2569b0a8d672ce4280}\label{structpybind11_1_1detail_1_1type__caster_3_01QString_01_4_a27ff060e25491d2569b0a8d672ce4280}} 
\index{pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$@{pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$}!load@{load}}
\index{load@{load}!pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$@{pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$}}
\subsubsection{\texorpdfstring{load()}{load()}}
{\footnotesize\ttfamily bool pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$\+::load (\begin{DoxyParamCaption}\item[{handle}]{src,  }\item[{bool}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Conversion part 1 (Python-\/$>$C++)\+: convert a Py\+Object into a Q\+String instance or return false upon failure. The second argument indicates whether implicit conversions should be applied. 

Definition at line 64 of file Python\+Type\+Conversions.\+hh.

\mbox{\Hypertarget{structpybind11_1_1detail_1_1type__caster_3_01QString_01_4_af1d220689b028db3da8683acdca8f1ef}\label{structpybind11_1_1detail_1_1type__caster_3_01QString_01_4_af1d220689b028db3da8683acdca8f1ef}} 
\index{pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$@{pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$}!P\+Y\+B\+I\+N\+D11\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+A\+S\+T\+ER@{P\+Y\+B\+I\+N\+D11\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+A\+S\+T\+ER}}
\index{P\+Y\+B\+I\+N\+D11\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+A\+S\+T\+ER@{P\+Y\+B\+I\+N\+D11\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+A\+S\+T\+ER}!pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$@{pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$}}
\subsubsection{\texorpdfstring{P\+Y\+B\+I\+N\+D11\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+A\+S\+T\+E\+R()}{PYBIND11\_TYPE\_CASTER()}}
{\footnotesize\ttfamily pybind11\+::detail\+::type\+\_\+caster$<$ Q\+String $>$\+::P\+Y\+B\+I\+N\+D11\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+A\+S\+T\+ER (\begin{DoxyParamCaption}\item[{Q\+String}]{,  }\item[{\+\_\+(\char`\"{}str\char`\"{})}]{ }\end{DoxyParamCaption})}

This macro establishes the name \textquotesingle{}str\textquotesingle{} in function signatures and declares a local variable \textquotesingle{}value\textquotesingle{} of type Q\+Variant 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/\+Python\+Interpreter/Python\+Type\+Conversions.\+hh\end{DoxyCompactItemize}
