Search for usage in LXR

Syndication::RDF::TextInput Class Reference

#include <textinput.h>

Inherits Syndication::RDF::ResourceWrapper.

Public Member Functions

 TextInput ()
 TextInput (ResourcePtr resource)
 ~TextInput () override
QString debugInfo () const
QString description () const
QString link () const
QString name () const
QString title () const

Detailed Description

"The textinput element affords a method for submitting form data to an arbitrary URL - usually located at the parent website.

The field is typically used as a search box or subscription form"

Frank Osterfeld

Definition at line 25 of file rdf/textinput.h.

Constructor & Destructor Documentation

◆ TextInput() [1/2]

Syndication::RDF::TextInput::TextInput ( )

creates an object wrapping a null resource.

isNull() is true.

Definition at line 18 of file rdf/textinput.cpp.

◆ TextInput() [2/2]

Syndication::RDF::TextInput::TextInput ( ResourcePtr resource)

creates a text input object wrapping a rss:textinput resource

resourceresource to wrap, must be of type rss:textinput, otherwise this object will not return useful information.

Definition at line 23 of file rdf/textinput.cpp.

◆ ~TextInput()

Syndication::RDF::TextInput::~TextInput ( )


Definition at line 28 of file rdf/textinput.cpp.

Member Function Documentation

◆ debugInfo()

QString Syndication::RDF::TextInput::debugInfo ( ) const

Returns a description of the text input for debugging purposes.

debug string

Definition at line 52 of file rdf/textinput.cpp.

◆ description()

QString Syndication::RDF::TextInput::description ( ) const

A brief description of the textinput field's purpose.

For example: "Subscribe to our newsletter for..." or "Search our site's archive of..."

description TODO: specify format (HTML/plain text), or a null string if not specified.

Definition at line 37 of file rdf/textinput.cpp.

◆ link()

QString Syndication::RDF::TextInput::link ( ) const

The URL to which a textinput submission will be directed (using GET).

URL, or a null string if not specified

Definition at line 42 of file rdf/textinput.cpp.

◆ name()

QString Syndication::RDF::TextInput::name ( ) const

The text input field's (variable) name.

name, or a null string if not specified

Definition at line 47 of file rdf/textinput.cpp.

◆ title()

QString Syndication::RDF::TextInput::title ( ) const

A descriptive title for the textinput field.

For example: "Subscribe" or "Search!"

title of the text input, or a null string if not specified

Definition at line 32 of file rdf/textinput.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 Jun 14 2024 11:50:32 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.