mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-30 10:55:54 +00:00
30 lines
524 B
C++
30 lines
524 B
C++
/*
|
|
SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan <chinmoyrp65@gmail.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef OKULAR_REVISIONVIEWER_H
|
|
#define OKULAR_REVISIONVIEWER_H
|
|
|
|
#include <QByteArray>
|
|
#include <QObject>
|
|
|
|
class QWidget;
|
|
|
|
class RevisionViewer : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit RevisionViewer(const QByteArray &revisionData, QWidget *parent = nullptr);
|
|
|
|
public Q_SLOTS:
|
|
void viewRevision();
|
|
|
|
private:
|
|
QWidget *m_parent;
|
|
QByteArray m_revisionData;
|
|
};
|
|
|
|
#endif
|