Contains definitions for scaffold library. More...
#include <QtGlobal>#include <QMap>#include <QStringList>#include <scaffold/scaffold_config.h>Go to the source code of this file.
Macros | |
| #define | SCAFFOLDSHARED_EXPORT Q_DECL_IMPORT |
| let the methods take import form in clients | |
| #define | SCAFFOLD_NAME "scaffold" |
| name of this product | |
| #define | ADD_PTR_INT(p, i) ( ((char*)p) + i ) |
| simple pointer arithmetic is tricky in c++ | |
| #define | xstr(s) str(s) |
| #define | str(s) #s |
| #define | foo 4 |
| #define | _tr(txt) QObject::tr( txt ) |
| generic way of creating translatable strings | |
| #define | _fileError(txt) Scaffold::fileError( txt ) |
| #define | _fileError_tr(txt) _fileError( _tr ( txt ) ) |
| #define | _fileError_tr1(txt, arg1) _fileError( _tr ( txt ).arg( arg1 ) ) |
| #define | _fileError_tr2(txt, arg1, arg2) _fileError( _tr ( txt ).arg( arg1 ).arg( arg2 ) ) |
| #define | _fileError_tr3(txt, arg1, arg2, arg3) _fileError( _tr ( txt ).arg( arg1 ).arg( arg2 ).arg( arg3 ) ) |
| #define | _error(txt) Scaffold::error( txt ) |
| #define | _error_tr(txt) _error( _tr ( txt ) ) |
| #define | _error_tr1(txt, arg1) _error( _tr ( txt ).arg( arg1 ) ) |
| #define | _error_tr2(txt, arg1, arg2) _error( _tr ( txt ).arg( arg1 ).arg( arg2 ) ) |
| #define | _error_tr3(txt, arg1, arg2, arg3) _error( _tr ( txt ).arg( arg1 ).arg( arg2 ).arg( arg3 ) ) |
| #define | _log(ty, txt) Scaffold::log( Scaffold::LOG_ ## ty, txt ) |
| #define | _log_tr(ty, txt) _log( ty, _tr ( txt ) ) |
| #define | _log_tr1(ty, txt, arg1) _log( ty, _tr ( txt ).arg( arg1 ) ) |
| #define | _log_tr2(ty, txt, arg1, arg2) _log( ty, _tr ( txt ).arg( arg1 ).arg( arg2 ) ) |
| #define | _log_tr3(ty, txt, arg1, arg2, arg3) _log( ty, _tr ( txt ).arg( arg1 ).arg( arg2 ).arg( arg3 ) ) |
Contains definitions for scaffold library.
| #define _error | ( | txt | ) | Scaffold::error( txt ) |
error messages not related to file position
error messages not related to file position
error messages not related to file position
| #define _error_tr3 | ( | txt, | |
| arg1, | |||
| arg2, | |||
| arg3 | |||
| ) | _error( _tr ( txt ).arg( arg1 ).arg( arg2 ).arg( arg3 ) ) |
error messages not related to file position
| #define _fileError | ( | txt | ) | Scaffold::fileError( txt ) |
generic way of showing control file errors
| #define _fileError_tr | ( | txt | ) | _fileError( _tr ( txt ) ) |
generic way of showing control file errors
| #define _fileError_tr1 | ( | txt, | |
| arg1 | |||
| ) | _fileError( _tr ( txt ).arg( arg1 ) ) |
generic way of showing control file errors
| #define _fileError_tr2 | ( | txt, | |
| arg1, | |||
| arg2 | |||
| ) | _fileError( _tr ( txt ).arg( arg1 ).arg( arg2 ) ) |
generic way of showing control file errors
| #define _fileError_tr3 | ( | txt, | |
| arg1, | |||
| arg2, | |||
| arg3 | |||
| ) | _fileError( _tr ( txt ).arg( arg1 ).arg( arg2 ).arg( arg3 ) ) |
generic way of showing control file errors
| #define _log | ( | ty, | |
| txt | |||
| ) | Scaffold::log( Scaffold::LOG_ ## ty, txt ) |
logging messages
logging messages