**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
-** Contact: Nokia Corporation (qt-info@nokia.com)
+** Contact: Nokia Corporation (info@qt.nokia.com)
**
-** No Commercial Usage
-**
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
**
** 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 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this file.
+** Please review the following information to ensure the GNU Lesser General
+** Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
+** Other Usage
+**
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
+**
** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
+** Nokia at info@qt.nokia.com.
**
**************************************************************************/
#include "debuggerengine.h"
-#include <projectexplorer/outputformat.h>
+#include <utils/outputformat.h>
-#include <QtCore/QScopedPointer>
#include <QtNetwork/QAbstractSocket>
namespace Debugger {
void showMessage(const QString &msg, int channel = LogDebug,
int timeout = -1) const;
void filterApplicationMessage(const QString &msg, int channel);
+ virtual bool acceptsWatchesWhileRunning() const;
public slots:
void messageReceived(const QByteArray &message);
void selectThread(int index);
void attemptBreakpointSynchronization();
- bool acceptsBreakpoint(BreakpointId id) const;
+ bool acceptsBreakpoint(BreakpointModelId id) const;
void assignValueInDebugger(const WatchData *data,
const QString &expr, const QVariant &value);
void connectionStartupFailed();
void connectionError(QAbstractSocket::SocketError error);
void serviceConnectionError(const QString &service);
- void appendMessage(const QString &msg, ProjectExplorer::OutputFormat);
+ void appendMessage(const QString &msg, Utils::OutputFormat);
+
+ void synchronizeWatchers();
private:
void expandObject(const QByteArray &iname, quint64 objectId);
LogReceive
};
void logMessage(LogDirection direction, const QString &str);
- QString toFileInProject(const QString &file);
+ QString toFileInProject(const QUrl &fileUrl);
private:
friend class QmlCppEngine;
-
- QScopedPointer<QmlEnginePrivate> d;
+ QmlEnginePrivate *d;
};
} // namespace Internal