File indexing completed on 2024-06-23 04:26:41

0001 /*
0002  *  SPDX-FileCopyrightText: 2017 Boudewijn Rempt <boud@valdyas.org>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef BUGINFO_H
0008 #define BUGINFO_H
0009 
0010 #include <QVariant>
0011 #include <KisActionPlugin.h>
0012 
0013 class KUndo2MagicString;
0014 
0015 class BugInfo : public KisActionPlugin
0016 {
0017     Q_OBJECT
0018 public:
0019     BugInfo(QObject *parent, const QVariantList &);
0020     ~BugInfo() override;
0021 
0022 public Q_SLOTS:
0023 
0024     void slotKritaLog();
0025     void slotSysInfo();
0026 
0027 #ifdef Q_OS_ANDROID
0028     void slotDumpLogcat();
0029 #endif
0030 
0031 #if defined(Q_OS_WIN) || defined(Q_OS_ANDROID)
0032     void slotCrashLog();
0033 #endif
0034 };
0035 
0036 #endif // BUGINFO_H