11
2- /**
2+ /**
33 * \class QgisInterface
44 * \brief Abstract base class defining interfaces exposed by QgisApp and
55 * made available to plugins.
@@ -24,7 +24,7 @@ class QgisInterface : QObject
2424
2525 /** Virtual destructor */
2626 virtual ~QgisInterface();
27-
27+
2828 /** Get pointer to legend interface
2929 \note added in 1.4
3030 */
@@ -49,9 +49,9 @@ class QgisInterface : QObject
4949 virtual QgsRasterLayer* addRasterLayer(const QString& url, const QString& layerName, const QString& providerKey, const QStringList& layers, const QStringList& styles, const QString& format, const QString& crs) = 0;
5050
5151 //! Add a project
52- virtual bool addProject(QString theProject)=0;
52+ virtual bool addProject(QString theProject)=0;
5353 //! Start a blank project
54- virtual void newProject(bool thePromptToSaveFlag=false)=0;
54+ virtual void newProject(bool thePromptToSaveFlag=false)=0;
5555
5656 //! Get pointer to the active layer (layer selected in the legend)
5757 virtual QgsMapLayer *activeLayer()=0;
@@ -72,7 +72,7 @@ class QgisInterface : QObject
7272 * as the base for the URL. To open a URL that is not relative to the installed
7373 * QGIS documentation, set useQgisDocDirectory to false.
7474 * @param url URL to open
75- * @param useQgisDocDirectory If true, the URL will be formed by concatenating
75+ * @param useQgisDocDirectory If true, the URL will be formed by concatenating
7676 * url to the QGIS documentation directory path (<prefix>/share/doc)
7777 * @deprecated
7878 */
@@ -111,7 +111,7 @@ class QgisInterface : QObject
111111 virtual void addPluginToDatabaseMenu(QString name, QAction* action)=0;
112112
113113 /** Remove action from the Database menu
114- * @note added in 1.7
114+ * @note added in 1.7
115115 */
116116 virtual void removePluginDatabaseMenu(QString name, QAction* action)=0;
117117
@@ -134,7 +134,7 @@ class QgisInterface : QObject
134134 */
135135 virtual void showLayerProperties( QgsMapLayer * layer )=0;
136136
137- /** open attribute table
137+ /** open attribute table
138138 \note added in 1.7
139139 */
140140 virtual void showAttributeTable( QgsVectorLayer * layer )=0;
@@ -180,6 +180,7 @@ class QgisInterface : QObject
180180 virtual QToolBar *attributesToolBar() = 0;
181181 virtual QToolBar *pluginToolBar() = 0;
182182 virtual QToolBar *helpToolBar() = 0;
183+ virtual QToolBar *rasterToolBar() = 0;
183184
184185 //! File menu actions
185186 virtual QAction *actionNewProject() = 0;
@@ -303,9 +304,9 @@ class QgisInterface : QObject
303304 @note added in version 1.4*/
304305 void composerWillBeRemoved( QgsComposerView* v );
305306
306- /**This signal is emitted when QGIS' initialization is complete
307- @note added in version 1.6*/
308- void initializationCompleted();
307+ /**This signal is emitted when QGIS' initialization is complete
308+ @note added in version 1.6*/
309+ void initializationCompleted();
309310
310311 /** emitted when a project file is successfully read
311312 @note
0 commit comments