Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove unused writeSettings, readSettings, removeSettings methods fro…
…m QgsComposerItem
  • Loading branch information
nyalldawson committed Jul 11, 2014
1 parent 494bef0 commit 5b545d1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
9 changes: 0 additions & 9 deletions python/core/composer/qgscomposeritem.sip
Expand Up @@ -196,15 +196,6 @@ class QgsComposerItem : QObject, QGraphicsRectItem
/** \brief Is selected */
virtual bool selected() const;

/** stores state in project */
virtual bool writeSettings();

/** read state from project */
virtual bool readSettings();

/** delete settings from project file */
virtual bool removeSettings();

/**Moves item in canvas coordinates*/
void move( double dx, double dy );

Expand Down
6 changes: 0 additions & 6 deletions src/core/composer/qgscomposeritem.cpp
Expand Up @@ -171,12 +171,6 @@ void QgsComposerItem::setSelected( bool s )
update(); //to draw selection boxes
}

bool QgsComposerItem::writeSettings( void ) { return true; }

bool QgsComposerItem::readSettings( void ) { return true; }

bool QgsComposerItem::removeSettings( void ) { return true; }

bool QgsComposerItem::_writeXML( QDomElement& itemElem, QDomDocument& doc ) const
{
if ( itemElem.isNull() )
Expand Down
9 changes: 0 additions & 9 deletions src/core/composer/qgscomposeritem.h
Expand Up @@ -151,15 +151,6 @@ class CORE_EXPORT QgsComposerItem: public QObject, public QGraphicsRectItem
/** \brief Is selected */
virtual bool selected() const { return QGraphicsRectItem::isSelected(); }

/** stores state in project */
virtual bool writeSettings();

/** read state from project */
virtual bool readSettings();

/** delete settings from project file */
virtual bool removeSettings();

/**Moves item in canvas coordinates*/
void move( double dx, double dy );

Expand Down

0 comments on commit 5b545d1

Please sign in to comment.