diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
| commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
| tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kugar/lib/mfieldobject.h | |
| parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
| download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip | |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kugar/lib/mfieldobject.h')
| -rw-r--r-- | kugar/lib/mfieldobject.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kugar/lib/mfieldobject.h b/kugar/lib/mfieldobject.h index 8832414f3..d04fca39f 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 */ |
