Added new argument to getFormElementValue() .
git-svn-id: svn://10.0.0.236/trunk@13177 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
23167da3f9
commit
2eba8f268f
@ -1,4 +1,4 @@
|
||||
/* $Id: QtBrowserContext.h,v 1.1 1998-09-25 18:01:28 ramiro%netscape.com Exp $
|
||||
/* $Id: QtBrowserContext.h,v 1.2 1998-10-20 02:40:45 cls%seawood.org Exp $
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
@ -78,7 +78,7 @@ public:
|
||||
virtual void displayFormElement(int iLocation,
|
||||
LO_FormElementStruct *form);
|
||||
virtual void getFormElementValue(LO_FormElementStruct *form,
|
||||
bool delete_p);
|
||||
bool delete_p, bool submit_p);
|
||||
|
||||
public slots:
|
||||
virtual void cmdOpenBrowser();
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/* $Id: QtContext.h,v 1.1 1998-09-25 18:01:29 ramiro%netscape.com Exp $
|
||||
/* $Id: QtContext.h,v 1.2 1998-10-20 02:40:45 cls%seawood.org Exp $
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
@ -154,7 +154,7 @@ public:
|
||||
void getFormElementInfo(LO_FormElementStruct *form);
|
||||
|
||||
virtual void getFormElementValue(LO_FormElementStruct *form,
|
||||
bool delete_p);
|
||||
bool delete_p, bool submit_p);
|
||||
|
||||
void resetFormElement(LO_FormElementStruct *form);
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/* $Id: forms.cpp,v 1.1 1998-09-25 18:01:33 ramiro%netscape.com Exp $
|
||||
/* $Id: forms.cpp,v 1.2 1998-10-20 02:40:45 cls%seawood.org Exp $
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
@ -1134,11 +1134,13 @@ void QtContext::getFormElementInfo(LO_FormElementStruct *form)
|
||||
}
|
||||
|
||||
/* From ./forms.c: */
|
||||
void QtContext::getFormElementValue(LO_FormElementStruct *, bool)
|
||||
void QtContext::getFormElementValue(LO_FormElementStruct *, bool, bool)
|
||||
{
|
||||
}
|
||||
|
||||
/* XXX - wtf does submit_p do? */
|
||||
void QtBrowserContext::getFormElementValue(LO_FormElementStruct *form,
|
||||
bool delete_p)
|
||||
bool delete_p, bool submit_p)
|
||||
{
|
||||
element(form)->getValue();
|
||||
if ( delete_p ) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/* $Id: qtbind.cpp,v 1.2 1998-10-12 07:18:21 jonas.utterstrom%vittran.norrnod.se Exp $
|
||||
/* $Id: qtbind.cpp,v 1.3 1998-10-20 02:40:44 cls%seawood.org Exp $
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
@ -509,9 +509,9 @@ QTFE_GetFormElementInfo(MWContext* context, LO_FormElementStruct *form)
|
||||
extern "C"
|
||||
void
|
||||
QTFE_GetFormElementValue(MWContext* context, LO_FormElementStruct *form,
|
||||
XP_Bool delete_p)
|
||||
XP_Bool delete_p, XP_Bool submit_p)
|
||||
{
|
||||
QtContext::qt(context)->getFormElementValue(form, delete_p);
|
||||
QtContext::qt(context)->getFormElementValue(form, delete_p, submit_p);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user