diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-12-26 12:00:37 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-12-26 12:00:37 -0500 |
| commit | 5ad38938406c8a77bd2f83d5fccc84f3cd6e16bb (patch) | |
| tree | b904ad4f2c74c947096c0f25b57dc6b6ed164f7a | |
| parent | 63961be3711be4543ffbcbdc4b667ecfbe7890ca (diff) | |
| download | sigen-5ad38938406c8a77bd2f83d5fccc84f3cd6e16bb.tar.gz sigen-5ad38938406c8a77bd2f83d5fccc84f3cd6e16bb.tar.xz sigen-5ad38938406c8a77bd2f83d5fccc84f3cd6e16bb.zip | |
Removed the QPoint bounds checker
| -rw-r--r-- | sigmod/Object.cpp | 6 | ||||
| -rw-r--r-- | sigmod/Object.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/sigmod/Object.cpp b/sigmod/Object.cpp index 99e42f16..d747758d 100644 --- a/sigmod/Object.cpp +++ b/sigmod/Object.cpp @@ -101,12 +101,6 @@ QString Sigmod::Object::bounds(const QString& variable, const int min, const int return msg.arg(value.numerator()).arg(value.denominator()); } -QString Sigmod::Object::bounds(const QString& variable, const QPoint& min, const QPoint& max, const QPoint& value) -{ - QString msg("Value for %1 out-of-bounds ((%2, %3) -- (%4, %5)) (%6 / %7)"); - return msg.arg(variable).arg(min.x()).arg(min.y()).arg(max.x()).arg(max.y()).arg(value.x()).arg(value.y()); -} - QString Sigmod::Object::bounds(const QString& variable, const QString& min, const QString& max, const int value) { return QString("Value for %1 out-of-bounds (%2 -- %3) (%4)").arg(variable).arg(min).arg(max).arg(value); diff --git a/sigmod/Object.h b/sigmod/Object.h index c6e857b7..c0371b07 100644 --- a/sigmod/Object.h +++ b/sigmod/Object.h @@ -157,7 +157,6 @@ class SIGMOD_EXPORT Object : public QObject static QString bounds(const QString& variable, const int min, const int max, const int value); static QString bounds(const QString& variable, const int min, const int max, const Sigcore::Fraction& value); static QString bounds(const QString& variable, const QString& min, const QString& max, const int value); - static QString bounds(const QString& variable, const QPoint& min, const QPoint& max, const QPoint& value); static QString bounds(const QString& variable, const int value); static QString bounds(const QString& variable, const QString& value); static QString subclass(const QString& subclass, const int id); |
