Split apart debugger options pages, allow specifying a path to CDB.

Modify engine creation funcs to populate a list of option pages
to be able to handle engine enabling independently of the
actual engine creation.
This commit is contained in:
Friedemann Kleint
2009-04-17 09:03:32 +02:00
parent bc89f5dc4f
commit 7d41e04884
24 changed files with 914 additions and 216 deletions

View File

@@ -48,6 +48,10 @@ class QTimer;
class QWidget;
QT_END_NAMESPACE
namespace Core {
class IOptionsPage;
}
namespace Debugger {
namespace Internal {
@@ -178,7 +182,9 @@ class DebuggerManager : public QObject,
Q_OBJECT
public:
DebuggerManager(const QStringList &arguments);
DebuggerManager();
QList<Core::IOptionsPage*> initializeEngines(const QStringList &arguments);
~DebuggerManager();
IDebuggerManagerAccessForEngines *engineInterface();
@@ -341,7 +347,7 @@ public:
bool m_useTerminal;
private:
void init(const QStringList &arguments);
void init();
void setDebuggerType(DebuggerType type);
void runTest(const QString &fileName);
QDockWidget *createDockForWidget(QWidget *widget);