28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
From 2301c9145afbbbb2f3f31bd751498f9893eabc1e Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Dra=C5=BEen=20Odoba=C5=A1i=C4=87?= <dodobasic@gmail.com>
|
|
Date: Sun, 22 Sep 2013 22:41:20 +0200
|
|
Subject: [PATCH 3/4] apply #8601
|
|
|
|
---
|
|
python/gui/qgsfieldvalidator.sip | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/python/gui/qgsfieldvalidator.sip b/python/gui/qgsfieldvalidator.sip
|
|
index 5d5de30..6237e3e 100644
|
|
--- a/python/gui/qgsfieldvalidator.sip
|
|
+++ b/python/gui/qgsfieldvalidator.sip
|
|
@@ -9,6 +9,8 @@ class QgsFieldValidator : QValidator
|
|
QgsFieldValidator( QObject *parent, const QgsField &field, QString dateFormat = "yyyy-MM-dd" );
|
|
~QgsFieldValidator();
|
|
|
|
- virtual State validate( QString &, int & ) const;
|
|
- virtual void fixup( QString & ) const;
|
|
+ virtual State validate(QString & /In,Out/, int & /In,Out/) const = 0 /API=QString:2 - /;
|
|
+ virtual State validate(QString & /Constrained/, int & /In,Out/) const = 0 /API=QString: - 2/;
|
|
+ virtual void fixup(QString &input /In,Out/) const /API=QString:2 - /;
|
|
+ virtual void fixup(QString & /Constrained/) const /API=QString: - 2/;
|
|
};
|
|
--
|
|
1.8.1.4
|
|
|