Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 24690 → Rev 24691

/trunk/Scribus/scribus/scribusdoc.cpp
5553,7 → 5553,7
}
 
 
int ScribusDoc::getItemNrFromUniqueID(uint unique)
int ScribusDoc::getItemNrFromUniqueID(uint unique) const
{
// FIXME : don't work for items inside groups
// Needs to fix group/ungroup undo first
5562,7 → 5562,7
{
if (Items->at(i)->uniqueNr == unique)
{
ret = Items->indexOf(Items->at(i));
ret = i;
break;
}
}
/trunk/Scribus/scribus/scribusdoc.h
863,11 → 863,15
*/
void itemAddDetails(const PageItem::ItemType itemType, const PageItem::ItemFrameType frameType, PageItem* newItem);
 
int getItemNrFromUniqueID(uint unique);
//return pointer to item
/**
* @brief Get index of item in items list
*/
int getItemNrFromUniqueID(uint unique) const;
 
/**
* @brief Return pointer to item
*/
PageItem* getItemFromName(const QString& name) const;
//itemDelete
//itemBlah...
 
/**
* @brief Rebuild item lists taking into account layer order.