summaryrefslogtreecommitdiffstats
path: root/src/tools/ntqglobal.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/tools/ntqglobal.h
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
Diffstat (limited to 'src/tools/ntqglobal.h')
-rw-r--r--src/tools/ntqglobal.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/tools/ntqglobal.h b/src/tools/ntqglobal.h
index 385156f0..b2a6413a 100644
--- a/src/tools/ntqglobal.h
+++ b/src/tools/ntqglobal.h
@@ -914,9 +914,9 @@ extern Q_EXPORT bool qt_winunicode;
// System information
//
-Q_EXPORT const char *qVersion();
-Q_EXPORT bool qSysInfo( int *wordSize, bool *bigEndian );
-Q_EXPORT bool qSharedBuild();
+Q_EXPORT const char *tqVersion();
+Q_EXPORT bool tqSysInfo( int *wordSize, bool *bigEndian );
+Q_EXPORT bool tqSharedBuild();
#if defined(Q_OS_MAC)
int qMacVersion();
#elif defined(Q_WS_WIN)
@@ -975,25 +975,25 @@ Q_EXPORT int qWinVersion();
#endif
-Q_EXPORT void qDebug( const char *, ... ) // print debug message
+Q_EXPORT void tqDebug( const char *, ... ) // print debug message
#if defined(Q_CC_GNU) && !defined(__INSURE__)
__attribute__ ((format (printf, 1, 2)))
#endif
;
-Q_EXPORT void qWarning( const char *, ... ) // print warning message
+Q_EXPORT void tqWarning( const char *, ... ) // print warning message
#if defined(Q_CC_GNU) && !defined(__INSURE__)
__attribute__ ((format (printf, 1, 2)))
#endif
;
-Q_EXPORT void qFatal( const char *, ... ) // print fatal message and exit
+Q_EXPORT void tqFatal( const char *, ... ) // print fatal message and exit
#if defined(Q_CC_GNU)
__attribute__ ((format (printf, 1, 2)))
#endif
;
-Q_EXPORT void qSystemWarning( const char *, int code = -1 );
+Q_EXPORT void tqSystemWarning( const char *, int code = -1 );
#if !defined(QT_CLEAN_NAMESPACE) // compatibility with TQt 1
@@ -1021,9 +1021,9 @@ Q_EXPORT void fatal( const char *, ... ) // print fatal message and exit
#if !defined(Q_ASSERT)
# if defined(QT_CHECK_STATE)
# if defined(QT_FATAL_ASSERT)
-# define Q_ASSERT(x) ((x) ? (void)0 : qFatal("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__))
+# define Q_ASSERT(x) ((x) ? (void)0 : tqFatal("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__))
# else
-# define Q_ASSERT(x) ((x) ? (void)0 : qWarning("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__))
+# define Q_ASSERT(x) ((x) ? (void)0 : tqWarning("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__))
# endif
# else
# define Q_ASSERT(x)
@@ -1039,10 +1039,10 @@ Q_EXPORT void fatal( const char *, ... ) // print fatal message and exit
#endif // QT_NO_COMPAT
-Q_EXPORT bool qt_check_pointer( bool c, const char *, int );
+Q_EXPORT bool tqt_check_pointer( bool c, const char *, int );
#if defined(QT_CHECK_NULL)
-# define TQ_CHECK_PTR(p) (qt_check_pointer((p)==0,__FILE__,__LINE__))
+# define TQ_CHECK_PTR(p) (tqt_check_pointer((p)==0,__FILE__,__LINE__))
#else
# define TQ_CHECK_PTR(p)
#endif
@@ -1062,27 +1062,27 @@ Q_EXPORT TQtMsgHandler qInstallMsgHandler( TQtMsgHandler );
typedef TQtMsgHandler msg_handler;
#endif // QT_NO_COMPAT
-Q_EXPORT void qSuppressObsoleteWarnings( bool = TRUE );
+Q_EXPORT void tqSuppressObsoleteWarnings( bool = TRUE );
-Q_EXPORT void qObsolete( const char *obj, const char *oldfunc,
+Q_EXPORT void tqObsolete( const char *obj, const char *oldfunc,
const char *newfunc );
-Q_EXPORT void qObsolete( const char *obj, const char *oldfunc );
-Q_EXPORT void qObsolete( const char *message );
+Q_EXPORT void tqObsolete( const char *obj, const char *oldfunc );
+Q_EXPORT void tqObsolete( const char *message );
//
// Install paths from configure
//
-Q_EXPORT const char *qInstallPath();
-Q_EXPORT const char *qInstallPathDocs();
-Q_EXPORT const char *qInstallPathHeaders();
-Q_EXPORT const char *qInstallPathLibs();
-Q_EXPORT const char *qInstallPathBins();
-Q_EXPORT const char *qInstallPathPlugins();
-Q_EXPORT const char *qInstallPathData();
-Q_EXPORT const char *qInstallPathTranslations();
-Q_EXPORT const char *qInstallPathSysconf();
+Q_EXPORT const char *tqInstallPath();
+Q_EXPORT const char *tqInstallPathDocs();
+Q_EXPORT const char *tqInstallPathHeaders();
+Q_EXPORT const char *tqInstallPathLibs();
+Q_EXPORT const char *tqInstallPathBins();
+Q_EXPORT const char *tqInstallPathPlugins();
+Q_EXPORT const char *tqInstallPathData();
+Q_EXPORT const char *tqInstallPathTranslations();
+Q_EXPORT const char *tqInstallPathSysconf();
#endif /* __cplusplus */
@@ -1097,7 +1097,7 @@ Q_EXPORT const char *qInstallPathSysconf();
#ifdef Q_FULL_TEMPLATE_INSTANTIATION
# define Q_DUMMY_COMPARISON_OPERATOR(C) \
bool operator==( const C& ) const { \
- qWarning( #C"::operator==( const "#C"& ) got called." ); \
+ tqWarning( #C"::operator==( const "#C"& ) got called." ); \
return FALSE; \
}
#else