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

List:       kdevelop-devel
Subject:    Re: Code completion
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2006-11-17 20:08:54
Message-ID: 20061117200854.GA24597 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 17.11.06 19:23:53, David Nolden wrote:
> Am Freitag, 17. November 2006 17:44 schrieb Andreas Pakulat:
> > Hmm, David, which function do you use to get the files for a project?
> > I'm thinking about adding foobar_ui.h for all foobar.ui in the qmake
> > manager.
> >
> > Do you know wether the .cpp's are needed for Qt3 ui-forms to provide
> > code-completion? I don't want to put them into the source-file-list if
> > they're not needed...
> >
> > Andreas
> 
> As far is I can see mainly the project allFiles()-function is used(also 
> signals like fileAdded or similar).

Hmm, that is a problem. allFiles is supposed to only return files that
belong to the project, not any generated ones. The same with addedFiles.

So unfortunately there's no way to resolve this in the manager. 

But David there might be a solution in your code, the .ui-files are
always part of allFiles and thus you could just check wether
<filename_without_.ui>_ui.h or <filename_without_.ui>.h exists and parse
that too. Would that be an option?

Andreas

-- 
You will always have good luck in your personal affairs.

_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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