commit inicial en mercurial

This commit is contained in:
Luis Ángel San Martín
2012-05-20 16:12:22 +02:00
commit 95817d14ee
180 changed files with 14355 additions and 0 deletions

32
YACReader/translator.h Normal file
View File

@ -0,0 +1,32 @@
#ifndef __TRANSLATOR_H
#define __TRANSLATOR_H
class QUrl;
class QMouseEvent;
class QPoint;
#include<QWidget>
#include<Phonon/MediaObject>
using namespace Phonon;
class YACReaderTranslator : public QWidget
{
Q_OBJECT
public:
YACReaderTranslator(QWidget * parent = 0);
~YACReaderTranslator();
public slots:
void play(const QUrl & url);
protected:
void mousePressEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);
void mouseMoveEvent ( QMouseEvent * event );
bool drag;
QPoint click;
private:
MediaObject * music;
};
#endif