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.
tdepim/karm/test/lockerthread.h

22 lines
432 B

#include <qthread.h>
class QString;
/**
* Attempt to open and lock a calendar resource in a seperate thread.
*
* Result of attempt returned by gotlock().
*/
class LockerThread : public QThread
{
public:
LockerThread( const QString &filename );
//void setIcsFile( const QString &filename );
void run();
bool gotlock() const { return m_gotlock; };
private:
QString m_icsfile;
bool m_gotlock;
};