mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 10:48:03 -04:00
26 lines
817 B
C++
26 lines
817 B
C++
$NetBSD: patch-modules_gui_qt4_util_input__slider.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/util/input_slider.hpp.orig 2014-11-16 18:57:59.000000000 +0000
|
|
+++ modules/gui/qt4/util/input_slider.hpp
|
|
@@ -48,6 +48,8 @@ class QPropertyAnimation;
|
|
class QStyleOption;
|
|
class QCommonStyle;
|
|
|
|
+typedef int64_t putime_t;
|
|
+
|
|
/* Input Slider derived from QSlider */
|
|
class SeekSlider : public QSlider
|
|
{
|
|
@@ -107,7 +109,7 @@ private:
|
|
QTimer *hideHandleTimer;
|
|
|
|
public slots:
|
|
- void setPosition( float, int64_t, int );
|
|
+ void setPosition( float, putime_t, int );
|
|
void setSeekable( bool b ) { b_seekable = b ; }
|
|
void updateBuffering( float );
|
|
void hideHandle();
|