Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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@4990 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Mar 9, 2006
1 parent f8d614d commit 2baf3c6
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/gui/qgsencodingfiledialog.h
Expand Up @@ -24,7 +24,7 @@ class QgsEncodingFileDialog: public QFileDialog
{
Q_OBJECT
public:
QgsEncodingFileDialog::QgsEncodingFileDialog(QWidget * parent = 0,
QgsEncodingFileDialog(QWidget * parent = 0,
const QString & caption = QString(), const QString & directory = QString(),
const QString & filter = QString(), const QString & encoding = QString());
~QgsEncodingFileDialog();
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgslabel.h
Expand Up @@ -90,7 +90,7 @@ class QgsLabel
void addRequiredFields ( std::list<int> *fields );

//! Available vector fields
std::vector<QgsField> & QgsLabel::fields ( void );
std::vector<QgsField> & fields ( void );

//! Pointer to default attributes
QgsLabelAttributes *layerAttributes ( void );
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgspastetransformations.h
Expand Up @@ -68,8 +68,8 @@ class QgsPasteTransformations : public QDialog, private Ui::QgsPasteTransformati
//! Common subfunction to sourceChanged() and destinationChanged()
void layerChanged(const QString& layerName, std::vector<QString>* fields);

void QgsPasteTransformations::restoreTransfers(const QString& sourceSelectedFieldName,
const QString& destinationSelectedFieldName);
void restoreTransfers(const QString& sourceSelectedFieldName,
const QString& destinationSelectedFieldName);


std::map<QString, QgsMapLayer*> mMapNameLookup;
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsproject.h
Expand Up @@ -91,9 +91,9 @@ class QgsProject
write()
*/
//@{
bool QgsProject::dirty() const;
bool dirty() const;

void QgsProject::dirty( bool b );
void dirty( bool b );
//@}


Expand Down
2 changes: 1 addition & 1 deletion src/plugins/geoprocessing/qgsdlgpgbuffer.h
Expand Up @@ -32,7 +32,7 @@ class QgsDlgPgBuffer:public QDialog, private Ui::QgsDlgPgBufferBase
//! Constructor
QgsDlgPgBuffer( QgisIface * _qI = 0, QWidget * parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags);
//! Destructor
QgsDlgPgBuffer::~QgsDlgPgBuffer();
~QgsDlgPgBuffer();
//! Set the information label in the dialog
void setBufferLabel(QString & lbl);
//! Get the buffer distance
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/grid_maker/graticulecreator.h
Expand Up @@ -40,8 +40,8 @@ class GraticuleCreator
private:
DBFHandle mDbfHandle;
SHPHandle mShapeHandle;
void GraticuleCreator::createDbf (QString theDbfName ) ;
void GraticuleCreator::createShapeFile(QString theFileNamei, ShapeType theType );
void createDbf (QString theDbfName ) ;
void createShapeFile(QString theFileNamei, ShapeType theType );
void writeDbfRecord ( int theRecordIdInt, QString theLabel) ;
void writePoint(int theRecordInt, double theXDouble, double y );
//! Writes a WGS 84 .prj file for the generated grid
Expand Down
2 changes: 1 addition & 1 deletion src/providers/gpx/qgsgpxprovider.h
Expand Up @@ -147,7 +147,7 @@ class QgsGPXProvider : public QgsVectorDataProvider {
const std::map<QString, QString>& attrs);

/** Adds one feature (used by addFeatures()) */
bool QgsGPXProvider::addFeature(QgsFeature* f);
bool addFeature(QgsFeature* f);

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

0 comments on commit 2baf3c6

Please sign in to comment.