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

kopete/libkopete

  • sources
  • kde-4.14
  • kdenetwork
  • kopete
  • libkopete
  • ui
addresseeitem.h
Go to the documentation of this file.
1 /*
2  This file is part of libkabc.
3  Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef ADDRESSEEITEM_H
22 #define ADDRESSEEITEM_H
23 
24 #include <klineedit.h>
25 #include <k3listview.h>
26 
27 #include <kabc/addressbook.h>
28 
32 class AddresseeItem : public K3ListViewItem
33 {
34  public:
35 
41  enum columns { Photo =0, Name = 1, Email = 2 };
42 
49  AddresseeItem( Q3ListView *parent, const KABC::Addressee &addressee );
50 
54  KABC::Addressee addressee() const { return mAddressee; }
55 
59  virtual QString key( int column, bool ascending ) const;
60 
61  private:
62  KABC::Addressee mAddressee;
63 };
64 
65 #endif // ADDRESSEEITEM_H
AddresseeItem::AddresseeItem
AddresseeItem(Q3ListView *parent, const KABC::Addressee &addressee)
Constructor.
Definition: addresseeitem.cpp:31
AddresseeItem::Email
Definition: addresseeitem.h:41
AddresseeItem
Special ListViewItem.
Definition: addresseeitem.h:32
AddresseeItem::Photo
Definition: addresseeitem.h:41
AddresseeItem::Name
Definition: addresseeitem.h:41
AddresseeItem::columns
columns
Type of column.
Definition: addresseeitem.h:41
QString
AddresseeItem::addressee
KABC::Addressee addressee() const
Returns the addressee.
Definition: addresseeitem.h:54
AddresseeItem::key
virtual QString key(int column, bool ascending) const
Method used by QListView to sort the items.
Definition: addresseeitem.cpp:49
Q3ListView
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:19 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