[Companion] Copyright added to all files

This commit is contained in:
Bertrand Songis
2016-11-23 16:40:47 +01:00
parent 5f9737fc70
commit b0f5b646af
183 changed files with 3525 additions and 507 deletions
+23 -3
View File
@@ -1,5 +1,25 @@
#ifndef AUTOCHECKBOX_H_
#define AUTOCHECKBOX_H_
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
#ifndef _AUTOCHECKBOX_H_
#define _AUTOCHECKBOX_H_
#include <QCheckBox>
#include "modeledit/modeledit.h"
@@ -51,4 +71,4 @@ class AutoCheckBox: public QCheckBox
bool lock;
};
#endif /* AUTOCHECKBOX_H_ */
#endif // _AUTOCHECKBOX_H_
+23 -3
View File
@@ -1,5 +1,25 @@
#ifndef AUTOCOMBOBOX_H_
#define AUTOCOMBOBOX_H_
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
#ifndef _AUTOCOMBOBOX_H_
#define _AUTOCOMBOBOX_H_
#include <QComboBox>
#include "genericpanel.h"
@@ -96,4 +116,4 @@ class AutoComboBox: public QComboBox
bool lock;
};
#endif /* AUTOCOMBOBOX_H_ */
#endif // _AUTOCOMBOBOX_H_
+23 -3
View File
@@ -1,5 +1,25 @@
#ifndef AUTODOUBLESPINBOX_H_
#define AUTODOUBLESPINBOX_H_
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
#ifndef _AUTODOUBLESPINBOX_H_
#define _AUTODOUBLESPINBOX_H_
#include <QDoubleSpinBox>
#include "modeledit/modeledit.h"
@@ -78,4 +98,4 @@ class AutoDoubleSpinBox: public QDoubleSpinBox
bool lock;
};
#endif /* AUTODOUBLESPINBOX_H_ */
#endif // _AUTODOUBLESPINBOX_H_
+23 -3
View File
@@ -1,5 +1,25 @@
#ifndef AUTOHEXSPINBOX_H_
#define AUTOHEXSPINBOX_H_
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
#ifndef _AUTOHEXSPINBOX_H_
#define _AUTOHEXSPINBOX_H_
#include "hexspinbox.h"
#include "modeledit/modeledit.h"
@@ -49,4 +69,4 @@ class AutoHexSpinBox: public HexSpinBox
bool lock;
};
#endif /* AUTOHEXSPINBOX_H_ */
#endif // _AUTOHEXSPINBOX_H_
+23 -3
View File
@@ -1,5 +1,25 @@
#ifndef AUTOLINEEDIT_H_
#define AUTOLINEEDIT_H_
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
#ifndef _AUTOLINEEDIT_H_
#define _AUTOLINEEDIT_H_
#include <QLineEdit>
#include <QRegExpValidator>
@@ -57,4 +77,4 @@ class AutoLineEdit: public QLineEdit
bool lock;
};
#endif /* AUTOLINEEDIT_H_ */
#endif // _AUTOLINEEDIT_H_
+20
View File
@@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
#include "genericpanel.h"
#include <QComboBox>
#include <QEvent>
+23 -3
View File
@@ -1,5 +1,25 @@
#ifndef GENERICPANEL_H_
#define GENERICPANEL_H_
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
#ifndef _GENERICPANEL_H_
#define _GENERICPANEL_H_
#include <QWidget>
@@ -43,4 +63,4 @@ class GenericPanel : public QWidget
void disableMouseScrolling();
};
#endif
#endif // _GENERICPANEL_H_
+20
View File
@@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
#include "hexspinbox.h"
HexSpinBox::HexSpinBox(QWidget *parent):
+23 -3
View File
@@ -1,5 +1,25 @@
#ifndef HEXSPINBOX_H_
#define HEXSPINBOX_H_
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
#ifndef _HEXSPINBOX_H_
#define _HEXSPINBOX_H_
#include <QSpinBox>
@@ -21,4 +41,4 @@ class HexSpinBox : public QSpinBox
QRegExpValidator *validator;
};
#endif /* HEXSPINBOX_H_ */
#endif // _HEXSPINBOX_H_
@@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
#include "verticalscrollarea.h"
#include "genericpanel.h"
#include <QEvent>
+23 -3
View File
@@ -1,5 +1,25 @@
#ifndef VERTICALSCROLLAREA_H_
#define VERTICALSCROLLAREA_H_
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
#ifndef _VERTICALSCROLLAREA_H_
#define _VERTICALSCROLLAREA_H_
#include <QScrollArea>
@@ -17,5 +37,5 @@ class VerticalScrollArea : public QScrollArea
GenericPanel * panel;
};
#endif
#endif // _VERTICALSCROLLAREA_H_