Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3995625
remarkupparserthread.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 7, 5:37 PM
Size
833 B
Mime Type
text/x-c++
Expires
Thu, Jul 9, 5:37 PM (1 d, 4 h)
Engine
blob
Format
Raw Data
Handle
270920
Attached To
rXR Xreate
remarkupparserthread.h
View Options
#ifndef REMARKUPPARSERTHREAD_H
#define REMARKUPPARSERTHREAD_H
#include "remarkupparser.h"
#include <QObject>
#include <QMutex>
#include <QTimer>
#include <QThread>
namespace Juff {
class JuffScintilla;
};
class RemarkupParserThread : public QThread
{
Q_OBJECT
public:
explicit RemarkupParserThread(QObject *parent = 0);
~RemarkupParserThread();
void processDoc(Juff::JuffScintilla* doc);
void stop();
signals:
void updateDoc(const Blocks& blocks, Juff::JuffScintilla* doc);
void timerRestart();
void timerStop();
public slots:
void parseText();
private:
//RemarkupParserThread* __instance;
QMutex docLock;
QTimer timerLagging;
Juff::JuffScintilla* doc;
RemarkupParser* parser;
Juff::JuffScintilla* getDoc();
void run();
};
#endif // REMARKUPPARSERTHREAD_H
Event Timeline
Log In to Comment