• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • IndexPolicyAttribute
Public Member Functions | List of all members
Akonadi::IndexPolicyAttribute Class Reference

#include <indexpolicyattribute.h>

Inheritance diagram for Akonadi::IndexPolicyAttribute:
Akonadi::Attribute

Public Member Functions

 IndexPolicyAttribute ()
 
 ~IndexPolicyAttribute ()
 
bool indexingEnabled () const
 
void setIndexingEnabled (bool enable)
 
- Public Member Functions inherited from Akonadi::Attribute
virtual ~Attribute ()
 
virtual Attribute * clone () const =0
 
virtual void deserialize (const QByteArray &data)=0
 
virtual QByteArray serialized () const =0
 
virtual QByteArray type () const =0
 

Additional Inherited Members

- Public Types inherited from Akonadi::Attribute
typedef QList< Attribute * > List
 

Detailed Description

An attribute to specify how a collection should be indexed for searching.

This attribute can be attached to any collection and should be honored by indexing agents.

Since
4.6

Definition at line 35 of file indexpolicyattribute.h.

Constructor & Destructor Documentation

◆ IndexPolicyAttribute()

IndexPolicyAttribute::IndexPolicyAttribute ( )

Creates a new index policy attribute.

Definition at line 38 of file indexpolicyattribute.cpp.

◆ ~IndexPolicyAttribute()

IndexPolicyAttribute::~IndexPolicyAttribute ( )

Destroys the index policy attribute.

Definition at line 43 of file indexpolicyattribute.cpp.

Member Function Documentation

◆ indexingEnabled()

bool IndexPolicyAttribute::indexingEnabled ( ) const

Returns whether this collection is supposed to be indexed at all.

Definition at line 48 of file indexpolicyattribute.cpp.

◆ setIndexingEnabled()

void IndexPolicyAttribute::setIndexingEnabled ( bool enable)

Sets whether this collection should be indexed at all.

Parameters
enabletrue to enable indexing, false to exclude this collection from indexing

Definition at line 53 of file indexpolicyattribute.cpp.


The documentation for this class was generated from the following files:
  • indexpolicyattribute.h
  • indexpolicyattribute.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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