summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/schema/element.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/schema/element.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/schema/element.h')
-rw-r--r--kode/kwsdl/schema/element.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kode/kwsdl/schema/element.h b/kode/kwsdl/schema/element.h
index 6335693f6..dfd886b41 100644
--- a/kode/kwsdl/schema/element.h
+++ b/kode/kwsdl/schema/element.h
@@ -23,8 +23,8 @@
#ifndef SCHEMA_ELEMENT_H
#define SCHEMA_ELEMENT_H
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
#define UNBOUNDED 1000
@@ -33,25 +33,25 @@ namespace Schema {
class Element
{
public:
- typedef QValueList<Element> List;
- typedef QValueList<Element*> PtrList;
+ typedef TQValueList<Element> List;
+ typedef TQValueList<Element*> PtrList;
Element();
- Element( const QString &name, int type, int minOccurs = 1, int maxOccurs = 1,
- bool qualified = false, const QString &defaultValue = QString(),
- const QString &fixedValue = QString() );
+ Element( const TQString &name, int type, int minOccurs = 1, int maxOccurs = 1,
+ bool qualified = false, const TQString &defaultValue = TQString(),
+ const TQString &fixedValue = TQString() );
- QString name() const;
+ TQString name() const;
void setType( int id );
int type() const;
- void setTypeName( const QString &typeName );
- QString typeName() const;
+ void setTypeName( const TQString &typeName );
+ TQString typeName() const;
- void setDocumentation( const QString &documentation );
- QString documentation() const;
+ void setDocumentation( const TQString &documentation );
+ TQString documentation() const;
void setGroupId( int group );
int groupId() const;
@@ -62,8 +62,8 @@ class Element
void setMaxOccurs( int maxOccurs );
int maxOccurs() const;
- QString defaultValue() const;
- QString fixedValue() const;
+ TQString defaultValue() const;
+ TQString fixedValue() const;
bool isQualified() const;
@@ -71,15 +71,15 @@ class Element
int occurrence() const;
private:
- QString mName;
+ TQString mName;
int mType;
- QString mTypeName;
- QString mDocumentation;
+ TQString mTypeName;
+ TQString mDocumentation;
int mMinOccurs;
int mMaxOccurs;
bool mQualified;
- QString mDefaultValue;
- QString mFixedValue;
+ TQString mDefaultValue;
+ TQString mFixedValue;
int mGroupId;
int mOccurrence;
};