Skip to content

Commit 5b545d1

Browse files
committedJul 11, 2014
Remove unused writeSettings, readSettings, removeSettings methods from QgsComposerItem
1 parent 494bef0 commit 5b545d1

File tree

3 files changed

+0
-24
lines changed

3 files changed

+0
-24
lines changed
 

‎python/core/composer/qgscomposeritem.sip‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,6 @@ class QgsComposerItem : QObject, QGraphicsRectItem
196196
/** \brief Is selected */
197197
virtual bool selected() const;
198198

199-
/** stores state in project */
200-
virtual bool writeSettings();
201-
202-
/** read state from project */
203-
virtual bool readSettings();
204-
205-
/** delete settings from project file */
206-
virtual bool removeSettings();
207-
208199
/**Moves item in canvas coordinates*/
209200
void move( double dx, double dy );
210201

‎src/core/composer/qgscomposeritem.cpp‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,6 @@ void QgsComposerItem::setSelected( bool s )
171171
update(); //to draw selection boxes
172172
}
173173

174-
bool QgsComposerItem::writeSettings( void ) { return true; }
175-
176-
bool QgsComposerItem::readSettings( void ) { return true; }
177-
178-
bool QgsComposerItem::removeSettings( void ) { return true; }
179-
180174
bool QgsComposerItem::_writeXML( QDomElement& itemElem, QDomDocument& doc ) const
181175
{
182176
if ( itemElem.isNull() )

‎src/core/composer/qgscomposeritem.h‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,6 @@ class CORE_EXPORT QgsComposerItem: public QObject, public QGraphicsRectItem
151151
/** \brief Is selected */
152152
virtual bool selected() const { return QGraphicsRectItem::isSelected(); }
153153

154-
/** stores state in project */
155-
virtual bool writeSettings();
156-
157-
/** read state from project */
158-
virtual bool readSettings();
159-
160-
/** delete settings from project file */
161-
virtual bool removeSettings();
162-
163154
/**Moves item in canvas coordinates*/
164155
void move( double dx, double dy );
165156

0 commit comments

Comments
 (0)
Please sign in to comment.