summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttXMLTools.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdgantt/KDGanttXMLTools.h')
-rw-r--r--kdgantt/KDGanttXMLTools.h116
1 files changed, 58 insertions, 58 deletions
diff --git a/kdgantt/KDGanttXMLTools.h b/kdgantt/KDGanttXMLTools.h
index 67865b960..784bc2e10 100644
--- a/kdgantt/KDGanttXMLTools.h
+++ b/kdgantt/KDGanttXMLTools.h
@@ -35,67 +35,67 @@
#ifndef __KDGANTTXMLTOOLS_H__
#define __KDGANTTXMLTOOLS_H__
-#include <qpen.h>
-#include <qdom.h>
-#include <qstring.h>
-#include <qcolor.h>
-#include <qrect.h>
-#include <qfont.h>
-#include <qstringlist.h>
-#include <qdatetime.h>
+#include <tqpen.h>
+#include <tqdom.h>
+#include <tqstring.h>
+#include <tqcolor.h>
+#include <tqrect.h>
+#include <tqfont.h>
+#include <tqstringlist.h>
+#include <tqdatetime.h>
namespace KDGanttXML {
- QString penStyleToString( Qt::PenStyle style );
- Qt::PenStyle stringToPenStyle( const QString& style );
- QString brushStyleToString( Qt::BrushStyle style );
- Qt::BrushStyle stringToBrushStyle( const QString& style );
+ TQString penStyleToString( Qt::PenStyle style );
+ Qt::PenStyle stringToPenStyle( const TQString& style );
+ TQString brushStyleToString( Qt::BrushStyle style );
+ Qt::BrushStyle stringToBrushStyle( const TQString& style );
- void createBoolNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, bool value );
- void createSizeNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, const QSize& value );
- void createIntNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, int value );
- void createDoubleNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, double value );
- void createStringNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName,
- const QString& text );
- void createColorNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, const QColor& color );
- void createBrushNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, const QBrush& brush );
- void createPixmapNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, const QPixmap& pixmap );
- void createRectNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, const QRect& rect );
- void createStringListNodes( QDomDocument& doc, QDomNode& parent,
- const QString& elementName,
- const QStringList* list );
- void createFontNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, const QFont& font );
+ void createBoolNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, bool value );
+ void createSizeNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, const TQSize& value );
+ void createIntNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, int value );
+ void createDoubleNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, double value );
+ void createStringNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName,
+ const TQString& text );
+ void createColorNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, const TQColor& color );
+ void createBrushNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, const TQBrush& brush );
+ void createPixmapNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, const TQPixmap& pixmap );
+ void createRectNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, const TQRect& rect );
+ void createStringListNodes( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName,
+ const TQStringList* list );
+ void createFontNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, const TQFont& font );
- void createPenNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, const QPen& pen );
- void createDateTimeNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName,
- const QDateTime& datetime );
- void createDateNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, const QDate& date );
- void createTimeNode( QDomDocument& doc, QDomNode& parent,
- const QString& elementName, const QTime& time );
- bool readIntNode( const QDomElement& element, int& value );
- bool readStringNode( const QDomElement& element, QString& value );
- bool readDoubleNode( const QDomElement& element, double& value );
- bool readBoolNode( const QDomElement& element, bool& value );
- bool readColorNode( const QDomElement& element, QColor& value );
- bool readBrushNode( const QDomElement& element, QBrush& brush );
- bool readPixmapNode( const QDomElement& element, QPixmap& pixmap );
- bool readRectNode( const QDomElement& element, QRect& value );
- bool readFontNode( const QDomElement& element, QFont& font );
- bool readPenNode( const QDomElement& element, QPen& pen );
- bool readDateTimeNode( const QDomElement& element, QDateTime& datetime );
- bool readDateNode( const QDomElement& element, QDate& date );
- bool readTimeNode( const QDomElement& element, QTime& time );
+ void createPenNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, const TQPen& pen );
+ void createDateTimeNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName,
+ const TQDateTime& datetime );
+ void createDateNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, const TQDate& date );
+ void createTimeNode( TQDomDocument& doc, TQDomNode& parent,
+ const TQString& elementName, const TQTime& time );
+ bool readIntNode( const TQDomElement& element, int& value );
+ bool readStringNode( const TQDomElement& element, TQString& value );
+ bool readDoubleNode( const TQDomElement& element, double& value );
+ bool readBoolNode( const TQDomElement& element, bool& value );
+ bool readColorNode( const TQDomElement& element, TQColor& value );
+ bool readBrushNode( const TQDomElement& element, TQBrush& brush );
+ bool readPixmapNode( const TQDomElement& element, TQPixmap& pixmap );
+ bool readRectNode( const TQDomElement& element, TQRect& value );
+ bool readFontNode( const TQDomElement& element, TQFont& font );
+ bool readPenNode( const TQDomElement& element, TQPen& pen );
+ bool readDateTimeNode( const TQDomElement& element, TQDateTime& datetime );
+ bool readDateNode( const TQDomElement& element, TQDate& date );
+ bool readTimeNode( const TQDomElement& element, TQTime& time );
}
#endif