Add simple check for password protected pdf's (poppler only)

This commit is contained in:
Felix Kauselmann
2015-03-18 15:10:30 +01:00
commit 7e7b35a004
923 changed files with 80104 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#ifndef YACREADER_FIELD_EDIT_H
#define YACREADER_FIELD_EDIT_H
#include <QLineEdit>
class QAction;
class QFocusEvent;
class YACReaderFieldEdit : public QLineEdit
{
Q_OBJECT
public:
YACReaderFieldEdit(QWidget * parent = 0);
void clear();
void setDisabled(bool disabled);
protected:
void focusInEvent(QFocusEvent* e);
private:
QAction * restore;
};
#endif // YACREADER_FIELD_EDIT_H