Files
audiotube/src/errorhandler.h
T
2025-04-24 15:09:42 +00:00

23 lines
453 B
C++

// SPDX-FileCopyrightText: 2021 Jonah Brüchert <[email protected]>
//
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
#pragma once
#include <QObject>
#include <qqmlintegration.h>
#include "asyncytmusic.h"
class ErrorHandler : public QObject
{
Q_OBJECT
QML_ELEMENT
QML_SINGLETON
public:
explicit ErrorHandler(QObject *parent = nullptr);
Q_SIGNAL void errorOccurred(const QString &error);
};