X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fviewitem.hpp;h=978cb91cfa36da8b33a22d0a156e8a3f54ff1b7e;hb=60938e0430a0d08792ba53b86ca94153baaed74d;hp=a4eb6aef30423a79beefa6fa616357cdb8f3a483;hpb=0c2389230c90d8bf34b601c625bcf655b24e8f52;p=pulseview.git diff --git a/pv/view/viewitem.hpp b/pv/view/viewitem.hpp index a4eb6ae..978cb91 100644 --- a/pv/view/viewitem.hpp +++ b/pv/view/viewitem.hpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef PULSEVIEW_PV_VIEWITEM_HPP @@ -37,7 +36,8 @@ namespace widgets { class Popup; } -namespace view { +namespace views { +namespace TraceView { class ViewItemOwner; @@ -129,21 +129,21 @@ public: * @param p the QPainter to paint into. * @param pp the painting parameters object to paint with. */ - virtual void paint_back(QPainter &p, const ViewItemPaintParams &pp); + virtual void paint_back(QPainter &p, ViewItemPaintParams &pp); /** * Paints the mid-layer of the item with a QPainter * @param p the QPainter to paint into. * @param pp the painting parameters object to paint with. */ - virtual void paint_mid(QPainter &p, const ViewItemPaintParams &pp); + virtual void paint_mid(QPainter &p, ViewItemPaintParams &pp); /** * Paints the foreground layer of the item with a QPainter * @param p the QPainter to paint into. * @param pp the painting parameters object to paint with. */ - virtual void paint_fore(QPainter &p, const ViewItemPaintParams &pp); + virtual void paint_fore(QPainter &p, ViewItemPaintParams &pp); public: /** @@ -172,7 +172,8 @@ private: bool selected_; }; -} // namespace view +} // namespace TraceView +} // namespace views } // namespace pv #endif // PULSEVIEW_PV_VIEWITEM_HPP