summaryrefslogtreecommitdiffstats
path: root/doc/html/qcstring-h.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-13 13:18:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-13 13:18:58 +0900
commit1ba13366a7a377d50b9e8df9044ce11d8209f98c (patch)
tree40765573bcccd42239475344141eb98d2ac5d45e /doc/html/qcstring-h.html
parent926102a455014e6ab308aaced19e32eed7ed4414 (diff)
downloadtqt3-1ba13366a7a377d50b9e8df9044ce11d8209f98c.tar.gz
tqt3-1ba13366a7a377d50b9e8df9044ce11d8209f98c.zip
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qcstring-h.html')
-rw-r--r--doc/html/qcstring-h.html84
1 files changed, 42 insertions, 42 deletions
diff --git a/doc/html/qcstring-h.html b/doc/html/qcstring-h.html
index 18c29b776..533aa0f68 100644
--- a/doc/html/qcstring-h.html
+++ b/doc/html/qcstring-h.html
@@ -89,38 +89,38 @@ body { background: #ffffff; color: black; }
Safe and portable C string functions; extensions to standard string.h
*****************************************************************************/
-Q_EXPORT void *tqmemmove( void *dst, const void *src, uint len );
+TQ_EXPORT void *tqmemmove( void *dst, const void *src, uint len );
-Q_EXPORT char *tqstrdup( const char * );
+TQ_EXPORT char *tqstrdup( const char * );
-Q_EXPORT inline uint tqstrlen( const char *str )
+TQ_EXPORT inline uint tqstrlen( const char *str )
{ return str ? (uint)strlen(str) : 0u; }
-Q_EXPORT inline char *qstrcpy( char *dst, const char *src )
+TQ_EXPORT inline char *qstrcpy( char *dst, const char *src )
{ return src ? strcpy(dst, src) : 0; }
-Q_EXPORT char *tqstrncpy( char *dst, const char *src, uint len );
+TQ_EXPORT char *tqstrncpy( char *dst, const char *src, uint len );
-Q_EXPORT inline int qstrcmp( const char *str1, const char *str2 )
+TQ_EXPORT inline int qstrcmp( const char *str1, const char *str2 )
{
return ( str1 &amp;&amp; str2 ) ? strcmp( str1, str2 )
: ( str1 ? 1 : ( str2 ? -1 : 0 ) );
}
-Q_EXPORT inline int tqstrncmp( const char *str1, const char *str2, uint len )
+TQ_EXPORT inline int tqstrncmp( const char *str1, const char *str2, uint len )
{
return ( str1 &amp;&amp; str2 ) ? strncmp( str1, str2, len )
: ( str1 ? 1 : ( str2 ? -1 : 0 ) );
}
-Q_EXPORT int tqstricmp( const char *, const char * );
+TQ_EXPORT int tqstricmp( const char *, const char * );
-Q_EXPORT int tqstrnicmp( const char *, const char *, uint len );
+TQ_EXPORT int tqstrnicmp( const char *, const char *, uint len );
// tqChecksum: Internet checksum
-Q_EXPORT TQ_UINT16 tqChecksum( const char *s, uint len );
+TQ_EXPORT TQ_UINT16 tqChecksum( const char *s, uint len );
/*****************************************************************************
TQByteArray class
@@ -142,11 +142,11 @@ typedef TQMemArray&lt;char&gt; TQByteArray;
#endif
#ifndef TQT_NO_COMPRESS
-Q_EXPORT TQByteArray tqCompress( const uchar* data, int nbytes );
-Q_EXPORT TQByteArray tqUncompress( const uchar* data, int nbytes );
-Q_EXPORT inline TQByteArray tqCompress( const TQByteArray&amp; data)
+TQ_EXPORT TQByteArray tqCompress( const uchar* data, int nbytes );
+TQ_EXPORT TQByteArray tqUncompress( const uchar* data, int nbytes );
+TQ_EXPORT inline TQByteArray tqCompress( const TQByteArray&amp; data)
{ return tqCompress( (const uchar*)data.data(), data.size() ); }
-Q_EXPORT inline TQByteArray tqUncompress( const TQByteArray&amp; data )
+TQ_EXPORT inline TQByteArray tqUncompress( const TQByteArray&amp; data )
{ return tqUncompress( (const uchar*)data.data(), data.size() ); }
#endif
@@ -154,8 +154,8 @@ Q_EXPORT inline TQByteArray tqUncompress( const TQByteArray&amp; data )
TQByteArray stream functions
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &amp;operator&lt;&lt;( TQDataStream &amp;, const TQByteArray &amp; );
-Q_EXPORT TQDataStream &amp;operator&gt;&gt;( TQDataStream &amp;, TQByteArray &amp; );
+TQ_EXPORT TQDataStream &amp;operator&lt;&lt;( TQDataStream &amp;, const TQByteArray &amp; );
+TQ_EXPORT TQDataStream &amp;operator&gt;&gt;( TQDataStream &amp;, TQByteArray &amp; );
#endif
/*****************************************************************************
@@ -164,7 +164,7 @@ Q_EXPORT TQDataStream &amp;operator&gt;&gt;( TQDataStream &amp;, TQByteArray &am
class TQRegExp;
-class Q_EXPORT TQCString : public TQByteArray // C string class
+class TQ_EXPORT TQCString : public TQByteArray // C string class
{
public:
TQCString() {} // make null string
@@ -262,8 +262,8 @@ private:
TQCString stream functions
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &amp;operator&lt;&lt;( TQDataStream &amp;, const TQCString &amp; );
-Q_EXPORT TQDataStream &amp;operator&gt;&gt;( TQDataStream &amp;, TQCString &amp; );
+TQ_EXPORT TQDataStream &amp;operator&lt;&lt;( TQDataStream &amp;, const TQCString &amp; );
+TQ_EXPORT TQDataStream &amp;operator&gt;&gt;( TQDataStream &amp;, TQCString &amp; );
#endif
/*****************************************************************************
@@ -320,61 +320,61 @@ inline TQCString::operator const char *() const
TQCString non-member operators
*****************************************************************************/
-Q_EXPORT inline bool operator==( const TQCString &amp;s1, const TQCString &amp;s2 )
+TQ_EXPORT inline bool operator==( const TQCString &amp;s1, const TQCString &amp;s2 )
{ return qstrcmp( s1.data(), s2.data() ) == 0; }
-Q_EXPORT inline bool operator==( const TQCString &amp;s1, const char *s2 )
+TQ_EXPORT inline bool operator==( const TQCString &amp;s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) == 0; }
-Q_EXPORT inline bool operator==( const char *s1, const TQCString &amp;s2 )
+TQ_EXPORT inline bool operator==( const char *s1, const TQCString &amp;s2 )
{ return qstrcmp( s1, s2.data() ) == 0; }
-Q_EXPORT inline bool operator!=( const TQCString &amp;s1, const TQCString &amp;s2 )
+TQ_EXPORT inline bool operator!=( const TQCString &amp;s1, const TQCString &amp;s2 )
{ return qstrcmp( s1.data(), s2.data() ) != 0; }
-Q_EXPORT inline bool operator!=( const TQCString &amp;s1, const char *s2 )
+TQ_EXPORT inline bool operator!=( const TQCString &amp;s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) != 0; }
-Q_EXPORT inline bool operator!=( const char *s1, const TQCString &amp;s2 )
+TQ_EXPORT inline bool operator!=( const char *s1, const TQCString &amp;s2 )
{ return qstrcmp( s1, s2.data() ) != 0; }
-Q_EXPORT inline bool operator&lt;( const TQCString &amp;s1, const TQCString&amp; s2 )
+TQ_EXPORT inline bool operator&lt;( const TQCString &amp;s1, const TQCString&amp; s2 )
{ return qstrcmp( s1.data(), s2.data() ) &lt; 0; }
-Q_EXPORT inline bool operator&lt;( const TQCString &amp;s1, const char *s2 )
+TQ_EXPORT inline bool operator&lt;( const TQCString &amp;s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) &lt; 0; }
-Q_EXPORT inline bool operator&lt;( const char *s1, const TQCString &amp;s2 )
+TQ_EXPORT inline bool operator&lt;( const char *s1, const TQCString &amp;s2 )
{ return qstrcmp( s1, s2.data() ) &lt; 0; }
-Q_EXPORT inline bool operator&lt;=( const TQCString &amp;s1, const TQCString &amp;s2 )
+TQ_EXPORT inline bool operator&lt;=( const TQCString &amp;s1, const TQCString &amp;s2 )
{ return qstrcmp( s1.data(), s2.data() ) &lt;= 0; }
-Q_EXPORT inline bool operator&lt;=( const TQCString &amp;s1, const char *s2 )
+TQ_EXPORT inline bool operator&lt;=( const TQCString &amp;s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) &lt;= 0; }
-Q_EXPORT inline bool operator&lt;=( const char *s1, const TQCString &amp;s2 )
+TQ_EXPORT inline bool operator&lt;=( const char *s1, const TQCString &amp;s2 )
{ return qstrcmp( s1, s2.data() ) &lt;= 0; }
-Q_EXPORT inline bool operator&gt;( const TQCString &amp;s1, const TQCString &amp;s2 )
+TQ_EXPORT inline bool operator&gt;( const TQCString &amp;s1, const TQCString &amp;s2 )
{ return qstrcmp( s1.data(), s2.data() ) &gt; 0; }
-Q_EXPORT inline bool operator&gt;( const TQCString &amp;s1, const char *s2 )
+TQ_EXPORT inline bool operator&gt;( const TQCString &amp;s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) &gt; 0; }
-Q_EXPORT inline bool operator&gt;( const char *s1, const TQCString &amp;s2 )
+TQ_EXPORT inline bool operator&gt;( const char *s1, const TQCString &amp;s2 )
{ return qstrcmp( s1, s2.data() ) &gt; 0; }
-Q_EXPORT inline bool operator&gt;=( const TQCString &amp;s1, const TQCString&amp; s2 )
+TQ_EXPORT inline bool operator&gt;=( const TQCString &amp;s1, const TQCString&amp; s2 )
{ return qstrcmp( s1.data(), s2.data() ) &gt;= 0; }
-Q_EXPORT inline bool operator&gt;=( const TQCString &amp;s1, const char *s2 )
+TQ_EXPORT inline bool operator&gt;=( const TQCString &amp;s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) &gt;= 0; }
-Q_EXPORT inline bool operator&gt;=( const char *s1, const TQCString &amp;s2 )
+TQ_EXPORT inline bool operator&gt;=( const char *s1, const TQCString &amp;s2 )
{ return qstrcmp( s1, s2.data() ) &gt;= 0; }
-Q_EXPORT inline const TQCString operator+( const TQCString &amp;s1,
+TQ_EXPORT inline const TQCString operator+( const TQCString &amp;s1,
const TQCString &amp;s2 )
{
TQCString tmp( s1.data() );
@@ -382,28 +382,28 @@ Q_EXPORT inline const TQCString operator+( const TQCString &amp;s1,
return tmp;
}
-Q_EXPORT inline const TQCString operator+( const TQCString &amp;s1, const char *s2 )
+TQ_EXPORT inline const TQCString operator+( const TQCString &amp;s1, const char *s2 )
{
TQCString tmp( s1.data() );
tmp += s2;
return tmp;
}
-Q_EXPORT inline const TQCString operator+( const char *s1, const TQCString &amp;s2 )
+TQ_EXPORT inline const TQCString operator+( const char *s1, const TQCString &amp;s2 )
{
TQCString tmp( s1 );
tmp += s2;
return tmp;
}
-Q_EXPORT inline const TQCString operator+( const TQCString &amp;s1, char c2 )
+TQ_EXPORT inline const TQCString operator+( const TQCString &amp;s1, char c2 )
{
TQCString tmp( s1.data() );
tmp += c2;
return tmp;
}
-Q_EXPORT inline const TQCString operator+( char c1, const TQCString &amp;s2 )
+TQ_EXPORT inline const TQCString operator+( char c1, const TQCString &amp;s2 )
{
TQCString tmp;
tmp += c1;