• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

kopete/libkopete

  • Kopete
  • Property
Public Types | Public Member Functions | Static Public Attributes | List of all members
Kopete::Property Class Reference

#include <kopeteproperty.h>

Public Types

typedef QMap< QString, Property > Map
 

Public Member Functions

 Property ()
 
 Property (const PropertyTmpl &tmpl, const QVariant &value)
 
 Property (const Property &other)
 
 ~Property ()
 
bool isNull () const
 
bool isRichText () const
 
Property & operator= (const Property &other)
 
const PropertyTmpl & tmpl () const
 
const QVariant & value () const
 

Static Public Attributes

static Property null
 

Detailed Description

Author
Stefan Gehn <metz AT gehn.net>

A data container for whatever information Kopete or any of its plugins want to store for a Kopete::Contact

Definition at line 150 of file kopeteproperty.h.

Member Typedef Documentation

typedef QMap<QString, Property> Kopete::Property::Map

A map of key,Property items.

Definition at line 205 of file kopeteproperty.h.

Constructor & Destructor Documentation

Kopete::Property::Property ( )

Constructor only used for empty Property objects.

Note: you cannot set a label or value later on!

Definition at line 190 of file kopeteproperty.cpp.

Kopete::Property::Property ( const PropertyTmpl &  tmpl,
const QVariant &  value 
)
Parameters
tmplThe contact property template this property is based on
valueThe value this Property holds

Definition at line 195 of file kopeteproperty.cpp.

Kopete::Property::Property ( const Property &  other)

Copy constructor.

Definition at line 203 of file kopeteproperty.cpp.

Kopete::Property::~Property ( )

Destructor.

Definition at line 210 of file kopeteproperty.cpp.

Member Function Documentation

bool Kopete::Property::isNull ( ) const

Returns true if this object is an empty Property (i.e.

it holds no value), false otherwise.

Definition at line 239 of file kopeteproperty.cpp.

bool Kopete::Property::isRichText ( ) const

Returns true if this property is HTML formatted.

Definition at line 244 of file kopeteproperty.cpp.

Property & Kopete::Property::operator= ( const Property &  other)

Definition at line 215 of file kopeteproperty.cpp.

const PropertyTmpl & Kopete::Property::tmpl ( ) const

Getter for this properties template.

Definition at line 234 of file kopeteproperty.cpp.

const QVariant & Kopete::Property::value ( ) const

Getter for this properties value.

Definition at line 229 of file kopeteproperty.cpp.

Member Data Documentation

Property Kopete::Property::null
static

The null, i.e.

empty, Property

Definition at line 189 of file kopeteproperty.h.


The documentation for this class was generated from the following files:
  • kopeteproperty.h
  • kopeteproperty.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal