Browse Source

Mark singleton class as final

adaptive-webui-19844
Chocobo1 1 year ago
parent
commit
33875aa70a
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/base/iconprovider.h
  2. 2
      src/base/logger.h
  3. 2
      src/base/net/downloadmanager.h
  4. 2
      src/base/net/geoipmanager.h
  5. 2
      src/base/preferences.h
  6. 2
      src/base/rss/rss_session.h
  7. 2
      src/base/search/searchpluginmanager.h

2
src/base/iconprovider.h

@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
class QString;
class IconProvider : public QObject
class IconProvider final : public QObject
{
Q_DISABLE_COPY_MOVE(IconProvider)

2
src/base/logger.h

@ -69,7 +69,7 @@ namespace Log @@ -69,7 +69,7 @@ namespace Log
Q_DECLARE_OPERATORS_FOR_FLAGS(Log::MsgTypes)
class Logger : public QObject
class Logger final : public QObject
{
Q_OBJECT
Q_DISABLE_COPY_MOVE(Logger)

2
src/base/net/downloadmanager.h

@ -126,7 +126,7 @@ namespace Net @@ -126,7 +126,7 @@ namespace Net
class DownloadHandlerImpl;
class DownloadManager : public QObject
class DownloadManager final : public QObject
{
Q_OBJECT
Q_DISABLE_COPY_MOVE(DownloadManager)

2
src/base/net/geoipmanager.h

@ -40,7 +40,7 @@ namespace Net @@ -40,7 +40,7 @@ namespace Net
{
struct DownloadResult;
class GeoIPManager : public QObject
class GeoIPManager final : public QObject
{
Q_OBJECT
Q_DISABLE_COPY_MOVE(GeoIPManager)

2
src/base/preferences.h

@ -86,7 +86,7 @@ namespace TrayIcon @@ -86,7 +86,7 @@ namespace TrayIcon
Q_ENUM_NS(Style)
}
class Preferences : public QObject
class Preferences final : public QObject
{
Q_OBJECT
Q_DISABLE_COPY_MOVE(Preferences)

2
src/base/rss/rss_session.h

@ -88,7 +88,7 @@ namespace RSS @@ -88,7 +88,7 @@ namespace RSS
class Folder;
class Item;
class Session : public QObject
class Session final : public QObject
{
Q_OBJECT
Q_DISABLE_COPY_MOVE(Session)

2
src/base/search/searchpluginmanager.h

@ -58,7 +58,7 @@ struct PluginInfo @@ -58,7 +58,7 @@ struct PluginInfo
class SearchDownloadHandler;
class SearchHandler;
class SearchPluginManager : public QObject
class SearchPluginManager final : public QObject
{
Q_OBJECT
Q_DISABLE_COPY_MOVE(SearchPluginManager)

Loading…
Cancel
Save