Skip to content

Commit d086a09

Browse files
author
jef
committed
fix some lupdate warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8682 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2bff3d4 commit d086a09

10 files changed

+23
-4
lines changed

src/app/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ SET (QGIS_APP_MOC_HDRS
100100
qgsludialog.h
101101
qgsmaplayerinterface.h
102102
qgsmaptoolidentify.h
103+
qgsmaptoolsplitfeatures.h
104+
qgsmaptoolvertexedit.h
105+
qgsmeasuretool.h
103106
qgsmeasuredialog.h
104107
qgsnewhttpconnection.h
105108
qgsoptions.h
@@ -114,6 +117,7 @@ SET (QGIS_APP_MOC_HDRS
114117
qgssnappingdialog.h
115118
qgsuniquevaluedialog.h
116119
qgsvectorlayerproperties.h
120+
qgsdbtablemodel.h
117121

118122
composer/qgscomposer.h
119123
composer/qgscomposerlabel.h

src/app/qgsdbtablemodel.h

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ schemas are the root elements that contain the individual tables as children.
2323
The tables have the following columns: Type, Schema, Tablename, Geometry Column, Sql*/
2424
class QgsDbTableModel: public QStandardItemModel
2525
{
26+
Q_OBJECT;
2627
public:
2728
QgsDbTableModel();
2829
~QgsDbTableModel();

src/app/qgsmaptoolsplitfeatures.h

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
/**A map tool that draws a line and splits the features cut by the line*/
2323
class QgsMapToolSplitFeatures: public QgsMapToolCapture
2424
{
25+
Q_OBJECT;
2526
public:
2627
QgsMapToolSplitFeatures(QgsMapCanvas* canvas);
2728
virtual ~QgsMapToolSplitFeatures();

src/app/qgsmaptoolvertexedit.h

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
QgsMapToolDeleteVertex*/
2727
class QgsMapToolVertexEdit: public QgsMapToolEdit
2828
{
29+
Q_OBJECT;
30+
2931
public:
3032

3133
QgsMapToolVertexEdit(QgsMapCanvas* canvas);

src/app/qgsmeasuretool.h

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class QgsRubberBand;
2929

3030
class QgsMeasureTool : public QgsMapTool
3131
{
32+
Q_OBJECT;
3233

3334
public:
3435

src/core/raster/qgsrasterlayer.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@
101101
* myRasterLayer->setDrawingStyle(QgsRasterLayer::SINGLE_BAND_PSEUDO_COLOR);
102102
* }
103103
*
104-
* Raster layers can also have an arbitary level of transparency defined, and have their
104+
* Raster layers can also have an arbitrary level of transparency defined, and have their
105105
* color palettes inverted using the setTransparency and setInvertHistogramFlag methods.
106106
*
107107
* Pseudocolor images can have their output adjusted to a given number of standard
108108
* deviations using the setStdDevsToPlot method.
109109
*
110110
* The final area of functionality you may be interested in is band mapping. Band mapping
111-
* allows you to choose arbitary band -> color mappings and is applicable only to PALETTE
111+
* allows you to choose arbitrary band -> color mappings and is applicable only to PALETTE
112112
* and MULTIBAND rasters, There are four mappings that can be made: red, green, blue and gray.
113113
* Mappings are non-exclusive. That is a given band can be assigned to no, some or all
114114
* color mappings. The constructor sets sensible defaults for band mappings but these can be

src/providers/delimitedtext/CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
SET (DTEXT_SRCS qgsdelimitedtextprovider.cpp)
66

7+
SET (DTEXT_MOC_HDRS
8+
qgsdelimitedtextprovider.h
9+
)
710

811
########################################################
912
# Build

src/providers/delimitedtext/qgsdelimitedtextprovider.h

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ class QTextStream;
4242
*/
4343
class QgsDelimitedTextProvider : public QgsVectorDataProvider
4444
{
45+
Q_OBJECT;
46+
4547
public:
4648

4749
QgsDelimitedTextProvider(QString uri = QString());

src/providers/gpx/CMakeLists.txt

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
########################################################
33
# Files
44

5-
SET (OGR_SRCS qgsgpxprovider.cpp gpsdata.cpp)
5+
SET (GPX_SRCS qgsgpxprovider.cpp gpsdata.cpp)
6+
7+
SET (GPX_MOC_HDRS
8+
qgsgpxprovider.h
9+
)
610

711

812
########################################################
@@ -14,7 +18,7 @@ INCLUDE_DIRECTORIES(
1418
${EXPAT_INCLUDE_DIR}
1519
)
1620

17-
ADD_LIBRARY(gpxprovider MODULE ${OGR_SRCS})
21+
ADD_LIBRARY(gpxprovider MODULE ${GPX_SRCS})
1822

1923
TARGET_LINK_LIBRARIES(gpxprovider
2024
${QT_QTCORE_LIBRARY}

src/providers/gpx/qgsgpxprovider.h

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class GPSData;
3737
*/
3838
class QgsGPXProvider : public QgsVectorDataProvider
3939
{
40+
Q_OBJECT;
4041

4142
public:
4243

0 commit comments

Comments
 (0)