aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/KvsObject_webView.h
diff options
context:
space:
mode:
authorGravatar Noldor2011-03-13 12:26:17 +0000
committerGravatar Noldor2011-03-13 12:26:17 +0000
commit8c5820a572b6552ecaef991eeafcc73ae2109bec (patch)
tree7ba174cf75255aaaef067592edd1eb706f7bbd71 /src/modules/objects/KvsObject_webView.h
parentCode improvements in help window when using webkit(wip) (diff)
downloadKVIrc-8c5820a572b6552ecaef991eeafcc73ae2109bec.tar.gz
KVIrc-8c5820a572b6552ecaef991eeafcc73ae2109bec.tar.bz2
KVIrc-8c5820a572b6552ecaef991eeafcc73ae2109bec.zip
More work on kvs class webview
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5571 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects/KvsObject_webView.h')
-rw-r--r--src/modules/objects/KvsObject_webView.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/modules/objects/KvsObject_webView.h b/src/modules/objects/KvsObject_webView.h
index 8b2d36f1b..2f7d4da71 100644
--- a/src/modules/objects/KvsObject_webView.h
+++ b/src/modules/objects/KvsObject_webView.h
@@ -41,19 +41,21 @@ public:
protected:
QWebPage * m_pWebPage;
QHash<QString,QWebFrame *> m_dictFrames;
+ QHash<QString,QWebElement *> m_dictCache;
+
QList<QWebElement> lStack;
QWebElementCollection m_webElementCollection;
QWebElement m_currentElement;
void getFrames(QWebFrame *pFrame,KviKvsArray *n, kvs_uint_t & uIdx);
virtual bool init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams);
- bool pushCurrentToStack(KviKvsObjectFunctionCall *c);
- bool popCurrentFromStack(KviKvsObjectFunctionCall *c);
- bool elementStackCount(KviKvsObjectFunctionCall *c);
- bool clearElementStack(KviKvsObjectFunctionCall *c);
-
+ bool removeFromDocument(KviKvsObjectFunctionCall *c);
bool makePreview(KviKvsObjectFunctionCall *c);
+ bool rememberCurrent(KviKvsObjectFunctionCall *c);
+ bool moveTo(KviKvsObjectFunctionCall *c);
+
+
bool firstChild(KviKvsObjectFunctionCall *c);
bool parentElement(KviKvsObjectFunctionCall *c);
bool nextSibling(KviKvsObjectFunctionCall *c);