Changeset View
Changeset View
Standalone View
Standalone View
ui/revisionviewer.h
- This file was added.
1 | /*************************************************************************** | ||||
---|---|---|---|---|---|
2 | * Copyright (C) 2018 by Chinmoy Ranjan Pradhan <chinmoyrp65@gmail.com> * | ||||
3 | * * | ||||
4 | * This program is free software; you can redistribute it and/or modify * | ||||
5 | * it under the terms of the GNU General Public License as published by * | ||||
6 | * the Free Software Foundation; either version 2 of the License, or * | ||||
7 | * (at your option) any later version. * | ||||
8 | ***************************************************************************/ | ||||
9 | | ||||
10 | #ifndef OKULAR_REVISIONVIEWER_H | ||||
11 | #define OKULAR_REVISIONVIEWER_H | ||||
12 | | ||||
13 | #include <QObject> | ||||
14 | #include <QByteArray> | ||||
15 | | ||||
16 | class QWidget; | ||||
17 | | ||||
18 | class RevisionViewer : public QObject | ||||
19 | { | ||||
20 | Q_OBJECT | ||||
21 | | ||||
22 | public: | ||||
23 | explicit RevisionViewer( const QByteArray &revisionData, QWidget *parent = nullptr ); | ||||
24 | | ||||
25 | public Q_SLOTS: | ||||
26 | void viewRevision(); | ||||
27 | | ||||
28 | private: | ||||
29 | QWidget *m_parent; | ||||
30 | QByteArray m_revisionData; | ||||
31 | }; | ||||
32 | | ||||
33 | #endif |