kdevelop
Tobias Gläßer
tobi.web at gmx.de
Sun Sep 14 21:50:10 UTC 2003
Hi Alexander,
I think I can agree with you, or better I have to. *g
The *.paths are stored in the pro-file!
I'm going to implement it, like you suggested.
Greetz...
Am Son, 2003-09-14 um 19.28 schrieb Alexander Dymo:
> > today I commited a small change to the trollproject.
> > If you click on 'Choose Install Path' now a usual lineedit-dialog
> > appears instead of a select-existing-path-dialog.
> >
> > The logical reasons:
> > The practical reasons:
>
> Ok, I understand your reasons, but disagree with the change.
>
> > -For those that cried because of the change (esspecially roberto):
> > Look into the configuration dialog -> Installation path !
> > Thats the same thingy and here you didnt cry. :)
>
> That's because I've forgot to change it for KURLRequester widget ;)
>
> But both of us can be happy with KURLRequesterDlg. It doesn't require
> you to select existing dir. You can type anything but at the same time you
> have a "choose dir" button.
> That's exactly the same solution I choosed for include paths selector dialogs
> (Subproject Config | Includes | Directories outside project | Add).
>
> Actual code:
>
> if (r == idSetInstObjPath)
> {
> KURLRequesterDlg dialog(i18n( "Choose Install Path" ),
> i18n( "Please enter a path "
> "(example /usr/local/share/... ):" ), this, 0);
> dialog.urlRequester()->setMode(KFile::Directory);
> dialog.urlRequester()->setURL(titem->install_path);
> if (dialog.exec() == QDialog::Accepted)
> {
> titem->install_path = dialog.urlRequester()->url();
> updateProjectFile(titem->owner);
> }
> }
>
>
> PS: Are those installs objects saved in .pro file? It seems not! Why?
--
More information about the KDevelop-devel
mailing list