Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f5c200ccf0)
r14.1.x
Michele Calgaro 8 months ago
parent f989f27b34
commit 0d811e3e03
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -11,7 +11,7 @@ Howto create a K3b release (stable branch)
3. Create the tarball.
4. Test the tarball. That includes removing any trace of K3b from the test system before and in the ideal
case compile on a minimal system meaning minimal KDE/QT versions.
case compile on a minimal system meaning minimal TDE/TQt versions.
5. Upload the tarball to upload.sf.net/incoming and create a release on www.sourceforge.net (or use releaseforge,
a nice little application which automates the whole sourceforge release thing).

@ -24,8 +24,8 @@ file(s) to open
.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
@ -83,7 +83,7 @@ Format a DVD-RW or DVD+RW
.TP
.BI \-\-lang \ language
Set the GUI language
.SS "Qt options:"
.SS "TQt options:"
.TP
.BI \-\-display \ displayname
Use the X-server display \fIdisplayname\fP.
@ -102,7 +102,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

@ -28,7 +28,7 @@
#include <k3baudiodecoder.h>
// QT-includes
// TQt includes
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqfile.h>

@ -68,7 +68,7 @@ K3bFileItem::K3bFileItem( const TQString& filePath, K3bDataDoc* doc, K3bDirItem*
m_k3bName = k3bName;
// we determine the size here to avoid problems with removed or renamed files
// we need to use lstat here since for symlinks both KDE and QT return the size of the file pointed to
// we need to use lstat here since for symlinks both TDE and TQt return the size of the file pointed to
// instead the size of the link.
k3b_struct_stat statBuf;
if( k3b_lstat( TQFile::encodeName(filePath), &statBuf ) ) {

@ -21,7 +21,7 @@
#include <config.h>
#endif
// include files for QT
// include files for TQt
#include <tqobject.h>
#include <tqstring.h>
#include <tqptrlist.h>

@ -13,7 +13,7 @@
* See the file "COPYING" for the exact licensing terms.
*/
// QT-includes
// TQt includes
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqfile.h>

@ -16,7 +16,7 @@
#ifndef K3BVCDDOC_H
#define K3BVCDDOC_H
// TQt Includes
// TQt includes
#include <tqptrqueue.h>
#include <tqfile.h>
#include <tqstring.h>

@ -20,7 +20,7 @@
#include <tdelocale.h>
#include <kstandarddirs.h>
// TQt Includes
// TQt includes
#include <tqstring.h>
#include <tqfile.h>

@ -16,7 +16,7 @@
#ifndef K3BVCDTRACK_H
#define K3BVCDTRACK_H
// TQt Includes
// TQt includes
#include <tqstring.h>
#include <tqfileinfo.h>
#include <tqfile.h>

@ -556,7 +556,7 @@ TQCString K3bDevice::encodeCdText( const TQString& s, bool* illegalChars )
if( illegalChars )
*illegalChars = false;
// TODO: do this without QT
// TODO: do this without TQt
TQTextCodec* codec = TQTextCodec::codecForName("ISO8859-1");
if( codec ) {
TQCString encoded = codec->fromUnicode( s );

@ -38,7 +38,7 @@ namespace K3bDevice {
class Device;
/**
* This is a simple wrapper which creates QT signals whenever a new optical
* This is a simple wrapper which creates TQt signals whenever a new optical
* drive is plugged into the system or one is unplugged.
*
* The Connection class also handles media changes. Whenever a new medium is inserted

@ -16,7 +16,7 @@
#include <config.h>
// include files for QT
// include files for TQt
#include <tqdir.h>
#include <tqfile.h>
#include <tqfileinfo.h>

@ -114,7 +114,7 @@ void K3bDebuggingOutputDialog::clear()
addOutput( "System", "K3b Version: " + k3bcore->version() );
addOutput( "System", "KDE Version: " + TQString(KDE::versionString()) );
addOutput( "System", "QT Version: " + TQString(tqVersion()) );
addOutput( "System", "TQt Version: " + TQString(tqVersion()) );
addOutput( "System", "Kernel: " + K3b::kernelVersion() );
// devices in the logfile

@ -42,7 +42,7 @@ bool K3bDebuggingOutputFile::open()
addOutput( "System", "K3b Version: " + k3bcore->version() );
addOutput( "System", "KDE Version: " + TQString(KDE::versionString()) );
addOutput( "System", "QT Version: " + TQString(tqVersion()) );
addOutput( "System", "TQt Version: " + TQString(tqVersion()) );
addOutput( "System", "Kernel: " + K3b::kernelVersion() );
// devices in the logfile

@ -36,7 +36,7 @@
#include <k3bpassivepopup.h>
#include <unistd.h>
// QT-includes
// TQt includes
#include <tqdir.h>
#include <tqlistview.h>
#include <tqstring.h>

@ -438,7 +438,7 @@ void K3bWelcomeWidget::contentsMousePressEvent( TQMouseEvent* e )
}
}
// menu identifiers in QT are always < 0 (when automatically generated)
// menu identifiers in TQt are always < 0 (when automatically generated)
// and unique throughout the entire application!
int r = 0;
int removeAction = 0;

@ -451,7 +451,7 @@ K3bAudioTrackViewItem* K3bAudioTrackView::getTrackViewItem( K3bAudioTrack* track
// so the user may not change the cd-text until the one from the
// file is loaded.
//
// Since for some reason QT thinks it's bad to open disabled items
// Since for some reason TQt thinks it's bad to open disabled items
// we need to open it before disabling it
//
newItem->showSources( track->numberSources() != 1 );

@ -37,7 +37,7 @@
#include <tdeactionclasses.h>
#include <k3bprojectplugin.h>
// QT-includes
// TQt includes
#include <tqlayout.h>
#include <tqstring.h>

@ -13,7 +13,7 @@
* See the file "COPYING" for the exact licensing terms.
*/
// TQt Includes
// TQt includes
#include <tqbuttongroup.h>
#include <tqcheckbox.h>
#include <tqcombobox.h>

@ -13,7 +13,7 @@
* See the file "COPYING" for the exact licensing terms.
*/
// QT-includes
// TQt includes
#include <tqlayout.h>
#include <tqstring.h>

@ -23,7 +23,7 @@
#include <tdemessagebox.h>
#include <kstandarddirs.h>
// qt includes
// TQt includes
#include <tqgroupbox.h>
#include <tqcheckbox.h>
#include <tqlabel.h>

@ -24,7 +24,7 @@
#include <kstandarddirs.h>
#include <kstdaction.h>
// qt includes
// TQt includes
#include <tqfont.h>
#include <tqframe.h>
#include <tqheader.h>
@ -368,14 +368,6 @@ void K3bVideoCdView::slotTrackSelectionChanged( TQListViewItem* item )
void K3bVideoCdView::slotStateChanged( TQListViewItem* item )
{
/* > QT 3.1
if ( !item == 0 && item ->isSelectable() ) {
if ( ( ( VideoTrackViewCheckItem* ) item) ->state() == TQCheckListItem::On)
slotSelect();
else if ( ( ( VideoTrackViewCheckItem* ) item) ->state() == TQCheckListItem::Off)
slotDeselect();
}
*/
if ( !item == 0 && item ->isSelectable() ) {
if ( ( ( VideoTrackViewCheckItem* ) item) ->isOn() )
slotSelect();

Loading…
Cancel
Save