summaryrefslogtreecommitdiffstats
path: root/interfaces/koChart.h
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/koChart.h')
-rw-r--r--interfaces/koChart.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/interfaces/koChart.h b/interfaces/koChart.h
index 47cf4ae61..b185b9c3d 100644
--- a/interfaces/koChart.h
+++ b/interfaces/koChart.h
@@ -19,7 +19,7 @@
#ifndef __koffice_kchart_h__
#define __koffice_kchart_h__
-#include <qvariant.h>
+#include <tqvariant.h>
#include <KoDocument.h>
#include <KDChartTable.h>
@@ -32,22 +32,23 @@ namespace KoChart
// KoChart::Value is either:
// - a double (interpreted as a value)
- // - a QString (interpreted as a label)
- // - a QDateTime (interpreted as a date/time value)
+ // - a TQString (interpreted as a label)
+ // - a TQDateTime (interpreted as a date/time value)
// - Invalid (interpreted as empty)
- typedef QVariant Value;
+ typedef TQVariant Value;
//typedef KDChartTableData Data;
- class KOCHARTINTERFACE_EXPORT WizardExtension : public QObject
+ class KOCHARTINTERFACE_EXPORT WizardExtension : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
WizardExtension( Part *part, const char *name = 0 );
virtual ~WizardExtension();
Part *part() const { return m_part; }
- virtual bool show( QString &area ) = 0;
+ virtual bool show( TQString &area ) = 0;
// XXX add more?
private:
@@ -59,9 +60,10 @@ namespace KoChart
class KOCHARTINTERFACE_EXPORT Part : public KoDocument
{
Q_OBJECT
+ TQ_OBJECT
public:
- Part( QWidget *parentWidget, const char *widgetName,
- QObject *parent, const char *name,
+ Part( TQWidget *tqparentWidget, const char *widgetName,
+ TQObject *tqparent, const char *name,
bool singleViewMode = false );
virtual ~Part();
@@ -72,7 +74,7 @@ namespace KoChart
#else
// The new interface.
virtual void resizeData( int rows, int columns ) = 0 ;
- virtual void setCellData( int row, int column, const QVariant &) = 0;
+ virtual void setCellData( int row, int column, const TQVariant &) = 0;
virtual void analyzeHeaders( ) = 0;
#endif
virtual void setCanChangeValue(bool b )=0;