Skip to content

Commit 306e177

Browse files
committedOct 24, 2013
make 1.8 compile with sip newer sip version (basically backport of @641359d3)
1 parent 4539469 commit 306e177

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
 

‎src/core/qgsmaplayerregistry.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,16 @@ class CORE_EXPORT QgsMapLayerRegistry : public QObject
164164
//! protected constructor
165165
QgsMapLayerRegistry( QObject * parent = 0 );
166166

167-
private:
168-
169-
static QgsMapLayerRegistry* mInstance;
170-
171-
QMap<QString, QgsMapLayer*> mMapLayers;
172-
173167
/** debugging member
174168
invoked when a connect() is made to this object
175169
*/
176170
void connectNotify( const char * signal );
177171

172+
private:
173+
174+
static QgsMapLayerRegistry* mInstance;
175+
176+
QMap<QString, QgsMapLayer*> mMapLayers;
178177

179178
}; // class QgsMapLayerRegistry
180179

‎src/gui/qgsmapcanvas.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,11 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
408408
/// Handle pattern for implementation object
409409
std::auto_ptr<CanvasProperties> mCanvasProperties;
410410

411+
/**debugging member
412+
invoked when a connect() is made to this object
413+
*/
414+
void connectNotify( const char * signal );
415+
411416
private slots:
412417
void crsTransformEnabled( bool );
413418

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

458-
/**debugging member
459-
invoked when a connect() is made to this object
460-
*/
461-
void connectNotify( const char * signal );
462-
463463
//! current layer in legend
464464
QgsMapLayer* mCurrentLayer;
465465

‎src/gui/qgsmessagelogviewer.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ class GUI_EXPORT QgsMessageLogViewer: public QDialog, private Ui::QgsMessageLogV
4242
public slots:
4343
void logMessage( QString message, QString tag, int level );
4444

45-
private:
45+
protected:
4646
void showEvent( QShowEvent * );
4747
void hideEvent( QHideEvent * );
4848

49+
private:
4950
QToolButton *mButton;
5051
int mCount;
5152

0 commit comments

Comments
 (0)
Please sign in to comment.