mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-16 16:16:58 -04:00
39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
$NetBSD: patch-modules_gui_qt4_input__manager.hpp,v 1.1 2015/10/25 11:00:18 wiz Exp $
|
|
|
|
Qt's MOC doesn't handle int64_t, so introduce a meaningful type name
|
|
so that slot/signal/connection macros work properly.
|
|
|
|
--- modules/gui/qt4/input_manager.hpp.orig 2015-01-26 18:50:20.000000000 +0000
|
|
+++ modules/gui/qt4/input_manager.hpp
|
|
@@ -37,6 +37,7 @@
|
|
|
|
#include <QObject>
|
|
#include <QEvent>
|
|
+typedef int64_t putime_t;
|
|
class QSignalMapper;
|
|
|
|
enum { NORMAL, /* loop: 0, repeat: 0 */
|
|
@@ -212,11 +213,11 @@ public slots:
|
|
void setAtoB();
|
|
|
|
private slots:
|
|
- void AtoBLoop( float, int64_t, int );
|
|
+ void AtoBLoop( float, putime_t, int );
|
|
|
|
signals:
|
|
/// Send new position, new time and new length
|
|
- void positionUpdated( float , int64_t, int );
|
|
+ void positionUpdated( float , putime_t, int );
|
|
void seekRequested( float pos );
|
|
void rateChanged( float );
|
|
void nameChanged( const QString& );
|
|
@@ -225,7 +226,7 @@ signals:
|
|
void chapterChanged( bool );
|
|
void inputCanSeek( bool );
|
|
/// You can resume playback
|
|
- void resumePlayback( int64_t );
|
|
+ void resumePlayback( putime_t );
|
|
/// Statistics are updated
|
|
void statisticsUpdated( input_item_t* );
|
|
void infoChanged( input_item_t* );
|