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
(TQString)
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
TQString
category
int
key
TQString
app
TQString
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
(TQString)
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
TDEConfig
identifier
TQString
restoreFields
(identifier)
returns
(KABC.Field.List)
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
identifier
TQString
saveFields
(cfg, identifier, fields)
returns
nothing
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
cfg
TDEConfig
identifier
TQString
fields
KABC.Field.List
saveFields
(identifier, fields)
returns
nothing
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
identifier
TQString
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
TQString
sortKey
(a0)
returns
(TQString)
In versions KDE 3.2.0 and above only
Argument
Type
Default
a0
KABC.Addressee
value
(a0)
returns
(TQString)
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