|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles | Qt Script for Applications | ![]() |
The QSStackFrame class provides information about a function call in the stack trace. More...
#include <qsinterpreter.h>
The QSStackFrame class provides information about a function call in the stack trace.
A QSStackFrame object only makes sense when grouped together in a QSStackTrace to provide a trace of the execution up to where an error occurred.
The QSStackFrame contains four values: file name, line number, function name, and context.
Returns the context of the function if it was evaluated in the context of a QObject; otherwise returns 0.
Returns the name of the function that this stack frame describes.
Returns the line number within the script.
Returns the name of the script in which the function is located if the script name was specified when the function was evaluated; otherwise returns QString::null.
This file is part of Qt Script for Applications, copyright © 2001-2004 Trolltech. All Rights Reserved.
Copyright © 2001-2006 Trolltech | Trademarks | QSA version 1.1.5
|