Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cxfa_eventparam.cpp
Go to the documentation of this file.
1
// Copyright 2016 The PDFium Authors
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7
#
include
"xfa/fxfa/cxfa_eventparam.h"
8
9
CXFA_EventParam
::
CXFA_EventParam
(
XFA_EVENTTYPE
type) :
m_eType
(type) {}
10
11
CXFA_EventParam
::
CXFA_EventParam
(
const
CXFA_EventParam
& other) =
default
;
12
13
CXFA_EventParam
::~
CXFA_EventParam
() =
default
;
14
15
CXFA_EventParam
&
CXFA_EventParam
::
operator
=(
const
CXFA_EventParam
& other) =
16
default
;
17
18
CXFA_EventParam
&
CXFA_EventParam
::
operator
=(
CXFA_EventParam
&& other)
noexcept
=
19
default
;
20
21
WideString
CXFA_EventParam
::
GetNewText
()
const
{
22
return
m_wsPrevText.First(m_iSelStart) + m_wsChange +
23
m_wsPrevText.Last(m_wsPrevText.GetLength() - m_iSelEnd);
24
}
CXFA_EventParam
Definition
cxfa_eventparam.h:49
CXFA_EventParam::GetNewText
WideString GetNewText() const
Definition
cxfa_eventparam.cpp:21
CXFA_EventParam::operator=
CXFA_EventParam & operator=(CXFA_EventParam &&other) noexcept
CXFA_EventParam::m_eType
XFA_EVENTTYPE m_eType
Definition
cxfa_eventparam.h:60
CXFA_EventParam::operator=
CXFA_EventParam & operator=(const CXFA_EventParam &other)
CXFA_EventParam::CXFA_EventParam
CXFA_EventParam(const CXFA_EventParam &other)
CXFA_EventParam::CXFA_EventParam
CXFA_EventParam(XFA_EVENTTYPE type)
Definition
cxfa_eventparam.cpp:9
CXFA_EventParam::~CXFA_EventParam
~CXFA_EventParam()
XFA_EVENTTYPE
XFA_EVENTTYPE
Definition
cxfa_eventparam.h:15
qtwebengine
src
3rdparty
chromium
third_party
pdfium
xfa
fxfa
cxfa_eventparam.cpp
Generated on Wed Nov 13 2024 01:04:43 for Qt by
1.12.0