nextcloud-desktop/owncloud_sync_qt/SyncDebug.cpp
Juan Carlos Cornejo de07b02950 Moved everything under the owncloud_sync_qt directory in preparation for
merge onto the OwnCloud clients repository
2012-02-15 08:55:14 +01:00

19 lines
310 B
C++

#include "SyncDebug.h"
SyncDebug::SyncDebug(QObject *parent):
QIODevice(parent)
{
open(ReadWrite);
}
qint64 SyncDebug::readData(char *data, qint64 length )
{
return 0;
}
qint64 SyncDebug::writeData(const char* data, qint64 length)
{
qDebug() << data;
emit debugMessage(QString(data));
}