diff options
Diffstat (limited to 'libkdchart/KDXMLTools.h')
-rw-r--r-- | libkdchart/KDXMLTools.h | 128 |
1 files changed, 64 insertions, 64 deletions
diff --git a/libkdchart/KDXMLTools.h b/libkdchart/KDXMLTools.h index 7798c20..c633fba 100644 --- a/libkdchart/KDXMLTools.h +++ b/libkdchart/KDXMLTools.h @@ -32,73 +32,73 @@ // *must* include this one as first one: #include <KDChartGlobal.h> -#include <qpen.h> -#include <qdom.h> -#include <qstring.h> -#include <qcolor.h> -#include <qbrush.h> -#include <qsize.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 <tqbrush.h> +#include <tqsize.h> +#include <tqrect.h> +#include <tqfont.h> +#include <tqstringlist.h> +#include <tqdatetime.h> namespace KDXML { - 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 createOrientationNode( QDomDocument& doc, QDomNode& parent, - const QString& elementName, Qt::Orientation 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* thelist ); // PCH: This is required to avoid MSVC compiler warnings and errors. - void createFontNode( QDomDocument& doc, QDomNode& parent, - const QString& elementName, const QFont& font ); + void createBoolNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, bool value ); + void createOrientationNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, Qt::Orientation value ); + void createSizeNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, const TQSize& value ); + void createIntNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, int value ); + void createDoubleNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, double value ); + void createStringNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, + const TQString& text ); + void createColorNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, const TQColor& color ); + void createBrushNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, const TQBrush& brush ); + void createPixmapNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, const TQPixmap& pixmap ); + void createRectNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, const TQRect& rect ); + void createStringListNodes( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, + const TQStringList* thelist ); // PCH: This is required to avoid MSVC compiler warnings and errors. + void createFontNode( TQDomDocument& doc, TQDomNode& tqparent, + 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 readOrientationNode( const QDomElement& element, Qt::Orientation& value ); - bool readSizeNode( const QDomElement& element, QSize& 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& tqparent, + const TQString& elementName, const TQPen& pen ); + void createDateTimeNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, + const TQDateTime& datetime ); + void createDateNode( TQDomDocument& doc, TQDomNode& tqparent, + const TQString& elementName, const TQDate& date ); + void createTimeNode( TQDomDocument& doc, TQDomNode& tqparent, + 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 readOrientationNode( const TQDomElement& element, Qt::Orientation& value ); + bool readSizeNode( const TQDomElement& element, TQSize& 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 |