Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
LocalFileApi::Type Class Reference

#include <qlocalfileapi_p.h>

+ Collaboration diagram for LocalFileApi::Type:

Classes

class  Accept
 

Public Member Functions

 Type (QStringView description, std::optional< Accept > accept)
 
 ~Type ()
 
const QStringViewdescription () const
 
const std::optional< Accept > & accept () const
 

Static Public Member Functions

static std::optional< TypefromQt (QStringView type)
 

Detailed Description

Definition at line 27 of file qlocalfileapi_p.h.

Constructor & Destructor Documentation

◆ Type()

Type::Type ( QStringView description,
std::optional< Accept > accept )

Definition at line 64 of file qlocalfileapi.cpp.

◆ ~Type()

Type::~Type ( )
default

Member Function Documentation

◆ accept()

const std::optional< Accept > & LocalFileApi::Type::accept ( ) const
inline

Definition at line 77 of file qlocalfileapi_p.h.

Referenced by fromQt().

+ Here is the caller graph for this function:

◆ description()

const QStringView & LocalFileApi::Type::description ( ) const
inline

Definition at line 76 of file qlocalfileapi_p.h.

Referenced by fromQt().

+ Here is the caller graph for this function:

◆ fromQt()

std::optional< Type > Type::fromQt ( QStringView type)
static

Definition at line 71 of file qlocalfileapi.cpp.

References accept(), description(), match(), and QStringLiteral.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: