Skip to content

Commit 0304ec4

Browse files
committedJun 4, 2018
qgsstyle.cpp: change protected to private
1 parent d5afc71 commit 0304ec4

File tree

2 files changed

+1
-48
lines changed

2 files changed

+1
-48
lines changed
 

‎python/core/auto_generated/symbology/qgsstyle.sip.in

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -454,55 +454,10 @@ Is emitted every time a new symbol has been added to the database
454454
void groupsModified();
455455
%Docstring
456456
Is emitted every time a tag or smartgroup has been added, removed, or renamed
457-
%End
458-
459-
protected:
460-
461-
462-
463-
464-
465-
bool openDatabase( const QString &filename );
466-
%Docstring
467-
Convenience function to open the DB and return a sqlite3 object
468-
%End
469-
470-
bool runEmptyQuery( const QString &query );
471-
%Docstring
472-
Convenience function that would run queries which don't generate return values
473-
474-
:param query: query to run
475-
476-
:return: success true on success
477-
%End
478-
479-
int getId( const QString &table, const QString &name );
480-
%Docstring
481-
Gets the id from the table for the given name from the database, 0 if not found
482-
%End
483-
484-
QString getName( const QString &table, int id ) const;
485-
%Docstring
486-
Gets the name from the table for the given id from the database, empty if not found
487-
%End
488-
489-
bool updateSymbol( StyleEntity type, const QString &name );
490-
%Docstring
491-
Updates the properties of an existing symbol/colorramp
492-
493-
.. note::
494-
495-
This should not be called separately, only called through addSymbol or addColorRamp
496-
497-
:param type: is either SymbolEntity or ColorrampEntity
498-
:param name: is the name of an existing symbol or a color ramp
499-
500-
:return: Success state of the update operation
501457
%End
502458

503459
};
504460

505-
506461
/************************************************************************
507462
* This file has been generated automatically from *
508463
* *

‎src/core/symbology/qgsstyle.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ class CORE_EXPORT QgsStyle : public QObject
420420
//! Is emitted every time a tag or smartgroup has been added, removed, or renamed
421421
void groupsModified();
422422

423-
protected:
423+
private:
424424

425425
QgsSymbolMap mSymbols;
426426
QgsVectorColorRampMap mColorRamps;
@@ -459,9 +459,7 @@ class CORE_EXPORT QgsStyle : public QObject
459459
*/
460460
bool updateSymbol( StyleEntity type, const QString &name );
461461

462-
private:
463462
Q_DISABLE_COPY( QgsStyle )
464463
};
465464

466-
467465
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.