kexi
kexi_global.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _KEXI_GLOBAL_
00021 #define _KEXI_GLOBAL_
00022
00028
00029
00030 #include <kexi_export.h>
00031 #include <config.h>
00032
00033 #define kexidbg kdDebug(44010)
00034 #define kexicoredbg kdDebug(44020)
00035 #define kexipluginsdbg kdDebug(44021)
00036 #define kexiwarn kdWarning(44010)
00037 #define kexicorewarn kdWarning(44020)
00038 #define kexipluginswarn kdWarning(44021)
00039
00040
00041
00043 #define foreach(_class, _variable, _list) \
00044 for (_class _variable = _list.constBegin(); _variable!=_list.constEnd(); ++_variable)
00045
00047 #define foreach_nonconst(_class, _variable, _list) \
00048 for (_class _variable = _list.begin(); variable!=_list.end(); ++_variable)
00049
00051 #define foreach_list(_class, _variable, _list) \
00052 for (_class _variable(_list); _variable.current(); ++_variable)
00053
00054 #define foreach_dict(_class, _variable, _list) foreach_list(_class, _variable, _list)
00055
00056 #ifndef futureI18n
00057 # define futureI18n QString
00058 #endif
00059
00060 #endif
|