summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_value.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kspread/kspread_value.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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 'kspread/kspread_value.h')
-rw-r--r--kspread/kspread_value.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kspread/kspread_value.h b/kspread/kspread_value.h
index 3dbfab5b..0c76e40f 100644
--- a/kspread/kspread_value.h
+++ b/kspread/kspread_value.h
@@ -20,9 +20,9 @@
#ifndef KSPREAD_VALUE_H
#define KSPREAD_VALUE_H
-#include <qdatetime.h>
-#include <qstring.h>
-#include <qtextstream.h>
+#include <tqdatetime.h>
+#include <tqstring.h>
+#include <tqtextstream.h>
#include <koffice_export.h>
@@ -121,7 +121,7 @@ class KSPREAD_EXPORT Value
/**
* Create a string value.
*/
- Value( const QString& s );
+ Value( const TQString& s );
Value (const char *s);
/**
@@ -130,19 +130,19 @@ class KSPREAD_EXPORT Value
* Internally date/time is represented as serial-number, i.e number of
* elapsed day since reference date. Day 61 is defined as March 1, 1900.
*/
- Value( const QDateTime& dt );
+ Value( const TQDateTime& dt );
/**
* Create a floating-point value from time.
* See also note above.
*/
- Value( const QTime& time );
+ Value( const TQTime& time );
/**
* Create a floating-point value from date.
* See also note above.
*/
- Value( const QDate& date );
+ Value( const TQDate& date );
/**
* Create an array of values.
@@ -226,27 +226,27 @@ class KSPREAD_EXPORT Value
/**
* Sets this value to string value.
*/
- void setValue( const QString& s );
+ void setValue( const TQString& s );
/**
* Sets this value to hold error message.
*/
- void setError( const QString& msg );
+ void setError( const TQString& msg );
/**
* Sets this value to floating-point number representing the date/time.
*/
- void setValue( const QDateTime& dt );
+ void setValue( const TQDateTime& dt );
/**
* Sets this value to floating-point number representing the date.
*/
- void setValue( const QTime& dt );
+ void setValue( const TQTime& dt );
/**
* Sets this value to floating-point number representing the time.
*/
- void setValue( const QDate& dt );
+ void setValue( const TQDate& dt );
/** Sets format information for this value. */
void setFormat (Format fmt);
@@ -277,22 +277,22 @@ class KSPREAD_EXPORT Value
*
* Call this function only if isString() returns true.
*/
- QString asString() const;
+ TQString asString() const;
/**
* Returns the date/time representation of this value.
*/
- QDateTime asDateTime() const;
+ TQDateTime asDateTime() const;
/**
* Returns the date representation of this value.
*/
- QDate asDate() const;
+ TQDate asDate() const;
/**
* Returns the time representation of this value.
*/
- QTime asTime() const;
+ TQTime asTime() const;
/**
* Return an element in the array value.
@@ -321,7 +321,7 @@ class KSPREAD_EXPORT Value
*
* Call this function only if isError() returns true.
*/
- QString errorMessage() const;
+ TQString errorMessage() const;
/**
* Detaches itself from shared value data, i.e make a private, deep copy
@@ -431,7 +431,7 @@ class KSPREAD_EXPORT Value
} // namespace KSpread
-QTextStream& operator<<( QTextStream& ts, KSpread::Value::Type type );
-QTextStream& operator<<( QTextStream& ts, KSpread::Value value );
+TQTextStream& operator<<( TQTextStream& ts, KSpread::Value::Type type );
+TQTextStream& operator<<( TQTextStream& ts, KSpread::Value value );
#endif // KSPREAD_VALUE_H