PyKDE - Python Bindings for KDE
class KCompletion
Table of contents
Modules
tdecore Classes
All Classes
Module
tdecore
Class
KCompletion
Inherits
QObject
enums
CompOrder
= {Sorted, Insertion, Weighted }
methods
KCompletion
()
returns
a KCompletion instance
addItem
(item)
returns
nothing
Argument
Type
Default
item
QString
addItem
(item, weight)
returns
nothing
Argument
Type
Default
item
QString
weight
uint
allMatches
()
returns
(QStringList)
allMatches
(string)
returns
(QStringList)
Argument
Type
Default
string
QString
allWeightedMatches
()
Not Implemented
allWeightedMatches
(string)
Not Implemented
clear
()
returns
nothing
completionMode
()
returns
(KGlobalSettings.Completion)
disableSounds
()
returns
nothing
enableSounds
()
returns
nothing
hasMultipleMatches
()
returns
(bool)
ignoreCase
()
returns
(bool)
insertItems
(items)
returns
nothing
Argument
Type
Default
items
QStringList
isEmpty
()
returns
(bool)
In versions KDE 3.3.0 and above only
isSoundsEnabled
()
returns
(bool)
items
()
returns
(QStringList)
lastMatch
()
returns
(QString)
makeCompletion
(string)
returns
(QString)
Argument
Type
Default
string
QString
match
(item)
returns
nothing
Argument
Type
Default
item
QString
matches
(matchlist)
returns
nothing
Argument
Type
Default
matchlist
QStringList
multipleMatches
()
returns
nothing
nextMatch
()
returns
(QString)
order
()
returns
(CompOrder)
postProcessMatch
(match)
returns
nothing
Argument
Type
Default
match
QString
postProcessMatches
(matches)
returns
nothing
Argument
Type
Default
matches
QStringList
postProcessMatches
(matches)
Not Implemented
previousMatch
()
returns
(QString)
removeItem
(item)
returns
nothing
Argument
Type
Default
item
QString
setCompletionMode
(mode)
returns
nothing
Argument
Type
Default
mode
KGlobalSettings.Completion
setEnableSounds
(enable)
returns
nothing
Argument
Type
Default
enable
bool
setIgnoreCase
(ignoreCase)
returns
nothing
Argument
Type
Default
ignoreCase
bool
setItems
(list)
returns
nothing
Argument
Type
Default
list
QStringList
setOrder
(order)
returns
nothing
Argument
Type
Default
order
KCompletion.CompOrder
slotMakeCompletion
(string)
returns
nothing
Argument
Type
Default
string
QString
slotNextMatch
()
returns
nothing
slotPreviousMatch
()
returns
nothing
substringCompletion
(string)
returns
(QStringList)
Argument
Type
Default
string
QString