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

List:       kmail-devel
Subject:    Re: Simple question
From:       Don Sanders <sanders () kde ! org>
Date:       2002-10-29 17:18:12
[Download RAW message or body]

On Thursday 24 October 2002 07:31, Bo Thorsen wrote:
> I have a folder and need to set the account for it. Unfortunately
> at the time I need it, the account is 0. How do I get this?
>
> I have tried parent->account() but no such luck (parents was 0
> too). I can't seem to just follow parent() until I hit something
> that does have this set, since parent is a KMFolderDir and not a
> KMFolder.
>
> What to do?

But KMFolderDir is a KMFolderNode and hence KMFolderDir has a parent() 
method also.

Don.

_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

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