Skip to content

Commit cd835d7

Browse files
author
timlinux
committedMar 13, 2011
Renamed removeAddLayer to removeAddLayerAction
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15464 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed
 

‎python/gui/qgisinterface.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class QgisInterface : QObject
103103
/** Remove "add layer" action from the layer menu
104104
* @note added in 1.7
105105
*/
106-
virtual void removeAddLayer( QAction* action )=0;
106+
virtual void removeAddLayerAction( QAction* action )=0;
107107

108108
/** Add action to the Database menu
109109
* @note added in 1.7

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5304,7 +5304,7 @@ void QgisApp::insertAddLayerAction( QAction *action )
53045304
mLayerMenu->insertAction( mActionAddLayerSeparator, action );
53055305
}
53065306

5307-
void QgisApp::removeAddLayer( QAction *action )
5307+
void QgisApp::removeAddLayerAction( QAction *action )
53085308
{
53095309
mLayerMenu->removeAction( action );
53105310
}

‎src/app/qgisapp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ class QgisApp : public QMainWindow, private Ui::MainWindow
522522
//! Add "add layer" action to layer menu
523523
void insertAddLayerAction( QAction* action );
524524
//! Remove "add layer" action to layer menu
525-
void removeAddLayer( QAction* action );
525+
void removeAddLayerAction( QAction* action );
526526
//! Add an icon to the plugin toolbar
527527
int addPluginToolBarIcon( QAction * qAction );
528528
//! Remove an icon from the plugin toolbar

‎src/app/qgisappinterface.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ void QgisAppInterface::insertAddLayerAction( QAction *action )
145145
qgis->insertAddLayerAction( action );
146146
}
147147

148-
void QgisAppInterface::removeAddLayer( QAction *action )
148+
void QgisAppInterface::removeAddLayerAction( QAction *action )
149149
{
150-
qgis->removeAddLayer( action );
150+
qgis->removeAddLayerAction( action );
151151
}
152152

153153
void QgisAppInterface::removePluginMenu( QString name, QAction* action )

‎src/app/qgisappinterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class QgisAppInterface : public QgisInterface
120120
/** Add "add layer" action to the layer menu */
121121
void insertAddLayerAction( QAction *action );
122122
/** remove "add layer" action from the layer menu */
123-
void removeAddLayer( QAction *action );
123+
void removeAddLayerAction( QAction *action );
124124

125125
/** Add a dock widget to the main window */
126126
void addDockWidget( Qt::DockWidgetArea area, QDockWidget * dockwidget );

‎src/gui/qgisinterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class GUI_EXPORT QgisInterface : public QObject
144144
/** Remove "add layer" action from layer menu
145145
* @note added in 1.7
146146
*/
147-
virtual void removeAddLayer( QAction *action ) = 0;
147+
virtual void removeAddLayerAction( QAction *action ) = 0;
148148

149149
/** Add action to the Database menu
150150
* @note added in 1.7

‎src/plugins/delimited_text/qgsdelimitedtextplugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void QgsDelimitedTextPlugin::drawVectorLayer( QString thePathNameQString,
143143
void QgsDelimitedTextPlugin::unload()
144144
{
145145
// remove the GUI
146-
qGisInterface->removeAddLayer( myQActionPointer );
146+
qGisInterface->removeAddLayerAction( myQActionPointer );
147147
qGisInterface->removeToolBarIcon( myQActionPointer );
148148
delete myQActionPointer;
149149
}

‎src/plugins/oracle_raster/qgsoracle_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void QgsOraclePlugin::unload()
9090
{
9191
// remove the GUI
9292
mQGisIface->removeToolBarIcon( mQActionPointer );
93-
mQGisIface->removeAddLayer( mQActionPointer );
93+
mQGisIface->removeAddLayerAction( mQActionPointer );
9494
delete mQActionPointer;
9595
}
9696

‎src/plugins/sqlanywhere/sqlanywhere.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ void SqlAnywhere::addSqlAnywhereLayer()
182182
void SqlAnywhere::unload()
183183
{
184184
// mQGisIface->removeToolBarIcon( mActionAddSqlAnywhereLayer );
185-
mQGisIface->removeAddLayer( mActionAddSqlAnywhereLayer );
185+
mQGisIface->removeAddLayerAction( mActionAddSqlAnywhereLayer );
186186
delete mActionAddSqlAnywhereLayer;
187187
}
188188

‎src/plugins/wfs/qgswfsplugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void QgsWFSPlugin::initGui()
6363
void QgsWFSPlugin::unload()
6464
{
6565
mIface->removeToolBarIcon( mWfsDialogAction );
66-
mIface->removeAddLayer( mWfsDialogAction );
66+
mIface->removeAddLayerAction( mWfsDialogAction );
6767
delete mWfsDialogAction;
6868
mWfsDialogAction = 0;
6969
}

0 commit comments

Comments
 (0)
Please sign in to comment.