Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/32/head
Michele Calgaro 8 months ago
parent 31eb157b2f
commit e6473e544e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -4,7 +4,7 @@
kaffeine kaffeine
- A media player for TDE that can use multiple backends for playback. - A media player for TDE that can use multiple backends for playback.
.SH SYNOPSIS .SH SYNOPSIS
kaffeine [Qt-options] [TDE-options] [options] [file] kaffeine [TQt-options] [TDE-options] [options] [file]
.SH DESCRIPTION .SH DESCRIPTION
Kaffeine is a media player for TDE. While it supports multiple player Kaffeine is a media player for TDE. While it supports multiple player
engines, its default engine is Xine, giving Kaffeine a wide variety of engines, its default engine is Xine, giving Kaffeine a wide variety of
@ -52,8 +52,8 @@ Run installation wizard
.B --help .B --help
Show help about options Show help about options
.TP .TP
.B --help-qt .B --help-tqt
Show Qt specific options Show TQt specific options
.TP .TP
.B --help-tde .B --help-tde
Show TDE specific options Show TDE specific options
@ -105,7 +105,7 @@ sets the client geometry of the main widget - see man X for the argument format
.B --nofork .B --nofork
Don't run in the background. Don't run in the background.
.SS .SS
.SS Qt options: .SS TQt options:
.TP .TP
.B --display <displayname> .B --display <displayname>
Use the X-server display 'displayname' Use the X-server display 'displayname'
@ -124,7 +124,7 @@ using the QApplication::ManyColor color
specification specification
.TP .TP
.B --nograb .B --nograb
tells Qt to never grab the mouse or the keyboard tells TQt to never grab the mouse or the keyboard
.TP .TP
.B --dograb .B --dograb
running under a debugger can cause an implicit running under a debugger can cause an implicit

@ -1,5 +1,5 @@
/* /*
* kxinewidget.cpp - a kde / qt api for xine-lib * kxinewidget.cpp - a tde / tqt api for xine-lib
* *
* Copyright (C) 2003-2005 Jürgen Kofler <kaffeine@gmx.net> * Copyright (C) 2003-2005 Jürgen Kofler <kaffeine@gmx.net>
* Copyright (C) 2005-2006 Christophe Thommeret <hftom@free.fr> * Copyright (C) 2005-2006 Christophe Thommeret <hftom@free.fr>
@ -364,9 +364,9 @@ void KXineWidget::frameOutputCallback(void* p, int video_width, int video_height
/* /*
* XINE EVENT THREAD * XINE EVENT THREAD
* only the QT event thread should do GUI operations, * only the TQt event thread should do GUI operations,
* we use TQApplication::postEvent() and a reimplementation of TQObject::timerEvent() to * we use TQApplication::postEvent() and a reimplementation of TQObject::timerEvent() to
* make sure all critical jobs are done within the QT main thread context * make sure all critical jobs are done within the TQt main thread context
* *
* for more information see http://doc.trolltech.com/3.1/threads.html * for more information see http://doc.trolltech.com/3.1/threads.html
*/ */
@ -4048,7 +4048,7 @@ uchar* KXineWidget::yv12ToRgb (uint8_t *src_y, uint8_t *src_u, uint8_t *src_v, i
uv_width = width / 2; uv_width = width / 2;
uv_height = height / 2; uv_height = height / 2;
rgb = new uchar[(width * height * 4)]; //qt needs a 32bit align rgb = new uchar[(width * height * 4)]; //tqt needs a 32bit align
if (!rgb) if (!rgb)
{ {
// kdError(555) << "Not enough memory!" << endl; // kdError(555) << "Not enough memory!" << endl;

@ -1,5 +1,5 @@
/* /*
* kxinewidget.h - a kde / qt api for xine-lib * kxinewidget.h - a tde / tqt api for xine-lib
* *
* Copyright (C) 2003-2005 Jürgen Kofler <kaffeine@gmx.net> * Copyright (C) 2003-2005 Jürgen Kofler <kaffeine@gmx.net>
* Copyright (C) 2005-2006 Christophe Thommeret <hftom@free.fr> * Copyright (C) 2005-2006 Christophe Thommeret <hftom@free.fr>
@ -22,7 +22,7 @@
#ifndef KXINEWIDGET_H #ifndef KXINEWIDGET_H
#define KXINEWIDGET_H #define KXINEWIDGET_H
/* define this if you want to use QT only - disables post plugin support (except visualization)! */ /* define this if you want to use TQt only - disables post plugin support (except visualization)! */
//#define USE_TQT_ONLY 1 //#define USE_TQT_ONLY 1
/* Usage: /* Usage:

Loading…
Cancel
Save