summaryrefslogtreecommitdiffstats
path: root/src/tools/ntqstring.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-01-11 23:54:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-01-11 23:54:08 -0600
commit859958033dcb5ba82c6fb9eecea720f107d20109 (patch)
treeafc8bff9aecf337d5059d5ebaf97e2ffb60890a5 /src/tools/ntqstring.h
parent38e12d6e1287df570c8908b6722597b2e951a738 (diff)
downloadtqt3-859958033dcb5ba82c6fb9eecea720f107d20109.tar.gz
tqt3-859958033dcb5ba82c6fb9eecea720f107d20109.zip
Automated update from Qt3
Diffstat (limited to 'src/tools/ntqstring.h')
-rw-r--r--src/tools/ntqstring.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/ntqstring.h b/src/tools/ntqstring.h
index 4d473e016..e8381a0b5 100644
--- a/src/tools/ntqstring.h
+++ b/src/tools/ntqstring.h
@@ -4,6 +4,7 @@
**
** Created : 920609
**
+** Copyright (C) 2015 Timothy Pearson. All rights reserved.
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
**
** This file is part of the tools module of the TQt GUI Toolkit.
@@ -63,6 +64,9 @@
#endif
#endif
+#ifndef QT_NO_SPRINTF
+#include <stdarg.h>
+#endif
/*****************************************************************************
TQString class
@@ -454,6 +458,11 @@ public:
__attribute__ ((format (printf, 2, 3)))
#endif
;
+ TQString &vsprintf(const char *format, va_list ap)
+#if defined(Q_CC_GNU) && !defined(__INSURE__)
+ __attribute__ ((format (printf, 2, 0)))
+#endif
+ ;
#endif
int find( TQChar c, int index=0, bool cs=TRUE ) const;