X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Ftracegroup.hpp;h=b00d5bf5a06faf3ed131ecc2805f3ce13ee07736;hb=303eec78f3c499cd30fc88b282aa1f336e82a806;hp=6407f1b2fa72f77056f635b9864275ffeae9ec0c;hpb=af503b104d890a357c736c678bb00296d889c090;p=pulseview.git
diff --git a/pv/view/tracegroup.hpp b/pv/view/tracegroup.hpp
index 6407f1b..b00d5bf 100644
--- a/pv/view/tracegroup.hpp
+++ b/pv/view/tracegroup.hpp
@@ -14,18 +14,20 @@
* 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_VIEW_TRACEGROUP_HPP
-#define PULSEVIEW_PV_VIEW_TRACEGROUP_HPP
+#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_TRACEGROUP_HPP
+#define PULSEVIEW_PV_VIEWS_TRACEVIEW_TRACEGROUP_HPP
#include "tracetreeitem.hpp"
#include "tracetreeitemowner.hpp"
+using std::pair;
+
namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
class TraceGroup : public TraceTreeItem, public TraceTreeItemOwner
{
@@ -61,18 +63,18 @@ public:
/**
* Returns the view of the owner.
*/
- virtual pv::view::View* view();
+ virtual View* view();
/**
* Returns the view of the owner.
*/
- virtual const pv::view::View* view() const;
+ virtual const View* view() const;
/**
* Computes the vertical extents of the contents of this row item.
* @return A pair containing the minimum and maximum y-values.
*/
- std::pair v_extents() const;
+ pair v_extents() const;
/**
* Paints the signal label.
@@ -127,7 +129,8 @@ private Q_SLOTS:
void on_ungroup();
};
-} // view
-} // pv
+} // namespace TraceView
+} // namespace views
+} // namespace pv
-#endif // PULSEVIEW_PV_VIEW_TRACEGROUP_HPP
+#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_TRACEGROUP_HPP