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

kopete/libkopete

Kopete::Property

Kopete::Property Class Reference

#include <kopeteproperty.h>

List of all members.


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.


Public Types

typedef QMap< QString, Property > Map

Public Member Functions

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

Static Public Attributes

static Property null

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:
tmpl The contact property template this property is based on

Parameters:
value The 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

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.

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.


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

kopete/libkopete

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

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal