removed namespaces
This commit is contained in:
@@ -3,12 +3,10 @@
|
||||
#include "singletons/SettingsManager.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
namespace singletons {
|
||||
|
||||
void _registerSetting(std::weak_ptr<pajlada::Settings::ISettingData> setting)
|
||||
{
|
||||
_actuallyRegisterSetting(setting);
|
||||
}
|
||||
|
||||
} // namespace singletons
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
namespace chatterino {
|
||||
namespace singletons {
|
||||
|
||||
void _registerSetting(std::weak_ptr<pajlada::Settings::ISettingData> setting);
|
||||
|
||||
@@ -42,5 +41,4 @@ public:
|
||||
using pajlada::Settings::Setting<Type>::operator const Type;
|
||||
};
|
||||
|
||||
} // namespace singletons
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#include "singletons/WindowManager.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
namespace singletons {
|
||||
|
||||
void GIFTimer::initialize()
|
||||
{
|
||||
@@ -27,5 +26,4 @@ void GIFTimer::initialize()
|
||||
});
|
||||
}
|
||||
|
||||
} // namespace singletons
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include <pajlada/signals/signal.hpp>
|
||||
|
||||
namespace chatterino {
|
||||
namespace singletons {
|
||||
|
||||
class GIFTimer
|
||||
{
|
||||
@@ -17,5 +16,4 @@ private:
|
||||
QTimer timer;
|
||||
};
|
||||
|
||||
} // namespace singletons
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <ctime>
|
||||
|
||||
namespace chatterino {
|
||||
namespace singletons {
|
||||
|
||||
QByteArray endline("\n");
|
||||
|
||||
@@ -132,5 +131,4 @@ QString LoggingChannel::generateDateString(const QDateTime &now)
|
||||
return now.toString("yyyy-MM-dd");
|
||||
}
|
||||
|
||||
} // namespace singletons
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <memory>
|
||||
|
||||
namespace chatterino {
|
||||
namespace singletons {
|
||||
|
||||
class LoggingChannel : boost::noncopyable
|
||||
{
|
||||
@@ -41,5 +40,4 @@ private:
|
||||
friend class LoggingManager;
|
||||
};
|
||||
|
||||
} // namespace singletons
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include "singletons/ResourceManager.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
namespace singletons {
|
||||
|
||||
ModerationAction::ModerationAction(messages::Image *_image, const QString &_action)
|
||||
: _isImage(true)
|
||||
@@ -47,5 +46,4 @@ const QString &ModerationAction::getAction() const
|
||||
return this->action;
|
||||
}
|
||||
|
||||
} // namespace singletons
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -4,11 +4,7 @@
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
namespace messages {
|
||||
class Image;
|
||||
} // namespace messages
|
||||
|
||||
namespace singletons {
|
||||
|
||||
class ModerationAction
|
||||
{
|
||||
@@ -30,5 +26,4 @@ private:
|
||||
QString action;
|
||||
};
|
||||
|
||||
} // namespace singletons
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user