Skip to content

Commit 9b3cdb2

Browse files
author
timlinux
committed
Code formatting only
git-svn-id: http://svn.osgeo.org/qgis/trunk@7844 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ae0901d commit 9b3cdb2

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

src/core/symbology/qgssymbol.h

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ class QDomNode;
2828
class QDomDocument;
2929

3030
/**Encapsulates settings for drawing (QPen, QBrush, Point symbol) and classification
31-
(lower value, upper value)*/
31+
(lower value, upper value)*/
3232
class CORE_EXPORT QgsSymbol{
3333

34-
public:
34+
public:
3535
/**Constructor*/
3636
QgsSymbol(QGis::VectorType t, QString lvalue="", QString uvalue="", QString label="");
3737
/**Constructor*/
@@ -66,10 +66,10 @@ class CORE_EXPORT QgsSymbol{
6666
/**Set the fill (brush) style*/
6767
virtual void setFillStyle(Qt::BrushStyle s);
6868

69-
/**Gets the path to the customs texture image*/
70-
virtual QString customTexture() const;
71-
/**Sets the path to the custom texture, and sets the brush to use TexturePattern */
72-
virtual void setCustomTexture(QString path);
69+
/**Gets the path to the customs texture image*/
70+
virtual QString customTexture() const;
71+
/**Sets the path to the custom texture, and sets the brush to use TexturePattern */
72+
virtual void setCustomTexture(QString path);
7373

7474
virtual void setLowerValue(QString value);
7575
virtual QString lowerValue() const;
@@ -94,22 +94,22 @@ class CORE_EXPORT QgsSymbol{
9494

9595
//! Get a little icon for the legend
9696
virtual QImage getPolygonSymbolAsImage();
97-
97+
9898
/** Get QImage representation of point symbol with current settings
99-
*/
99+
*/
100100
virtual QImage getPointSymbolAsImage( double widthScale = 1.,
101-
bool selected = false, QColor selectionColor = Qt::yellow );
101+
bool selected = false, QColor selectionColor = Qt::yellow );
102102

103103
/**Writes the contents of the symbol to a configuration file
104-
@ return true in case of success*/
104+
@ return true in case of success*/
105105
virtual bool writeXML( QDomNode & item, QDomDocument & document ) const;
106106
/**Reads the contents of the symbol from a configuration file
107-
@ return true in case of success*/
107+
@ return true in case of success*/
108108
virtual bool readXML( QDomNode & symbol );
109109
/**Returns if this symbol is point/ line or polygon*/
110110
QGis::VectorType type() const {return mType;}
111111

112-
protected:
112+
protected:
113113
/**Lower value for classification*/
114114
QString mLowerValue;
115115
/**Upper value for classification*/
@@ -120,7 +120,7 @@ class CORE_EXPORT QgsSymbol{
120120

121121
QPen mPen;
122122
QBrush mBrush;
123-
QString mTextureFilePath;
123+
QString mTextureFilePath;
124124
/* Point symbol name */
125125
QString mPointSymbolName;
126126
/* Point size */
@@ -137,7 +137,7 @@ class CORE_EXPORT QgsSymbol{
137137
//
138138
//
139139

140-
140+
141141
/* Point symbol cache */
142142
QImage mPointSymbolImage;
143143

@@ -146,11 +146,11 @@ class CORE_EXPORT QgsSymbol{
146146

147147
/* Current line width scale used by mPointSymbolVectorImage */
148148
double mWidthScale;
149-
149+
150150
/* Point symbol cache but with line width scale mWidthScale */
151151
QImage mPointSymbolImage2;
152152
QImage mPointSymbolImageSelected2;
153-
153+
154154
/* Create point symbol mPointSymbolImage/mPointSymbolImage cache */
155155
void cache( QColor selectionColor );
156156

@@ -170,52 +170,52 @@ class CORE_EXPORT QgsSymbol{
170170

171171
inline void QgsSymbol::setBrush(QBrush b)
172172
{
173-
mBrush=b;
173+
mBrush=b;
174174
}
175175

176176
inline const QBrush& QgsSymbol::brush() const
177177
{
178-
return mBrush;
178+
return mBrush;
179179
}
180180

181181
inline void QgsSymbol::setPen(QPen p)
182182
{
183-
mPen=p;
183+
mPen=p;
184184
}
185185

186186
inline const QPen& QgsSymbol::pen() const
187187
{
188-
return mPen;
188+
return mPen;
189189
}
190190

191191
inline void QgsSymbol::setLowerValue(QString value)
192192
{
193-
mLowerValue=value;
193+
mLowerValue=value;
194194
}
195195

196196
inline QString QgsSymbol::lowerValue() const
197197
{
198-
return mLowerValue;
198+
return mLowerValue;
199199
}
200200

201201
inline void QgsSymbol::setUpperValue(QString value)
202202
{
203-
mUpperValue=value;
203+
mUpperValue=value;
204204
}
205205

206206
inline QString QgsSymbol::upperValue() const
207207
{
208-
return mUpperValue;
208+
return mUpperValue;
209209
}
210210

211211
inline void QgsSymbol::setLabel(QString label)
212212
{
213-
mLabel=label;
213+
mLabel=label;
214214
}
215215

216216
inline QString QgsSymbol::label() const
217217
{
218-
return mLabel;
218+
return mLabel;
219219
}
220220

221221
#endif // QGSSYMBOL_H

0 commit comments

Comments
 (0)