diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-12 16:07:54 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-12 16:07:54 +0200 |
commit | e63b05db86c6b3a9c9967578a0b811ded5daecc3 (patch) | |
tree | 02d203a85e0fb55f08b44b525d3b2d4ed65aad59 | |
parent | a4262fce4a33053438fb94d32331aa27d44056c2 (diff) |
copyright in header only
-rw-r--r-- | qfunctionconfigurator/functionconfig.cpp | 8 | ||||
-rw-r--r-- | qfunctionconfigurator/qfunctionconfigurator.cpp | 9 | ||||
-rw-r--r-- | qfunctionconfigurator/qfunctionconfigurator.h | 7 |
3 files changed, 5 insertions, 19 deletions
diff --git a/qfunctionconfigurator/functionconfig.cpp b/qfunctionconfigurator/functionconfig.cpp index 0d37156e..a4d03ed8 100644 --- a/qfunctionconfigurator/functionconfig.cpp +++ b/qfunctionconfigurator/functionconfig.cpp @@ -1,11 +1,3 @@ -/* Copyright (c) 2012, 2013 Stanisław Halik <sthalik@misaki.pl> - - * Permission to use, copy, modify, and/or distribute this - * software for any purpose with or without fee is hereby granted, - * provided that the above copyright notice and this permission - * notice appear in all copies. - */ - #include <QMutexLocker> #include <QCoreApplication> #include <QPointF> diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp index b15f308e..94a31be5 100644 --- a/qfunctionconfigurator/qfunctionconfigurator.cpp +++ b/qfunctionconfigurator/qfunctionconfigurator.cpp @@ -1,12 +1,3 @@ -/* Copyright (c) 2011-2014 Stanislaw Halik <sthalik@misaki.pl> - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - */ - -// Adapted to FaceTrackNoIR by Wim Vriend. - #include "qfunctionconfigurator/qfunctionconfigurator.h" #include <QPainter> #include <QPaintEvent> diff --git a/qfunctionconfigurator/qfunctionconfigurator.h b/qfunctionconfigurator/qfunctionconfigurator.h index 25d8f8bc..229d9977 100644 --- a/qfunctionconfigurator/qfunctionconfigurator.h +++ b/qfunctionconfigurator/qfunctionconfigurator.h @@ -1,9 +1,12 @@ /* Copyright (c) 2011-2014 Stanislaw Halik <sthalik@misaki.pl> - * Adapted to FaceTrackNoIR by Wim Vriend. + * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. */ + +// Adapted to FaceTrackNoIR by Wim Vriend. + #pragma once #include <QWidget> @@ -44,7 +47,7 @@ private: void drawLine(QPainter *painter, const QPointF &start, const QPointF &end, QPen& pen); bool point_within_pixel(const QPointF& pt, const QPointF& pixel); protected: - virtual void resizeEvent(QResizeEvent *); + void resizeEvent(QResizeEvent *) override; private: void update_range(); |