[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: [API] Flake class names
From:       Jaroslaw S <kexipl () gmail ! com>
Date:       2009-12-05 11:44:23
Message-ID: 56a746380912050344g75e591d0mf8bad0badd8715fb () mail ! gmail ! com
[Download RAW message or body]

2009/12/5 Thomas Zander <zander@kde.org>:
> On Saturday 5. December 2009 10.54.29 Jaroslaw S wrote:
>> 2009/12/5 Thorsten Zachmann <t.zachmann@zagge.de>:
>> > On Friday 04 December 2009 11:11:03 Thomas Zander wrote:
>> >> I found some class names in Flake that I think warrant some
>> >> investigation. Please provide some ideas or feedback on each of those.
>> >>
>> >> KoChildrenData rename to KoShapeContainerDefaultModel ?
>> >
>> > Yes that should be renamed. However I would prefer
>> > KoDefaultShapeContainterModel as it is more in line with
>> > QAbstractListModel.
>>
>> How about slashing Default and use Standard as in QStandardItemModel:
>>
>> KoStandardShapeContainerModel ?
>
> zander@mac:libs$find . -name *.h | grep Standard
> ./main/KoStandardAction.h
> ./pigment/KoColorModelStandardIds.h
>
> zander@mac:libs$find . -name *.h | grep Default
> [no results]
>
> find . -name *.h | grep Abstract
> ./resources/KoAbstractGradient.h
> ./pigment/KoColorSpaceAbstract.h
> ./pigment/tests/TestKoColorSpaceAbstract.h
> ./pigment/KoColorConversionTransformationAbstractFactory.h
>
> zander@mac:libs$find . -name *.h | grep Base
> ./odf/kopicture/KoPictureBase.h
> ./flake/KoShapeControllerBase.h
> ./flake/commands/KoPathBaseCommand.h
> ./flake/KoShapeConfigWidgetBase.h
> ./flake/KoFilterEffectConfigWidgetBase.h
> ./flake/KoCanvasBase.h
> ./store/KoStoreBase.h
> ./kotext/KoFindStrategyBase.h
> ./kotext/InsertVariableActionBase_p.h
> ./pigment/compositeops/KoCompositeOpAlphaBase.h
> ./kopageapp/KoPAPageBase.h

Good grep.

Maybe "Abstract" could be used for not instantiable classes?
For others, something other...

-- 
regards / pozdrawiam, Jaroslaw Staniek
 Kexi & KOffice (http://www.kexi-project.org, http://www.koffice.org)
 KDE Libraries for MS Windows (http://windows.kde.org)
 http://www.linkedin.com/in/jstaniek
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic