[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: new KIconLoader
From: Christoph Neerfeld <Christoph.Neerfeld () bonn ! netsurf ! de>
Date: 1997-09-11 18:30:28
[Download RAW message or body]
On 11-Sep-97 Marco Zuehlke wrote:
>>
>>
>>
>> Hi !
>>
>> I'd like to announce a new version of the KIconLoader class.
>>
>> [...]
>>
>> If you need additional directories you can call:
>> 'bool insertDirectory( int index, const QString &dir_name )'
>>
>> Index is the position in the directorylist. It returns TRUE if
>> successful or FALSE if the index is out of range. (The function works
>> like QList::insertItem()).
>>
>
>I think it may cause problems to use an index for 'insertDirectory'
>because you have to know which numbers are used at the moment.
>So I would suggest two methods
>'insertDirectoryAsLast' and 'insertDirectoryAsFirst'
>instead.
'AsFirst' is easy, set index = 0.
'AsLast' ?! Well, I don't know if someone will need it.
I think most apps want to insert their path before
[KDE Setup]IconPath=... and $HOME/.kde/icons which is index = 3.
Regards,
Chris.
>But I have never ever used a kiconloader so the problems
>I'm spaeking about may be very rare.
>
>-Marco
>
--------------------------------------------------------------
Christoph Neerfeld <Christoph.Neerfeld@bonn.netsurf.de>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic