TelescopeConfigurationDialog.cpp   TelescopeConfigurationDialog.cpp 
skipping to change at line 42 skipping to change at line 42
#include <QDebug> #include <QDebug>
#include <QCompleter> #include <QCompleter>
#include <QFrame> #include <QFrame>
#include <QTimer> #include <QTimer>
#include <QtSerialPort/QSerialPortInfo> #include <QtSerialPort/QSerialPortInfo>
#include <QFile> #include <QFile>
#include <QDir> #include <QDir>
TelescopeConfigurationDialog::TelescopeConfigurationDialog() TelescopeConfigurationDialog::TelescopeConfigurationDialog()
: configuredSlot(0) : StelDialog("TelescopeControlConfiguration")
, configuredSlot(0)
{ {
ui = new Ui_telescopeConfigurationDialog(); ui = new Ui_telescopeConfigurationDialog();
dialogName = "TelescopeControlConfiguration";
telescopeManager = GETSTELMODULE(TelescopeControl); telescopeManager = GETSTELMODULE(TelescopeControl);
telescopeNameValidator = new QRegExpValidator (QRegExp("[^:\"]+"), t his);//Test the update for JSON telescopeNameValidator = new QRegExpValidator (QRegExp("[^:\"]+"), t his);//Test the update for JSON
hostNameValidator = new QRegExpValidator (QRegExp("[a-zA-Z0-9\\-\\.] +"), this);//TODO: Write a proper host/IP regexp? hostNameValidator = new QRegExpValidator (QRegExp("[a-zA-Z0-9\\-\\.] +"), this);//TODO: Write a proper host/IP regexp?
circleListValidator = new QRegExpValidator (QRegExp("[0-9,\\.\\s]+") , this); circleListValidator = new QRegExpValidator (QRegExp("[0-9,\\.\\s]+") , this);
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
serialPortValidator = new QRegExpValidator (QRegExp("COM[0-9]+"), th is); serialPortValidator = new QRegExpValidator (QRegExp("COM[0-9]+"), th is);
#else #else
serialPortValidator = new QRegExpValidator (QRegExp("/.*"), this); serialPortValidator = new QRegExpValidator (QRegExp("/.*"), this);
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/