[Qt-interest] How to get a string with the current function name?
Marcelo Magno T. Sales
mmtsales at gmail.com
Tue Nov 30 23:50:36 CET 2010
Thanks for all who answered. Q_FUNC_INFO is exactly what I was looking
for.
[]'s
Marcelo
Em terça-feira 30 novembro 2010, J-P Nurmi escreveu:
> On Tue, Nov 30, 2010 at 7:32 PM, Marcelo Magno T. Sales
>
> <mmtsales at gmail.com> wrote:
> > Hello,
> >
> > Is it possible to get the current function/method name in a string,
> > for debugging purposes? How?
>
> Hi,
>
> Perhaps Q_FUNC_INFO suits your needs?
>
> http://doc.qt.nokia.com/4.7/qtglobal.html#Q_FUNC_INFO
>
> --
> J-P Nurmi
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list