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

kopete/libkopete

  • Kopete
  • Status
  • Status
Public Member Functions | List of all members
Kopete::Status::Status Class Reference

#include <kopetestatusitems.h>

Inheritance diagram for Kopete::Status::Status:
Inheritance graph
[legend]

Public Member Functions

 Status ()
 
 Status (const QString &uid)
 
virtual StatusItem * child (int) const
 
virtual int childCount () const
 
virtual StatusItem * copy () const
 
virtual bool isGroup () const
 
QString message () const
 
void setMessage (const QString &message)
 
- Public Member Functions inherited from Kopete::Status::StatusItem
 StatusItem ()
 
 StatusItem (const QString &uid)
 
OnlineStatusManager::Categories category () const
 
int index () const
 
StatusGroup * parentGroup () const
 
void setCategory (OnlineStatusManager::Categories category)
 
void setTitle (const QString &title)
 
QString title () const
 
QString uid () const
 

Additional Inherited Members

- Signals inherited from Kopete::Status::StatusItem
void changed ()
 

Detailed Description

Status represents a status which has title, message and category.

Values from this class are used to create status action with which user can change status.

Author
Roman Jarosz kedge.nosp@m.dev@.nosp@m.centr.nosp@m.um.c.nosp@m.z

Definition at line 212 of file kopetestatusitems.h.

Constructor & Destructor Documentation

Kopete::Status::Status::Status ( )

Status constructor.

Definition at line 117 of file kopetestatusitems.cpp.

Kopete::Status::Status::Status ( const QString &  uid)

Definition at line 122 of file kopetestatusitems.cpp.

Member Function Documentation

virtual StatusItem* Kopete::Status::Status::child ( int  ) const
inlinevirtual

Returns the item at given index or 0 if there is no item at given index.

Note
for Status it always returns 0;

Implements Kopete::Status::StatusItem.

Definition at line 238 of file kopetestatusitems.h.

virtual int Kopete::Status::Status::childCount ( ) const
inlinevirtual

Returns number of childes.

Note
for Status it always returns 0;

Implements Kopete::Status::StatusItem.

Definition at line 232 of file kopetestatusitems.h.

StatusItem * Kopete::Status::Status::copy ( ) const
virtual

Creates a copy of this object.

Note
this copies also uid so it should only be used when we know that the original or copy object will be destroyed

Implements Kopete::Status::StatusItem.

Definition at line 133 of file kopetestatusitems.cpp.

virtual bool Kopete::Status::Status::isGroup ( ) const
inlinevirtual

Returns true if the item is group.

Note
for Status it always returns false;

Implements Kopete::Status::StatusItem.

Definition at line 226 of file kopetestatusitems.h.

QString Kopete::Status::Status::message ( ) const
inline

Returns message.

Definition at line 248 of file kopetestatusitems.h.

void Kopete::Status::Status::setMessage ( const QString &  message)

Set message.

Definition at line 127 of file kopetestatusitems.cpp.


The documentation for this class was generated from the following files:
  • kopetestatusitems.h
  • kopetestatusitems.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 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