From 859958033dcb5ba82c6fb9eecea720f107d20109 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 11 Jan 2015 23:54:08 -0600 Subject: Automated update from Qt3 --- src/tools/ntqstring.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/tools/ntqstring.h') 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 +#endif /***************************************************************************** TQString class @@ -452,6 +456,11 @@ public: TQString &sprintf( const char* format, ... ) #if defined(Q_CC_GNU) && !defined(__INSURE__) __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 -- cgit v1.2.1