Skip to content

Commit ca17401

Browse files
author
telwertowski
committedMar 9, 2006
Remove redundant class qualifiers on member declarations within class definitions. It's not standard and gcc 4.1 is enforcing the rules.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4990 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed
 

‎src/gui/qgsencodingfiledialog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class QgsEncodingFileDialog: public QFileDialog
2424
{
2525
Q_OBJECT
2626
public:
27-
QgsEncodingFileDialog::QgsEncodingFileDialog(QWidget * parent = 0,
27+
QgsEncodingFileDialog(QWidget * parent = 0,
2828
const QString & caption = QString(), const QString & directory = QString(),
2929
const QString & filter = QString(), const QString & encoding = QString());
3030
~QgsEncodingFileDialog();

‎src/gui/qgslabel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class QgsLabel
9090
void addRequiredFields ( std::list<int> *fields );
9191

9292
//! Available vector fields
93-
std::vector<QgsField> & QgsLabel::fields ( void );
93+
std::vector<QgsField> & fields ( void );
9494

9595
//! Pointer to default attributes
9696
QgsLabelAttributes *layerAttributes ( void );

‎src/gui/qgspastetransformations.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ class QgsPasteTransformations : public QDialog, private Ui::QgsPasteTransformati
6868
//! Common subfunction to sourceChanged() and destinationChanged()
6969
void layerChanged(const QString& layerName, std::vector<QString>* fields);
7070

71-
void QgsPasteTransformations::restoreTransfers(const QString& sourceSelectedFieldName,
72-
const QString& destinationSelectedFieldName);
71+
void restoreTransfers(const QString& sourceSelectedFieldName,
72+
const QString& destinationSelectedFieldName);
7373

7474

7575
std::map<QString, QgsMapLayer*> mMapNameLookup;

‎src/gui/qgsproject.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ class QgsProject
9191
write()
9292
*/
9393
//@{
94-
bool QgsProject::dirty() const;
94+
bool dirty() const;
9595

96-
void QgsProject::dirty( bool b );
96+
void dirty( bool b );
9797
//@}
9898

9999

‎src/plugins/geoprocessing/qgsdlgpgbuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class QgsDlgPgBuffer:public QDialog, private Ui::QgsDlgPgBufferBase
3232
//! Constructor
3333
QgsDlgPgBuffer( QgisIface * _qI = 0, QWidget * parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags);
3434
//! Destructor
35-
QgsDlgPgBuffer::~QgsDlgPgBuffer();
35+
~QgsDlgPgBuffer();
3636
//! Set the information label in the dialog
3737
void setBufferLabel(QString & lbl);
3838
//! Get the buffer distance

‎src/plugins/grid_maker/graticulecreator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ class GraticuleCreator
4040
private:
4141
DBFHandle mDbfHandle;
4242
SHPHandle mShapeHandle;
43-
void GraticuleCreator::createDbf (QString theDbfName ) ;
44-
void GraticuleCreator::createShapeFile(QString theFileNamei, ShapeType theType );
43+
void createDbf (QString theDbfName ) ;
44+
void createShapeFile(QString theFileNamei, ShapeType theType );
4545
void writeDbfRecord ( int theRecordIdInt, QString theLabel) ;
4646
void writePoint(int theRecordInt, double theXDouble, double y );
4747
//! Writes a WGS 84 .prj file for the generated grid

‎src/providers/gpx/qgsgpxprovider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class QgsGPXProvider : public QgsVectorDataProvider {
147147
const std::map<QString, QString>& attrs);
148148

149149
/** Adds one feature (used by addFeatures()) */
150-
bool QgsGPXProvider::addFeature(QgsFeature* f);
150+
bool addFeature(QgsFeature* f);
151151

152152
/**Returns the default value for attribute @c attr for feature @c f. */
153153
QString getDefaultValue(const QString& attr, QgsFeature* f);

0 commit comments

Comments
 (0)
Please sign in to comment.