Commit 786db3fb authored by Matthias Möller's avatar Matthias Möller

- add jobid getter

- update doc

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20245 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 11ce4d85
......@@ -54,6 +54,10 @@ OpenFlipperThread::OpenFlipperThread( QString _jobId ) :
OpenFlipperThread::~OpenFlipperThread() {
}
QString OpenFlipperThread::jobId() {
return jobId_;
}
void OpenFlipperThread::run()
{
if ( job_ == 0 ) {
......
......@@ -89,11 +89,11 @@ class DLLEXPORT OpenFlipperThread : public QThread
/** \brief Main processing
*
* Either reimplement this function or connect the function()
* signal. If this function is reimplemented, use signal state()
* Do not reimplement this function. Connect the function()
* signal with your running function. Use signal state()
* in order to inform the core about the job's current state.
*/
virtual void run();
void run();
/** \brief Cancel the job
*
......@@ -104,6 +104,11 @@ class DLLEXPORT OpenFlipperThread : public QThread
*/
virtual void cancel();
/** \brief get JobId
* get the Id of the current Job
*/
QString jobId();
public slots:
/** \brief Cancel this job
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment