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

kgpg

KeyListViewItem Class Reference

#include <keylistview.h>

Inherits K3ListViewItem.

List of all members.


Detailed Description

Definition at line 32 of file keylistview.h.


Public Types

enum  ItemTypeFlag {
  Group = 1, Secret = 2, Public = 4, Pair = Secret | Public,
  GSecret = Group | Secret, GPublic = Group | Public, GPair = Group | Pair, Sub = 8,
  Uid = 16, Uat = 32, RevSign = 64, Sign = 128
}

Public Member Functions

 KeyListViewItem (KeyListView *parent, const QString &name=QString(), const QString &email=QString(), const QString &trust=QString(), const QString &expiration=QString(), const QString &size=QString(), const QString &creation=QString(), const QString &id=QString(), const bool isdefault=false, const bool isexpired=false, ItemType type=Public)
 KeyListViewItem (KeyListViewItem *parent, const QString &name=QString(), const QString &email=QString(), const QString &trust=QString(), const QString &expiration=QString(), const QString &size=QString(), const QString &creation=QString(), const QString &id=QString(), const bool isdefault=false, const bool isexpired=false, ItemType type=Public)
 KeyListViewItem (K3ListView *parent, const KgpgKey &key, const bool isbold)
 KeyListViewItem (K3ListViewItem *parent, const KgpgKeySign &sig)
 ~KeyListViewItem ()
void setItemType (const ItemType &type)
ItemType itemType () const
void setDefault (const bool &def)
bool isDefault () const
void setExpired (const bool &exp)
bool isExpired () const
void setGroupId (const QString &nid)
virtual void paintCell (QPainter *p, const QColorGroup &cg, int col, int width, int align)
virtual int compare (Q3ListViewItem *item, int c, bool ascending) const
virtual QString key (int column, bool) const
virtual KeyListViewItem * parent () const
virtual KeyListViewItem * nextSibling () const
virtual KeyListViewItem * firstChild () const
virtual KgpgKey * getKey ()
virtual const QString keyId (void) const
KgpgKeyTrust trust (void) const

Member Enumeration Documentation

enum KeyListViewItem::ItemTypeFlag

Enumerator:
Group 
Secret 
Public 
Pair 
GSecret 
GPublic 
GPair 
Sub 
Uid 
Uat 
RevSign 
Sign 

Definition at line 35 of file keylistview.h.


Constructor & Destructor Documentation

KeyListViewItem::KeyListViewItem ( KeyListView *  parent,
const QString &  name = QString(),
const QString &  email = QString(),
const QString &  trust = QString(),
const QString &  expiration = QString(),
const QString &  size = QString(),
const QString &  creation = QString(),
const QString &  id = QString(),
const bool  isdefault = false,
const bool  isexpired = false,
ItemType  type = Public 
) [explicit]

Definition at line 32 of file keylistview.cpp.

KeyListViewItem::KeyListViewItem ( KeyListViewItem *  parent,
const QString &  name = QString(),
const QString &  email = QString(),
const QString &  trust = QString(),
const QString &  expiration = QString(),
const QString &  size = QString(),
const QString &  creation = QString(),
const QString &  id = QString(),
const bool  isdefault = false,
const bool  isexpired = false,
ItemType  type = Public 
) [explicit]

Definition at line 43 of file keylistview.cpp.

KeyListViewItem::KeyListViewItem ( K3ListView *  parent,
const KgpgKey &  key,
const bool  isbold 
)

Definition at line 54 of file keylistview.cpp.

KeyListViewItem::KeyListViewItem ( K3ListViewItem *  parent,
const KgpgKeySign &  sig 
)

Definition at line 77 of file keylistview.cpp.

KeyListViewItem::~KeyListViewItem (  ) 

Definition at line 112 of file keylistview.cpp.


Member Function Documentation

void KeyListViewItem::setItemType ( const ItemType &  type  ) 

Definition at line 119 of file keylistview.cpp.

KeyListViewItem::ItemType KeyListViewItem::itemType (  )  const

Definition at line 124 of file keylistview.cpp.

void KeyListViewItem::setDefault ( const bool &  def  ) 

Definition at line 129 of file keylistview.cpp.

bool KeyListViewItem::isDefault (  )  const

Definition at line 134 of file keylistview.cpp.

void KeyListViewItem::setExpired ( const bool &  exp  ) 

Definition at line 139 of file keylistview.cpp.

bool KeyListViewItem::isExpired (  )  const

Definition at line 144 of file keylistview.cpp.

void KeyListViewItem::setGroupId ( const QString &  nid  )  [inline]

Definition at line 67 of file keylistview.h.

void KeyListViewItem::paintCell ( QPainter *  p,
const QColorGroup &  cg,
int  col,
int  width,
int  align 
) [virtual]

Definition at line 149 of file keylistview.cpp.

int KeyListViewItem::compare ( Q3ListViewItem *  item,
int  c,
bool  ascending 
) const [virtual]

Definition at line 176 of file keylistview.cpp.

QString KeyListViewItem::key ( int  column,
bool   
) const [virtual]

Definition at line 226 of file keylistview.cpp.

virtual KeyListViewItem* KeyListViewItem::parent (  )  const [inline, virtual]

Definition at line 72 of file keylistview.h.

virtual KeyListViewItem* KeyListViewItem::nextSibling (  )  const [inline, virtual]

Definition at line 73 of file keylistview.h.

virtual KeyListViewItem* KeyListViewItem::firstChild (  )  const [inline, virtual]

Definition at line 74 of file keylistview.h.

virtual KgpgKey* KeyListViewItem::getKey (  )  [inline, virtual]

Definition at line 75 of file keylistview.h.

virtual const QString KeyListViewItem::keyId ( void   )  const [inline, virtual]

Definition at line 76 of file keylistview.h.

KgpgKeyTrust KeyListViewItem::trust ( void   )  const [inline]

Definition at line 77 of file keylistview.h.


The documentation for this class was generated from the following files:
  • keylistview.h
  • keylistview.cpp

kgpg

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

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils 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