24 changes: 12 additions & 12 deletions src/libkstapp/imagedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,24 @@ ImageTab::ImageTab(QWidget *parent)
setupUi(this);
setTabTitle(tr("Image"));

connect(_realTimeAutoThreshold, SIGNAL(toggled(const bool&)), this, SLOT(realTimeAutoThresholdToggled(const bool&)));
connect(_colorOnly, SIGNAL(toggled(const bool&)), this, SLOT(updateEnabled(const bool&)));
connect(_colorAndContour, SIGNAL(toggled(const bool&)), this, SLOT(updateEnabled(const bool&)));
connect(_contourOnly, SIGNAL(toggled(const bool&)), this, SLOT(updateEnabled(const bool&)));
connect(_realTimeAutoThreshold, SIGNAL(toggled(bool)), this, SLOT(realTimeAutoThresholdToggled(bool)));
connect(_colorOnly, SIGNAL(toggled(bool)), this, SLOT(updateEnabled(bool)));
connect(_colorAndContour, SIGNAL(toggled(bool)), this, SLOT(updateEnabled(bool)));
connect(_contourOnly, SIGNAL(toggled(bool)), this, SLOT(updateEnabled(bool)));
connect(_autoThreshold, SIGNAL(clicked()), this, SLOT(calculateAutoThreshold()));
connect(_smartThreshold, SIGNAL(clicked()), this, SLOT(calculateSmartThreshold()));

connect(_matrix, SIGNAL(selectionChanged()), this, SLOT(selectionChanged()));

connect(_matrix, SIGNAL(selectionChanged()), this, SIGNAL(modified()));
connect(_colorOnly, SIGNAL(toggled(const bool&)), this, SIGNAL(modified()));
connect(_colorAndContour, SIGNAL(toggled(const bool&)), this, SIGNAL(modified()));
connect(_contourOnly, SIGNAL(toggled(const bool&)), this, SIGNAL(modified()));
connect(_lowerThreshold, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_upperThreshold, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_realTimeAutoThreshold, SIGNAL(toggled(const bool&)), this, SIGNAL(modified()));

connect(_contourColor, SIGNAL(changed(const QColor&)), this, SIGNAL(modified()));
connect(_colorOnly, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_colorAndContour, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_contourOnly, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_lowerThreshold, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_upperThreshold, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_realTimeAutoThreshold, SIGNAL(toggled(bool)), this, SIGNAL(modified()));

connect(_contourColor, SIGNAL(changed(QColor)), this, SIGNAL(modified()));
connect(_numContourLines, SIGNAL(valueChanged(int)), this, SIGNAL(modified()));
connect(_contourWeight, SIGNAL(valueChanged(int)), this, SIGNAL(modified()));
connect(_useVariableWeight, SIGNAL(clicked()), this, SIGNAL(modified()));
Expand Down
2 changes: 1 addition & 1 deletion src/libkstapp/labelpropertiestab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ LabelPropertiesTab::LabelPropertiesTab(QWidget *parent)

connect(_labelText, SIGNAL(labelChanged()), this, SIGNAL(modified()));
connect(_labelFontScale, SIGNAL(valueChanged(double)), this, SIGNAL(modified()));
connect(_labelColor, SIGNAL(changed(const QColor &)), this, SIGNAL(modified()));
connect(_labelColor, SIGNAL(changed(QColor)), this, SIGNAL(modified()));
connect(_bold, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_italic, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_family, SIGNAL(currentIndexChanged(int)), this, SIGNAL(modified()));
Expand Down
4 changes: 2 additions & 2 deletions src/libkstapp/labeltab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ LabelTab::LabelTab(PlotItem* plotItem, QWidget *parent)
connect(_globalLabelFontSize, SIGNAL(valueChanged(double)), this, SIGNAL(globalFontUpdate()));
connect(_globalLabelBold, SIGNAL(toggled(bool)), this, SIGNAL(globalFontUpdate()));
connect(_globalLabelItalic, SIGNAL(toggled(bool)), this, SIGNAL(globalFontUpdate()));
connect(_globalLabelFontFamily, SIGNAL(currentFontChanged(const QFont &)), this, SIGNAL(globalFontUpdate()));
connect(_globalLabelColor, SIGNAL(changed(const QColor &)), this, SIGNAL(globalFontUpdate()));
connect(_globalLabelFontFamily, SIGNAL(currentFontChanged(QFont)), this, SIGNAL(globalFontUpdate()));
connect(_globalLabelColor, SIGNAL(changed(QColor)), this, SIGNAL(globalFontUpdate()));
connect(_globalLabelBold, SIGNAL(toggled(bool)), this, SLOT(buttonUpdate()));
connect(_globalLabelItalic, SIGNAL(toggled(bool)), this, SLOT(buttonUpdate()));

Expand Down
4 changes: 2 additions & 2 deletions src/libkstapp/legendtab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ LegendTab::LegendTab(QWidget *parent)
connect(_autoContents, SIGNAL(stateChanged(int)), this, SIGNAL(modified()));
connect(_displayVertically, SIGNAL(stateChanged(int)), this, SIGNAL(modified()));

connect(_title, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_title, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_fontSize, SIGNAL(valueChanged(double)), this, SIGNAL(modified()));
connect(_bold, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_italic, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_labelColor, SIGNAL(changed(const QColor &)), this, SIGNAL(modified()));
connect(_labelColor, SIGNAL(changed(QColor)), this, SIGNAL(modified()));
connect(_family, SIGNAL(currentIndexChanged(int)), this, SIGNAL(modified()));

_displayedRelationList->setSortingEnabled(false);
Expand Down
8 changes: 4 additions & 4 deletions src/libkstapp/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1816,8 +1816,8 @@ void MainWindow::showDebugDialog() {
void MainWindow::showExportGraphicsDialog() {
if (!_exportGraphics) {
_exportGraphics = new ExportGraphicsDialog(this);
connect(_exportGraphics, SIGNAL(exportGraphics(const QString &, const QString &, int, int, int)),
this, SLOT(exportGraphicsFile(const QString &, const QString &, int, int, int)));
connect(_exportGraphics, SIGNAL(exportGraphics(QString,QString,int,int,int)),
this, SLOT(exportGraphicsFile(QString,QString,int,int,int)));
}
if (_exportGraphics->isVisible()) {
_exportGraphics->raise();
Expand Down Expand Up @@ -1917,7 +1917,7 @@ void MainWindow::showChangeDataSampleDialog() {

void MainWindow::showDataWizard() {
DataWizard *dataWizard = new DataWizard(this);
connect(dataWizard, SIGNAL(dataSourceLoaded(const QString&)), this, SLOT(updateRecentDataFiles(const QString&)));
connect(dataWizard, SIGNAL(dataSourceLoaded(QString)), this, SLOT(updateRecentDataFiles(QString)));
dataWizard->show();
}

Expand All @@ -1932,7 +1932,7 @@ void MainWindow::openRecentDataFile()
QAction *action = qobject_cast<QAction *>(sender());
if (action) {
DataWizard *dataWizard = new DataWizard(this, action->data().toString());
connect(dataWizard, SIGNAL(dataSourceLoaded(const QString&)), this, SLOT(updateRecentDataFiles(const QString&)));
connect(dataWizard, SIGNAL(dataSourceLoaded(QString)), this, SLOT(updateRecentDataFiles(QString)));
dataWizard->show();
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/libkstapp/markerstab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ MarkersTab::MarkersTab(QWidget *parent)
connect(_curveMarkers, SIGNAL(stateChanged(int)), this, SLOT(update()));
connect(_vectorMarkers, SIGNAL(stateChanged(int)), this, SLOT(update()));
connect(_currentMarkersList, SIGNAL(itemSelectionChanged()), this, SLOT(update()));
connect(_newMarker, SIGNAL(textChanged(const QString&)), this, SLOT(update()));
connect(_newMarker, SIGNAL(textChanged(QString)), this, SLOT(update()));

connect(_markerLineStyle, SIGNAL(currentIndexChanged(int)), this, SIGNAL(modified()));
connect(_markerLineColor, SIGNAL(changed(const QColor &)), this, SIGNAL(modified()));
connect(_markerLineColor, SIGNAL(changed(QColor)), this, SIGNAL(modified()));
connect(_curveMarkers, SIGNAL(stateChanged(int)), this, SIGNAL(modified()));
connect(_vectorMarkers, SIGNAL(stateChanged(int)), this, SIGNAL(modified()));
connect(_vector, SIGNAL(selectionChanged(const QString&)), this, SIGNAL(modified()));
connect(_curve, SIGNAL(selectionChanged(const QString&)), this, SIGNAL(modified()));
connect(_vector, SIGNAL(selectionChanged(QString)), this, SIGNAL(modified()));
connect(_curve, SIGNAL(selectionChanged(QString)), this, SIGNAL(modified()));
connect(_risingEdge, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_fallingEdge, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_both, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
Expand Down
16 changes: 8 additions & 8 deletions src/libkstapp/matrixdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ MatrixTab::MatrixTab(ObjectStore *store, QWidget *parent)
setTabTitle(tr("Matrix"));

connect(_readFromSource, SIGNAL(toggled(bool)), this, SLOT(readFromSourceChanged()));
connect(_fileName, SIGNAL(changed(const QString &)), this, SLOT(fileNameChanged(const QString &)));
connect(_fileName, SIGNAL(changed(QString)), this, SLOT(fileNameChanged(QString)));
connect(_configure, SIGNAL(clicked()), this, SLOT(showConfigWidget()));

connect(_xStartCountFromEnd, SIGNAL(clicked()), this, SLOT(xStartCountFromEndClicked()));
Expand All @@ -63,12 +63,12 @@ MatrixTab::MatrixTab(ObjectStore *store, QWidget *parent)
connect(_skip, SIGNAL(valueChanged(int)), this, SIGNAL(modified()));
connect(_nX, SIGNAL(valueChanged(int)), this, SIGNAL(modified()));
connect(_nY, SIGNAL(valueChanged(int)), this, SIGNAL(modified()));
connect(_gradientZAtMin, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_gradientZAtMax, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_minX, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_minY, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_xStep, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_yStep, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_gradientZAtMin, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_gradientZAtMax, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_minX, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_minY, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_xStep, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_yStep, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_xStartCountFromEnd, SIGNAL(clicked()), this, SIGNAL(modified()));
connect(_yStartCountFromEnd, SIGNAL(clicked()), this, SIGNAL(modified()));
connect(_xNumStepsReadToEnd, SIGNAL(clicked()), this, SIGNAL(modified()));
Expand Down Expand Up @@ -565,7 +565,7 @@ void MatrixTab::fileNameChanged(const QString &file) {

_requestID += 1;
ValidateDataSourceThread *validateDSThread = new ValidateDataSourceThread(file, _requestID);
connect(validateDSThread, SIGNAL(dataSourceValid(QString, int)), this, SLOT(sourceValid(QString, int)));
connect(validateDSThread, SIGNAL(dataSourceValid(QString,int)), this, SLOT(sourceValid(QString,int)));
validating = true;
QThreadPool::globalInstance()->start(validateDSThread);
}
Expand Down
2 changes: 1 addition & 1 deletion src/libkstapp/overridelabeltab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ OverrideLabelTab::OverrideLabelTab(QString title, QWidget *parent)
connect(_bold, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_italic, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_family, SIGNAL(currentIndexChanged(int)), this, SIGNAL(modified()));
connect(_labelColor, SIGNAL(changed(const QColor &)), this, SIGNAL(modified()));
connect(_labelColor, SIGNAL(changed(QColor)), this, SIGNAL(modified()));
connect(_useDefault, SIGNAL(toggled(bool)), this, SIGNAL(useDefaultChanged(bool)));

connect(_bold, SIGNAL(toggled(bool)), this, SLOT(buttonUpdate()));
Expand Down
12 changes: 6 additions & 6 deletions src/libkstapp/rangetab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ RangeTab::RangeTab(PlotItem* plotItem, QWidget *parent)
connect(_ySpike, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_yFixed, SIGNAL(toggled(bool)), this, SIGNAL(modified()));

connect(_xMin, SIGNAL(textChanged(const QString &)), this, SIGNAL(modified()));
connect(_xMax, SIGNAL(textChanged(const QString &)), this, SIGNAL(modified()));
connect(_xRange, SIGNAL(textChanged(const QString &)), this, SIGNAL(modified()));
connect(_xMin, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_xMax, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_xRange, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));

connect(_yMin, SIGNAL(textChanged(const QString &)), this, SIGNAL(modified()));
connect(_yMax, SIGNAL(textChanged(const QString &)), this, SIGNAL(modified()));
connect(_yRange, SIGNAL(textChanged(const QString &)), this, SIGNAL(modified()));
connect(_yMin, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_yMax, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_yRange, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));

connect(this, SIGNAL(modified()), this, SLOT(updateButtons()));

Expand Down
10 changes: 5 additions & 5 deletions src/libkstapp/scalardialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ ScalarTab::ScalarTab(ObjectStore *store, QWidget *parent)

setDataOptions();

connect(_scalarValue, SIGNAL(textChanged(const QString&)), this, SLOT(entryChanged()));
connect(_scalarValue, SIGNAL(textChanged(QString)), this, SLOT(entryChanged()));
connect(_start, SIGNAL(valueChanged(int)), this, SLOT(entryChanged()));
connect(_countFromEnd, SIGNAL(clicked()), this, SLOT(entryChanged()));
connect(_field, SIGNAL(editTextChanged(const QString&)), this, SLOT(entryChanged()));
connect(_fieldRV, SIGNAL(editTextChanged(const QString&)), this, SLOT(entryChanged()));
connect(_field, SIGNAL(editTextChanged(QString)), this, SLOT(entryChanged()));
connect(_fieldRV, SIGNAL(editTextChanged(QString)), this, SLOT(entryChanged()));
connect(_readFromSource, SIGNAL(toggled(bool)), this, SLOT(readFromSourceChanged()));
connect(_readFromRVector, SIGNAL(toggled(bool)), this, SLOT(readFromSourceChanged()));
connect(_fileName, SIGNAL(changed(const QString &)), this, SLOT(fileNameChanged(const QString &)));
connect(_fileName, SIGNAL(changed(QString)), this, SLOT(fileNameChanged(QString)));
connect(_configure, SIGNAL(clicked()), this, SLOT(showConfigWidget()));
}

Expand Down Expand Up @@ -222,7 +222,7 @@ void ScalarTab::fileNameChanged(const QString &file) {

_requestID += 1;
ValidateDataSourceThread *validateDSThread = new ValidateDataSourceThread(file, _requestID);
connect(validateDSThread, SIGNAL(dataSourceValid(QString, int)), this, SLOT(sourceValid(QString, int)));
connect(validateDSThread, SIGNAL(dataSourceValid(QString,int)), this, SLOT(sourceValid(QString,int)));
QThreadPool::globalInstance()->start(validateDSThread);
}

Expand Down
6 changes: 3 additions & 3 deletions src/libkstapp/stringdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ StringTab::StringTab(ObjectStore *store, QWidget *parent)

connect(_generatedStringGroup, SIGNAL(toggled(bool)), this, SLOT(generateClicked()));
connect(_dataStringGroup, SIGNAL(toggled(bool)), this, SLOT(readFromSourceClicked()));
connect(_stringValue, SIGNAL(textChanged(const QString&)), this, SLOT(textChanged()));
connect(_fileName, SIGNAL(changed(const QString &)), this, SLOT(fileNameChanged(const QString &)));
connect(_stringValue, SIGNAL(textChanged(QString)), this, SLOT(textChanged()));
connect(_fileName, SIGNAL(changed(QString)), this, SLOT(fileNameChanged(QString)));
connect(_configure, SIGNAL(clicked()), this, SLOT(showConfigWidget()));
}

Expand Down Expand Up @@ -180,7 +180,7 @@ void StringTab::fileNameChanged(const QString &file) {

_requestID += 1;
ValidateDataSourceThread *validateDSThread = new ValidateDataSourceThread(file, _requestID);
connect(validateDSThread, SIGNAL(dataSourceValid(QString, int)), this, SLOT(sourceValid(QString, int)));
connect(validateDSThread, SIGNAL(dataSourceValid(QString,int)), this, SLOT(sourceValid(QString,int)));
QThreadPool::globalInstance()->start(validateDSThread);
}

Expand Down
2 changes: 1 addition & 1 deletion src/libkstapp/stroketab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ StrokeTab::StrokeTab(QWidget *parent)

connect(_style, SIGNAL(currentIndexChanged(int)), this, SIGNAL(modified()));
connect(_width, SIGNAL(valueChanged(double)), this, SIGNAL(modified()));
connect(_brushColor, SIGNAL(changed(const QColor &)), this, SIGNAL(modified()));
connect(_brushColor, SIGNAL(changed(QColor)), this, SIGNAL(modified()));
connect(_brushStyle, SIGNAL(currentIndexChanged(int)), this, SIGNAL(modified()));
connect(_joinStyle, SIGNAL(currentIndexChanged(int)), this, SIGNAL(modified()));
connect(_capStyle, SIGNAL(currentIndexChanged(int)), this, SIGNAL(modified()));
Expand Down
2 changes: 1 addition & 1 deletion src/libkstapp/tabwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ TabWidget::TabWidget(QWidget *parent)
: QTabWidget(parent) {
setTabBar(new TabBar);
tabBar()->setContextMenuPolicy(Qt::CustomContextMenu);
connect(tabBar(), SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(contextMenu(const QPoint&)));
connect(tabBar(), SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(contextMenu(QPoint)));
_cnt = 0;
#if QT_VERSION >= 0x040500
tabBar()->setMovable(true);
Expand Down
4 changes: 2 additions & 2 deletions src/libkstapp/themedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ ThemeDialog::ThemeDialog(QWidget *parent) : QDialog(parent) {
vbox2->addWidget(_strokeTab);
_strokeBox->setLayout(vbox2);

connect(_buttonBox, SIGNAL(clicked(QAbstractButton *)),
this, SLOT(buttonClicked(QAbstractButton *)));
connect(_buttonBox, SIGNAL(clicked(QAbstractButton*)),
this, SLOT(buttonClicked(QAbstractButton*)));

_bold->setFixedWidth(32);
_bold->setFixedHeight(32);
Expand Down
12 changes: 6 additions & 6 deletions src/libkstapp/vectordialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ VectorTab::VectorTab(ObjectStore *store, QWidget *parent)

connect(_generatedVectorGroup, SIGNAL(clicked(bool)), this, SLOT(generateClicked()));
connect(_dataVectorGroup, SIGNAL(clicked(bool)), this, SLOT(readFromSourceClicked()));
connect(_fileName, SIGNAL(changed(const QString &)), this, SLOT(fileNameChanged(const QString &)));
connect(_fileName, SIGNAL(changed(QString)), this, SLOT(fileNameChanged(QString)));
connect(_configure, SIGNAL(clicked()), this, SLOT(showConfigWidget()));
connect(_field, SIGNAL(editTextChanged(const QString &)), this, SIGNAL(fieldChanged()));
connect(_field, SIGNAL(editTextChanged(QString)), this, SIGNAL(fieldChanged()));

connect(_dataRange, SIGNAL(modified()), this, SIGNAL(modified()));
connect(_numberOfSamples, SIGNAL(valueChanged(int)), this, SIGNAL(modified()));
connect(_from, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_to, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_from, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_to, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));

// embed data range in the data source box
_dataRange->groupBox2->setFlat(true);
Expand Down Expand Up @@ -303,7 +303,7 @@ void VectorTab::fileNameChanged(const QString &file) {

_requestID += 1;
ValidateDataSourceThread *validateDSThread = new ValidateDataSourceThread(file, _requestID);
connect(validateDSThread, SIGNAL(dataSourceValid(QString, int)), this, SLOT(sourceValid(QString, int)));
connect(validateDSThread, SIGNAL(dataSourceValid(QString,int)), this, SLOT(sourceValid(QString,int)));
validating = true;
QThreadPool::globalInstance()->start(validateDSThread);
}
Expand Down Expand Up @@ -467,7 +467,7 @@ ObjectPtr VectorDialog::createNewDataVector() {
if (!dataSource)
return 0;

connect(dataSource, SIGNAL(progress(int, QString)), kstApp->mainWindow(), SLOT(updateProgress(int, QString)));
connect(dataSource, SIGNAL(progress(int,QString)), kstApp->mainWindow(), SLOT(updateProgress(int,QString)));

const QString field = _vectorTab->field();
const DataRange *dataRange = _vectorTab->dataRange();
Expand Down
4 changes: 2 additions & 2 deletions src/libkstapp/viewvectordialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ ViewVectorDialog::ViewVectorDialog(QWidget *parent, Document *doc)

// Custom context menu for the remove action and display format
setContextMenuPolicy(Qt::CustomContextMenu);
connect(this, SIGNAL(customContextMenuRequested(const QPoint&)),
this, SLOT(contextMenu(const QPoint&)));
connect(this, SIGNAL(customContextMenuRequested(QPoint)),
this, SLOT(contextMenu(QPoint)));

connect(_resetButton, SIGNAL(clicked()), this, SLOT(reset()));

Expand Down
4 changes: 2 additions & 2 deletions src/widgets/colorpalette.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ ColorPalette::ColorPalette(QWidget *parent)
: QWidget(parent) {
setupUi(this);

connect(_palette, SIGNAL(highlighted(const QString&)), this, SLOT(updatePalette(const QString&)));
connect(_palette, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(updatePalette(const QString&)));
connect(_palette, SIGNAL(highlighted(QString)), this, SLOT(updatePalette(QString)));
connect(_palette, SIGNAL(currentIndexChanged(QString)), this, SLOT(updatePalette(QString)));
connect(_palette, SIGNAL(currentIndexChanged(int)), this, SIGNAL(selectionChanged()));

refresh(DefaultPalette);
Expand Down
22 changes: 11 additions & 11 deletions src/widgets/curveappearance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ CurveAppearance::CurveAppearance(QWidget *parent)
connect(_showBars, SIGNAL(stateChanged(int)), this, SLOT(enableSettings()));
connect(_showHead, SIGNAL(stateChanged(int)), this, SLOT(enableSettings()));

connect(_color, SIGNAL(changed(const QColor&)), this, SLOT(populateSymbolCombos()));
connect(_color, SIGNAL(changed(const QColor&)), this, SLOT(populateLineStyleCombo()));
connect(_headColor, SIGNAL(changed(const QColor&)), this, SLOT(populateSymbolCombos()));
connect(_headColor, SIGNAL(changed(const QColor&)), this, SLOT(populateLineStyleCombo()));

connect(_color, SIGNAL(changed(const QColor&)), this, SLOT(drawSampleLine()));
connect(_headColor, SIGNAL(changed(const QColor&)), this, SLOT(drawSampleLine()));
connect(_barFillColor, SIGNAL(changed(const QColor&)), this, SLOT(drawSampleLine()));
connect(_color, SIGNAL(changed(QColor)), this, SLOT(populateSymbolCombos()));
connect(_color, SIGNAL(changed(QColor)), this, SLOT(populateLineStyleCombo()));
connect(_headColor, SIGNAL(changed(QColor)), this, SLOT(populateSymbolCombos()));
connect(_headColor, SIGNAL(changed(QColor)), this, SLOT(populateLineStyleCombo()));

connect(_color, SIGNAL(changed(QColor)), this, SLOT(drawSampleLine()));
connect(_headColor, SIGNAL(changed(QColor)), this, SLOT(drawSampleLine()));
connect(_barFillColor, SIGNAL(changed(QColor)), this, SLOT(drawSampleLine()));
connect(_showLines, SIGNAL(clicked()), this, SLOT(drawSampleLine()));
connect(_showPoints, SIGNAL(clicked()), this, SLOT(drawSampleLine()));
connect(_showHead, SIGNAL(clicked()), this, SLOT(drawSampleLine()));
Expand All @@ -51,9 +51,9 @@ CurveAppearance::CurveAppearance(QWidget *parent)
connect(_spinBoxPointSize, SIGNAL(valueChanged(double)), this, SLOT(drawSampleLine()));
connect(_showBars, SIGNAL(clicked()), this, SLOT(drawSampleLine()));

connect(_color, SIGNAL(changed(const QColor&)), this, SIGNAL(modified()));
connect(_headColor, SIGNAL(changed(const QColor&)), this, SIGNAL(modified()));
connect(_barFillColor, SIGNAL(changed(const QColor&)), this, SIGNAL(modified()));
connect(_color, SIGNAL(changed(QColor)), this, SIGNAL(modified()));
connect(_headColor, SIGNAL(changed(QColor)), this, SIGNAL(modified()));
connect(_barFillColor, SIGNAL(changed(QColor)), this, SIGNAL(modified()));
connect(_showLines, SIGNAL(clicked()), this, SIGNAL(modified()));
connect(_showPoints, SIGNAL(clicked()), this, SIGNAL(modified()));
connect(_showHead, SIGNAL(clicked()), this, SIGNAL(modified()));
Expand Down
4 changes: 2 additions & 2 deletions src/widgets/datarange.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ DataRange::DataRange(QWidget *parent)
connect(_readToEnd, SIGNAL(toggled(bool)), this, SLOT(readToEndChanged()));
connect(_doSkip, SIGNAL(toggled(bool)), this, SLOT(doSkipChanged()));

connect(_start, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_range, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_start, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_range, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_skip, SIGNAL(valueChanged(int)), this, SIGNAL(modified()));
connect(_doFilter, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
connect(_countFromEnd, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/datasourceselector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void DataSourceSelector::setup() {

setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
//connect (_fileEdit, SIGNAL(textChanged(const QString &)), this, SIGNAL(changed(const QString &)));
connect (_fileEdit, SIGNAL(textChanged(const QString &)), this, SLOT(updateFile(const QString &)));
connect (_fileEdit, SIGNAL(textChanged(QString)), this, SLOT(updateFile(QString)));
connect (_fileButton, SIGNAL(clicked()), this, SLOT(chooseFile()));

QFileSystemModel *dirModel = new QFileSystemModel;
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/datasourceselectordialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ DataSourceSelectorDialog::DataSourceSelectorDialog(QString &file, QWidget *paren
selectFile(file);
currentChanged(file);

connect(this, SIGNAL(currentChanged(const QString &)), this, SLOT(currentChanged(const QString &)));
connect(this, SIGNAL(currentChanged(QString)), this, SLOT(currentChanged(QString)));
}


Expand Down
6 changes: 3 additions & 3 deletions src/widgets/fftoptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ FFTOptions::FFTOptions(QWidget *parent)
connect(_removeMean, SIGNAL(clicked()), this, SIGNAL(modified()));
connect(_interleavedAverage, SIGNAL(clicked()), this, SIGNAL(modified()));
connect(_interpolateOverHoles, SIGNAL(clicked()), this, SIGNAL(modified()));
connect(_sampleRate, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_vectorUnits, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_rateUnits, SIGNAL(textChanged(const QString&)), this, SIGNAL(modified()));
connect(_sampleRate, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_vectorUnits, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_rateUnits, SIGNAL(textChanged(QString)), this, SIGNAL(modified()));
connect(_sigma, SIGNAL(valueChanged(double)), this, SIGNAL(modified()));
connect(_FFTLength, SIGNAL(valueChanged(int)), this, SIGNAL(modified()));

Expand Down
2 changes: 1 addition & 1 deletion src/widgets/filerequester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void FileRequester::setup() {
_fileButton->setFixedSize(size + 8, size + 8);

setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
connect (_fileEdit, SIGNAL(textChanged(const QString &)), this, SLOT(updateFile(const QString &)));
connect (_fileEdit, SIGNAL(textChanged(QString)), this, SLOT(updateFile(QString)));
connect (_fileButton, SIGNAL(clicked()), this, SLOT(chooseFile()));

QFileSystemModel *dirModel = new QFileSystemModel(this);
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/scalarlistselector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ScalarListSelector::ScalarListSelector(QWidget *parent)
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));

connect(_search, SIGNAL(textChanged(QString)), this, SLOT(filter(const QString&)));
connect(_search, SIGNAL(textChanged(QString)), this, SLOT(filter(QString)));
}


Expand Down