Add SPDX header to desktop widgets

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-04-27 20:26:05 +02:00
parent 5372f12d8b
commit 9021a44ccc
99 changed files with 103 additions and 4 deletions

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/about.h"
#include "core/version.h"
#include <QDesktopServices>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef ABOUT_H
#define ABOUT_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <QShortcut>
#include <QDebug>
#include <QMessageBox>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef BTDEVICESELECTIONDIALOG_H
#define BTDEVICESELECTIONDIALOG_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/configuredivecomputerdialog.h"
#include "core/helpers.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef CONFIGUREDIVECOMPUTERDIALOG_H
#define CONFIGUREDIVECOMPUTERDIALOG_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/divecomputermanagementdialog.h"
#include "desktop-widgets/mainwindow.h"
#include "core/helpers.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef DIVECOMPUTERMANAGEMENTDIALOG_H
#define DIVECOMPUTERMANAGEMENTDIALOG_H
#include <QDialog>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* divelistview.cpp
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* divelistview.h
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <QFileDialog>
#include <QShortcut>
#include <QSettings>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef DIVELOGEXPORTDIALOG_H
#define DIVELOGEXPORTDIALOG_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/divelogimportdialog.h"
#include "desktop-widgets/mainwindow.h"
#include "core/color.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef DIVELOGIMPORTDIALOG_H
#define DIVELOGIMPORTDIALOG_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/divepicturewidget.h"
#include "qt-models/divepicturemodel.h"
#include "core/metrics.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef DIVEPICTUREWIDGET_H
#define DIVEPICTUREWIDGET_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/diveplanner.h"
#include "desktop-widgets/modeldelegates.h"
#include "desktop-widgets/mainwindow.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef DIVEPLANNER_H
#define DIVEPLANNER_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/diveshareexportdialog.h"
#include "ui_diveshareexportdialog.h"
#include "desktop-widgets/mainwindow.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef DIVESHAREEXPORTDIALOG_H
#define DIVESHAREEXPORTDIALOG_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/downloadfromdivecomputer.h"
#include "core/helpers.h"
#include "desktop-widgets/mainwindow.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef DOWNLOADFROMDIVECOMPUTER_H
#define DOWNLOADFROMDIVECOMPUTER_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/globe.h"
#ifndef NO_MARBLE
#include "desktop-widgets/mainwindow.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef GLOBE_H
#define GLOBE_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2013 Maximilian Güntner <maximilian.guentner@gmail.com>
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2013 Maximilian Güntner <maximilian.guentner@gmail.com>
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: LGPL-2.1+
/* This file is part of the KDE libraries
*
* Copyright (c) 2011 Aurélien Gâteau <agateau@kde.org>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: LGPL-2.1+
/* This file is part of the KDE libraries
*
* Copyright (c) 2011 Aurélien Gâteau <agateau@kde.org>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/locationinformation.h"
#include "core/dive.h"
#include "desktop-widgets/mainwindow.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef LOCATIONINFORMATION_H
#define LOCATIONINFORMATION_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* mainwindow.cpp
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* mainwindow.h
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: LGPL-2.1+
//
// This file is part of the Marble Virtual Globe.
//

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/modeldelegates.h"
#include "core/dive.h"
#include "core/gettextfromc.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef MODELDELEGATES_H
#define MODELDELEGATES_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "notificationwidget.h"
NotificationWidget::NotificationWidget(QWidget *parent) : KMessageWidget(parent)

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef NOTIFICATIONWIDGET_H
#define NOTIFICATIONWIDGET_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "facebook_integration.h"
#include "facebookconnectwidget.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef FACEBOOK_INTEGRATION_H
#define FACEBOOK_INTEGRATION_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "facebookconnectwidget.h"
#include <QJsonDocument>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef FACEBOOKCONNECTWIDGET_H
#define FACEBOOKCONNECTWIDGET_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "abstractpreferenceswidget.h"
AbstractPreferencesWidget::AbstractPreferencesWidget(const QString& name, const QIcon& icon, float positionHeight)

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef ABSTRACTPREFERENCESWIDGET_H
#define ABSTRACTPREFERENCESWIDGET_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "preferences_defaults.h"
#include "ui_preferences_defaults.h"
#include "core/dive.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_DEFAULTS_H
#define PREFERENCES_DEFAULTS_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "preferences_georeference.h"
#include "ui_prefs_georeference.h"
#include "core/prefs-macros.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_GEOREFERENCE_H
#define PREFERENCES_GEOREFERENCE_H
@ -18,4 +19,4 @@ private:
Ui::PreferencesGeoreference *ui;
};
#endif
#endif

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "preferences_graph.h"
#include "ui_preferences_graph.h"
#include "core/prefs-macros.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_GRAPH_H
#define PREFERENCES_GRAPH_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "preferences_language.h"
#include "ui_prefs_language.h"
#include "core/helpers.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_LANGUAGE_H
#define PREFERENCES_LANGUAGE_H
@ -18,4 +19,4 @@ private:
Ui::PreferencesLanguage *ui;
};
#endif
#endif

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "preferences_network.h"
#include "ui_preferences_network.h"
#include "core/dive.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_NETWORK_H
#define PREFERENCES_NETWORK_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "preferences_units.h"
#include "ui_preferences_units.h"
#include "core/prefs-macros.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_UNITS_H
#define PREFERENCES_UNITS_H
@ -18,4 +19,4 @@ private:
Ui::PreferencesUnits *ui;
};
#endif
#endif

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "preferencesdialog.h"
#include "abstractpreferenceswidget.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_WIDGET_H
#define PREFERENCES_WIDGET_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "printdialog.h"
#include "printoptions.h"
#include "mainwindow.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef PRINTDIALOG_H
#define PRINTDIALOG_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "printer.h"
#include "templatelayout.h"
#include "core/statistics.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef PRINTER_H
#define PRINTER_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "printoptions.h"
#include "templateedit.h"
#include "core/helpers.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef PRINTOPTIONS_H
#define PRINTOPTIONS_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/simplewidgets.h"
#include "qt-models/filtermodels.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef SIMPLEWIDGETS_H
#define SIMPLEWIDGETS_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/starwidget.h"
#include "core/metrics.h"
#include <QSvgRenderer>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef STARWIDGET_H
#define STARWIDGET_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/statistics/statisticswidget.h"
#include "qt-models/yearlystatisticsmodel.h"
#include <QModelIndex>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef YEARLYSTATISTICSWIDGET_H
#define YEARLYSTATISTICSWIDGET_H
@ -20,4 +21,4 @@ private:
YearlyStatisticsModel *m_model;
};
#endif
#endif

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/subsurfacewebservices.h"
#include "core/helpers.h"
#include "core/webservice.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef SUBSURFACEWEBSERVICES_H
#define SUBSURFACEWEBSERVICES_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "TabBase.h"
TabBase::TabBase(QWidget *parent) : QWidget(parent)

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TAB_BASE_H
#define TAB_BASE_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "TabDiveExtraInfo.h"
#include "ui_TabDiveExtraInfo.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TAB_DIVE_EXTRA_INFO_H
#define TAB_DIVE_EXTRA_INFO_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "TabDiveInformation.h"
#include "ui_TabDiveInformation.h"
#include "../tagwidget.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TAB_DIVE_INFORMATION_H
#define TAB_DIVE_INFORMATION_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "TabDivePhotos.h"
#include "ui_TabDivePhotos.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TAB_DIVE_PHOTOS_H
#define TAB_DIVE_PHOTOS_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "TabDiveStatistics.h"
#include "ui_TabDiveStatistics.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TAB_DIVE_STATISTICS_H
#define TAB_DIVE_STATISTICS_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* maintab.cpp
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* maintab.h
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/tableview.h"
#include "desktop-widgets/modeldelegates.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TABLEVIEW_H
#define TABLEVIEW_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "tagwidget.h"
#include "mainwindow.h"
#include "tab-widgets/maintab.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TAGWIDGET_H
#define TAGWIDGET_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "templateedit.h"
#include "printoptions.h"
#include "printer.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TEMPLATEEDIT_H
#define TEMPLATEEDIT_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <string>
#include "templatelayout.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TEMPLATELAYOUT_H
#define TEMPLATELAYOUT_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/undocommands.h"
#include "desktop-widgets/mainwindow.h"
#include "core/divelist.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef UNDOCOMMANDS_H
#define UNDOCOMMANDS_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/updatemanager.h"
#include "core/helpers.h"
#include "core/qthelper.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef UPDATEMANAGER_H
#define UPDATEMANAGER_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <QDesktopServices>
#include <QShortcut>
#include <QFile>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef USERMANUAL_H
#define USERMANUAL_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <QShortcut>
#include <QMessageBox>
#include <QSettings>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef USERSURVEY_H
#define USERSURVEY_H