I want to include some code from qwt example source code into my GPLv3 licensed open source application. Specifically these files from the "realtime" example:

scrollbar.cpp
scrollbar.h
scrollzoomer.cpp
scrollzoomer.h

These files do not have license headers. I assume they are under the Qwt license as other source files. I was wondering if I can re-license them to GPL to keep licensing clear in my application. I'm thinking about adding this header to the files:

Qt Code:
  1. /*
  2.   Copyright © 2014 Uwe Rathmann
  3.  
  4.   Note: This file is re-licensed from Qwt License to GPL. You can get the
  5.   original file from Qwt project (http://qwt.sourceforge.net/)
  6.  
  7.   This file is part of serialplot.
  8.  
  9.   serialplot is free software: you can redistribute it and/or modify
  10.   it under the terms of the GNU General Public License as published by
  11.   the Free Software Foundation, either version 3 of the License, or
  12.   (at your option) any later version.
  13.  
  14.   serialplot is distributed in the hope that it will be useful,
  15.   but WITHOUT ANY WARRANTY; without even the implied warranty of
  16.   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17.   GNU General Public License for more details.
  18.  
  19.   You should have received a copy of the GNU General Public License
  20.   along with serialplot. If not, see <http://www.gnu.org/licenses/>.
  21. */
To copy to clipboard, switch view to plain text mode 

Would that be okay?