pretty important textbrowser functions, le's export them
svn path=/trunk/KDE/kdelibs/; revision=971727
This commit is contained in:
parent
9a2967bd81
commit
80621aa1a7
@ -109,6 +109,16 @@ QString TextBrowser::text() const
|
||||
return static_cast<KTextBrowser*>(widget())->toHtml();
|
||||
}
|
||||
|
||||
void TextBrowser::setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy policy)
|
||||
{
|
||||
d->native->setHorizontalScrollBarPolicy(policy);
|
||||
}
|
||||
|
||||
void TextBrowser::setVerticalScrollBarPolicy(Qt::ScrollBarPolicy policy)
|
||||
{
|
||||
d->native->setVerticalScrollBarPolicy(policy);
|
||||
}
|
||||
|
||||
void TextBrowser::setStyleSheet(const QString &stylesheet)
|
||||
{
|
||||
widget()->setStyleSheet(stylesheet);
|
||||
|
@ -64,6 +64,16 @@ public:
|
||||
*/
|
||||
QString text() const;
|
||||
|
||||
/**
|
||||
* Sets the policy used to show/hide the horizontal scrollbar
|
||||
*/
|
||||
void setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy policy);
|
||||
|
||||
/**
|
||||
* Sets the policy used to show/hide the vertical scrollbar
|
||||
*/
|
||||
void setVerticalScrollBarPolicy(Qt::ScrollBarPolicy policy);
|
||||
|
||||
/**
|
||||
* Sets the stylesheet used to control the visual display of this TextBrowser
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user