debugger: work on optional prebuild dumper library

This commit is contained in:
hjk
2009-03-23 14:34:01 +01:00
parent 1c110388ec
commit 380cb40f27
6 changed files with 50 additions and 30 deletions

View File

@@ -32,6 +32,7 @@
#include <utils/qtcassert.h>
#include <utils/pathchooser.h>
#include <QtCore/QDebug>
#include <QtCore/QSettings>
#include <QtGui/QAction>
#include <QtGui/QAbstractButton>
@@ -39,9 +40,11 @@
#include <QtGui/QCheckBox>
#include <QtGui/QLineEdit>
namespace Debugger {
namespace Internal {
//////////////////////////////////////////////////////////////////////////
//
// DebuggerAction
@@ -119,6 +122,14 @@ void DebuggerAction::setTextPattern(const QString &value)
m_textPattern = value;
}
QString DebuggerAction::toString() const
{
return "value: " + m_value.toString()
+ " defaultvalue: " + m_defaultValue.toString()
+ " settingskey: " + m_settingsGroup + '/' + m_settingsKey
+ " deferedValue: " + m_deferedValue.toString();
}
QAction *DebuggerAction::updatedAction(const QString &text0)
{
QString text = text0;
@@ -155,7 +166,7 @@ void DebuggerAction::writeSettings(QSettings *settings)
return;
settings->beginGroup(m_settingsGroup);
settings->setValue(m_settingsKey, m_value);
//qDebug() << "WRITING: " << m_settingsKey << " -> " << m_value;
//qDebug() << "WRITING: " << m_settingsKey << " -> " << toString();
settings->endGroup();
}