aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/qconf.h
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2006-06-09 01:12:47 -0400
committerSam Ravnborg <sam@mars.ravnborg.org>2006-06-09 10:28:07 -0400
commitab45d190fd4acf0b0e5d307294ce24a90a69cc23 (patch)
treeca58fb441f19fb71f9baf7df924be3905bf825f2 /scripts/kconfig/qconf.h
parent7fc925fd6a4c24e1db879d227fc0a0f65a335aa1 (diff)
kconfig: create links in info window
Extend the expression print helper function to allow customization of the symbol output and use it to add links to the info window. 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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h
index fb50e1c6029f..b824f78cc06d 100644
--- a/scripts/kconfig/qconf.h
+++ b/scripts/kconfig/qconf.h
@@ -260,13 +260,15 @@ signals:
260 void showDebugChanged(bool); 260 void showDebugChanged(bool);
261 261
262protected: 262protected:
263 void symbolInfo(void);
263 void menuInfo(void); 264 void menuInfo(void);
264 QString debug_info(struct symbol *sym); 265 QString debug_info(struct symbol *sym);
265 static QString print_filter(const QString &str); 266 static QString print_filter(const QString &str);
266 static void expr_print_help(void *data, const char *str); 267 static void expr_print_help(void *data, struct symbol *sym, const char *str);
267 QPopupMenu* createPopupMenu(const QPoint& pos); 268 QPopupMenu* createPopupMenu(const QPoint& pos);
268 void contentsContextMenuEvent(QContextMenuEvent *e); 269 void contentsContextMenuEvent(QContextMenuEvent *e);
269 270
271 struct symbol *sym;
270 struct menu *menu; 272 struct menu *menu;
271 bool _showDebug; 273 bool _showDebug;
272}; 274};