indentation update and typo fixes

This commit is contained in:
Juergen E. Fischer 2014-11-13 23:13:13 +01:00
parent 701f4644d0
commit d4f64d9bde
69 changed files with 269 additions and 271 deletions

8
NEWS
View File

@ -1,6 +1,6 @@
QGIS News QGIS News
Change history for the QGIS Project Change history for the QGIS Project
Thursday October 23, 2014 Thursday November 13, 2014
------------------------------------------------------------------------ ------------------------------------------------------------------------
@ -34,8 +34,8 @@ Thursday October 23, 2014
------------------------------------------------------------------------ ------------------------------------------------------------------------
Last Updated: Thursday October 23, 2014 Last Updated: Thursday November 13, 2014
Last Change : Thursday October 23, 2014 Last Change : Thursday November 13, 2014
1. What's new in Version 2.6.0 'Brighton'? 1. What's new in Version 2.6.0 'Brighton'?
@ -60,7 +60,7 @@ This is a minor release increment with the following new features:
- New Composer Item tree panel - New Composer Item tree panel
- More control over appearance of composer arrow/line items - More control over appearance of composer arrow/line items
- Data defined control of composer items - Data defined control of composer items
- Composer images can be specifed as remote URLS - Composer images can be specified as remote URLS
- Composer Table improvements (header fonts / colors, better pagination support, filter to atlas feature etc.) - Composer Table improvements (header fonts / colors, better pagination support, filter to atlas feature etc.)
- Composer improvements - Composer improvements
- Improved item snapping - Improved item snapping

View File

@ -77,7 +77,7 @@ label{ background-color: #FFFFCC;
<DIV CLASS="header" ID="header"> <DIV CLASS="header" ID="header">
<H1>QGIS News</H1> <H1>QGIS News</H1>
<H2>Change history for the QGIS Project</H2> <H2>Change history for the QGIS Project</H2>
<H3>Thursday October 23, 2014</H3> <H3>Thursday November 13, 2014</H3>
</DIV> </DIV>
<DIV CLASS="toc"> <DIV CLASS="toc">
@ -111,8 +111,8 @@ label{ background-color: #FFFFCC;
</DIV> </DIV>
<DIV CLASS="body" ID="body"> <DIV CLASS="body" ID="body">
<P> <P>
Last Updated: Thursday October 23, 2014 Last Updated: Thursday November 13, 2014
Last Change : Thursday October 23, 2014 Last Change : Thursday November 13, 2014
</P> </P>
<A NAME="toc1"></A> <A NAME="toc1"></A>
@ -140,7 +140,7 @@ This is a minor release increment with the following new features:
<LI>New Composer Item tree panel <LI>New Composer Item tree panel
<LI>More control over appearance of composer arrow/line items <LI>More control over appearance of composer arrow/line items
<LI>Data defined control of composer items <LI>Data defined control of composer items
<LI>Composer images can be specifed as remote URLS <LI>Composer images can be specified as remote URLS
<LI>Composer Table improvements (header fonts / colors, better pagination support, filter to atlas feature etc.) <LI>Composer Table improvements (header fonts / colors, better pagination support, filter to atlas feature etc.)
<LI>Composer improvements <LI>Composer improvements
<LI>Improved item snapping <LI>Improved item snapping

View File

@ -59,7 +59,7 @@ This is a minor release increment with the following new features:
- New Composer Item tree panel - New Composer Item tree panel
- More control over appearance of composer arrow/line items - More control over appearance of composer arrow/line items
- Data defined control of composer items - Data defined control of composer items
- Composer images can be specifed as remote URLS - Composer images can be specified as remote URLS
- Composer Table improvements (header fonts / colors, better pagination support, filter to atlas feature etc.) - Composer Table improvements (header fonts / colors, better pagination support, filter to atlas feature etc.)
- Composer improvements - Composer improvements
- Improved item snapping - Improved item snapping

View File

@ -34,7 +34,7 @@ class QgsMapToPixel
* @return QgsPoint in device coordinates * @return QgsPoint in device coordinates
*/ */
QgsPoint transform( double x, double y ) const; QgsPoint transform( double x, double y ) const;
/*! Tranform device coordinates to map (world) coordinates /*! Transform device coordinates to map (world) coordinates
* @param x x coordinate of point to be converted to map cooordinates * @param x x coordinate of point to be converted to map cooordinates
* @param y y coordinate of point to be converted to map cooordinates * @param y y coordinate of point to be converted to map cooordinates
* @return QgsPoint in map coordinates * @return QgsPoint in map coordinates
@ -54,11 +54,10 @@ class QgsMapToPixel
QgsPoint toMapCoordinates( int x, int y ) const; QgsPoint toMapCoordinates( int x, int y ) const;
/*! Transform device coordinates to map (world) coordinates /*! Transform device coordinates to map (world) coordinates */
@note: this method was added in version 1.6*/
QgsPoint toMapCoordinatesF( double x, double y ) const; QgsPoint toMapCoordinatesF( double x, double y ) const;
/*! Tranform device coordinates to map (world) coordinates /*! Transform device coordinates to map (world) coordinates
* @param p Point to be converted to map cooordinates * @param p Point to be converted to map cooordinates
* @return QgsPoint in map coorndiates * @return QgsPoint in map coorndiates
*/ */

View File

@ -138,7 +138,6 @@ class QgsColorWidget : QWidget
//Reimplemented to accept dropped colors //Reimplemented to accept dropped colors
void dropEvent( QDropEvent *e ); void dropEvent( QDropEvent *e );
}; };

View File

@ -69,11 +69,11 @@ for f in "$@"; do
cmd="$ASTYLE $ARTISTIC_STYLE_OPTIONS" cmd="$ASTYLE $ARTISTIC_STYLE_OPTIONS"
;; ;;
*.ui|*.qgm|*.txt|*.t2t|*.sip|resources/context_help/*) *.ui|*.qgm|*.txt|*.t2t|resources/context_help/*)
cmd=: cmd=:
;; ;;
*.py) *.py|*.sip)
cmd="perl -i.prepare -pe 's/[\r\t ]+$//;'" cmd="perl -i.prepare -pe 's/[\r\t ]+$//;'"
;; ;;

View File

@ -124,7 +124,7 @@ class CORE_EXPORT QgsBrowserModel : public QAbstractItemModel
bool fetching( QgsDataItem *item ) const; bool fetching( QgsDataItem *item ) const;
signals: signals:
/** Emited when item children fetch was finished */ /** Emitted when item children fetch was finished */
void fetchFinished( const QModelIndex & index ); void fetchFinished( const QModelIndex & index );
public slots: public slots:

View File

@ -56,7 +56,7 @@ class CORE_EXPORT QgsMapToPixel
* @return QgsPoint in device coordinates * @return QgsPoint in device coordinates
*/ */
QgsPoint transform( double x, double y ) const; QgsPoint transform( double x, double y ) const;
/*! Tranform device coordinates to map (world) coordinates /*! Transform device coordinates to map (world) coordinates
* @param x x coordinate of point to be converted to map cooordinates * @param x x coordinate of point to be converted to map cooordinates
* @param y y coordinate of point to be converted to map cooordinates * @param y y coordinate of point to be converted to map cooordinates
* @return QgsPoint in map coordinates * @return QgsPoint in map coordinates
@ -87,7 +87,7 @@ class CORE_EXPORT QgsMapToPixel
/*! Transform device coordinates to map (world) coordinates */ /*! Transform device coordinates to map (world) coordinates */
QgsPoint toMapCoordinatesF( double x, double y ) const; QgsPoint toMapCoordinatesF( double x, double y ) const;
/*! Tranform device coordinates to map (world) coordinates /*! Transform device coordinates to map (world) coordinates
* @param p Point to be converted to map cooordinates * @param p Point to be converted to map cooordinates
* @return QgsPoint in map coorndiates * @return QgsPoint in map coorndiates
*/ */

View File

@ -27,7 +27,7 @@ class QToolButton;
* \class QgsColorWidget * \class QgsColorWidget
* A base class for interactive color widgets. Widgets can either allow setting a single component of * A base class for interactive color widgets. Widgets can either allow setting a single component of
* a color (eg the red or green components), or an entire color. The QgsColorWidget also keeps track of * a color (eg the red or green components), or an entire color. The QgsColorWidget also keeps track of
* any explicitly set hue for the color, so that this information is not lost when the widget is * any explicitely set hue for the color, so that this information is not lost when the widget is
* set to a color with an ambiguous hue (eg black or white shades). * set to a color with an ambiguous hue (eg black or white shades).
* \note Added in version 2.5 * \note Added in version 2.5
*/ */

View File

@ -32,8 +32,8 @@
#include <QUrl> #include <QUrl>
#include <fcgi_stdio.h> #include <fcgi_stdio.h>
QgsHttpRequestHandler::QgsHttpRequestHandler(): QgsHttpRequestHandler::QgsHttpRequestHandler()
QgsRequestHandler() : QgsRequestHandler()
{ {
mException = NULL; mException = NULL;
mHeadersSent = FALSE; mHeadersSent = FALSE;

View File

@ -179,7 +179,7 @@ void TestQgsComposerLabel::page_evaluation()
void TestQgsComposerLabel::marginMethods() void TestQgsComposerLabel::marginMethods()
{ {
QgsComposerLabel label( mComposition ); QgsComposerLabel label( mComposition );
//test setting margins seperately //test setting margins separately
label.setMarginX( 3.0 ); label.setMarginX( 3.0 );
label.setMarginY( 4.0 ); label.setMarginY( 4.0 );
QCOMPARE( label.marginX(), 3.0 ); QCOMPARE( label.marginX(), 3.0 );