mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-22 05:33:32 +02:00
qt5: include qtconcurrentrun.h instead of QtConcurrentRun
This commit is contained in:
@@ -21,7 +21,14 @@
|
|||||||
#include "network/Servent.h"
|
#include "network/Servent.h"
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
|
|
||||||
|
#include <qjson/parser.h>
|
||||||
|
#include <qjson/serializer.h>
|
||||||
|
#include <qjson/qobjecthelper.h>
|
||||||
|
|
||||||
#include <QThread>
|
#include <QThread>
|
||||||
|
#include <QFuture>
|
||||||
|
#include <QFutureWatcher>
|
||||||
|
#include <qtconcurrentrun.h>
|
||||||
|
|
||||||
MsgProcessor::MsgProcessor( quint32 mode, quint32 t ) :
|
MsgProcessor::MsgProcessor( quint32 mode, quint32 t ) :
|
||||||
QObject(), m_mode( mode ), m_threshold( t ), m_totmsgsize( 0 )
|
QObject(), m_mode( mode ), m_threshold( t ), m_totmsgsize( 0 )
|
||||||
|
@@ -30,17 +30,10 @@
|
|||||||
#ifndef MSGPROCESSOR_H
|
#ifndef MSGPROCESSOR_H
|
||||||
#define MSGPROCESSOR_H
|
#define MSGPROCESSOR_H
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
#include <QtConcurrentRun>
|
|
||||||
#include <QFuture>
|
|
||||||
#include <QFutureWatcher>
|
|
||||||
|
|
||||||
#include <qjson/parser.h>
|
|
||||||
#include <qjson/serializer.h>
|
|
||||||
#include <qjson/qobjecthelper.h>
|
|
||||||
|
|
||||||
#include "Msg.h"
|
#include "Msg.h"
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
|
||||||
class MsgProcessor : public QObject
|
class MsgProcessor : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Reference in New Issue
Block a user