PyKDE - Python Bindings for KDE
class KABC.LDIF
Table of contents
Modules
kabc Classes
All Classes
Module
kabc
Class
KABC.LDIF
Inherits
enums
EntryType
= {Entry_None, Entry_Add, Entry_Del, Entry_Mod, Entry_Modrdn }
ModType
= {Mod_None, Mod_Add, Mod_Replace, Mod_Del }
ParseVal
= {None, NewEntry, EndEntry, Item, Control, Err, MoreData }
methods
LDIF
()
returns
a LDIF instance
In versions KDE 3.3.0 and above only
assembleLine
(fieldname, value, linelen = 0, url = 0)
returns
(TQCString)
In versions KDE 3.3.0 and above only
static
Argument
Type
Default
fieldname
TQString
value
TQByteArray
linelen
uint
0
url
bool
0
assembleLine
(fieldname, value, linelen = 0, url = 0)
returns
(TQCString)
In versions KDE 3.3.0 and above only
static
Argument
Type
Default
fieldname
TQString
value
TQCString
linelen
uint
0
url
bool
0
assembleLine
(fieldname, value, linelen = 0, url = 0)
returns
(TQCString)
In versions KDE 3.3.0 and above only
static
Argument
Type
Default
fieldname
TQString
value
TQString
linelen
uint
0
url
bool
0
attr
()
returns
(TQString)
In versions KDE 3.3.0 and above only
critical
()
returns
(bool)
In versions KDE 3.3.0 and above only
delOldRdn
()
returns
(bool)
In versions KDE 3.3.0 and above only
dn
()
returns
(TQString)
In versions KDE 3.3.0 and above only
endLDIF
()
returns
nothing
In versions KDE 3.3.0 and above only
entryType
()
returns
(KABC.LDIF.EntryType)
In versions KDE 3.3.0 and above only
isUrl
()
returns
(bool)
In versions KDE 3.3.0 and above only
lineNo
()
returns
(uint)
In versions KDE 3.3.0 and above only
modType
()
returns
(int)
In versions KDE 3.3.0 and above only
newRdn
()
returns
(TQString)
In versions KDE 3.3.0 and above only
newSuperior
()
returns
(TQString)
In versions KDE 3.3.0 and above only
nextItem
()
returns
(KABC.LDIF.ParseVal)
In versions KDE 3.3.0 and above only
oid
()
returns
(TQString)
In versions KDE 3.3.0 and above only
processLine
()
returns
(KABC.LDIF.ParseVal)
In versions KDE 3.3.0 and above only
setLDIF
(ldif)
returns
nothing
In versions KDE 3.3.0 and above only
Argument
Type
Default
ldif
TQByteArray
splitControl
(line, oid, value)
returns
(bool) critical (bool)
In versions KDE 3.3.0 and above only
static
Argument
Type
Default
line
TQCString
oid
TQString
value
TQByteArray
splitLine
(line, fieldname, value)
returns
(bool)
In versions KDE 3.3.0 and above only
static
Argument
Type
Default
line
TQCString
fieldname
TQString
value
TQByteArray
startParsing
()
returns
nothing
In versions KDE 3.3.0 and above only
val
()
returns
(TQByteArray)
In versions KDE 3.3.0 and above only