|Home | Tutorial | Classes | Functions | Qt Scripter | Language | Library | Qt API | QSA Articles Qt Script for Applications

QSStackFrame Class Reference

The QSStackFrame class provides information about on function call in the stack trace. More...

#include <qsinterpreter.h>

List of all member functions.

Public Members


Detailed Description

The QSStackFrame class provides information about on function call in the stack trace.

A QSStackFrame object only makes sence when grouped together in a QSStackTrace to provied a trace of the execution up to where an error occured.

The QSStackFrame contains the four values file name, line number, function name and context.


Member Function Documentation

QObject * QSStackFrame::context () const

Returns the context of the function if it was evaluated in the context of a QObject; otherwise 0

QString QSStackFrame::function () const

Returns the function that this stack frame describes.

int QSStackFrame::line () const

Returns the line number within the script.

QString QSStackFrame::scriptName () const

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-2003 Trolltech. All Rights Reserved.


Copyright © 2001-2003 TrolltechTrademarks
QSA version 1.0.0-beta2