[Development] Qt 5.3 header diff: QtWidgets
Thiago Macieira
thiago.macieira at intel.com
Wed Apr 23 01:44:54 CEST 2014
Em ter 22 abr 2014, às 14:12:46, Thiago Macieira escreveu:
> --- a/src/widgets/widgets/qplaintextedit.h
> +++ b/src/widgets/widgets/qplaintextedit.h
> @@ -141,6 +145,9 @@ public:
> bool centerOnScroll() const;
>
> bool find(const QString &exp, QTextDocument::FindFlags options = 0);
> +#ifndef QT_NO_REGEXP
> + bool find(const QRegExp &exp, QTextDocument::FindFlags options = 0);
> +#endif
Remove this new method. Add one with QRegularExpression.
QRegExp is deprecated.
> --- a/src/widgets/widgets/qtextedit.h
> +++ b/src/widgets/widgets/qtextedit.h
>
> @@ -162,6 +162,9 @@ public:
> void setWordWrapMode(QTextOption::WrapMode policy);
>
> bool find(const QString &exp, QTextDocument::FindFlags options = 0);
>
> +#ifndef QT_NO_REGEXP
> + bool find(const QRegExp &exp, QTextDocument::FindFlags options = 0);
> +#endif
Ditto.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list