license: remove FSF postal address from boiler plate license text
[pulseview.git] / pv / view / flag.hpp
index af4c7b9d15012ee89e691dfee9eeea13c1c20c90..092a4b5a05966e7ec30126cd278fac9e99617d14 100644 (file)
  * 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 <http://www.gnu.org/licenses/>.
  */
 
-#ifndef PULSEVIEW_PV_VIEW_FLAG_HPP
-#define PULSEVIEW_PV_VIEW_FLAG_HPP
+#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_FLAG_HPP
+#define PULSEVIEW_PV_VIEWS_TRACEVIEW_FLAG_HPP
 
 #include <memory>
 
 class QMenu;
 
 namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
 
 class Flag : public TimeMarker,
-       public std::enable_shared_from_this<pv::view::Flag>
+       public std::enable_shared_from_this<Flag>
 {
        Q_OBJECT
 
@@ -68,8 +68,6 @@ public:
 
        void delete_pressed();
 
-       void drag_by(const QPoint &delta);
-
 private Q_SLOTS:
        void on_delete();
 
@@ -79,7 +77,8 @@ private:
        QString text_;
 };
 
-} // namespace view
+} // namespace TraceView
+} // namespace views
 } // namespace pv
 
-#endif // PULSEVIEW_PV_VIEW_FLAG_HPP
+#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_FLAG_HPP