Skip to content

Commit

Permalink
make 1.8 compile with sip newer sip version (basically backport of @6…
Browse files Browse the repository at this point in the history
…41359d3)
  • Loading branch information
mach0 committed Oct 24, 2013
1 parent 4539469 commit 306e177
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
11 changes: 5 additions & 6 deletions src/core/qgsmaplayerregistry.h
Expand Up @@ -164,17 +164,16 @@ class CORE_EXPORT QgsMapLayerRegistry : public QObject
//! protected constructor
QgsMapLayerRegistry( QObject * parent = 0 );

private:

static QgsMapLayerRegistry* mInstance;

QMap<QString, QgsMapLayer*> mMapLayers;

/** debugging member
invoked when a connect() is made to this object
*/
void connectNotify( const char * signal );

private:

static QgsMapLayerRegistry* mInstance;

QMap<QString, QgsMapLayer*> mMapLayers;

}; // class QgsMapLayerRegistry

Expand Down
10 changes: 5 additions & 5 deletions src/gui/qgsmapcanvas.h
Expand Up @@ -408,6 +408,11 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
/// Handle pattern for implementation object
std::auto_ptr<CanvasProperties> mCanvasProperties;

/**debugging member
invoked when a connect() is made to this object
*/
void connectNotify( const char * signal );

private slots:
void crsTransformEnabled( bool );

Expand Down Expand Up @@ -455,11 +460,6 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
the last entry in case a lot of resize events arrive in short time*/
QList< QPair<int, int> > mResizeQueue;

/**debugging member
invoked when a connect() is made to this object
*/
void connectNotify( const char * signal );

//! current layer in legend
QgsMapLayer* mCurrentLayer;

Expand Down
3 changes: 2 additions & 1 deletion src/gui/qgsmessagelogviewer.h
Expand Up @@ -42,10 +42,11 @@ class GUI_EXPORT QgsMessageLogViewer: public QDialog, private Ui::QgsMessageLogV
public slots:
void logMessage( QString message, QString tag, int level );

private:
protected:
void showEvent( QShowEvent * );
void hideEvent( QHideEvent * );

private:
QToolButton *mButton;
int mCount;

Expand Down

0 comments on commit 306e177

Please sign in to comment.