Skip to content
Permalink
Browse files
Remove unused writeSettings, readSettings, removeSettings methods fro…
…m QgsComposerItem
  • Loading branch information
nyalldawson committed Jul 11, 2014
1 parent 494bef0 commit 5b545d1eff623447316a8e8c47af7621b08f8196
Showing with 0 additions and 24 deletions.
  1. +0 −9 python/core/composer/qgscomposeritem.sip
  2. +0 −6 src/core/composer/qgscomposeritem.cpp
  3. +0 −9 src/core/composer/qgscomposeritem.h
@@ -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 );

@@ -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() )
@@ -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 );

0 comments on commit 5b545d1

Please sign in to comment.