Commit d19156d1 authored by Thorsten Zachmann's avatar Thorsten Zachmann

o rename getPage -> pageByShape

svn path=/trunk/koffice/; revision=682033
parent b9f1f7f3
......@@ -287,7 +287,7 @@ void KoPADocument::addShape( KoShape * shape )
if(!shape)
return;
KoPAPageBase * page( getPage( shape ) );
KoPAPageBase * page( pageByShape( shape ) );
bool isMaster = dynamic_cast<KoPAMasterPage*>( page ) != 0;
......@@ -312,7 +312,7 @@ void KoPADocument::removeShape( KoShape *shape )
if(!shape)
return;
KoPAPageBase * page( getPage( shape ) );
KoPAPageBase * page( pageByShape( shape ) );
bool isMaster = dynamic_cast<KoPAMasterPage*>( page ) != 0;
......@@ -331,7 +331,7 @@ void KoPADocument::removeShape( KoShape *shape )
}
}
KoPAPageBase * KoPADocument::getPage( KoShape * shape ) const
KoPAPageBase * KoPADocument::pageByShape( KoShape * shape ) const
{
KoShape * parent = shape;
KoPAPageBase * page = 0;
......
......@@ -114,7 +114,7 @@ protected:
* @param shape The shape for which the page should be found
* @return The page on which the shape is located
*/
KoPAPageBase * getPage( KoShape * shape ) const;
KoPAPageBase * pageByShape( KoShape * shape ) const;
private:
QList<KoPAPageBase*> m_pages;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment