Go to the documentation of this file.00001
00004 #ifndef BPSMASKPROCESSOR_H
00005 #define BPSMASKPROCESSOR_H
00006
00007 #include "bpscore_global.h"
00008 #include <QString>
00009
00068 class BPSCORE_EXPORT BpsMaskProcessor
00069 {
00070 BPS_PRIVATE(BpsMaskProcessor)
00071
00072 public:
00076 BpsMaskProcessor();
00077
00081 BpsMaskProcessor(const QString& aMask);
00082
00083 ~BpsMaskProcessor();
00084
00091 bool validate(QString& aInput, int& aPos) const;
00092
00099 QString fixup(const QString& aInput) const;
00100
00104 QString mask() const;
00105
00110 void setMask(const QString& aMask);
00111
00115 int maxLength() const;
00116
00120 int minLength() const;
00121 };
00122
00123 #endif // BPSMASKPROCESSOR_H