KDEWebKit
#include "kwebwallet.h"#include <kwallet.h>#include <kdebug.h>#include <QtCore/QSet>#include <QtCore/QHash>#include <QtCore/QFile>#include <QtCore/QWeakPointer>#include <QtCore/QScopedPointer>#include <QtWebKit/QWebPage>#include <QtWebKit/QWebFrame>#include <qwindowdefs.h>#include "kwebwallet.moc"
Include dependency graph for kwebwallet.cpp:

Go to the source code of this file.
Macros | |
| #define | FILLABLE_FORM_ELEMENT_EXTRACTOR_JS "(function (){ \ var forms; \ var formList = document.querySelectorAll('form'); \ if (formList.length > 0) { \ forms = new Array; \ for (var i = 0; i < formList.length; ++i) { \ var inputList = formList[i].querySelectorAll('input[type=text]:not([disabled]):not([autocomplete=off]),input[type=password]:not([disabled]):not([autocomplete=off]),input:not([type]):not([disabled]):not([autocomplete=off])'); \ if (inputList.length < 1) { \ continue; \ } \ var formObject = new Object; \ formObject.name = formList[i].name; \ formObject.index = i; \ formObject.elements = new Array; \ for (var j = 0; j < inputList.length; ++j) { \ var element = new Object; \ element.name = inputList[j].name; \ element.value = inputList[j].value; \ element.type = inputList[j].type; \ element.readonly = inputList[j].hasAttribute('readonly'); \ formObject.elements.push(element); \ } \ forms.push(formObject); \ } \ } \ return forms; \}())" |
| #define | QL1C(x) QLatin1Char(x) |
| #define | QL1S(x) QLatin1String(x) |
Functions | |
| static void | collectAllChildFrames (QWebFrame *frame, QList< QWebFrame * > &list) |
| static QWidget * | topLevelWindow (QObject *obj) |
| static QUrl | urlForFrame (QWebFrame *frame) |
| static QString | walletKey (KWebWallet::WebForm form) |
Macro Definition Documentation
| #define FILLABLE_FORM_ELEMENT_EXTRACTOR_JS "(function (){ \ var forms; \ var formList = document.querySelectorAll('form'); \ if (formList.length > 0) { \ forms = new Array; \ for (var i = 0; i < formList.length; ++i) { \ var inputList = formList[i].querySelectorAll('input[type=text]:not([disabled]):not([autocomplete=off]),input[type=password]:not([disabled]):not([autocomplete=off]),input:not([type]):not([disabled]):not([autocomplete=off])'); \ if (inputList.length < 1) { \ continue; \ } \ var formObject = new Object; \ formObject.name = formList[i].name; \ formObject.index = i; \ formObject.elements = new Array; \ for (var j = 0; j < inputList.length; ++j) { \ var element = new Object; \ element.name = inputList[j].name; \ element.value = inputList[j].value; \ element.type = inputList[j].type; \ element.readonly = inputList[j].hasAttribute('readonly'); \ formObject.elements.push(element); \ } \ forms.push(formObject); \ } \ } \ return forms; \}())" |
Definition at line 41 of file kwebwallet.cpp.
| #define QL1C | ( | x | ) | QLatin1Char(x) |
Definition at line 38 of file kwebwallet.cpp.
| #define QL1S | ( | x | ) | QLatin1String(x) |
Definition at line 37 of file kwebwallet.cpp.
Function Documentation
|
static |
Definition at line 82 of file kwebwallet.cpp.
Definition at line 103 of file kwebwallet.cpp.
|
static |
Definition at line 91 of file kwebwallet.cpp.
|
static |
Creates key used to store and retrieve form data.
Definition at line 74 of file kwebwallet.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Thu Feb 21 2013 11:14:45 by doxygen 1.8.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2013 The KDE developers.
Generated on Thu Feb 21 2013 11:14:45 by doxygen 1.8.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.