PyKDE - Python Bindings for KDE
class KStringHandler
Table of contents
Modules
kdecore Classes
All Classes
Module
kdecore
Class
KStringHandler
Inherits
methods
cEmSqueeze
(name, fontMetrics, maxlen = 30)
returns
(QString)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
name
QString
fontMetrics
QFontMetrics
maxlen
uint
30
cPixelSqueeze
(name, fontMetrics, maxPixels)
returns
(QString)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
name
QString
fontMetrics
QFontMetrics
maxPixels
uint
capwords
(text)
returns
(QString)
static
Argument
Type
Default
text
QString
capwords
(list)
returns
(QStringList)
static
Argument
Type
Default
list
QStringList
center
(text, width)
returns
(QString)
static
Argument
Type
Default
text
QString
width
uint
csqueeze
(str, maxlen = 40)
returns
(QString)
static
Argument
Type
Default
str
QString
maxlen
uint
40
from8Bit
(str)
returns
(QString)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
str
char
insword
(text, word, pos)
returns
(QString)
static
Argument
Type
Default
text
QString
word
QString
pos
uint
isUtf8
(str)
returns
(bool)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
str
char
lEmSqueeze
(name, fontMetrics, maxlen = 30)
returns
(QString)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
name
QString
fontMetrics
QFontMetrics
maxlen
uint
30
lPixelSqueeze
(name, fontMetrics, maxPixels)
returns
(QString)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
name
QString
fontMetrics
QFontMetrics
maxPixels
uint
ljust
(text, width)
returns
(QString)
static
Argument
Type
Default
text
QString
width
uint
lsqueeze
(str, maxlen = 40)
returns
(QString)
static
Argument
Type
Default
str
QString
maxlen
uint
40
matchFileName
(filename, pattern)
returns
(bool)
static
Argument
Type
Default
filename
QString
pattern
QString
matchFilename
(filename, pattern)
returns
(bool)
static
Argument
Type
Default
filename
QString
pattern
QString
obscure
(str)
returns
(QString)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
str
QString
perlSplit
(sep, s, max = 0)
Not Implemented
perlSplit
(sep, s, max = 0)
Not Implemented
perlSplit
(sep, s, max = 0)
Not Implemented
rEmSqueeze
(name, fontMetrics, maxlen = 30)
returns
(QString)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
name
QString
fontMetrics
QFontMetrics
maxlen
uint
30
rPixelSqueeze
(name, fontMetrics, maxPixels)
returns
(QString)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
name
QString
fontMetrics
QFontMetrics
maxPixels
uint
remrange
(text, range)
returns
(QString)
static
Argument
Type
Default
text
QString
range
char
remword
(text, pos)
returns
(QString)
static
Argument
Type
Default
text
QString
pos
uint
remword
(text, word)
returns
(QString)
static
Argument
Type
Default
text
QString
word
QString
reverse
(text)
returns
(QString)
static
Argument
Type
Default
text
QString
reverse
(list)
returns
(QStringList)
static
Argument
Type
Default
list
QStringList
rjust
(text, width)
returns
(QString)
static
Argument
Type
Default
text
QString
width
uint
rsqueeze
(str, maxlen = 40)
returns
(QString)
static
Argument
Type
Default
str
QString
maxlen
uint
40
setword
(text, word, pos)
returns
(QString)
static
Argument
Type
Default
text
QString
word
QString
pos
uint
tagURLs
(text)
returns
(QString)
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
text
QString
word
(text, pos)
returns
(QString)
static
Argument
Type
Default
text
QString
pos
uint
word
(text, range)
returns
(QString)
static
Argument
Type
Default
text
QString
range
char