summaryrefslogtreecommitdiffstats
path: root/kugar/lib/mfieldobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/lib/mfieldobject.h')
-rw-r--r--kugar/lib/mfieldobject.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kugar/lib/mfieldobject.h b/kugar/lib/mfieldobject.h
index 8832414f..d04fca39 100644
--- a/kugar/lib/mfieldobject.h
+++ b/kugar/lib/mfieldobject.h
@@ -9,7 +9,7 @@
#ifndef MFIELDOBJECT_H
#define MFIELDOBJECT_H
-#include <qregexp.h>
+#include <tqregexp.h>
#include "mlabelobject.h"
@@ -40,7 +40,7 @@ public:
protected:
/** Field name */
- QString fieldName;
+ TQString fieldName;
/** Field data type */
int dataType;
/** Field date format */
@@ -48,23 +48,23 @@ protected:
/** Field precision */
int precision;
/** Field currency symbol */
- QChar currency;
+ TQChar currency;
/** Field's negative value color */
- QColor negativeValueColor;
+ TQColor negativeValueColor;
/** Field's original color */
- QColor saveColor;
+ TQColor saveColor;
/** Field's comma flag */
int comma;
- /** Input mask */
- QString inputMask;
+ /** Input tqmask */
+ TQString inputMask;
public:
/** Returns the bound data field name */
- QString getFieldName();
+ TQString getFieldName();
/** Sets the bound data field */
- void setFieldName( const QString field );
+ void setFieldName( const TQString field );
/** Sets the field's data string - default is an empty string*/
- void setText( const QString txt );
+ void setText( const TQString txt );
/** Sets the field's data type */
void setDataType( int t );
/** Sets the field's date formatting */
@@ -72,14 +72,14 @@ public:
/** Sets the field's precision */
void setPrecision( int p );
/** Sets the field's currency symbol */
- void setCurrency( const QChar c );
+ void setCurrency( const TQChar c );
/** Sets the object's negative value color - default is red*/
void setNegValueColor( int r, int g, int b );
/** Sets if object should delimit numeric values with commas */
void setCommaSeparator( int c );
- QString getInputMask() const;
- void setInputMask( const QString &inputMask );
+ TQString getInputMask() const;
+ void setInputMask( const TQString &inputMask );
private:
/** Formats a string representation of a negative number using the negative value color */