2014-11-19 02:23:05 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2008 by Pino Toscano <pino@kde.org> *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _OKULAR_UTILS_P_H_
|
|
|
|
#define _OKULAR_UTILS_P_H_
|
|
|
|
|
2019-05-23 00:08:45 +00:00
|
|
|
#include <QIODevice>
|
2014-11-19 02:23:05 +00:00
|
|
|
|
|
|
|
namespace Okular
|
|
|
|
{
|
|
|
|
|
|
|
|
void copyQIODevice( QIODevice *from, QIODevice *to );
|
|
|
|
|
2022-10-06 15:55:39 +03:00
|
|
|
void copyData( const QByteArray &data, QIODevice *to );
|
|
|
|
|
2014-11-19 02:23:05 +00:00
|
|
|
/**
|
|
|
|
* Return a rotation matrix corresponding to the @p rotation enumeration.
|
|
|
|
*/
|
|
|
|
QTransform buildRotationMatrix( Rotation rotation );
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|