Mercurial > octave-dspies
comparison libgui/graphics/GenericEventNotify.h @ 18931:dbb207d10d7c
eliminate some shadowed variable declaration warnings
* BaseControl.cc, Container.cc, ContextMenu.cc, Figure.cc,
FigureWindow.cc, GLCanvas.cc, GenericEventNotify.h, Menu.cc,
MouseModeActionGroup.cc, Panel.cc, TextEdit.cc, TextEdit.h,
ToolBar.cc: Avoid shadowed variable declaration warnings.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 17 Jul 2014 10:27:24 -0400 |
parents | 523878f76518 |
children |
comparison
equal
deleted
inserted
replaced
18930:f1edad3b4106 | 18931:dbb207d10d7c |
---|---|
84 | 84 |
85 #define DECLARE_GENERICEVENTNOTIFY_SENDER(T,B) \ | 85 #define DECLARE_GENERICEVENTNOTIFY_SENDER(T,B) \ |
86 class T : public B, public GenericEventNotifySender \ | 86 class T : public B, public GenericEventNotifySender \ |
87 { \ | 87 { \ |
88 public: \ | 88 public: \ |
89 T (QWidget* parent) : B (parent), GenericEventNotifySender () { } \ | 89 T (QWidget* xparent) : B (xparent), GenericEventNotifySender () { } \ |
90 ~ T (void) { } \ | 90 ~ T (void) { } \ |
91 \ | 91 \ |
92 bool event (QEvent* evt) \ | 92 bool event (QEvent* evt) \ |
93 { \ | 93 { \ |
94 bool result = true; \ | 94 bool result = true; \ |