51 explicit AutoFill(QObject* parent =
nullptr);
56 bool isStored(
const QUrl &url);
57 bool isStoringEnabled(
const QUrl &url);
58 void blockStoringforUrl(
const QUrl &url);
60 QVector<PasswordEntry> getFormData(
const QUrl &url);
61 QVector<PasswordEntry> getAllFormData();
65 void addEntry(
const QUrl &url,
const QString &name,
const QString &pass);
66 void addEntry(
const QUrl &url,
const PageFormData &formData);
68 void updateEntry(
const QUrl &url,
const QString &name,
const QString &pass);
72 void removeAllEntries();
75 QStringList completePage(
WebPage *page,
const QUrl &frameUrl);
77 QByteArray exportPasswords();
78 bool importPasswords(
const QByteArray &data);
82 bool m_isStoring =
false;
83 bool m_isAutoComplete =
false;
84 QPointer<AutoFillNotification> m_lastNotification;
85 WebPage *m_lastNotificationPage =
nullptr;