Fix guards

This commit is contained in:
tobtoht 2021-06-27 14:51:15 +02:00
parent 482ad9cd7e
commit 8dd7164154
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C
14 changed files with 44 additions and 43 deletions

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef CalcWindow_H
#define CalcWindow_H
#ifndef FEATHER_CALCWINDOW_H
#define FEATHER_CALCWINDOW_H
#include <QMainWindow>
@ -28,4 +28,4 @@ private:
QScopedPointer<Ui::CalcWindow> ui;
};
#endif // CalcWindow_H
#endif // FEATHER_CALCWINDOW_H

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef COMP_H
#define COMP_H
#ifndef FEATHER_COMPONENTS_H
#define FEATHER_COMPONENTS_H
#include <QPushButton>
#include <QHBoxLayout>
@ -120,4 +120,5 @@ protected:
void mousePressEvent(QMouseEvent* event) override;
};
#endif
#endif //FEATHER_COMPONENTS_H

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef CONTACTSWIDGET_H
#define CONTACTSWIDGET_H
#ifndef FEATHER_CONTACTSWIDGET_H
#define FEATHER_CONTACTSWIDGET_H
#include "model/AddressBookModel.h"
#include "model/AddressBookProxyModel.h"
@ -53,4 +53,4 @@ private:
AddressBookProxyModel * m_proxyModel;
};
#endif // CONTACTSWIDGET_H
#endif // FEATHER_CONTACTSWIDGET_H

View file

@ -1,12 +1,12 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef ABOUT_H
#define ABOUT_H
#ifndef FEATHER_ABOUT_H
#define FEATHER_ABOUT_H
#include <QAbstractButton>
#include <QDialog>
#include <QStringListModel>
#include <QAbstractButton>
namespace Ui {
class AboutDialog;
@ -25,4 +25,4 @@ private:
QStringListModel *m_model;
};
#endif // ABOUT_H
#endif // FEATHER_ABOUT_H

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#ifndef FEATHER_MAINWINDOW_H
#define FEATHER_MAINWINDOW_H
#include <QMainWindow>
#include <QSystemTrayIcon>
@ -257,4 +257,4 @@ private:
bool cleanedUp = false;
};
#endif // MAINWINDOW_H
#endif // FEATHER_MAINWINDOW_H

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef SENDWIDGET_H
#define SENDWIDGET_H
#ifndef FEATHER_SENDWIDGET_H
#define FEATHER_SENDWIDGET_H
#include <QWidget>
#include "appcontext.h"
@ -54,4 +54,4 @@ private:
double conversionAmount();
};
#endif // SENDWIDGET_H
#endif // FEATHER_SENDWIDGET_H

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef SETTINGS_H
#define SETTINGS_H
#ifndef FEATHER_SETTINGS_H
#define FEATHER_SETTINGS_H
#include <QDialog>
#include <QSettings>
@ -58,4 +58,4 @@ private:
QStringList m_timeFormats{"hh:mm", "hh:mm ap"};
};
#endif // SETTINGS_H
#endif // FEATHER_SETTINGS_H

View file

@ -3,8 +3,8 @@
// Copyright (C) 2011 Felix Geyer <debfx@fobos.de>
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_SETTINGS_H
#define FEATHER_SETTINGS_H
#ifndef FEATHER_CONFIG_H
#define FEATHER_CONFIG_H
#include <QObject>
#include <QSettings>
@ -128,4 +128,4 @@ inline Config* config()
return Config::instance();
}
#endif //FEATHER_SETTINGS_H
#endif //FEATHER_CONFIG_H

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef ECHOCLIENT_H
#define ECHOCLIENT_H
#ifndef FEATHER_WSCLIENT_H
#define FEATHER_WSCLIENT_H
#include <QObject>
#include <QtWebSockets/QWebSocket>
@ -39,4 +39,4 @@ private:
QTimer m_pingTimer;
};
#endif // ECHOCLIENT_H
#endif // FEATHER_WSCLIENT_H

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef CSSWIDGET_H
#define CSSWIDGET_H
#ifndef FEATHER_CSSWIDGET_H
#define FEATHER_CSSWIDGET_H
#include <QMenu>
#include <QObject>
@ -45,4 +45,4 @@ private:
QMenu *m_contextMenu;
};
#endif // CSSWIDGET_H
#endif // FEATHER_CSSWIDGET_H

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef NODEWIDGET_H
#define NODEWIDGET_H
#ifndef FEATHER_NODEWIDGET_H
#define FEATHER_NODEWIDGET_H
#include <QWidget>
#include <QTreeView>
@ -60,4 +60,4 @@ private:
FeatherNode selectedNode();
};
#endif // NODEWIDGET_H
#endif // FEATHER_NODEWIDGET_H

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef REDDITWIDGET_H
#define REDDITWIDGET_H
#ifndef FEATHER_REDDITWIDGET_H
#define FEATHER_REDDITWIDGET_H
#include <QMenu>
#include <QWidget>
@ -40,4 +40,4 @@ private:
QMenu *m_contextMenu;
};
#endif // REDDITWIDGET_H
#endif // FEATHER_REDDITWIDGET_H

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef XMRIGWIDGET_H
#define XMRIGWIDGET_H
#ifndef FEATHER_XMRIGWIDGET_H
#define FEATHER_XMRIGWIDGET_H
#include <QMenu>
#include <QWidget>
@ -63,4 +63,4 @@ private:
QStringList m_pools{"pool.xmr.pt:9000", "pool.supportxmr.com:9000", "mine.xmrpool.net:443", "xmrpool.eu:9999", "xmr-eu1.nanopool.org:14433", "pool.minexmr.com:6666", "us-west.minexmr.com:6666", "monerohash.com:9999", "cryptonote.social:5555", "cryptonote.social:5556"};
};
#endif // REDDITWIDGET_H
#endif // FEATHER_XMRWIDGET_H

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef WALLETWIZARD_H
#define WALLETWIZARD_H
#ifndef FEATHER_WALLETWIZARD_H
#define FEATHER_WALLETWIZARD_H
#include <QWizard>
#include <QLabel>
@ -75,4 +75,4 @@ private:
WizardFields m_wizardFields;
};
#endif // WALLETWIZARD_H
#endif // FEATHER_WALLETWIZARD_H