Skip to content

Commit

Permalink
Indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 6, 2016
1 parent 25052dc commit 3408a78
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion src/server/qgsmslayercache.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -230,5 +230,5 @@ void QgsMSLayerCache::logCacheContents() const


void QgsMSLayerCache::removeProjectLayers( const QString& path ) void QgsMSLayerCache::removeProjectLayers( const QString& path )
{ {
removeProjectFileLayers( path ); removeProjectFileLayers( path );
} }
14 changes: 7 additions & 7 deletions src/server/qgsserverinterface.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -111,17 +111,17 @@ class SERVER_EXPORT QgsServerInterface
*/ */
virtual void setConfigFilePath( const QString& configFilePath ) = 0; virtual void setConfigFilePath( const QString& configFilePath ) = 0;


/** /**
* Remove entry from config cache * Remove entry from config cache
* @param path the path of the file to remove * @param path the path of the file to remove
*/ */
virtual void removeConfigCacheEntry( const QString& path ) = 0; virtual void removeConfigCacheEntry( const QString& path ) = 0;


/** /**
* Remove entries from layer cache * Remove entries from layer cache
* @param path the path of the project which own the layers to be removed * @param path the path of the project which own the layers to be removed
*/ */
virtual void removeProjectLayers( const QString& path ) = 0; virtual void removeProjectLayers( const QString& path ) = 0;






Expand Down
4 changes: 2 additions & 2 deletions src/server/qgsserverinterfaceimpl.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ void QgsServerInterfaceImpl::registerAccessControl( QgsAccessControlFilter* acce


void QgsServerInterfaceImpl::removeConfigCacheEntry( const QString& path ) void QgsServerInterfaceImpl::removeConfigCacheEntry( const QString& path )
{ {
QgsConfigCache::instance()->removeEntry( path ); QgsConfigCache::instance()->removeEntry( path );
} }


void QgsServerInterfaceImpl::removeProjectLayers( const QString& path ) void QgsServerInterfaceImpl::removeProjectLayers( const QString& path )
{ {
QgsMSLayerCache::instance()->removeProjectLayers( path ); QgsMSLayerCache::instance()->removeProjectLayers( path );
} }




Expand Down
4 changes: 2 additions & 2 deletions src/server/qgsserverinterfaceimpl.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ class QgsServerInterfaceImpl : public QgsServerInterface
QString configFilePath() override { return mConfigFilePath; } QString configFilePath() override { return mConfigFilePath; }
void setConfigFilePath( const QString& configFilePath ) override; void setConfigFilePath( const QString& configFilePath ) override;
void setFilters( QgsServerFiltersMap *filters ) override; void setFilters( QgsServerFiltersMap *filters ) override;
void removeConfigCacheEntry( const QString& path ) override; void removeConfigCacheEntry( const QString& path ) override;
void removeProjectLayers( const QString& path ) override; void removeProjectLayers( const QString& path ) override;


private: private:


Expand Down
88 changes: 44 additions & 44 deletions src/ui/styledock/qgsrenderercontainerbase.ui
Original file line number Original file line Diff line number Diff line change
@@ -1,44 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>QgsRendererWidgetContainerBase</class> <class>QgsRendererWidgetContainerBase</class>
<widget class="QWidget" name="QgsRendererWidgetContainerBase"> <widget class="QWidget" name="QgsRendererWidgetContainerBase">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>375</width> <width>375</width>
<height>628</height> <height>628</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item> <item>
<widget class="QLabel" name="mTitleText"> <widget class="QLabel" name="mTitleText">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>TextLabel</string> <string>TextLabel</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="mWidgetLayout"/> <layout class="QVBoxLayout" name="mWidgetLayout"/>
</item> </item>
<item> <item>
<widget class="QDialogButtonBox" name="mButtonBox"> <widget class="QDialogButtonBox" name="mButtonBox">
<property name="standardButtons"> <property name="standardButtons">
<set>QDialogButtonBox::Close</set> <set>QDialogButtonBox::Close</set>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>

0 comments on commit 3408a78

Please sign in to comment.