summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/kung/inputfield.h
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl/kung/inputfield.h')
-rw-r--r--kode/kwsdl/kung/inputfield.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kode/kwsdl/kung/inputfield.h b/kode/kwsdl/kung/inputfield.h
index 71030bda..1f6242d3 100644
--- a/kode/kwsdl/kung/inputfield.h
+++ b/kode/kwsdl/kung/inputfield.h
@@ -22,10 +22,10 @@
#ifndef INPUTFIELD_H
#define INPUTFIELD_H
-#include <qdom.h>
-#include <qobject.h>
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqdom.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
class QWidget;
@@ -42,12 +42,12 @@ class InputField : public QObject
Q_OBJECT
public:
- typedef QValueList<InputField*> List;
+ typedef TQValueList<InputField*> 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: