Skip to content

Commit

Permalink
ok is spelled OK
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and 3nids committed Jul 3, 2017
1 parent 7306c13 commit 59e9f79
Show file tree
Hide file tree
Showing 79 changed files with 115 additions and 115 deletions.
2 changes: 1 addition & 1 deletion INSTALL
Expand Up @@ -383,7 +383,7 @@ tools.

cmake ..

If everything went ok you can finally start to compile. (As usual append a -jX
If everything went OK you can finally start to compile. (As usual append a -jX
where X is the number of available cores option to make to speed up your build
process)

Expand Down
2 changes: 1 addition & 1 deletion NEWS
Expand Up @@ -2128,7 +2128,7 @@ not need src parameter (this can be obtained from painter->device()).
More work on print system - still only works well on A4 landscape.

Northarrow and copyright label plugins now hidethemselves before emitting
update signals when ok is pressed.
update signals when OK is pressed.

QGSMapCanvas can now return the (last calculated) scale using getScale

Expand Down
2 changes: 1 addition & 1 deletion doc/INSTALL.html
Expand Up @@ -621,7 +621,7 @@ <H3>3.9.1. Install build dependencies</H3>
</PRE></div>

<P>
If everything went ok you can finally start to compile. (As usual append a -jX
If everything went OK you can finally start to compile. (As usual append a -jX
where X is the number of available cores option to make to speed up your build
process)
</P>
Expand Down
2 changes: 1 addition & 1 deletion doc/linux.t2t
Expand Up @@ -271,7 +271,7 @@ tools.
cmake ..
```

If everything went ok you can finally start to compile. (As usual append a -jX
If everything went OK you can finally start to compile. (As usual append a -jX
where X is the number of available cores option to make to speed up your build
process)

Expand Down
2 changes: 1 addition & 1 deletion doc/news.html
Expand Up @@ -2350,7 +2350,7 @@ <H1>28. 0.5</H1>
</P>
<P>
Northarrow and copyright label plugins now hidethemselves before emitting
update signals when ok is pressed.
update signals when OK is pressed.
</P>
<P>
QGSMapCanvas can now return the (last calculated) scale using getScale
Expand Down
2 changes: 1 addition & 1 deletion doc/news.t2t
Expand Up @@ -2081,7 +2081,7 @@ not need src parameter (this can be obtained from painter->device()).
More work on print system - still only works well on A4 landscape.

Northarrow and copyright label plugins now hidethemselves before emitting
update signals when ok is pressed.
update signals when OK is pressed.

QGSMapCanvas can now return the (last calculated) scale using getScale

Expand Down
4 changes: 2 additions & 2 deletions external/astyle/ASBeautifier.cpp
Expand Up @@ -131,7 +131,7 @@ ASBeautifier::ASBeautifier(const ASBeautifier& other) : ASBase(other)
*preprocIndentStack = *other.preprocIndentStack;

// Copy the pointers to vectors.
// This is ok because the original ASBeautifier object
// This is OK because the original ASBeautifier object
// is not deleted until end of job.
beautifierFileType = other.beautifierFileType;
headers = other.headers;
Expand Down Expand Up @@ -2611,7 +2611,7 @@ void ASBeautifier::parseCurrentLine(const string& line)
}
isInComment = false;
i++;
blockCommentNoIndent = false; // ok to indent next comment
blockCommentNoIndent = false; // OK to indent next comment
continue;
}
// treat indented preprocessor lines as a line comment
Expand Down
2 changes: 1 addition & 1 deletion external/astyle/ASFormatter.cpp
Expand Up @@ -5291,7 +5291,7 @@ void ASFormatter::convertTabToSpaces()
}

/**
* is it ok to break this block?
* is it OK to break this block?
*/
bool ASFormatter::isOkToBreakBlock(BraceType braceType) const
{
Expand Down
2 changes: 1 addition & 1 deletion python/analysis/interpolation/DualEdgeTriangulation.sip
Expand Up @@ -157,7 +157,7 @@ Returns a value list with the numbers of the four points, which would be affecte
protected:
unsigned int insertEdge( int dual, int next, int point, bool mbreak, bool forced );
%Docstring
Inserts an edge and makes sure, everything is ok with the storage of the edge. The number of the HalfEdge is returned
Inserts an edge and makes sure, everything is OK with the storage of the edge. The number of the HalfEdge is returned
%End
int insertForcedSegment( int p1, int p2, bool breakline );
%Docstring
Expand Down
10 changes: 5 additions & 5 deletions python/core/qgscachedfeatureiterator.sip
Expand Up @@ -33,7 +33,7 @@ class QgsCachedFeatureIterator : QgsAbstractFeatureIterator
%Docstring
Rewind to the beginning of the iterator

:return: bool true if the operation was ok
:return: bool true if the operation was OK
:rtype: bool
%End

Expand All @@ -52,7 +52,7 @@ class QgsCachedFeatureIterator : QgsAbstractFeatureIterator
Implementation for fetching a feature.

\param f Will write to this feature
:return: bool true if the operation was ok
:return: bool true if the operation was OK

.. seealso:: bool getFeature( QgsFeature& f )
:rtype: bool
Expand All @@ -63,7 +63,7 @@ class QgsCachedFeatureIterator : QgsAbstractFeatureIterator
We have a local special iterator for FilterFids, no need to run the generic.

\param f Will write to this feature
:return: bool true if the operation was ok
:return: bool true if the operation was OK
:rtype: bool
%End

Expand Down Expand Up @@ -93,7 +93,7 @@ class QgsCachedFeatureWriterIterator : QgsAbstractFeatureIterator
%Docstring
Rewind to the beginning of the iterator

:return: bool true if the operation was ok
:return: bool true if the operation was OK
:rtype: bool
%End

Expand All @@ -112,7 +112,7 @@ class QgsCachedFeatureWriterIterator : QgsAbstractFeatureIterator
Implementation for fetching a feature.

\param f Will write to this feature
:return: bool true if the operation was ok
:return: bool true if the operation was OK

.. seealso:: bool getFeature( QgsFeature& f )
:rtype: bool
Expand Down
2 changes: 1 addition & 1 deletion python/core/symbology-ng/qgsinvertedpolygonrenderer.sip
Expand Up @@ -53,7 +53,7 @@ Direct copies are forbidden. Use clone() instead.
\param layer the symbol layer to render, if that makes sense
\param selected whether this feature has been selected (this will add decorations)
\param drawVertexMarker whether this feature has vertex markers (in edit mode usually)
:return: true if the rendering was ok
:return: true if the rendering was OK
:rtype: bool
%End

Expand Down
2 changes: 1 addition & 1 deletion python/gui/attributetable/qgsdualview.sip
Expand Up @@ -190,7 +190,7 @@ class QgsDualView : QStackedWidget
%Docstring
saveEditChanges

:return: true if the saving was ok. false is possible due to connected
:return: true if the saving was OK. false is possible due to connected
validation logic.
:rtype: bool
%End
Expand Down
2 changes: 1 addition & 1 deletion python/gui/symbology-ng/qgsrendererwidget.sip
Expand Up @@ -18,7 +18,7 @@ WORKFLOW:
- find out which widget to use
- instantiate it and set in stacked widget
- on any change of renderer type, create some default (dummy?) version and change the stacked widget
- when clicked ok/apply, get the renderer from active widget and clone it for the layer
- when clicked OK/Apply, get the renderer from active widget and clone it for the layer
%End

%TypeHeaderCode
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/interpolation/DualEdgeTriangulation.h
Expand Up @@ -133,7 +133,7 @@ class ANALYSIS_EXPORT DualEdgeTriangulation: public Triangulation
QColor mBreakEdgeColor;
//! Pointer to the decorator using this triangulation. It it is used directly, mDecorator equals this
Triangulation *mDecorator = nullptr;
//! Inserts an edge and makes sure, everything is ok with the storage of the edge. The number of the HalfEdge is returned
//! Inserts an edge and makes sure, everything is OK with the storage of the edge. The number of the HalfEdge is returned
unsigned int insertEdge( int dual, int next, int point, bool mbreak, bool forced );
//! Inserts a forced segment between the points with the numbers p1 and p2 into the triangulation and returns the number of a HalfEdge belonging to this forced edge or -100 in case of failure
int insertForcedSegment( int p1, int p2, bool breakline );
Expand Down
6 changes: 3 additions & 3 deletions src/app/dwg/libdxfrw/drw_entities.cpp
Expand Up @@ -376,7 +376,7 @@ bool DRW_Entity::parseDwg( DRW::Version version, dwgBuffer *buf, dwgBuffer *strB
QgsDebugMsg( QString( "haveNextLinks (forced): %1" ).arg( haveNextLinks ) );
}
//ENC color
color = buf->getEnColor( version, color24, transparency ); //BS or CMC //ok for R14 or negate
color = buf->getEnColor( version, color24, transparency ); //BS or CMC //OK for R14 or negate
ltypeScale = buf->getBitDouble(); //BD
QgsDebugMsg( QString( " entity color:%1 ltScale:%2" ).arg( color ).arg( ltypeScale ) );

Expand Down Expand Up @@ -2244,7 +2244,7 @@ bool DRW_Hatch::parseDwg( DRW::Version version, dwgBuffer *buf, duint32 bs )

QgsDebugMsg( "***************************** parsing hatch *********************************************" );

//Gradient data, RLZ: is ok or if grad > 0 continue read ?
//Gradient data, RLZ: is OK or if grad > 0 continue read ?
if ( version > DRW::AC1015 ) //2004+
{
dint32 isGradient = buf->getBitLong();
Expand Down Expand Up @@ -2675,7 +2675,7 @@ bool DRW_Spline::parseDwg( DRW::Version version, dwgBuffer *buf, duint32 bs )
else
{
QgsDebugMsg( QString( "spline, unknown scenario %1" ).arg( scenario ) );
return false; //RLZ: from doc only 1 or 2 are ok ?
return false; //RLZ: from doc only 1 or 2 are OK ?
}

RESERVE( knotslist, nknots );
Expand Down
2 changes: 1 addition & 1 deletion src/app/dwg/libdxfrw/intern/dxfreader.cpp
Expand Up @@ -83,7 +83,7 @@ bool dxfReader::readRec( int *codeData )
else if ( code == 1071 ) //TODO this is an int 32b
readInt32();
else if ( skip )
//skip safely this dxf entry ( ok for ascii dxf)
//skip safely this dxf entry ( OK for ascii dxf)
readString();
else
//break in binary files because the conduct is unpredictable
Expand Down
2 changes: 1 addition & 1 deletion src/app/dwg/libdxfrw/intern/dxfwriter.cpp
Expand Up @@ -82,7 +82,7 @@
else if (code == 1071) //TODO this is an int 32b
readInt32();
else if (skip)
//skip safely this dxf entry ( ok for ascii dxf)
//skip safely this dxf entry ( OK for ascii dxf)
readString();
else
//break in binary files because the conduct is unpredictable
Expand Down
2 changes: 1 addition & 1 deletion src/app/dwg/libdxfrw/libdwgr.h
Expand Up @@ -27,7 +27,7 @@ class dwgR
public:
explicit dwgR( const char *name );
~dwgR();
//read: return true if all ok
//read: return true if all OK
bool read( DRW_Interface *interface_, bool ext );
bool getPreview();
DRW::Version getVersion() {return version;}
Expand Down
2 changes: 1 addition & 1 deletion src/app/pluginmanager/qgspluginsortfilterproxymodel.cpp
Expand Up @@ -61,7 +61,7 @@ bool QgsPluginSortFilterProxyModel::filterByStatus( QModelIndex &index ) const
if ( mAcceptedStatuses.contains( QStringLiteral( "invalid" ) )
&& sourceModel()->data( index, PLUGIN_ERROR_ROLE ).toString().isEmpty() )
{
// Don't accept if the "invalid" filter is set and the plugin is ok
// Don't accept if the "invalid" filter is set and the plugin is OK
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/qgisapp.h
Expand Up @@ -188,7 +188,7 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow

/** Open a raster or vector file; ignore other files.
Used to process a commandline argument, FileOpen or Drop event.
Set interactive to true if it is ok to ask the user for information (mostly for
Set interactive to true if it is OK to ask the user for information (mostly for
when a vector layer has sublayers and we want to ask which sublayers to use).
\returns true if the file is successfully opened
*/
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsfieldcalculator.h
Expand Up @@ -45,7 +45,7 @@ class APP_EXPORT QgsFieldCalculator: public QDialog, private Ui::QgsFieldCalcula
void on_mButtonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }

private slots:
//! Sets the ok button enabled / disabled
//! Sets the OK button enabled / disabled
void setOkButtonState();
void setPrecisionMinMax();

Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsrastercalcdialog.h
Expand Up @@ -52,7 +52,7 @@ class APP_EXPORT QgsRasterCalcDialog: public QDialog, private Ui::QgsRasterCalcD
void on_mCurrentLayerExtentButton_clicked();
void on_mExpressionTextEdit_textChanged();
void on_mOutputLayerLineEdit_textChanged( const QString &text );
//! Enables ok button if calculator expression is valid and output file path exists
//! Enables OK button if calculator expression is valid and output file path exists
void setAcceptButtonState();

//calculator buttons
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsrasterlayerproperties.cpp
Expand Up @@ -1708,7 +1708,7 @@ void QgsRasterLayerProperties::loadDefaultStyle_clicked()
{
bool defaultLoadedFlag = false;
QString myMessage = mRasterLayer->loadDefaultStyle( defaultLoadedFlag );
//reset if the default style was loaded ok only
//reset if the default style was loaded OK only
if ( defaultLoadedFlag )
{
syncToLayer();
Expand Down
8 changes: 4 additions & 4 deletions src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -804,10 +804,10 @@ void QgsVectorLayerProperties::loadDefaultStyle_clicked()

QString myMessage = mLayer->loadNamedStyle( mLayer->styleURI(), defaultLoadedFlag, true );
// QString myMessage = layer->loadDefaultStyle( defaultLoadedFlag );
//reset if the default style was loaded ok only
//reset if the default style was loaded OK only
if ( defaultLoadedFlag )
{
// all worked ok so no need to inform user
// all worked OK so no need to inform user
syncToLayer();
}
else
Expand Down Expand Up @@ -881,7 +881,7 @@ void QgsVectorLayerProperties::loadStyle_clicked()
{
myMessage = mLayer->loadNamedStyle( myFileName, defaultLoadedFlag );
}
//reset if the default style was loaded ok only
//reset if the default style was loaded OK only
if ( defaultLoadedFlag )
{
syncToLayer();
Expand Down Expand Up @@ -999,7 +999,7 @@ void QgsVectorLayerProperties::saveStyleAs( StyleType styleType )
myMessage = mLayer->saveNamedStyle( myOutputFileName, defaultLoadedFlag );
}

//reset if the default style was loaded ok only
//reset if the default style was loaded OK only
if ( defaultLoadedFlag )
{
syncToLayer();
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerhtml.cpp
Expand Up @@ -408,7 +408,7 @@ double QgsComposerHtml::findNearbyPageBreak( double yPos )
std::sort( candidates.begin(), candidates.end(), candidateSort );
//first candidate is now the largest row with smallest number of changes

//ok, now take the mid point of the best candidate position
//OK, now take the mid point of the best candidate position
//we do this so that the spacing between text lines is likely to be split in half
//otherwise the html will be broken immediately above a line of text, which
//looks a little messy
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposeritem.cpp
Expand Up @@ -835,7 +835,7 @@ bool QgsComposerItem::shouldDrawItem() const
{
if ( ( mComposition && mComposition->plotStyle() == QgsComposition::Preview ) || !mComposition )
{
//preview mode or no composition, so ok to draw item
//preview mode or no composition, so OK to draw item
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposition.cpp
Expand Up @@ -1600,7 +1600,7 @@ void QgsComposition::selectNextByZOrder( ZValueDirection direction )
return;
}

//ok, found a good target item
//OK, found a good target item
setAllDeselected();
selectedItem->setSelected( true );
emit selectedItemChanged( selectedItem );
Expand Down
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -1711,7 +1711,7 @@ static QVariant fcnSegmentsToLines( const QVariantList &values, const QgsExpress

QList< QgsLineString * > linesToProcess = QgsGeometryUtils::extractLineStrings( geom.geometry() );

//ok, now we have a complete list of segmentized lines from the geometry
//OK, now we have a complete list of segmentized lines from the geometry
QgsMultiLineString *ml = new QgsMultiLineString();
Q_FOREACH ( QgsLineString *line, linesToProcess )
{
Expand Down
2 changes: 1 addition & 1 deletion src/core/layertree/qgslayertreemodellegendnode.cpp
Expand Up @@ -60,7 +60,7 @@ QgsLayerTreeModelLegendNode::ItemMetrics QgsLayerTreeModelLegendNode::draw( cons

double textHeight = settings.fontHeightCharacterMM( symbolLabelFont, QChar( '0' ) );
// itemHeight here is not really item height, it is only for symbol
// vertical alignment purpose, i.e. ok take single line height
// vertical alignment purpose, i.e. OK take single line height
// if there are more lines, thos run under the symbol
double itemHeight = qMax( static_cast< double >( settings.symbolSize().height() ), textHeight );

Expand Down
2 changes: 1 addition & 1 deletion src/core/processing/qgsprocessingmodelalgorithm.cpp
Expand Up @@ -535,7 +535,7 @@ QVariantMap QgsProcessingModelAlgorithm::processAlgorithm( const QVariantMap &pa
feedback->pushDebugInfo( QObject::tr( "OK. Execution took %1 s (%2 outputs)." ).arg( childTime.elapsed() / 1000.0 ).arg( results.count() ) );
}
}
feedback->pushDebugInfo( QObject::tr( "Model processed ok. Executed %1 algorithms total in %2 s." ).arg( executed.count() ).arg( totalTime.elapsed() / 1000.0 ) );
feedback->pushDebugInfo( QObject::tr( "Model processed OK. Executed %1 algorithms total in %2 s." ).arg( executed.count() ).arg( totalTime.elapsed() / 1000.0 ) );

return finalResults;
}
Expand Down
10 changes: 5 additions & 5 deletions src/core/qgscachedfeatureiterator.h
Expand Up @@ -42,7 +42,7 @@ class CORE_EXPORT QgsCachedFeatureIterator : public QgsAbstractFeatureIterator
/**
* Rewind to the beginning of the iterator
*
* \returns bool true if the operation was ok
* \returns bool true if the operation was OK
*/
virtual bool rewind() override;

Expand All @@ -60,7 +60,7 @@ class CORE_EXPORT QgsCachedFeatureIterator : public QgsAbstractFeatureIterator
* Implementation for fetching a feature.
*
* \param f Will write to this feature
* \returns bool true if the operation was ok
* \returns bool true if the operation was OK
*
* \see bool getFeature( QgsFeature& f )
*/
Expand All @@ -70,7 +70,7 @@ class CORE_EXPORT QgsCachedFeatureIterator : public QgsAbstractFeatureIterator
* We have a local special iterator for FilterFids, no need to run the generic.
*
* \param f Will write to this feature
* \returns bool true if the operation was ok
* \returns bool true if the operation was OK
*/
virtual bool nextFeatureFilterFids( QgsFeature &f ) override { return fetchFeature( f ); }

Expand Down Expand Up @@ -102,7 +102,7 @@ class CORE_EXPORT QgsCachedFeatureWriterIterator : public QgsAbstractFeatureIter
/**
* Rewind to the beginning of the iterator
*
* \returns bool true if the operation was ok
* \returns bool true if the operation was OK
*/
virtual bool rewind() override;

Expand All @@ -119,7 +119,7 @@ class CORE_EXPORT QgsCachedFeatureWriterIterator : public QgsAbstractFeatureIter
* Implementation for fetching a feature.
*
* \param f Will write to this feature
* \returns bool true if the operation was ok
* \returns bool true if the operation was OK
*
* \see bool getFeature( QgsFeature& f )
*/
Expand Down

0 comments on commit 59e9f79

Please sign in to comment.