PyKDE - Python Bindings for KDE
class KCompletion
Table of contents
Modules
tdecore Classes
All Classes
Module
tdecore
Class
KCompletion
Inherits
TQObject
enums
CompOrder
= {Sorted, Insertion, Weighted }
methods
KCompletion
()
returns
a KCompletion instance
addItem
(item)
returns
nothing
Argument
Type
Default
item
TQString
addItem
(item, weight)
returns
nothing
Argument
Type
Default
item
TQString
weight
uint
allMatches
()
returns
(TQStringList)
allMatches
(string)
returns
(TQStringList)
Argument
Type
Default
string
TQString
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
TQStringList
isEmpty
()
returns
(bool)
In versions KDE 3.3.0 and above only
isSoundsEnabled
()
returns
(bool)
items
()
returns
(TQStringList)
lastMatch
()
returns
(TQString)
makeCompletion
(string)
returns
(TQString)
Argument
Type
Default
string
TQString
match
(item)
returns
nothing
Argument
Type
Default
item
TQString
matches
(matchlist)
returns
nothing
Argument
Type
Default
matchlist
TQStringList
multipleMatches
()
returns
nothing
nextMatch
()
returns
(TQString)
order
()
returns
(CompOrder)
postProcessMatch
(match)
returns
nothing
Argument
Type
Default
match
TQString
postProcessMatches
(matches)
returns
nothing
Argument
Type
Default
matches
TQStringList
postProcessMatches
(matches)
Not Implemented
previousMatch
()
returns
(TQString)
removeItem
(item)
returns
nothing
Argument
Type
Default
item
TQString
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
TQStringList
setOrder
(order)
returns
nothing
Argument
Type
Default
order
KCompletion.CompOrder
slotMakeCompletion
(string)
returns
nothing
Argument
Type
Default
string
TQString
slotNextMatch
()
returns
nothing
slotPreviousMatch
()
returns
nothing
substringCompletion
(string)
returns
(TQStringList)
Argument
Type
Default
string
TQString