ion(){for(var o=0;o<m.length;o++)m[o]();};this._nodes=n;};k.prototype.setDeferred=function(l){'use strict';this._defer=!!l;return this;};k.isHTML=function(l){'use strict';return !!l&&(l instanceof k||l.__html!==undefined);};k.replaceJSONWrapper=function(l){'use strict';return l&&l.__html!==undefined?new k(l.__html):l;};f.exports=k;},null);
__d('ServerJS',['ErrorUtils','ServerJSDefine','ex','ge','replaceTransportMarkers'],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=1,i=2,j=0;function k(){'use strict';this.$ServerJS1={};this.$ServerJS2=null;this.$ServerJS3={};this.$ServerJS4=undefined;}k.prototype.handle=function(o,p){'use strict';this.$ServerJS4=p;if(o.__guard)throw new Error('ServerJS.handle called on data that has already been handled');o.__guard=true;l(o.define||[],this.$ServerJS5,this);l(o.markup||[],this.$ServerJS6,this);l(o.elements||[],this.$ServerJS7,this);l(o.instances||[],this.$ServerJS8,this);var q=l(o.require||[],this.$ServerJS9,this);return {cancel:function(){for(var r=0;r<q.length;r++)if(q[r])q[r].cancel();}};};k.prototype.handlePartial=function(o,p){'use strict';(o.instances||[]).forEach(m.bind(null,this.$ServerJS1,3));(o.markup||[]).forEach(m.bind(null,this.$ServerJS1,2));(o.elements||[]).forEach(m.bind(null,this.$ServerJS1,2));return this.handle(o,p);};k.prototype.setRelativeTo=function(o){'use strict';this.$ServerJS2=o;return this;};k.prototype.cleanup=function(){'use strict';var o=Object.keys(this.$ServerJS1);e.call(null,o,n);this.$ServerJS1={};function p(r){var s=this.$ServerJS3[r],t=s[0],u=s[1];delete this.$ServerJS3[r];var v=u?'JS::call("'+t+'", "'+u+'", ...)':'JS::requireModule("'+t+'")',w=c('ex')('%s did not fire because it has missing dependencies.\n%s',v,c.__debug.debugUnresolvedDependencies([t]));throw new Error(w);}for(var q in this.$ServerJS3)c('ErrorUtils').applyWithGuard(p,this,[q],null,'ServerJS:cleanup'+' id: '+q);};k.prototype.$ServerJS5=function(o,p,q,r){'use strict';return c('ErrorUtils').applyWithGuard(c('ServerJSDefine').handleDefine,c('ServerJSDefine'),[o,p,q,r,this.$ServerJS2],null,'JS::define');};k.prototype.$ServerJS9=function(o,p,q,r,s){'use strict';return c('ErrorUtils').applyWithGuard(this.$ServerJS10,this,[o,p,q,r,s],null,p?'JS::call':'JS::requireModule');};k.prototype.$ServerJS10=function(o,p,q,r,s){'use strict';if(typeof p=='object'){s=p;p=undefined;}var t=[o].concat(q||[]).concat(s||[]),u;if(p){u='__call__'+o+'.'+p;}else u='__requireModule__'+o;u+='__'+j++;this.$ServerJS3[u]=[o,p];var v=c('ErrorUtils').guard(function w(x){var x=c.call(null,o);delete this.$ServerJS3[u];r&&c('replaceTransportMarkers')(this.$ServerJS2,r);if(p){if(!x[p])throw new TypeError(c('ex')('Module %s has no method "%s"',o,p));x[p].apply(x,r||[]);v.__SMmeta=x[p].__SMmeta||{};v.__SMmeta.module=v.__SMmeta.module||o;v.__SMmeta.name=v.__SMmeta.name||p;}}.bind(this),p?"JS::call('"+o+"', '"+p+"', ...)":"JS::requireModule('"+o+"')");return define(u,t,v,h|i,this,1,this.$ServerJS4);};k.prototype.$ServerJS8=function(o,p,q,r){'use strict';return c('ErrorUtils').applyWithGuard(this.$Serv/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtSCriptTools module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 or version 3 as published by the Free
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
** following information to ensure the GNU Lesser General Public License
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** As a special exception, The Qt Company gives you certain additional
** rights. These rights are described in The Qt Company LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** $QT_END_LICENSE$
**
****************************************************************************/

#ifndef QSCRIPTDEBUGGERSTACKWIDGET_P_H
#define QSCRIPTDEBUGGERSTACKWIDGET_P_H

//
//  W A R N I N G
//  -------------
//
// This file is not part of the Qt API.  It exists purely as an
// implementation detail.  This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//

#include "qscriptdebuggerstackwidgetinterface_p.h"

QT_BEGIN_NAMESPACE

class QScriptDebuggerStackWidgetPrivate;
class Q_AUTOTEST_EXPORT QScriptDebuggerStackWidget:
    public QScriptDebuggerStackWidgetInterface
{
    Q_OBJECT
public:
    QScriptDebuggerStackWidget(QWidget *parent = 0);
    ~QScriptDebuggerStackWidget();

    QAbstractItemModel *stackModel() const;
    void setStackModel(QAbstractItemModel *model);

    int currentFrameIndex() const;
    void setCurrentFrameIndex(int frameIndex);

private:
    Q_DECLARE_PRIVATE(QScriptDebuggerStackWidget)
    Q_DISABLE_COPY(QScriptDebuggerStackWidget)

    Q_PRIVATE_SLOT(d_func(), void _q_onCurrentChanged(const QModelIndex &))
};

QT_END_NAMESPACE

#endif
