From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/kwsdl/kung/inputfield.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kode/kwsdl/kung/inputfield.h') diff --git a/kode/kwsdl/kung/inputfield.h b/kode/kwsdl/kung/inputfield.h index 71030bdaa..1f6242d34 100644 --- a/kode/kwsdl/kung/inputfield.h +++ b/kode/kwsdl/kung/inputfield.h @@ -22,10 +22,10 @@ #ifndef INPUTFIELD_H #define INPUTFIELD_H -#include -#include -#include -#include +#include +#include +#include +#include class QWidget; @@ -42,12 +42,12 @@ class InputField : public QObject Q_OBJECT public: - typedef QValueList List; + typedef TQValueList List; /** Constructs a input field. */ - InputField( const QString &name ); + InputField( const TQString &name ); /** Destructor. @@ -57,33 +57,33 @@ class InputField : public QObject /** Returns the name of the field. */ - QString name() const; + TQString name() const; /** Sets the xml data of this field. */ - virtual void setXMLData( const QDomElement &element ) = 0; + virtual void setXMLData( const TQDomElement &element ) = 0; /** Returns the xml value of this field. */ - virtual void xmlData( QDomDocument &document, QDomElement &parent ) = 0; + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ) = 0; /** Sets the plain data of this field as string. */ - virtual void setData( const QString &data ) = 0; + virtual void setData( const TQString &data ) = 0; /** Returns the data of this field as string. */ - virtual QString data() const = 0; + virtual TQString data() const = 0; /** Returns a pointer to a new created input widget which can be used to to modify the value. */ - virtual QWidget *createWidget( QWidget *parent ) = 0; + virtual TQWidget *createWidget( TQWidget *parent ) = 0; /** Add a child field. @@ -99,7 +99,7 @@ class InputField : public QObject Returns a field with the given name or 0 when no field with this name exists. */ - virtual InputField *childField( const QString &name ) const; + virtual InputField *childField( const TQString &name ) const; /** Returns a list of all child fields. @@ -113,7 +113,7 @@ class InputField : public QObject void modified(); protected: - QString mName; + TQString mName; InputField::List mFields; }; @@ -123,7 +123,7 @@ class InputField : public QObject class SimpleInputField : public InputField { public: - SimpleInputField( const QString &name, const Schema::SimpleType *type ); + SimpleInputField( const TQString &name, const Schema::SimpleType *type ); ~SimpleInputField(); protected: @@ -136,7 +136,7 @@ class SimpleInputField : public InputField class ComplexInputField : public InputField { public: - ComplexInputField( const QString &name, const Schema::ComplexType *type ); + ComplexInputField( const TQString &name, const Schema::ComplexType *type ); ~ComplexInputField(); protected: -- cgit v1.2.1