Console: rename PascalCase named methods to camelCase
This commit is contained in:
@@ -175,14 +175,14 @@ QColor QGIPrimPath::getSelectColor()
|
||||
|
||||
void QGIPrimPath::setWidth(double w)
|
||||
{
|
||||
// Base::Console().Message("QGIPP::setWidth(%.3f)\n", w);
|
||||
// Base::Console().message("QGIPP::setWidth(%.3f)\n", w);
|
||||
m_pen.setWidthF(w);
|
||||
}
|
||||
|
||||
void QGIPrimPath::setStyle(Qt::PenStyle s)
|
||||
{
|
||||
// TODO: edge lines for faces are drawn with setStyle(Qt::NoPen) and trigger this message.
|
||||
// Base::Console().Warning("QGIPP::setStyle(Qt: %d) is deprecated. Use setLinePen instead\n", s);
|
||||
// Base::Console().warning("QGIPP::setStyle(Qt: %d) is deprecated. Use setLinePen instead\n", s);
|
||||
m_styleNormal = s;
|
||||
m_pen.setStyle(s);
|
||||
}
|
||||
@@ -190,7 +190,7 @@ void QGIPrimPath::setStyle(Qt::PenStyle s)
|
||||
void QGIPrimPath::setStyle(int s)
|
||||
{
|
||||
// TODO: edge lines for faces are drawn with setStyle(Qt::NoPen) and trigger this message.
|
||||
// Base::Console().Warning("QGIPP::setStyle(int: %d) is deprecated. Use setLinePen instead\n", s);
|
||||
// Base::Console().warning("QGIPP::setStyle(int: %d) is deprecated. Use setLinePen instead\n", s);
|
||||
m_styleNormal = static_cast<Qt::PenStyle>(s);
|
||||
m_pen.setStyle(m_styleNormal);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user