File indexing completed on 2024-05-12 16:21:16
0001 // SPDX-FileCopyrightText: 2021 Jonah BrĂ¼chert <jbb@kaidan.im> 0002 // 0003 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 0005 #pragma once 0006 0007 #include <QObject> 0008 0009 #include "asyncytmusic.h" 0010 0011 class ErrorHandler : public QObject 0012 { 0013 Q_OBJECT 0014 0015 public: 0016 explicit ErrorHandler(QObject *parent = nullptr); 0017 0018 Q_SIGNAL void errorOccurred(const QString &error); 0019 };