diff options
| author | Peter Penz <[email protected]> | 2008-11-20 19:57:56 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-11-20 19:57:56 +0000 |
| commit | ab9fed96187724680f19e706168b8f22d7b46609 (patch) | |
| tree | 92e20d835da782c01552fb0d4e1a320c31d8b664 /src/infosidebarpage.h | |
| parent | b4bb979702cb588005d5a2c3beae0873e0d29b55 (diff) | |
fixed wrapping of the name label (QLabel only supports wrapping on words)
CCBUG: 168505
svn path=/trunk/KDE/kdebase/apps/; revision=886979
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(); |
