summaryrefslogtreecommitdiffstats
path: root/python/pyqt/pyuic2/uic.h
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyqt/pyuic2/uic.h')
-rw-r--r--python/pyqt/pyuic2/uic.h106
1 files changed, 53 insertions, 53 deletions
diff --git a/python/pyqt/pyuic2/uic.h b/python/pyqt/pyuic2/uic.h
index 6c7befc4..50e1d7a3 100644
--- a/python/pyqt/pyuic2/uic.h
+++ b/python/pyqt/pyuic2/uic.h
@@ -19,13 +19,13 @@
#ifndef UIC_H
#define UIC_H
-#include <qnamespace.h>
-#include <qdom.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qmap.h>
-#include <qtextstream.h>
-#include <qcolor.h>
+#include <tqnamespace.h>
+#include <tqdom.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqmap.h>
+#include <tqtextstream.h>
+#include <tqcolor.h>
#define PYQT_VERSION "3.17.2"
@@ -34,33 +34,33 @@
class Uic : public Qt
{
public:
- Uic( QTextStream& out, QDomDocument doc, const QString &trm );
-
- void createFormImpl( const QDomElement &e );
-
- QString createObjectImpl( const QDomElement &e, const QString& parentClass, const QString& parent, const QString& layout = QString::null );
- QString createLayoutImpl( const QDomElement &e, const QString& parentClass, const QString& parent, const QString& layout = QString::null );
- QString createObjectInstance( const QString& objClass, const QString& parent, const QString& objName );
- QString createSpacerImpl( const QDomElement &e, const QString& parentClass, const QString& parent, const QString& layout = QString::null );
- void createExclusiveProperty( const QDomElement & e, const QString& exclusiveProp );
- QString createListBoxItemImpl( const QDomElement &e, const QString &parent );
- QString createIconViewItemImpl( const QDomElement &e, const QString &parent );
- QString createListViewColumnImpl( const QDomElement &e, const QString &parent );
- QString createListViewItemImpl( const QDomElement &e, const QString &parent,
- const QString &parentItem );
- void createColorGroupImpl( const QString& cg, const QDomElement& e );
- QColorGroup loadColorGroup( const QDomElement &e );
-
- QString getClassName( const QDomElement& e );
- QString getObjectName( const QDomElement& e );
- QString getLayoutName( const QDomElement& e );
-
- QString setObjectProperty( const QString& objClass, const QString& obj, const QString &prop, const QDomElement &e, bool stdset );
-
- QString registerObject( const QString& name );
- QString registeredName( const QString& name );
- bool isObjectRegistered( const QString& name );
- QStringList unique( const QStringList& );
+ Uic( TQTextStream& out, TQDomDocument doc, const TQString &trm );
+
+ void createFormImpl( const TQDomElement &e );
+
+ TQString createObjectImpl( const TQDomElement &e, const TQString& parentClass, const TQString& parent, const TQString& layout = TQString::null );
+ TQString createLayoutImpl( const TQDomElement &e, const TQString& parentClass, const TQString& parent, const TQString& layout = TQString::null );
+ TQString createObjectInstance( const TQString& objClass, const TQString& parent, const TQString& objName );
+ TQString createSpacerImpl( const TQDomElement &e, const TQString& parentClass, const TQString& parent, const TQString& layout = TQString::null );
+ void createExclusiveProperty( const TQDomElement & e, const TQString& exclusiveProp );
+ TQString createListBoxItemImpl( const TQDomElement &e, const TQString &parent );
+ TQString createIconViewItemImpl( const TQDomElement &e, const TQString &parent );
+ TQString createListViewColumnImpl( const TQDomElement &e, const TQString &parent );
+ TQString createListViewItemImpl( const TQDomElement &e, const TQString &parent,
+ const TQString &parentItem );
+ void createColorGroupImpl( const TQString& cg, const TQDomElement& e );
+ TQColorGroup loadColorGroup( const TQDomElement &e );
+
+ TQString getClassName( const TQDomElement& e );
+ TQString getObjectName( const TQDomElement& e );
+ TQString getLayoutName( const TQDomElement& e );
+
+ TQString setObjectProperty( const TQString& objClass, const TQString& obj, const TQString &prop, const TQDomElement &e, bool stdset );
+
+ TQString registerObject( const TQString& name );
+ TQString registeredName( const TQString& name );
+ bool isObjectRegistered( const TQString& name );
+ TQStringList unique( const TQStringList& );
private:
void pushIndent()
@@ -90,44 +90,44 @@ private:
nrindents = 0;
}
- QString indent, newindent;
+ TQString indent, newindent;
int nrindents;
- QTextStream& out;
- QStringList objectNames;
- QMap<QString,QString> objectMapper;
- QStringList tags;
- QStringList layouts;
- QString formName;
- QString lastItem;
- QString trmacro;
+ TQTextStream& out;
+ TQStringList objectNames;
+ TQMap<TQString,TQString> objectMapper;
+ TQStringList tags;
+ TQStringList layouts;
+ TQString formName;
+ TQString lastItem;
+ TQString trmacro;
struct Buddy
{
- Buddy( const QString& k, const QString& b )
+ Buddy( const TQString& k, const TQString& b )
: key( k ), buddy( b ) {}
Buddy(){}; // for valuelist
- QString key;
- QString buddy;
+ TQString key;
+ TQString buddy;
bool operator==( const Buddy& other ) const
{ return (key == other.key); }
};
struct CustomInclude
{
- QString header;
- QString location;
+ TQString header;
+ TQString location;
};
- QValueList<Buddy> buddies;
+ TQValueList<Buddy> buddies;
- QStringList layoutObjects;
- bool isLayout( const QString& name ) const;
+ TQStringList layoutObjects;
+ bool isLayout( const TQString& name ) const;
uint item_used : 1;
uint cg_used : 1;
uint pal_used : 1;
- QString pixmapLoaderFunction;
- QString nameOfClass;
+ TQString pixmapLoaderFunction;
+ TQString nameOfClass;
};
#endif