summaryrefslogtreecommitdiffstats
path: root/src/app/xineEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/xineEngine.h')
-rw-r--r--src/app/xineEngine.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/app/xineEngine.h b/src/app/xineEngine.h
index ffe3f02..f1b49c3 100644
--- a/src/app/xineEngine.h
+++ b/src/app/xineEngine.h
@@ -5,8 +5,8 @@
#define CODEINE_VIDEOWINDOW_H
#include "codeine.h"
-#include <qtimer.h>
-#include <qwidget.h>
+#include <ntqtimer.h>
+#include <ntqwidget.h>
#include <kurl.h>
#include <stdint.h>
#include <vector>
@@ -30,7 +30,7 @@ namespace Codeine
* xineEngine.cpp
* videoWindow.cpp
*/
- class VideoWindow : public QWidget
+ class VideoWindow : public TQWidget
{
Q_OBJECT
@@ -46,7 +46,7 @@ namespace Codeine
friend VideoWindow* const videoWindow();
public:
- VideoWindow( QWidget *parent );
+ VideoWindow( TQWidget *parent );
~VideoWindow();
bool init();
@@ -78,9 +78,9 @@ namespace Codeine
signals:
void stateChanged( Engine::State );
- void statusMessage( const QString& );
- void titleChanged( const QString& );
- void channelsChanged( const QStringList& );
+ void statusMessage( const TQString& );
+ void titleChanged( const TQString& );
+ void channelsChanged( const TQStringList& );
private:
#ifdef HAVE_XINE_H
@@ -90,8 +90,8 @@ namespace Codeine
uint posTimeLength( PosTimeLength ) const;
void showErrorMessage();
- virtual void customEvent( QCustomEvent* );
- virtual void timerEvent( QTimerEvent* );
+ virtual void customEvent( TQCustomEvent* );
+ virtual void timerEvent( TQTimerEvent* );
void eject();
@@ -110,11 +110,11 @@ namespace Codeine
KURL m_url;
public:
- QString fileFilter() const;
+ TQString fileFilter() const;
public slots:
void toggleDVDMenu();
- void showOSD( const QString& );
+ void showOSD( const TQString& );
/// Stuff to do with video and the video window/widget
private:
@@ -127,12 +127,12 @@ namespace Codeine
public:
static const uint CURSOR_HIDE_TIMEOUT = 2000;
- virtual QSize sizeHint() const;
- virtual QSize minimumSizeHint() const;
+ virtual TQSize sizeHint() const;
+ virtual TQSize minimumSizeHint() const;
void *x11Visual() const;
void becomePreferredSize();
- QImage captureFrame() const;
+ TQImage captureFrame() const;
enum { ExposeEvent = 3000 };
@@ -143,12 +143,12 @@ namespace Codeine
void hideCursor();
private:
- virtual void contextMenuEvent( QContextMenuEvent* );
- virtual bool event( QEvent* );
+ virtual void contextMenuEvent( TQContextMenuEvent* );
+ virtual bool event( TQEvent* );
virtual bool x11Event( XEvent* );
double m_displayRatio;
- QTimer m_timer;
+ TQTimer m_timer;
};
//global function for general use by Codeine