various: encapsulate all code in the olive namespace to avoid name collisions

Large-scale code cleanup. Also adds a license to the top of all files that were
missing it.
This commit is contained in:
itsmattkc
2020-04-06 15:29:53 +10:00
parent 82b6ddccc8
commit 1aa87cbda6
519 changed files with 7939 additions and 158 deletions
@@ -22,6 +22,8 @@
#include <QKeyEvent>
OLIVE_NAMESPACE_ENTER
FocusableLineEdit::FocusableLineEdit(QWidget *parent) :
QLineEdit(parent)
{
@@ -49,3 +51,5 @@ void FocusableLineEdit::focusOutEvent(QFocusEvent *e)
emit Confirmed();
}
OLIVE_NAMESPACE_EXIT
@@ -23,6 +23,10 @@
#include <QLineEdit>
#include "common/define.h"
OLIVE_NAMESPACE_ENTER
class FocusableLineEdit : public QLineEdit
{
Q_OBJECT
@@ -42,4 +46,6 @@ protected:
};
OLIVE_NAMESPACE_EXIT
#endif // SLIDERLINEEDIT_H