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 38 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 76 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 45 of file fmlist.h.

◆ empty

bool PathStatus::empty

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

Definition at line 65 of file fmlist.h.

◆ exists

bool PathStatus::exists

Whether the location can be accessed and exists.

Definition at line 70 of file fmlist.h.

◆ icon

QString PathStatus::icon

An associated icon name for the status.

Definition at line 60 of file fmlist.h.

◆ message

QString PathStatus::message

The message details of the status.

Definition at line 55 of file fmlist.h.

◆ title

QString PathStatus::title

The status title.

Definition at line 50 of file fmlist.h.

Member Data Documentation

◆ m_empty

bool PathStatus::m_empty = false

Definition at line 99 of file fmlist.h.

◆ m_exists

bool PathStatus::m_exists = false

Definition at line 100 of file fmlist.h.

◆ m_icon

QString PathStatus::m_icon

Definition at line 98 of file fmlist.h.

◆ m_message

QString PathStatus::m_message

Definition at line 97 of file fmlist.h.

◆ m_title

QString PathStatus::m_title

Definition at line 96 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 Nov 22 2024 12:04:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.