KDEWebKit
kwebwallet.cpp
Go to the documentation of this file.
61 if (inputList[j].type != 'text' && inputList[j].type != 'email' && inputList[j].type != 'password') { \
139 KWebWallet::WebFormList parseFormData(QWebFrame* frame, bool fillform = true, bool ignorepasswd = false);
163 KWebWallet::WebFormList KWebWallet::KWebWalletPrivate::parseFormData(QWebFrame *frame, bool fillform, bool ignorepasswd)
553 script += QString::fromLatin1("if (document.forms[\"%1\"].elements[\"%2\"]) document.forms[\"%1\"].elements[\"%2\"].value=\"%3\";\n")
void saveFormData(QWebFrame *frame, bool recursive=true, bool ignorePasswordFields=false)
Attempts to save the form data from frame and its children frames.
Definition: kwebwallet.cpp:478
baseUrl
bool contains(const Key &key) const
const T & next()
uint qHash(const KConfigIniBackend::BufferFragment &fragment)
virtual void fillFormDataFromCache(const KUrl::List &list)
Fills form data from persistent storage.
Definition: kwebwallet.cpp:584
const char * name(StandardAction id)
void setPassword(const QString &password)
QString index
The position of the form on the web page, relative to other forms.
Definition: kwebwallet.h:86
WebFormList formsToFill(const KUrl &url) const
Returns a list of forms for url that are waiting to be filled.
Definition: kwebwallet.cpp:567
T * data() const
void fillWebForm(const KUrl &url, const WebFormList &forms)
Fills the web forms in frame that point to url with data from forms.
Definition: kwebwallet.cpp:540
QString toString(QFlags< QUrl::FormattingOption > options) const
static Wallet * openWallet(const QString &name, WId w, OpenType ot=Synchronous)
static void createSaveKeyFor(QWebFrame *frame, QString *key)
Definition: kwebwallet.cpp:465
virtual void removeFormDataFromCache(const WebFormList &forms)
Removes all cached form data associated with forms from persistent storage.
Definition: kwebwallet.cpp:608
T value(int i) const
QString number(int n, int base)
void append(const T &value)
static void collectAllChildFrames(QWebFrame *frame, QList< QWebFrame * > &list)
Definition: kwebwallet.cpp:98
WebFormList formsToSave(const QString &key) const
Returns a list of for key that are waiting to be saved.
Definition: kwebwallet.cpp:572
bool isEmpty() const
bool isEmpty() const
void acceptSaveFormDataRequest(const QString &key)
Accepts the save form data request associated with key.
Definition: kwebwallet.cpp:530
void removeFormData(QWebFrame *frame, bool recursive)
Removes the form data specified by forms from the persistent storage.
Definition: kwebwallet.cpp:518
virtual bool hasCachedFormData(const WebForm &form) const
Returns true when there is data associated with form in the persistent storage.
Definition: kwebwallet.cpp:577
WId winId() const
void remove()
QFuture< void > map(Sequence &sequence, MapFunction function)
void saveFormDataRequested(const QString &key, const QUrl &url)
This signal is emitted whenever a save form data request is received.
QVariant evaluateJavaScript(const QString &scriptSource)
void fillFormData(QWebFrame *frame, bool recursive=true)
Attempts to fill forms contained in frame with cached data.
Definition: kwebwallet.cpp:419
static const QString FormDataFolder()
virtual void saveFormDataToCache(const QString &key)
Stores form data associated with key to a persistent storage.
Definition: kwebwallet.cpp:599
bool hasNext() const
QList< QWebFrame * > childFrames() const
WebFormList formsWithCachedData(QWebFrame *frame, bool recursive=true) const
Returns a list of forms in frame that have cached data in the peristent storage.
Definition: kwebwallet.cpp:399
QString & replace(int position, int n, QChar after)
QMap< QString, QVariant > toMap() const
char * toString(const T &value)
T & next()
QWidget * parentWidget() const
QString frameName() const
void rejectSaveFormDataRequest(const QString &key)
Rejects the save form data request associated with key.
Definition: kwebwallet.cpp:535
static bool keyDoesNotExist(const QString &wallet, const QString &folder, const QString &key)
static const QString NetworkWallet()
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QList< WebField > fields
The name and value attributes of each input element in the form.
Definition: kwebwallet.h:88
QString fromLatin1(const char *str, int size)
iterator insert(const Key &key, const T &value)
QWidget * view() const
#define FILLABLE_FORM_ELEMENT_EXTRACTOR_JS
Definition: kwebwallet.cpp:43
void fillFormRequestCompleted(bool ok)
This signal is emitted whenever a fill form data request is completed.
QObject * parent() const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
int count(const Key &key) const
QStringList list(const QString &fileClass)
const T value(const Key &key) const
static QString walletKey(KWebWallet::WebForm form)
Creates key used to store and retrieve form data.
Definition: kwebwallet.cpp:90
bool hasNext() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.