Wikidata::Image

Search for usage in LXR

Wikidata::Image Class Reference

#include <entities.h>

Public Member Functions

 Image (const QJsonObject &obj)
 
uint64_t fileSize () const
 
uint32_t height () const
 
QString license () const
 
QString mimeType () const
 
QString name () const
 
uint32_t width () const
 

Detailed Description

Commons image metadata.

Definition at line 164 of file entities.h.

Constructor & Destructor Documentation

◆ Image()

Image::Image ( const QJsonObject & obj)
explicit

Definition at line 71 of file entities.cpp.

Member Function Documentation

◆ fileSize()

uint64_t Image::fileSize ( ) const
nodiscard

Definition at line 83 of file entities.cpp.

◆ height()

uint32_t Image::height ( ) const
nodiscard

Definition at line 93 of file entities.cpp.

◆ license()

QString Image::license ( ) const
nodiscard

Definition at line 103 of file entities.cpp.

◆ mimeType()

QString Image::mimeType ( ) const
nodiscard

Definition at line 98 of file entities.cpp.

◆ name()

QString Image::name ( ) const
nodiscard

Definition at line 78 of file entities.cpp.

◆ width()

uint32_t Image::width ( ) const
nodiscard

Definition at line 88 of file entities.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:55:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.