[Kst] branches/work/kst/kst1kde4/kst/src/plugins/chop
Zongyi Zhang
freebody.kst at gmail.com
Wed Feb 24 21:03:32 CET 2010
SVN commit 1095670 by zhang:
continue kst1kde4
M +3 -4 chop.cpp
--- branches/work/kst/kst1kde4/kst/src/plugins/chop/chop.cpp #1095669:1095670
@@ -17,8 +17,7 @@
#include "chop.h"
#include <kgenericfactory.h>
-//Added by qt3to4:
-#include <Q3ValueList>
+#include <QLinkedList>
static const QString& ARRAY = KGlobal::staticQString("Array");
static const QString& ODD = KGlobal::staticQString("Odd Array");
@@ -52,7 +51,7 @@
KstVectorPtr diff = outputVector(DIFF);
KstVectorPtr index = outputVector(INDEX);
- Q3ValueList<KstVectorPtr> outputs;
+ QLinkedList<KstVectorPtr> outputs;
outputs << odd << even << diff << index;
int iLength = array->length();
@@ -60,7 +59,7 @@
if (iLength > 1) {
- Q3ValueList<KstVectorPtr>::iterator it = outputs.begin();
+ QLinkedList<KstVectorPtr>::iterator it = outputs.begin();
for(; it != outputs.end(); ++it) {
if ((*it)->length() != iLengthNew) {
(*it)->resize(iLengthNew, false);
More information about the Kst
mailing list