You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
601 B
29 lines
601 B
4 years ago
|
// (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 <klocale.h> in implementations
|
||
|
#include <qstring.h>
|
||
|
QString i18n( const char *text );
|
||
|
|
||
|
|
||
|
/// very useful for QStringLists
|
||
|
#define foreach( x ) \
|
||
|
for( QStringList::ConstIterator it = x.constBegin(), end = x.constEnd(); it != end; ++it )
|
||
|
|
||
|
#endif
|