summaryrefslogtreecommitdiffstats
path: root/src/part/part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/part/part.cpp')
-rw-r--r--src/part/part.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/part/part.cpp b/src/part/part.cpp
index 20d1577..1b4b878 100644
--- a/src/part/part.cpp
+++ b/src/part/part.cpp
@@ -6,12 +6,12 @@
#include <kaboutdata.h>
#include <kparts/genericfactory.h>
#include "part.h"
-#include <qtimer.h>
+#include <ntqtimer.h>
#include "toolbar.h"
#include "videoWindow.h"
#include <kaction.h>
-#include <qslider.h>
+#include <ntqslider.h>
namespace Codeine
{
@@ -24,7 +24,7 @@ K_EXPORT_COMPONENT_FACTORY( libcodeine, Codeine::Factory )
namespace Codeine
{
- Part::Part( QWidget *parentWidget, const char *widgetName, QObject *parent, const char *name, const QStringList& )
+ Part::Part( TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, const TQStringList& )
: ReadOnlyPart( parent, name )
, m_statusBarExtension( new KParts::StatusBarExtension( this ) )
{
@@ -35,19 +35,19 @@ namespace Codeine
//FIXME this will terminate the host, eg Konqueror
Debug::fatal() << "Couldn't init xine!\n";
- KAction *play = new KToggleAction( i18n("Play"), "player_play", Qt::Key_Space, videoWindow(), SLOT(togglePlay()), actionCollection(), "play" );
- KAction *mute = new KToggleAction( i18n("Mute"), "player_mute", Qt::Key_M, videoWindow(), SLOT(toggleMute()), actionCollection(), "mute" );
+ KAction *play = new KToggleAction( i18n("Play"), "player_play", TQt::Key_Space, videoWindow(), SLOT(togglePlay()), actionCollection(), "play" );
+ KAction *mute = new KToggleAction( i18n("Mute"), "player_mute", TQt::Key_M, videoWindow(), SLOT(toggleMute()), actionCollection(), "mute" );
KToolBar *toolBar = new MouseOverToolBar( widget() );
play->plug( toolBar );
mute->plug( toolBar );
- m_slider = new QSlider( Qt::Horizontal, toolBar, "slider" );
+ m_slider = new TQSlider( TQt::Horizontal, toolBar, "slider" );
m_slider->setMaxValue( 65535 );
toolBar->setStretchableWidget( m_slider );
toolBar->addSeparator(); //FIXME ugly
- QObject *o = (QObject*)statusBar();
- connect( videoWindow(), SIGNAL(statusMessage( const QString& )), o, SLOT(message( const QString& )) );
- connect( videoWindow(), SIGNAL(titleChanged( const QString& )), o, SLOT(message( const QString& )) ); //FIXME
+ TQObject *o = (TQObject*)statusBar();
+ connect( videoWindow(), SIGNAL(statusMessage( const TQString& )), o, SLOT(message( const TQString& )) );
+ connect( videoWindow(), SIGNAL(titleChanged( const TQString& )), o, SLOT(message( const TQString& )) ); //FIXME
}
bool
@@ -76,7 +76,7 @@ namespace Codeine
}
void
- Part::timerEvent( QTimerEvent* )
+ Part::timerEvent( TQTimerEvent* )
{
m_slider->setValue( videoWindow()->position() );
}