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::Accept Class Reference

#include <qlocalfileapi_p.h>

+ Collaboration diagram for LocalFileApi::Type::Accept:

Classes

class  MimeType
 

Public Member Functions

 ~Accept ()
 
void setMimeType (MimeType mimeType)
 
const MimeTypemimeType () const
 

Static Public Member Functions

static std::optional< AcceptfromQt (QStringView type)
 

Detailed Description

Definition at line 30 of file qlocalfileapi_p.h.

Constructor & Destructor Documentation

◆ ~Accept()

LocalFileApi::Type::Accept::~Accept ( )
default

Member Function Documentation

◆ fromQt()

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

Definition at line 109 of file qlocalfileapi.cpp.

References mimeType, QStringLiteral, and setMimeType().

+ Here is the call graph for this function:

◆ mimeType()

const MimeType & LocalFileApi::Type::Accept::mimeType ( ) const
inline

Definition at line 65 of file qlocalfileapi_p.h.

References m_mimeType.

◆ setMimeType()

void LocalFileApi::Type::Accept::setMimeType ( MimeType mimeType)

Definition at line 135 of file qlocalfileapi.cpp.

References m_mimeType, and mimeType.

Referenced by fromQt().

+ Here is the caller graph for this function:

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