diff options
Diffstat (limited to 'src/infosidebarpage.h')
| -rw-r--r-- | src/infosidebarpage.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/infosidebarpage.h b/src/infosidebarpage.h index ff7e1d0d7..4ff637fd5 100644 --- a/src/infosidebarpage.h +++ b/src/infosidebarpage.h @@ -164,6 +164,14 @@ private: * Returns true, if \a url is equal to the shown URL m_shownUrl. */ bool isEqualToShownUrl(const KUrl& url) const; + + /** + * Sets the text for the label \a m_nameLabel and assures that the + * text is split in a way that it can be wrapped within the + * label width (QLabel::setWordWrap() does not work if the + * text represents one extremely long word). + */ + void setNameLabelText(const QString& text); void init(); |
