forked from qt-creator/qt-creator
Squish: Make server settings class accessible
These settings should be usable for more than just the settings page. Change-Id: I5150601405163327290808127d761438e57794a3 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -112,22 +112,6 @@ SquishSettingsPage::SquishSettingsPage(SquishSettings *settings)
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
class SquishServerSettings : public AspectContainer
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
SquishServerSettings();
|
|
||||||
|
|
||||||
void setFromXmlOutput(const QString &output);
|
|
||||||
|
|
||||||
QMap<QString, QString> mappedAuts; // name, path
|
|
||||||
QMap<QString, QString> attachableAuts; // name, host:port
|
|
||||||
QStringList autPaths; // absolute path
|
|
||||||
IntegerAspect autTimeout;
|
|
||||||
IntegerAspect responseTimeout;
|
|
||||||
IntegerAspect postMortemWaitTime;
|
|
||||||
BoolAspect animatedCursor;
|
|
||||||
};
|
|
||||||
|
|
||||||
SquishServerSettings::SquishServerSettings()
|
SquishServerSettings::SquishServerSettings()
|
||||||
{
|
{
|
||||||
registerAspect(&autTimeout);
|
registerAspect(&autTimeout);
|
||||||
|
|||||||
@@ -17,6 +17,22 @@ QT_END_NAMESPACE
|
|||||||
namespace Squish {
|
namespace Squish {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
class SquishServerSettings : public Utils::AspectContainer
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
SquishServerSettings();
|
||||||
|
|
||||||
|
void setFromXmlOutput(const QString &output);
|
||||||
|
|
||||||
|
QMap<QString, QString> mappedAuts; // name, path
|
||||||
|
QMap<QString, QString> attachableAuts; // name, host:port
|
||||||
|
QStringList autPaths; // absolute path
|
||||||
|
Utils::IntegerAspect autTimeout;
|
||||||
|
Utils::IntegerAspect responseTimeout;
|
||||||
|
Utils::IntegerAspect postMortemWaitTime;
|
||||||
|
Utils::BoolAspect animatedCursor;
|
||||||
|
};
|
||||||
|
|
||||||
class SquishSettings : public Utils::AspectContainer
|
class SquishSettings : public Utils::AspectContainer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user