blob: 78dc9c6e1e551d72171128a15c5ec9c2f0de08ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// (C) 2005 Max Howell (max.howell@methylblue.com)
// See COPYING file for licensing information
#ifndef MXCL_LIBRARY_H
#define MXCL_LIBRARY_H
namespace mxcl
{
/// Allocate on stack, wait cursor will be shown during existance
struct WaitCursor
{
WaitCursor();
~WaitCursor();
};
}
/// almost always negates the need to #include <tdelocale.h> in implementations
#include <tqstring.h>
TQString i18n( const char *text );
/// very useful for TQStringLists
#define foreach( x ) \
for( TQStringList::ConstIterator it = x.constBegin(), end = x.constEnd(); it != end; ++it )
#endif
|