summaryrefslogtreecommitdiffstats
path: root/kugar/lib/inputmask.h
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/lib/inputmask.h')
-rw-r--r--kugar/lib/inputmask.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/kugar/lib/inputmask.h b/kugar/lib/inputmask.h
index 93889a162..f1f0886fd 100644
--- a/kugar/lib/inputmask.h
+++ b/kugar/lib/inputmask.h
@@ -25,18 +25,18 @@ class InputMask : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- InputMask( TQObject *tqparent = 0, const char *name = 0 );
+ InputMask( TQObject *parent = 0, const char *name = 0 );
~InputMask();
- TQString tqmask() const;
- void setMask( const TQString &tqmask );
+ TQString mask() const;
+ void setMask( const TQString &mask );
TQString formatText( const TQString &txt );
private:
void parseInputMask( const TQString &maskFields );
- bool isValidInput( TQChar key, TQChar tqmask ) const;
+ bool isValidInput( TQChar key, TQChar mask ) const;
TQString maskString( uint pos, const TQString &str, bool clear = FALSE ) const;
TQString clearString( uint pos, uint len ) const;
TQString stripString( const TQString &str ) const;
@@ -46,11 +46,11 @@ private:
TQString m_text;
int m_maxLength;
TQChar m_blank;
- TQString m_tqmask;
+ TQString m_mask;
struct MaskInputData
{
enum Casemode { NoCaseMode, Upper, Lower };
- TQChar maskChar; // either the separator char or the inputtqmask
+ TQChar maskChar; // either the separator char or the inputmask
bool separator;
Casemode caseMode;
};