erf, API addition that has been sitting on disk here for weeks :/
svn path=/trunk/KDE/kdelibs/; revision=1069239
This commit is contained in:
parent
c2cda2375a
commit
e9cd616bca
@ -159,6 +159,11 @@ KTextBrowser *TextBrowser::nativeWidget() const
|
||||
return static_cast<KTextBrowser*>(widget());
|
||||
}
|
||||
|
||||
void TextBrowser::append(const QString &text)
|
||||
{
|
||||
return nativeWidget()->append(text);
|
||||
}
|
||||
|
||||
void TextBrowser::dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data)
|
||||
{
|
||||
Q_UNUSED(sourceName)
|
||||
|
@ -92,6 +92,12 @@ public:
|
||||
KTextBrowser *nativeWidget() const;
|
||||
|
||||
public Q_SLOTS:
|
||||
/**
|
||||
* Allows appending text to the text browser
|
||||
* @since 4.4
|
||||
*/
|
||||
void append(const QString &text);
|
||||
|
||||
void dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data);
|
||||
|
||||
Q_SIGNALS:
|
||||
|
@ -143,6 +143,11 @@ KTextEdit *TextEdit::nativeWidget() const
|
||||
return static_cast<KTextEdit*>(widget());
|
||||
}
|
||||
|
||||
void TextEdit::append(const QString &text)
|
||||
{
|
||||
return nativeWidget()->append(text);
|
||||
}
|
||||
|
||||
void TextEdit::dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data)
|
||||
{
|
||||
Q_UNUSED(sourceName)
|
||||
|
@ -101,6 +101,12 @@ public:
|
||||
KTextEdit *nativeWidget() const;
|
||||
|
||||
public Q_SLOTS:
|
||||
/**
|
||||
* Allows appending text to the text browser
|
||||
* @since 4.4
|
||||
*/
|
||||
void append(const QString &text);
|
||||
|
||||
void dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data);
|
||||
|
||||
Q_SIGNALS:
|
||||
|
Loading…
x
Reference in New Issue
Block a user