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 ( )

Definition at line 99 of file kprotocolinfo.h.

◆ ExtraField() [2/2]

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

Definition at line 103 of file kprotocolinfo.h.

Member Data Documentation

◆ name

QString KProtocolInfo::ExtraField::name

Definition at line 108 of file kprotocolinfo.h.

◆ type

Type KProtocolInfo::ExtraField::type

Definition at line 109 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 Fri May 24 2024 11:56:07 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.