PyKDE - Python Bindings for KDE
class KABC.Field
Table of contents
Modules
kabc Classes
All Classes
Module
kabc
Class
KABC.Field
Inherits
enums
FieldCategory
= {All, Frequent, Address, Email, Personal, Organization, CustomCategory }
methods
Field
(a0)
Not Implemented
Field
()
returns
a Field instance
In versions KDE 3.1.0 and above only
allFields
()
returns
(KABC.Field.List)
In versions KDE 3.1.0 and above only
static
category
()
returns
(int)
In versions KDE 3.1.0 and above only
categoryLabel
(category)
returns
(QString)
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
category
int
createCustomField
(label, category, key, app)
returns
(KABC.Field)
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
label
QString
category
int
key
QString
app
QString
createDefaultField
(id, category = 0)
returns
nothing
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
id
int
category
int
0
createField
(id, category = 0)
returns
nothing
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
id
int
category
int
0
defaultFields
()
returns
(KABC.Field.List)
In versions KDE 3.1.0 and above only
static
deleteFields
()
returns
nothing
In versions KDE 3.1.0 and above only
static
equals
(field)
returns
(bool)
In versions KDE 3.1.0 and above only
Argument
Type
Default
field
KABC.Field
isCustom
()
returns
(bool)
In versions KDE 3.1.0 and above only
label
()
returns
(QString)
In versions KDE 3.1.0 and above only
restoreFields
(cfg, identifier)
returns
(KABC.Field.List)
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
cfg
KConfig
identifier
QString
restoreFields
(identifier)
returns
(KABC.Field.List)
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
identifier
QString
saveFields
(cfg, identifier, fields)
returns
nothing
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
cfg
KConfig
identifier
QString
fields
KABC.Field.List
saveFields
(identifier, fields)
returns
nothing
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
identifier
QString
fields
KABC.Field.List
setValue
(a0, a1)
returns
(bool)
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
KABC.Addressee
a1
QString
sortKey
(a0)
returns
(QString)
In versions KDE 3.2.0 and above only
Argument
Type
Default
a0
KABC.Addressee
value
(a0)
returns
(QString)
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
KABC.Addressee
~Field
()
returns
nothing
In versions KDE 3.1.0 and above only