[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Wed Dec 8 08:32:27 CET 2004
CVS commit by staikos:
- detabify source
- remove unnecessary paints from dialogs
- make sure dialogs are updated on wasModified()
M +1 -1 extensionmgr.cpp 1.9
M +96 -96 kst2dplot.cpp 1.303
M +3 -5 kstcurvedialog_i.cpp 1.73
M +1 -1 kstdebugdialog_i.cpp 1.11
M +3 -2 kstdoc.cpp 1.142
M +0 -2 ksteqdialog_i.cpp 1.73
M +2 -2 kstequation.cpp 1.17
M +9 -12 ksthsdialog_i.cpp 1.75
M +22 -22 kstiface_impl.cpp 1.57
M +0 -2 kstimagedialog_i.cpp 1.28
M +3 -3 kstlabel.cpp 1.49
M +12 -12 kstlegend.cpp 1.18
M +0 -2 kstpsddialog_i.cpp 1.69
M +1 -1 kstquickprogressbar.cpp 1.4
M +1 -1 kstrvector.cpp 1.68
M +1 -1 kstvector.cpp 1.89
M +5 -5 main.cpp 1.93
--- kdeextragear-2/kst/kst/kstcurvedialog_i.cpp #1.72:1.73
@@ -219,5 +219,4 @@ bool KstCurveDialogI::new_I() {
if (plot) {
plot->addCurve(curve.data());
- w->view()->paint(P_DATA);
}
}
@@ -235,5 +234,4 @@ bool KstCurveDialogI::new_I() {
plot->addCurve(curve.data());
plot->GenerateDefaultLabels();
- w->view()->paint(P_DATA);
}
}
--- kdeextragear-2/kst/kst/kstdoc.cpp #1.141:1.142
@@ -738,4 +738,5 @@ void KstDoc::wasModified() {
_modified = true;
forceUpdate();
+ QTimer::singleShot(0, this, SIGNAL(updateDialogs()));
}
--- kdeextragear-2/kst/kst/ksteqdialog_i.cpp #1.72:1.73
@@ -228,5 +228,4 @@ bool KstEqDialogI::new_I() {
if (plot) {
plot->addCurve(vc.data());
- w->view()->paint(P_DATA);
}
}
@@ -244,5 +243,4 @@ bool KstEqDialogI::new_I() {
plot->addCurve(vc.data());
plot->GenerateDefaultLabels();
- w->view()->paint(P_DATA);
}
}
--- kdeextragear-2/kst/kst/ksthsdialog_i.cpp #1.74:1.75
@@ -205,6 +205,5 @@ bool KstHsDialogI::new_I() {
KST::vectorList.lock().readLock();
- KstVectorList::Iterator i =
- KST::vectorList.findTag(_vector->selectedVector());
+ KstVectorList::Iterator i = KST::vectorList.findTag(_vector->selectedVector());
KST::vectorList.lock().readUnlock();
if (i == KST::vectorList.end()) {
@@ -213,5 +212,5 @@ bool KstHsDialogI::new_I() {
}
- ( *i )->readLock();
+ (*i)->readLock();
hs = new KstHistogram(tag_name, *i, new_min, new_max,
new_n_bins, new_norm_mode);
@@ -241,5 +240,4 @@ bool KstHsDialogI::new_I() {
if (plot) {
plot->addCurve(vc.data());
- w->view()->paint(P_DATA);
}
}
@@ -257,9 +255,8 @@ bool KstHsDialogI::new_I() {
plot->addCurve(vc.data());
plot->GenerateDefaultLabels();
- w->view()->paint(P_DATA);
}
}
}
- ( *i )->readUnlock();
+ (*i)->readUnlock();
KST::dataObjectList.lock().writeLock();
--- kdeextragear-2/kst/kst/kstimagedialog_i.cpp #1.27:1.28
@@ -329,5 +329,4 @@ void KstImageDialogI::placeInPlot(KstIma
if (plot) {
plot->addImage(image.data());
- w->view()->paint(P_DATA);
}
}
@@ -345,5 +344,4 @@ void KstImageDialogI::placeInPlot(KstIma
plot->addImage(image.data());
plot->GenerateDefaultLabels();
- w->view()->paint(P_DATA);
}
}
--- kdeextragear-2/kst/kst/kstpsddialog_i.cpp #1.68:1.69
@@ -191,5 +191,4 @@ bool KstPsdDialogI::new_I() {
if (plot) {
plot->addCurve(vc.data());
- w->view()->paint(P_DATA);
}
}
@@ -207,5 +206,4 @@ bool KstPsdDialogI::new_I() {
plot->addCurve(vc.data());
plot->GenerateDefaultLabels();
- w->view()->paint(P_DATA);
}
}
More information about the Kst
mailing list