MauiKit File Browsing

#include <fmlist.h>

Public Types

enum  STATUS_CODE : int { LOADING , ERROR , READY }
 

Properties

PathStatus::STATUS_CODE code
 
bool empty
 
bool exists
 
QString icon
 
QString message
 
QString title
 

Public Member Functions

 Q_ENUM (STATUS_CODE) STATUS_CODE m_code
 

Public Attributes

bool m_empty = false
 
bool m_exists = false
 
QString m_icon
 
QString m_message
 
QString m_title
 

Detailed Description

Represents the status of a directory listing, be it non existence location, loading or empty.

The status object is divided into different properties for convenience, such as error label, message, icon, code, etc.

Definition at line 42 of file fmlist.h.

Member Enumeration Documentation

◆ STATUS_CODE

The different status that can occur.

Enumerator
LOADING 

The content is still loading its contents.

ERROR 

The listing of the contents has failed.

For knowing the reason check the other properties, such as title, exists, etc.

READY 

The listing has finished successfully.

Definition at line 80 of file fmlist.h.

Property Documentation

◆ code

PathStatus::STATUS_CODE PathStatus::code

The status code.

More details are exposed with the other properties.

Definition at line 49 of file fmlist.h.

◆ empty

bool PathStatus::empty

Whether the location is empty and there is nothing for listing.

Definition at line 69 of file fmlist.h.

◆ exists

bool PathStatus::exists

Whether the location can be accessed and exists.

Definition at line 74 of file fmlist.h.

◆ icon

QString PathStatus::icon

An associated icon name for the status.

Definition at line 64 of file fmlist.h.

◆ message

QString PathStatus::message

The message details of the status.

Definition at line 59 of file fmlist.h.

◆ title

QString PathStatus::title

The status title.

Definition at line 54 of file fmlist.h.

Member Data Documentation

◆ m_empty

bool PathStatus::m_empty = false

Definition at line 103 of file fmlist.h.

◆ m_exists

bool PathStatus::m_exists = false

Definition at line 104 of file fmlist.h.

◆ m_icon

QString PathStatus::m_icon

Definition at line 102 of file fmlist.h.

◆ m_message

QString PathStatus::m_message

Definition at line 101 of file fmlist.h.

◆ m_title

QString PathStatus::m_title

Definition at line 100 of file fmlist.h.


The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:51:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.