summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/kung/inputfield.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kode/kwsdl/kung/inputfield.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 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 <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: