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

kopete/kopete

  • sources
  • kde-4.12
  • kdenetwork
  • kopete
  • kopete
  • contactlist
kopeteitembase.h
Go to the documentation of this file.
1 /*
2  Kopete View Item Delegate
3 
4  Copyright (c) 2007 by Matt Rogers <mattr@kde.org>
5 
6  Kopete (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
7 
8  *************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  *************************************************************************
16 */
17 
18 #ifndef KOPETEITEMBASE_H
19 #define KOPETEITEMBASE_H
20 
26 #define KOPETE_GROUP_DEFAULT_OPEN_ICON "folder-open"
27 #define KOPETE_GROUP_DEFAULT_CLOSED_ICON "folder"
28 
29 namespace Kopete
30 {
31  namespace Items
32  {
34  const int TypeRole = Qt::UserRole + 100;
35  const int ElementRole = Qt::UserRole + 101;
36  const int OnlineStatusRole = Qt::UserRole + 102;
37  const int IdleTimeRole = Qt::UserRole + 103;
38  const int UuidRole = Qt::UserRole + 104;
39  const int TotalCountRole = Qt::UserRole + 105;
40  const int ConnectedCountRole = Qt::UserRole + 106;
41  const int IdRole = Qt::UserRole + 107;
42  // the IdRole is used in cases where the identifier is not really a Uuid
43  // for instance, Kopete::Group::groupId is the case justifying this role
44  const int MetaContactImageRole = Qt::UserRole + 108;
45  // the MetaContactImageRole can return QImage or QString. If it's QString
46  // then it contains icon name.
47  const int StatusTitleRole = Qt::UserRole + 109;
48  const int StatusMessageRole = Qt::UserRole + 110;
49  const int AccountIconsRole = Qt::UserRole + 111;
50  const int ObjectRole = Qt::UserRole + 112;
51  const int ExpandStateRole = Qt::UserRole + 113;
52  const int HasNewMessageRole = Qt::UserRole + 114;
53  const int MetaContactGroupRole = Qt::UserRole + 115;
54  const int AlwaysVisible = Qt::UserRole + 116;
55 
56  /* Item type role values */
57  enum Type { Group, MetaContact };
58  }
59 }
60 
61 #endif
Kopete::Items::TotalCountRole
const int TotalCountRole
Definition: kopeteitembase.h:39
Kopete::Items::OnlineStatusRole
const int OnlineStatusRole
Definition: kopeteitembase.h:36
Kopete::Items::IdleTimeRole
const int IdleTimeRole
Definition: kopeteitembase.h:37
Kopete::Items::MetaContactGroupRole
const int MetaContactGroupRole
Definition: kopeteitembase.h:53
Kopete::Items::UuidRole
const int UuidRole
Definition: kopeteitembase.h:38
Kopete::Items::Type
Type
Definition: kopeteitembase.h:57
Kopete::Items::AccountIconsRole
const int AccountIconsRole
Definition: kopeteitembase.h:49
Kopete::Items::MetaContact
Definition: kopeteitembase.h:57
Kopete::Items::StatusMessageRole
const int StatusMessageRole
Definition: kopeteitembase.h:48
Kopete::Items::Group
Definition: kopeteitembase.h:57
Kopete::Items::TypeRole
const int TypeRole
Qt Model Role Definitions.
Definition: kopeteitembase.h:34
Kopete::Items::IdRole
const int IdRole
Definition: kopeteitembase.h:41
Kopete::Items::AlwaysVisible
const int AlwaysVisible
Definition: kopeteitembase.h:54
Kopete::Items::ConnectedCountRole
const int ConnectedCountRole
Definition: kopeteitembase.h:40
Kopete::Items::ElementRole
const int ElementRole
Definition: kopeteitembase.h:35
Kopete::Items::ExpandStateRole
const int ExpandStateRole
Definition: kopeteitembase.h:51
Kopete::Items::HasNewMessageRole
const int HasNewMessageRole
Definition: kopeteitembase.h:52
Kopete::Items::ObjectRole
const int ObjectRole
Definition: kopeteitembase.h:50
Kopete::Items::MetaContactImageRole
const int MetaContactImageRole
Definition: kopeteitembase.h:44
Kopete::Items::StatusTitleRole
const int StatusTitleRole
Definition: kopeteitembase.h:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/kopete

Skip menu "kopete/kopete"
  • 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