diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2006-06-09 01:12:47 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-09 10:28:07 -0400 |
commit | b65a47e1ac494777d853d7952cef611eedc22037 (patch) | |
tree | 1ad1b133e65fd2600631667c441b63ccc9ae3348 /scripts/kconfig/qconf.h | |
parent | ab45d190fd4acf0b0e5d307294ce24a90a69cc23 (diff) |
kconfig: jump to linked menu prompt
If clicking on of the links, which leads to a visible prompt, jump to it in
the symbol list.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/kconfig/qconf.h')
-rw-r--r-- | scripts/kconfig/qconf.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h index b824f78cc06d..6a9e3b14c227 100644 --- a/scripts/kconfig/qconf.h +++ b/scripts/kconfig/qconf.h | |||
@@ -55,6 +55,7 @@ public: | |||
55 | { | 55 | { |
56 | return (ConfigView*)Parent::parent(); | 56 | return (ConfigView*)Parent::parent(); |
57 | } | 57 | } |
58 | ConfigItem* findConfigItem(struct menu *); | ||
58 | 59 | ||
59 | protected: | 60 | protected: |
60 | void keyPressEvent(QKeyEvent *e); | 61 | void keyPressEvent(QKeyEvent *e); |
@@ -77,7 +78,7 @@ signals: | |||
77 | void menuChanged(struct menu *menu); | 78 | void menuChanged(struct menu *menu); |
78 | void menuSelected(struct menu *menu); | 79 | void menuSelected(struct menu *menu); |
79 | void parentSelected(void); | 80 | void parentSelected(void); |
80 | void gotFocus(void); | 81 | void gotFocus(struct menu *); |
81 | 82 | ||
82 | public: | 83 | public: |
83 | void updateListAll(void) | 84 | void updateListAll(void) |
@@ -258,6 +259,7 @@ public slots: | |||
258 | 259 | ||
259 | signals: | 260 | signals: |
260 | void showDebugChanged(bool); | 261 | void showDebugChanged(bool); |
262 | void menuSelected(struct menu *); | ||
261 | 263 | ||
262 | protected: | 264 | protected: |
263 | void symbolInfo(void); | 265 | void symbolInfo(void); |
@@ -298,8 +300,8 @@ class ConfigMainWindow : public QMainWindow { | |||
298 | public: | 300 | public: |
299 | ConfigMainWindow(void); | 301 | ConfigMainWindow(void); |
300 | public slots: | 302 | public slots: |
301 | void setHelp(QListViewItem* item); | ||
302 | void changeMenu(struct menu *); | 303 | void changeMenu(struct menu *); |
304 | void setMenuLink(struct menu *); | ||
303 | void listFocusChanged(void); | 305 | void listFocusChanged(void); |
304 | void goBack(void); | 306 | void goBack(void); |
305 | void loadConfig(void); | 307 | void loadConfig(void); |