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
+4
View File
@@ -25,6 +25,8 @@
#include <QStyleOption>
#include <QVariant>
OLIVE_NAMESPACE_ENTER
PanelWidget::PanelWidget(QWidget *parent) :
QDockWidget(parent),
border_visible_(false)
@@ -113,3 +115,5 @@ void PanelWidget::changeEvent(QEvent *e)
void PanelWidget::Retranslate()
{
}
OLIVE_NAMESPACE_EXIT
+6
View File
@@ -24,6 +24,10 @@
#include <QDockWidget>
#include <QEvent>
#include "common/define.h"
OLIVE_NAMESPACE_ENTER
/**
* @brief A widget that is always dockable within the MainWindow.
*/
@@ -204,4 +208,6 @@ private:
bool border_visible_;
};
OLIVE_NAMESPACE_EXIT
#endif // PANEL_WIDGET_H