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.
 
 
 

28 lines
557 B

/* Animated Busy Pointer for KDE
*
* Author: Stefan Taferner <taferner@salzburg.co.at>
* This code is under GPL
*/
#ifndef kbusyptr_h_
#define kbusyptr_h_
class KBusyPtr
{
public:
KBusyPtr();
virtual ~KBusyPtr();
/** Show busy pointer. Subsequent calls increase the "busy level" */
virtual void busy(void);
/** Hide busy pointer if the "busy level" is reduced to zero. */
virtual void idle(void);
/** Returns true if the "busy level" is non zero. */
virtual bool isBusy(void);
protected:
int busyLevel;
};
#endif /*kbusyptr_h_*/