Skip to content

Commit

Permalink
use single signal for messageEmitted
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 21, 2014
1 parent 4342b73 commit 8c2fbbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions python/gui/qgsmaptool.sip
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ class QgsMapTool : QObject

signals:
//! emit a message
void messageEmitted( QString message );
void messageEmitted( QString message, QgsMessageBar::MessageLevel );
void messageEmitted( QString message, QgsMessageBar::MessageLevel = QgsMessageBar::INFO );

//! emit signal to clear previous message
void messageDiscarded();
Expand Down
3 changes: 1 addition & 2 deletions src/gui/qgsmaptool.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ class GUI_EXPORT QgsMapTool : public QObject

signals:
//! emit a message
void messageEmitted( QString message );
void messageEmitted( QString message, QgsMessageBar::MessageLevel );
void messageEmitted( QString message, QgsMessageBar::MessageLevel = QgsMessageBar::INFO );

//! emit signal to clear previous message
void messageDiscarded();
Expand Down

0 comments on commit 8c2fbbf

Please sign in to comment.