[QGIS Commit] r9505 - in trunk/qgis/src: app core/composer gui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Oct 20 17:35:05 EDT 2008


Author: wonder
Date: 2008-10-20 17:35:05 -0400 (Mon, 20 Oct 2008)
New Revision: 9505

Modified:
   trunk/qgis/src/app/qgsattributetabledisplay.cpp
   trunk/qgis/src/app/qgsoptions.cpp
   trunk/qgis/src/core/composer/qgscomposermap.h
   trunk/qgis/src/gui/qgsprojectionselector.cpp
Log:
fixed some typos in comments (by Vita Cizek)


Modified: trunk/qgis/src/app/qgsattributetabledisplay.cpp
===================================================================
--- trunk/qgis/src/app/qgsattributetabledisplay.cpp	2008-10-20 20:41:06 UTC (rev 9504)
+++ trunk/qgis/src/app/qgsattributetabledisplay.cpp	2008-10-20 21:35:05 UTC (rev 9505)
@@ -80,10 +80,10 @@
   connect( mToggleEditingButton, SIGNAL( clicked() ), this, SLOT( toggleEditing() ) );
   connect( this, SIGNAL( editingToggled( QgsMapLayer * ) ), QgisApp::instance(), SLOT( toggleEditing( QgsMapLayer * ) ) );
 
-  // etablish connection to table
+  // establish connection to table
   connect( tblAttributes, SIGNAL( cellChanged( int, int ) ), this, SLOT( changeFeatureAttribute( int, int ) ) );
 
-  // etablish connections to layer
+  // establish connections to layer
   connect( mLayer, SIGNAL( layerDeleted() ), this, SLOT( close() ) );
 
   connect( mLayer, SIGNAL( selectionChanged() ), this, SLOT( selectionChanged() ) );
@@ -100,7 +100,7 @@
   connect( mLayer, SIGNAL( featureDeleted( int ) ),
            tblAttributes, SLOT( featureDeleted( int ) ) );
 
-  // etablish connections between table and vector layer
+  // establish connections between table and vector layer
   connect( tblAttributes, SIGNAL( selected( int, bool ) ), mLayer, SLOT( select( int, bool ) ) );
   connect( tblAttributes, SIGNAL( selectionRemoved( bool ) ), mLayer, SLOT( removeSelection( bool ) ) );
   connect( tblAttributes, SIGNAL( repaintRequested() ), mLayer, SLOT( triggerRepaint() ) );

Modified: trunk/qgis/src/app/qgsoptions.cpp
===================================================================
--- trunk/qgis/src/app/qgsoptions.cpp	2008-10-20 20:41:06 UTC (rev 9504)
+++ trunk/qgis/src/app/qgsoptions.cpp	2008-10-20 21:35:05 UTC (rev 9505)
@@ -490,7 +490,7 @@
     //     database if it does not exist.
     assert( myResult == 0 );
   }
-  // Set up the query to retreive the projection information needed to populate the ELLIPSOID list
+  // Set up the query to retrieve the projection information needed to populate the ELLIPSOID list
   QString mySql = "select name from tbl_ellipsoid where acronym='" + theEllipsoidAcronym + "'";
   myResult = sqlite3_prepare( myDatabase, mySql.toUtf8(), mySql.length(), &myPreparedStatement, &myTail );
   // XXX Need to free memory from the error msg if one is set

Modified: trunk/qgis/src/core/composer/qgscomposermap.h
===================================================================
--- trunk/qgis/src/core/composer/qgscomposermap.h	2008-10-20 20:41:06 UTC (rev 9504)
+++ trunk/qgis/src/core/composer/qgscomposermap.h	2008-10-20 21:35:05 UTC (rev 9505)
@@ -187,7 +187,7 @@
     /**For the generation of new unique ids*/
     static int mCurrentComposerId;
 
-    /**Etablishes signal/slot connection for update in case of layer change*/
+    /**Establishes signal/slot connection for update in case of layer change*/
     void connectUpdateSlot();
 
     /**Returns the zoom factor of the graphics view. If no

Modified: trunk/qgis/src/gui/qgsprojectionselector.cpp
===================================================================
--- trunk/qgis/src/gui/qgsprojectionselector.cpp	2008-10-20 20:41:06 UTC (rev 9504)
+++ trunk/qgis/src/gui/qgsprojectionselector.cpp	2008-10-20 21:35:05 UTC (rev 9505)
@@ -618,7 +618,7 @@
 
   sqlite3_finalize( ppStmt );
 
-  // Set up the query to retreive the projection information needed to populate the list
+  // Set up the query to retrieve the projection information needed to populate the list
   //note I am giving the full field names for clarity here and in case someown
   //changes the underlying view TS
   sql = "select description, srs_id, epsg, is_geo, name, parameters from vw_srs ";
@@ -731,7 +731,7 @@
   QgsDebugMsg( "pbnFind..." );
 
   QString mySearchString( sqlSafeString( leSearch->text() ) );
-  // Set up the query to retreive the projection information needed to populate the list
+  // Set up the query to retrieve the projection information needed to populate the list
   QString mySql;
   if ( radEpsgCrsId->isChecked() )
   {



More information about the QGIS-commit mailing list