diff options
Diffstat (limited to 'src/svnqt/stringarray.hpp')
-rw-r--r-- | src/svnqt/stringarray.hpp | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/svnqt/stringarray.hpp b/src/svnqt/stringarray.hpp index 285f500..3f2c3d5 100644 --- a/src/svnqt/stringarray.hpp +++ b/src/svnqt/stringarray.hpp @@ -24,13 +24,8 @@ #include "svnqt/svnqt_defines.hpp" #include "svnqt/svnqttypes.hpp" -#include <qglobal.h> -#if QT_VERSION < 0x040000 -#include <qstringlist.h> -#else -#include <QtCore> -#include <QStringList> -#endif +#include <tqglobal.h> +#include <tqstringlist.h> // apr api #include "apr_tables.h" @@ -41,18 +36,18 @@ namespace svn class Pool; /** Handle array of const char * in a c++ like way */ - class SVNQT_EXPORT StringArray + class SVNTQT_EXPORT StringArray { protected: - QStringList m_content; + TQStringList m_content; bool m_isNull; public: StringArray(); - StringArray(const QStringList&); + StringArray(const TQStringList&); StringArray(const apr_array_header_t * apr_targets); size_t size()const; - const QString& operator[](size_t which); + const TQString& operator[](size_t which); /** * Returns an apr array containing char*. * @@ -62,7 +57,7 @@ namespace svn /** content of array * @return const reference to data, may used for searches. */ - const QStringList& data() const {return m_content;} + const TQStringList& data() const {return m_content;} /** if array should return 0 instead of empty array */ bool isNull()const; |