X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=inline;f=pv%2Fview%2Fflag.cpp;h=95cee716de453e6e288a4b1a2b1cce807b52ee88;hb=53bb2e1de75f5cca9244efc83c4e77a222e322f4;hp=380ef3273091b1f4d8d29f1bc68a5dd296e581da;hpb=48257a69ffad409c9893605d99cd6e15161dff4f;p=pulseview.git
diff --git a/pv/view/flag.cpp b/pv/view/flag.cpp
index 380ef32..95cee71 100644
--- a/pv/view/flag.cpp
+++ b/pv/view/flag.cpp
@@ -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 .
*/
#include "timemarker.hpp"
@@ -33,7 +32,8 @@
using std::shared_ptr;
namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
const QColor Flag::FillColour(0x73, 0xD2, 0x16);
@@ -45,7 +45,7 @@ Flag::Flag(View &view, const pv::util::Timestamp& time, const QString &text) :
Flag::Flag(const Flag &flag) :
TimeMarker(flag.view_, FillColour, flag.time_),
- std::enable_shared_from_this(flag)
+ std::enable_shared_from_this(flag)
{
}
@@ -108,15 +108,6 @@ void Flag::on_text_changed(const QString &text)
view_.time_item_appearance_changed(true, false);
}
-void Flag::drag_by(const QPoint &delta)
-{
- // Treat trigger markers as immovable
- if (text_ == "T")
- return;
-
- TimeMarker::drag_by(delta);
-}
-
-
-} // namespace view
+} // namespace TraceView
+} // namespace views
} // namespace pv