diff --git a/.svnignore b/.svnignore deleted file mode 100644 index a9cdbbe03..000000000 --- a/.svnignore +++ /dev/null @@ -1,6 +0,0 @@ -Makefile.in -*.moc -.libs -embedded_resources.h -.deps -Makefile diff --git a/include/TransformableAutoModel.h b/include/TransformableAutoModel.h deleted file mode 100644 index 9aadea0d7..000000000 --- a/include/TransformableAutoModel.h +++ /dev/null @@ -1,91 +0,0 @@ -/* - * TransformableAutoModel.h - template transformableAutoModel - * - * Copyright (c) 2008 Tobias Doerffel - * - * This file is part of LMMS - http://lmms.io - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program (see COPYING); if not, write to the - * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301 USA. - * - */ - - -#ifndef TRANSFORMABLE_AUTO_MODEL_H -#define TRANSFORMABLE_AUTO_MODEL_H - -#include "AutomatableModel.h" -//#include "automatable_model_templates.h" - - -template -struct AutoModelTransformer -{ - inline virtual T transform( const T & _val ) const - { - return( _val ); - } -} ; - - -template -class TransformableAutoModel : public AutomatableModel -{ -public: - TransformableAutoModel( const AutoModelTransformer * _transformer, - const T _val = 0, - const T _min = 0, - const T _max = 0, - const T _step = defaultRelStep(), - Model * _parent = NULL, - bool _default_constructed = false ) : - AutomatableModel( _val, _min, _max, _step, _parent, - _default_constructed ), - m_transformer( _transformer ) - { - } - - inline virtual ~TransformableAutoModel() - { - } - - inline virtual void setValue( const T _value ) - { - autoModel::setValue( _value ); - if( m_transformer != NULL ) - { - m_transformedValue = m_transformer->transform( - autoModel::value() ); - } - else - { - m_transformedValue = autoModel::value(); - } - } - - inline virtual T value() const - { - return( m_transformedValue ); - } - -private: - T m_transformedValue; - const AutoModelTransformer * m_transformer; - -} ; - - -#endif - diff --git a/qt.cfg b/qt.cfg deleted file mode 100644 index d01ae5c55..000000000 --- a/qt.cfg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - READ - READ - WRITE - NOTIFY - - - - - - connect - - - - - - invokeMethod - - - - - true - - - true - - - - -