[Kst] branches/work/kst/portto4/kst/src
Adam Treat
treat at kde.org
Thu Mar 15 17:11:46 CET 2007
SVN commit 642854 by treat:
* Fix up connections
M +1 -1 libkstapp/kst.cpp
M +1 -1 libkstapp/kst2dplot.cpp
M +3 -3 libkstapp/ksteqdialog4.ui
M +2 -2 libkstapp/ksteventmonitor.cpp
M +1 -1 libkstapp/vectorsavedialog.cpp
M +4 -4 libkstapp/view2dplotwidget.cpp
M +1 -1 widgets/curveplacementwidget.cpp
M +1 -1 widgets/stringselector.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/kst.cpp #642853:642854
@@ -467,7 +467,7 @@
/************/
QActionGroup *radioCollection = new QActionGroup(actionCollection());
- connect(radioCollection, SIGNAL(triggered()), this, SLOT(toggleMouseMode()));
+ connect(radioCollection, SIGNAL(triggered(QAction*)), this, SLOT(toggleMouseMode()));
XYZoomAction = new KToggleAction(KIcon("kst_zoomxy"), i18n("XY Mouse &Zoom"),
actionCollection());
actionCollection()->addAction("zoomxy_action", XYZoomAction);
--- branches/work/kst/portto4/kst/src/libkstapp/kst2dplot.cpp #642853:642854
@@ -6973,7 +6973,7 @@
connect(widget->_minorGridColor, SIGNAL( changed(const QColor&) ), parent, SLOT( modified() ) );
connect(widget->_checkBoxDefaultMajorGridColor, SIGNAL( stateChanged(int) ), parent, SLOT( modified() ) );
- connect( widget->ScalarList, SIGNAL( textChanged(const QString&) ), parent, SLOT(modified()));
+ connect( widget->ScalarList, SIGNAL( editTextChanged(const QString&) ), parent, SLOT(modified()));
connect( widget->TopLabelFontSize, SIGNAL( valueChanged(int) ), parent, SLOT(modified()));
connect( widget->TopLabelText, SIGNAL( textChanged(const QString&) ), parent, SLOT(modified()));
connect( widget->_comboBoxTopLabelJustify, SIGNAL( activated(int) ), parent, SLOT(modified()));
--- branches/work/kst/portto4/kst/src/libkstapp/ksteqdialog4.ui #642853:642854
@@ -197,7 +197,7 @@
<sender>Operators</sender>
<signal>activated(QString)</signal>
<receiver>_equation</receiver>
- <slot>insert(QString)</slot>
+ <slot>setText(QString)</slot>
</connection>
<connection>
<sender>Operators</sender>
@@ -209,7 +209,7 @@
<sender>_vectors</sender>
<signal>selectionChangedLabel(QString)</signal>
<receiver>_equation</receiver>
- <slot>insert(QString)</slot>
+ <slot>setText(QString)</slot>
</connection>
<connection>
<sender>_vectors</sender>
@@ -221,7 +221,7 @@
<sender>_scalars</sender>
<signal>selectionChangedLabel(QString)</signal>
<receiver>_equation</receiver>
- <slot>insert(QString)</slot>
+ <slot>setText(QString)</slot>
</connection>
<connection>
<sender>_scalars</sender>
--- branches/work/kst/portto4/kst/src/libkstapp/ksteventmonitor.cpp #642853:642854
@@ -57,9 +57,9 @@
setMultiple(true);
connect(_w->_vectorSelectorEq, SIGNAL(newVectorCreated(const QString&)), this, SIGNAL(modified()));
connect(_w->_scalarSelectorEq, SIGNAL(newScalarCreated()), this, SIGNAL(modified()));
- connect(_w->_vectorSelectorEq, SIGNAL(selectionChangedLabel(const QString&)), _w->lineEditEquation, SLOT(insert(const QString&)));
+ connect(_w->_vectorSelectorEq, SIGNAL(selectionChangedLabel(const QString&)), _w->lineEditEquation, SLOT(setText(const QString&)));
connect(_w->_vectorSelectorEq, SIGNAL(selectionChangedLabel(const QString&)), _w->lineEditEquation, SLOT(setFocus()));
- connect(_w->_scalarSelectorEq, SIGNAL(selectionChangedLabel(const QString&)), _w->lineEditEquation, SLOT(insert(const QString&)));
+ connect(_w->_scalarSelectorEq, SIGNAL(selectionChangedLabel(const QString&)), _w->lineEditEquation, SLOT(setText(const QString&)));
connect(_w->_scalarSelectorEq, SIGNAL(selectionChangedLabel(const QString&)), _w->lineEditEquation, SLOT(setFocus()));
connect(_w->_pushButtonELOGConfigure, SIGNAL(clicked()), KstApp::inst(), SLOT(EventELOGConfigure()));
--- branches/work/kst/portto4/kst/src/libkstapp/vectorsavedialog.cpp #642853:642854
@@ -39,7 +39,7 @@
connect(_vectorList, SIGNAL(selectionChanged()), this, SLOT(selectionChanged()));
- connect(_vectorList, SIGNAL(doubleClicked(QListBoxItem*)), this, SLOT(save()));
+ connect(_vectorList, SIGNAL(doubleClicked(Q3ListBoxItem*)), this, SLOT(save()));
}
--- branches/work/kst/portto4/kst/src/libkstapp/view2dplotwidget.cpp #642853:642854
@@ -117,13 +117,13 @@
connect(XExpression, SIGNAL(toggled(bool)), this, SLOT(updateButtons()));
connect(scalarSelectorX1, SIGNAL(activated(const QString&)),
- XExpressionMin, SLOT(insert(const QString&)));
+ XExpressionMin, SLOT(setText(const QString&)));
connect(scalarSelectorY1, SIGNAL(activated(const QString&)),
- YExpressionMin, SLOT(insert(const QString&)));
+ YExpressionMin, SLOT(setText(const QString&)));
connect(scalarSelectorX2, SIGNAL(activated(const QString&)),
- XExpressionMax, SLOT(insert(const QString&)));
+ XExpressionMax, SLOT(setText(const QString&)));
connect(scalarSelectorY2, SIGNAL(activated(const QString&)),
- YExpressionMax, SLOT(insert(const QString&)));
+ YExpressionMax, SLOT(setText(const QString&)));
// adding/removing curves
connect(DisplayedCurveList, SIGNAL(clicked(Q3ListBoxItem*)), this, SLOT(updateButtons()));
--- branches/work/kst/portto4/kst/src/widgets/curveplacementwidget.cpp #642853:642854
@@ -33,7 +33,7 @@
connect(_dontPlace, SIGNAL(clicked()), this, SLOT(updateEnabled()));
- connect(_plotWindow, SIGNAL(textChanged(const QString&)), this, SLOT(updateGrid()));
+ connect(_plotWindow, SIGNAL(editTextChanged(const QString&)), this, SLOT(updateGrid()));
connect(_reGrid, SIGNAL(clicked()), this, SLOT(updateEnabled()));
}
--- branches/work/kst/portto4/kst/src/widgets/stringselector.cpp #642853:642854
@@ -50,7 +50,7 @@
connect(_newString, SIGNAL(clicked()), this, SLOT(createNewString()));
connect(_editString, SIGNAL(clicked()), this, SLOT(editString()));
connect(_string, SIGNAL(activated(const QString&)), this, SIGNAL(selectionChanged(const QString&)));
- connect(_string, SIGNAL(textChanged(const QString&)), this, SIGNAL(selectionChanged(const QString&)));
+ connect(_string, SIGNAL(editTextChanged(const QString&)), this, SIGNAL(selectionChanged(const QString&)));
connect(this, SIGNAL(selectionChanged(const QString&)), this, SLOT(selectionWatcher(const QString&)));
}
More information about the Kst
mailing list