1 #ifndef Header_Modified_QObject
2 #define Header_Modified_QObject
3 
4 
5 #include <qglobal.h>
6 
7 // Crash handler and its helper functions are available only when using GNU libc
8 #if !defined(NO_CRASH_HANDLER) && (defined(__GLIBC__) || defined(Q_OS_WIN32))
9 
10 #define ASSERT_THROW Q_DECL_NOTHROW
11 
12 
13 #ifndef QT_NO_DEBUG
14 
15 #undef Q_ASSERT
16 #undef Q_ASSERT_X
17 
18 #define Q_ASSERT(cond) ((!(cond)) ? txs_assert(#cond,__FILE__,__LINE__) : static_cast<void>(0))
19 #define Q_ASSERT_X(cond, where, what) ((!(cond)) ? txs_assert_x(where, what, __FILE__,__LINE__) : static_cast<void>(0))
20 
21 
22 #define qt_assert txs_assert
23 #define qt_assert_x txs_assert_x
24 
25 
26 
27 
28 void txs_assert(const char *assertion, const char *file, int line) ASSERT_THROW;
29 void txs_assert_x(const char *where, const char *assertion, const char *file, int line) ASSERT_THROW;
30 
31 
32 #endif
33 #endif
34 
35 #include <QObject>
36 
37 #endif
38