KIO

KProtocolInfo::ExtraField Struct Reference

#include <kprotocolinfo.h>

Public Types

enum  Type { String = QMetaType::QString , DateTime = QMetaType::QDateTime , Invalid = QMetaType::UnknownType }
 

Public Member Functions

 ExtraField (const QString &_name, Type _type)
 

Public Attributes

QString name
 
Type type
 

Detailed Description

Definition of an extra field in the UDS entries, returned by a listDir operation.

The name is the name of the column, translated.

The type name comes from QMetaType::name() Currently supported types: "QString", "QDateTime" (ISO-8601 format)

Definition at line 96 of file kprotocolinfo.h.

Member Enumeration Documentation

◆ Type

enum KProtocolInfo::ExtraField::Type

Definition at line 97 of file kprotocolinfo.h.

Constructor & Destructor Documentation

◆ ExtraField() [1/2]

KProtocolInfo::ExtraField::ExtraField ( )
inline

Definition at line 103 of file kprotocolinfo.h.

◆ ExtraField() [2/2]

KProtocolInfo::ExtraField::ExtraField ( const QString & _name,
Type _type )
inline

Definition at line 107 of file kprotocolinfo.h.

Member Data Documentation

◆ name

QString KProtocolInfo::ExtraField::name

Definition at line 112 of file kprotocolinfo.h.

◆ type

Type KProtocolInfo::ExtraField::type

Definition at line 113 of file kprotocolinfo.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 Mon Nov 18 2024 12:16:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.