[QGIS Commit] r8682 - in trunk/qgis/src: app core/raster providers/delimitedtext providers/gpx

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Jun 28 17:20:54 EDT 2008


Author: jef
Date: 2008-06-28 17:20:54 -0400 (Sat, 28 Jun 2008)
New Revision: 8682

Modified:
   trunk/qgis/src/app/CMakeLists.txt
   trunk/qgis/src/app/qgsdbtablemodel.h
   trunk/qgis/src/app/qgsmaptoolsplitfeatures.h
   trunk/qgis/src/app/qgsmaptoolvertexedit.h
   trunk/qgis/src/app/qgsmeasuretool.h
   trunk/qgis/src/core/raster/qgsrasterlayer.h
   trunk/qgis/src/providers/delimitedtext/CMakeLists.txt
   trunk/qgis/src/providers/delimitedtext/qgsdelimitedtextprovider.h
   trunk/qgis/src/providers/gpx/CMakeLists.txt
   trunk/qgis/src/providers/gpx/qgsgpxprovider.h
Log:
fix some lupdate warnings

Modified: trunk/qgis/src/app/CMakeLists.txt
===================================================================
--- trunk/qgis/src/app/CMakeLists.txt	2008-06-28 13:07:36 UTC (rev 8681)
+++ trunk/qgis/src/app/CMakeLists.txt	2008-06-28 21:20:54 UTC (rev 8682)
@@ -100,6 +100,9 @@
   qgsludialog.h
   qgsmaplayerinterface.h
   qgsmaptoolidentify.h
+  qgsmaptoolsplitfeatures.h
+  qgsmaptoolvertexedit.h
+  qgsmeasuretool.h
   qgsmeasuredialog.h
   qgsnewhttpconnection.h
   qgsoptions.h
@@ -114,6 +117,7 @@
   qgssnappingdialog.h
   qgsuniquevaluedialog.h
   qgsvectorlayerproperties.h
+  qgsdbtablemodel.h
 
   composer/qgscomposer.h
   composer/qgscomposerlabel.h

Modified: trunk/qgis/src/app/qgsdbtablemodel.h
===================================================================
--- trunk/qgis/src/app/qgsdbtablemodel.h	2008-06-28 13:07:36 UTC (rev 8681)
+++ trunk/qgis/src/app/qgsdbtablemodel.h	2008-06-28 21:20:54 UTC (rev 8682)
@@ -23,6 +23,7 @@
 The tables have the following columns: Type, Schema, Tablename, Geometry Column, Sql*/
 class QgsDbTableModel: public QStandardItemModel
 {
+  Q_OBJECT;
  public:
   QgsDbTableModel();
   ~QgsDbTableModel();

Modified: trunk/qgis/src/app/qgsmaptoolsplitfeatures.h
===================================================================
--- trunk/qgis/src/app/qgsmaptoolsplitfeatures.h	2008-06-28 13:07:36 UTC (rev 8681)
+++ trunk/qgis/src/app/qgsmaptoolsplitfeatures.h	2008-06-28 21:20:54 UTC (rev 8682)
@@ -22,6 +22,7 @@
 /**A map tool that draws a line and splits the features cut by the line*/
 class QgsMapToolSplitFeatures: public QgsMapToolCapture
 {
+  Q_OBJECT;
  public:
   QgsMapToolSplitFeatures(QgsMapCanvas* canvas);
   virtual ~QgsMapToolSplitFeatures();

Modified: trunk/qgis/src/app/qgsmaptoolvertexedit.h
===================================================================
--- trunk/qgis/src/app/qgsmaptoolvertexedit.h	2008-06-28 13:07:36 UTC (rev 8681)
+++ trunk/qgis/src/app/qgsmaptoolvertexedit.h	2008-06-28 21:20:54 UTC (rev 8682)
@@ -26,6 +26,8 @@
 QgsMapToolDeleteVertex*/
 class QgsMapToolVertexEdit: public QgsMapToolEdit
 {
+  Q_OBJECT;
+
  public:
 
   QgsMapToolVertexEdit(QgsMapCanvas* canvas);

Modified: trunk/qgis/src/app/qgsmeasuretool.h
===================================================================
--- trunk/qgis/src/app/qgsmeasuretool.h	2008-06-28 13:07:36 UTC (rev 8681)
+++ trunk/qgis/src/app/qgsmeasuretool.h	2008-06-28 21:20:54 UTC (rev 8682)
@@ -29,6 +29,7 @@
 
 class QgsMeasureTool : public QgsMapTool
 {
+  Q_OBJECT;
 
 public:
   

Modified: trunk/qgis/src/core/raster/qgsrasterlayer.h
===================================================================
--- trunk/qgis/src/core/raster/qgsrasterlayer.h	2008-06-28 13:07:36 UTC (rev 8681)
+++ trunk/qgis/src/core/raster/qgsrasterlayer.h	2008-06-28 21:20:54 UTC (rev 8682)
@@ -101,14 +101,14 @@
  *      myRasterLayer->setDrawingStyle(QgsRasterLayer::SINGLE_BAND_PSEUDO_COLOR);
  *    }
  * 
- *  Raster layers can also have an arbitary level of transparency defined, and have their
+ *  Raster layers can also have an arbitrary level of transparency defined, and have their
  *  color palettes inverted using the setTransparency and setInvertHistogramFlag methods. 
  * 
  *  Pseudocolor images can have their output adjusted to a given number of standard
  *  deviations using the setStdDevsToPlot method.
  * 
  *  The final area of functionality you may be interested in is band mapping. Band mapping
- *  allows you to choose arbitary band -> color mappings and is applicable only to PALETTE
+ *  allows you to choose arbitrary band -> color mappings and is applicable only to PALETTE
  *  and MULTIBAND rasters, There are four mappings that can be made: red, green, blue and gray.
  *  Mappings are non-exclusive. That is a given band can be assigned to no, some or all 
  *  color mappings. The constructor sets sensible defaults for band mappings but these can be

Modified: trunk/qgis/src/providers/delimitedtext/CMakeLists.txt
===================================================================
--- trunk/qgis/src/providers/delimitedtext/CMakeLists.txt	2008-06-28 13:07:36 UTC (rev 8681)
+++ trunk/qgis/src/providers/delimitedtext/CMakeLists.txt	2008-06-28 21:20:54 UTC (rev 8682)
@@ -4,6 +4,9 @@
 
 SET (DTEXT_SRCS qgsdelimitedtextprovider.cpp)
 
+SET (DTEXT_MOC_HDRS
+	qgsdelimitedtextprovider.h
+)
 
 ########################################################
 # Build

Modified: trunk/qgis/src/providers/delimitedtext/qgsdelimitedtextprovider.h
===================================================================
--- trunk/qgis/src/providers/delimitedtext/qgsdelimitedtextprovider.h	2008-06-28 13:07:36 UTC (rev 8681)
+++ trunk/qgis/src/providers/delimitedtext/qgsdelimitedtextprovider.h	2008-06-28 21:20:54 UTC (rev 8682)
@@ -42,6 +42,8 @@
 */
 class QgsDelimitedTextProvider : public QgsVectorDataProvider
 {
+  Q_OBJECT;
+
 public:
 
   QgsDelimitedTextProvider(QString uri = QString());

Modified: trunk/qgis/src/providers/gpx/CMakeLists.txt
===================================================================
--- trunk/qgis/src/providers/gpx/CMakeLists.txt	2008-06-28 13:07:36 UTC (rev 8681)
+++ trunk/qgis/src/providers/gpx/CMakeLists.txt	2008-06-28 21:20:54 UTC (rev 8682)
@@ -2,9 +2,13 @@
 ########################################################
 # Files
 
-SET (OGR_SRCS qgsgpxprovider.cpp gpsdata.cpp)
+SET (GPX_SRCS qgsgpxprovider.cpp gpsdata.cpp)
 
+SET (GPX_MOC_HDRS
+	qgsgpxprovider.h
+)
 
+
 ########################################################
 # Build
 
@@ -14,7 +18,7 @@
   ${EXPAT_INCLUDE_DIR}
 )
 
-ADD_LIBRARY(gpxprovider MODULE ${OGR_SRCS})
+ADD_LIBRARY(gpxprovider MODULE ${GPX_SRCS})
 
 TARGET_LINK_LIBRARIES(gpxprovider
   ${QT_QTCORE_LIBRARY} 

Modified: trunk/qgis/src/providers/gpx/qgsgpxprovider.h
===================================================================
--- trunk/qgis/src/providers/gpx/qgsgpxprovider.h	2008-06-28 13:07:36 UTC (rev 8681)
+++ trunk/qgis/src/providers/gpx/qgsgpxprovider.h	2008-06-28 21:20:54 UTC (rev 8682)
@@ -37,6 +37,7 @@
 */
 class QgsGPXProvider : public QgsVectorDataProvider
 {
+  Q_OBJECT;
   
 public:
   



More information about the QGIS-commit mailing list