2010-08-02 17:25:29 +02:00
|
|
|
#ifndef QMLJSCONTEXTCRUMBLEPATH_H
|
|
|
|
|
#define QMLJSCONTEXTCRUMBLEPATH_H
|
|
|
|
|
|
|
|
|
|
#include <utils/crumblepath.h>
|
|
|
|
|
#include <QStringList>
|
|
|
|
|
|
|
|
|
|
namespace QmlJSInspector {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
class ContextCrumblePath : public Utils::CrumblePath
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
ContextCrumblePath(QWidget *parent = 0);
|
|
|
|
|
virtual ~ContextCrumblePath();
|
2010-08-03 10:17:09 +02:00
|
|
|
bool isEmpty() const;
|
2010-08-02 17:25:29 +02:00
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
void updateContextPath(const QStringList &path);
|
2010-08-02 18:03:27 +02:00
|
|
|
private:
|
|
|
|
|
bool m_isEmpty;
|
2010-08-02 17:25:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace QmlJSInspector
|
|
|
|
|
|
|
|
|
|
#endif // QMLJSCONTEXTCRUMBLEPATH_H
|