Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e6473e544e)
r14.1.x
Michele Calgaro 9 months ago
parent 9aeb52db3a
commit 155921477e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -4,7 +4,7 @@
kaffeine
- A media player for TDE that can use multiple backends for playback.
.SH SYNOPSIS
kaffeine [Qt-options] [TDE-options] [options] [file]
kaffeine [TQt-options] [TDE-options] [options] [file]
.SH DESCRIPTION
Kaffeine is a media player for TDE. While it supports multiple player
engines, its default engine is Xine, giving Kaffeine a wide variety of
@ -52,8 +52,8 @@ Run installation wizard
.B --help
Show help about options
.TP
.B --help-qt
Show Qt specific options
.B --help-tqt
Show TQt specific options
.TP
.B --help-tde
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
Don't run in the background.
.SS
.SS Qt options:
.SS TQt options:
.TP
.B --display <displayname>
Use the X-server display 'displayname'
@ -124,7 +124,7 @@ using the QApplication::ManyColor color
specification
.TP
.B --nograb
tells Qt to never grab the mouse or the keyboard
tells TQt to never grab the mouse or the keyboard
.TP
.B --dograb
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) 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
* 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
* 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
*/
@ -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_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)
{
// 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) 2005-2006 Christophe Thommeret <hftom@free.fr>
@ -22,7 +22,7 @@
#ifndef 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
/* Usage:

Loading…
Cancel
Save