<commit_before>#ifndef SOURCE_H
#define SOURCE_H

#include <QJSValue>
#include <QList>
#include <QMap>
#include <QObject>
#include <QString>
#include "auth/auth.h"
#include "tags/tag-name-format.h"
#include "updater/source-updater.h"


class Api;
class Profile;
class QJSEngine;
class QMutex;
class Site;

class Source : public QObject
{
	Q_OBJECT

	public:
		explicit Source(Profile *profile, const QString &dir);
		~Source() override;

		// Getters
		QString getName() const;
		QString getPath() const;
		const QList<Site*> &getSites() const;
		const QList<Api*> &getApis() const;
		Api *getApi(const QString &name) const;
		const QMap<QString, Auth*> &Source::getAuths() const;
		Auth *getAuth(const QString &name) const;
		Profile *getProfile() const;
		const SourceUpdater &getUpdater() const;
<commit_msg>Remove extra qualification warning in Source class<commit_after>#ifndef SOURCE_H
#define SOURCE_H

#include <QJSValue>
#include <QList>
#include <QMap>
#include <QObject>
#include <QString>
#include "auth/auth.h"
#include "tags/tag-name-format.h"
#include "updater/source-updater.h"


class Api;
class Profile;
class QJSEngine;
class QMutex;
class Site;

class Source : public QObject
{
	Q_OBJECT

	public:
		explicit Source(Profile *profile, const QString &dir);
		~Source() override;

		// Getters
		QString getName() const;
		QString getPath() const;
		const QList<Site*> &getSites() const;
		const QList<Api*> &getApis() const;
		Api *getApi(const QString &name) const;
		const QMap<QString, Auth*> &getAuths() const;
		Auth *getAuth(const QString &name) const;
		Profile *getProfile() const;
		const SourceUpdater &getUpdater() const;

{'fraction_non_alphanumeric': 0.12719563900666264, 'fraction_numerical': 0.0, 'mean_word_length': 5.329501915708812, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4376021', 'n_tokens_mistral': 610, 'n_tokens_neox': 590, 'n_words': 168}