[Kst] branches/work/kst/portto4/kst/src/libkst
Adam Treat
treat at kde.org
Thu Feb 15 23:45:04 CET 2007
SVN commit 633974 by treat:
* QString::stripWhiteSpace -> QString::trimmed
M +5 -5 kstdatacollection.cpp
--- branches/work/kst/portto4/kst/src/libkst/kstdatacollection.cpp #633973:633974
@@ -98,7 +98,7 @@
bool KstData::vectorTagNameNotUniqueInternal(const QString& tag) {
/* verify that the tag name is not empty */
- if (tag.stripWhiteSpace().isEmpty()) {
+ if (tag.trimmed().isEmpty()) {
return true;
}
@@ -117,7 +117,7 @@
bool KstData::matrixTagNameNotUniqueInternal(const QString& tag) {
/* verify that the tag name is not empty */
- if (tag.stripWhiteSpace().isEmpty()) {
+ if (tag.trimmed().isEmpty()) {
return true;
}
@@ -149,7 +149,7 @@
Q_UNUSED(p)
Q_UNUSED(warn)
/* verify that the tag name is not empty */
- if (tag.stripWhiteSpace().isEmpty()) {
+ if (tag.trimmed().isEmpty()) {
return true;
}
@@ -168,7 +168,7 @@
Q_UNUSED(p)
Q_UNUSED(warn)
/* verify that the tag name is not empty */
- if (tag.stripWhiteSpace().isEmpty()) {
+ if (tag.trimmed().isEmpty()) {
return true;
}
@@ -186,7 +186,7 @@
Q_UNUSED(p)
Q_UNUSED(warn)
/* verify that the tag name is not empty */
- if (tag.stripWhiteSpace().isEmpty()) {
+ if (tag.trimmed().isEmpty()) {
return true;
}
More information about the Kst
mailing list