Re: KoTableColumnAndRowStyleManager Question.

2011-04-27 Thread Sebastian Sauer
On Thursday 28 April 2011 02:07:32 Sebastian Sauer wrote: > On Monday 28 February 2011 10:08:53 Ganesh Paramasivam wrote: > > Yes, you are right. I missed looking at this declaration > > QExplicitlySharedDataPointer d; > > But imho it would still be great to change it to a reference so it's easier

Re: KoTableColumnAndRowStyleManager Question.

2011-04-27 Thread Sebastian Sauer
On Monday 28 February 2011 10:08:53 Ganesh Paramasivam wrote: > Yes, you are right. I missed looking at this declaration > QExplicitlySharedDataPointer d; But imho it would still be great to change it to a reference so it's easier to understand the code without looking at the private implementati

Re: KoTableColumnAndRowStyleManager Question.

2011-02-28 Thread C. Boemann
On Monday 28 February 2011 10:00:15 Elvis Stansvik wrote: > 2011/2/28 Ganesh Paramasivam : > > Shouldn't the function return a reference or a pointer ? like this > > > > KoTableColumnAndRowStyleManager& > > KoTableColumnAndRowStyleManager::getManager(QTextTable *table) > > > > If I were to set a

Re: KoTableColumnAndRowStyleManager Question.

2011-02-28 Thread Ganesh Paramasivam
Yes, you are right. I missed looking at this declaration QExplicitlySharedDataPointer d; Thanks a lot.. - Ganesh On Mon, Feb 28, 2011 at 2:30 PM, Elvis Stansvik wrote: > 2011/2/28 Ganesh Paramasivam : >> Casper, >> >> A Quick question >> >> In KoTableColumnAndRowStyleManager.cpp we have a getMa

Re: KoTableColumnAndRowStyleManager Question.

2011-02-28 Thread Elvis Stansvik
2011/2/28 Ganesh Paramasivam : > Casper, > > A Quick question > > In KoTableColumnAndRowStyleManager.cpp we have a getManager() function > with the prototype > > KoTableColumnAndRowStyleManager > KoTableColumnAndRowStyleManager::getManager(QTextTable *table) > > Shouldn't the function return a refe

KoTableColumnAndRowStyleManager Question.

2011-02-27 Thread Ganesh Paramasivam
Casper, A Quick question In KoTableColumnAndRowStyleManager.cpp we have a getManager() function with the prototype KoTableColumnAndRowStyleManager KoTableColumnAndRowStyleManager::getManager(QTextTable *table) Shouldn't the function return a reference or a pointer ? like this KoTableColumnAndR