|
|
|
@ -83,7 +83,7 @@ Boston, MA 02110-1301, USA.
|
|
|
|
|
**
|
|
|
|
|
**********************************************************************/
|
|
|
|
|
|
|
|
|
|
#ifndef QT_NO_STRINGLIST
|
|
|
|
|
#ifndef TQT_NO_STRINGLIST
|
|
|
|
|
|
|
|
|
|
class QRegExp;
|
|
|
|
|
template <class T> class QDeepCopy;
|
|
|
|
@ -101,7 +101,7 @@ public:
|
|
|
|
|
TQStringList( const TQStringList& l ) : TQValueList<QString>(l) { }
|
|
|
|
|
TQStringList( const TQValueList<QString>& l ) : TQValueList<QString>(l) { }
|
|
|
|
|
TQStringList( const QString& i ) { append(i); }
|
|
|
|
|
#ifndef QT_NO_CAST_ASCII
|
|
|
|
|
#ifndef TQT_NO_CAST_ASCII
|
|
|
|
|
TQStringList( const char* i ) { append(i); }
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@ -132,19 +132,19 @@ public:
|
|
|
|
|
|
|
|
|
|
static TQStringList split( const QString &sep, const QString &str, bool allowEmptyEntries = FALSE );
|
|
|
|
|
static TQStringList split( const QChar &sep, const QString &str, bool allowEmptyEntries = FALSE );
|
|
|
|
|
#ifndef QT_NO_REGEXP
|
|
|
|
|
#ifndef TQT_NO_REGEXP
|
|
|
|
|
static TQStringList split( const QRegExp &sep, const QString &str, bool allowEmptyEntries = FALSE );
|
|
|
|
|
#endif
|
|
|
|
|
QString join( const QString &sep ) const;
|
|
|
|
|
|
|
|
|
|
TQStringList grep( const QString &str, bool cs = TRUE ) const;
|
|
|
|
|
#ifndef QT_NO_REGEXP
|
|
|
|
|
#ifndef TQT_NO_REGEXP
|
|
|
|
|
TQStringList grep( const QRegExp &expr ) const;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
TQStringList& gres( const QString &before, const QString &after,
|
|
|
|
|
bool cs = TRUE );
|
|
|
|
|
#ifndef QT_NO_REGEXP_CAPTURE
|
|
|
|
|
#ifndef TQT_NO_REGEXP_CAPTURE
|
|
|
|
|
TQStringList& gres( const QRegExp &expr, const QString &after );
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@ -153,7 +153,7 @@ protected:
|
|
|
|
|
friend class QDeepCopy< TQStringList >;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#ifndef QT_NO_DATASTREAM
|
|
|
|
|
#ifndef TQT_NO_DATASTREAM
|
|
|
|
|
class QDataStream;
|
|
|
|
|
extern QDataStream &operator>>( QDataStream &, TQStringList& );
|
|
|
|
|
extern QDataStream &operator<<( QDataStream &, const TQStringList& );
|
|
|
|
|