Bug 221792 - integrate folder browser in "Setup Custom Include Paths"
Summary: integrate folder browser in "Setup Custom Include Paths"
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: unspecified
Platform: unspecified Linux
: LO wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2010-01-08 14:10 UTC by Alexander Potashev
Modified: 2014-02-13 23:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2010-01-08 14:10:56 UTC
Version:           3.9.97 (using KDevPlatform 0.9.97) (using 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.32

In the dialog "Setup Custom Include Paths" under "Custom Include Paths" you can write down a list of folders with include files. But it's sometimes hard to write them by hand, I want a button "Open file dialog" to browse folders and select one.
Comment 1 Kevin Funk 2013-10-03 00:08:40 UTC
Good idea.
Comment 2 Meenakshi Khorana 2013-11-07 09:42:15 UTC
Can someone please suggest which widget can be used for selecting multiple directories?
Comment 3 Kevin Funk 2013-11-07 12:42:10 UTC
You don't need that, you can add the folder one-by-one. It's just meant as a helper for specifying those directories.

You could use KFileDialog, e.g. 'KFileDialog::getExistingDirectory' for doing this. Patches welcome!
Comment 4 Kevin Funk 2014-02-13 23:13:22 UTC
Git commit 6c0410f59ff362e34a28909b44bca7e67c267df3 by Kevin Funk.
Committed on 13/02/2014 at 23:07.
Pushed by kfunk into branch 'master'.

Include path dialog: Integrate folder browser

Thanks to Meenakshi Khorana for the initial patch
REVIEW: 113815

M  +1    -0    languages/cpp/CMakeLists.txt
A  +96   -0    languages/cpp/codegen/customincludepaths.cpp     [License: GPL (v2/3)]
A  +56   -0    languages/cpp/codegen/customincludepaths.h     [License: GPL (v2/3)]
M  +28   -0    languages/cpp/codegen/ui/custom_include_paths.ui
M  +24   -34   languages/cpp/codegen/unresolvedincludeassistant.cpp
M  +2    -0    languages/cpp/tests/CMakeLists.txt

http://commits.kde.org/kdevelop/6c0410f59ff362e34a28909b44bca7e67c267df3