summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_value.h
diff options
context:
space:
mode:
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