forked from qt-creator/qt-creator
Doc: move imageviewer docs from headers to cpp files
Use standard wording for function docs. Use valid QDoc commands (\a instead of \param, for example). Change-Id: I556fdbf686f2f54138617d6784c650a1d973513c Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -187,6 +187,12 @@ void ImageViewer::scaleFactorUpdate(qreal factor)
|
||||
d->ui_toolbar.labelInfo->setText(info);
|
||||
}
|
||||
|
||||
/*!
|
||||
Tries to change the \a button icon to the icon specified by \a name
|
||||
from the current theme. Returns \c true if icon is updated, \c false
|
||||
otherwise.
|
||||
*/
|
||||
|
||||
bool ImageViewer::updateButtonIconByTheme(QAbstractButton *button, const QString &name)
|
||||
{
|
||||
QTC_ASSERT(button, return false);
|
||||
|
||||
Reference in New Issue
Block a user