File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
+ # This scripts renames the name of a class as well as its header and cpp file
4
+ # (assuming they are the lowercase version of the class name).
5
+ #
6
+ # Usage: ./scripts/rename_cpp.sh src/core QgsMyClassName QgsMyNewClassName
7
+
3
8
set -e
4
9
5
10
# GNU prefix command for mac os support (gsed, gsplit)
Original file line number Diff line number Diff line change 31
31
* \class QgsFieldExpressionValuesGatherer
32
32
* Gathers features with substring matching on an expression.
33
33
*
34
- * \since QGIS 3.0
34
+ * \since QGIS 3.14
35
35
*/
36
36
class QgsFeatureExpressionValuesGatherer : public QThread
37
37
{
Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ class CORE_EXPORT QgsFeatureFilterModel : public QgsFeaturePickerModelBase
30
30
Q_OBJECT
31
31
32
32
/* *
33
- * A field of sourceLayer that is unique and should be used to identify features.
33
+ * A set of fields of sourceLayer that is unique and should be used to identify features.
34
34
* Normally the primary key field.
35
35
* Needs to match the identifierValue.
36
36
*/
37
37
Q_PROPERTY ( QStringList identifierFields READ identifierFields WRITE setIdentifierFields NOTIFY identifierFieldsChanged )
38
38
39
39
/* *
40
- * The value that identifies the current feature.
40
+ * The values that identifies the current feature.
41
41
*/
42
42
Q_PROPERTY ( QVariantList extraIdentifierValues READ extraIdentifierValues WRITE setExtraIdentifierValues NOTIFY extraIdentifierValuesChanged )
43
43
Original file line number Diff line number Diff line change @@ -121,10 +121,10 @@ void QgsExpressionPreviewWidget::refreshPreview()
121
121
122
122
void QgsExpressionPreviewWidget::linkActivated ( const QString & )
123
123
{
124
- QgsMessageViewer *mv = new QgsMessageViewer ( this );
125
- mv-> setWindowTitle ( tr ( " More Info on Expression Error" ) );
126
- mv-> setMessageAsHtml ( mToolTip );
127
- mv-> exec ();
124
+ QgsMessageViewer mv ( this );
125
+ mv. setWindowTitle ( tr ( " More Info on Expression Error" ) );
126
+ mv. setMessageAsHtml ( mToolTip );
127
+ mv. exec ();
128
128
}
129
129
130
130
void QgsExpressionPreviewWidget::setExpressionToolTip ( const QString &toolTip )
@@ -163,4 +163,3 @@ bool QgsExpressionPreviewWidget::evalError() const
163
163
{
164
164
return mEvalError ;
165
165
}
166
-
You can’t perform that action at this time.
0 commit comments