erf, API addition that has been sitting on disk here for weeks :/

svn path=/trunk/KDE/kdelibs/; revision=1069239
This commit is contained in:
Aaron J. Seigo 2010-01-03 01:49:52 +00:00
parent c2cda2375a
commit e9cd616bca
4 changed files with 22 additions and 0 deletions

View File

@ -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)

View File

@ -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:

View File

@ -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)

View File

@ -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: