TQt4 convert k9copy

This enables compilation under both Qt3 and Qt4


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 4d695ec81f
commit b0e912c8b3

@ -285,7 +285,7 @@ int DVDDiscID( dvd_reader_t *, unsigned char * );
*
* @param dvd A read handle to get the disc ID from
* @param volid The buffer to put the VolumeIdentifier into.
* The VolumeIdentifier is latin-1 encoded (8bit unicode)
* The VolumeIdentifier is latin-1 encoded (8bit tqunicode)
* null terminated and max 32 bytes (including '\0')
* @param volid_size No more than volid_size bytes will be copied to volid.
* If the VolumeIdentifier is truncated because of this

@ -88,7 +88,7 @@ extern void SetAlignHandle(dvd_reader_t *device, void *align);
* this function should be rewritten to use posix_memalign or similar.
* It's just needed for aligning memory for small block reads from
* raw/O_DIRECT devices.
* We assume that 2048 is enough alignment for all systems at the moment.
* We assume that 2048 is enough tqalignment for all systems at the moment.
* Not thread safe. Only use this from one thread.
* Depends on sizeof(unsigned long) being at least as large as sizeof(void *)
*/
@ -498,7 +498,7 @@ static int Unicodedecode( uint8_t *data, int len, char *target )
int p = 1, i = 0;
if( ( data[ 0 ] == 8 ) || ( data[ 0 ] == 16 ) ) do {
if( data[ 0 ] == 16 ) p++; /* Ignore MSB of unicode16 */
if( data[ 0 ] == 16 ) p++; /* Ignore MSB of tqunicode16 */
if( p < len ) {
target[ i++ ] = data[ p++ ];
}
@ -1157,7 +1157,7 @@ static int UDFGetPVD(dvd_reader_t *device, struct pvd_t *pvd)
}
/**
* Gets the Volume Identifier string, in 8bit unicode (latin-1)
* Gets the Volume Identifier string, in 8bit tqunicode (latin-1)
* volid, place to put the string
* volid_size, size of the buffer volid points to
* returns the size of buffer needed for all data

@ -969,7 +969,7 @@ int ifoRead_TT_SRPT(ifo_handle_t *ifofile) {
for(i = 0; i < tt_srpt->nr_of_srpts; i++) {
B2N_16(tt_srpt->title[i].nr_of_ptts);
B2N_16(tt_srpt->title[i].parental_id);
B2N_16(tt_srpt->title[i].tqparental_id);
B2N_32(tt_srpt->title[i].title_set_sector);
}
@ -1778,7 +1778,7 @@ static int ifoRead_PGCIT_internal(ifo_handle_t *ifofile, pgcit_t *pgcit,
for(i = 0; i < pgcit->nr_of_pgci_srp; i++) {
memcpy(&pgcit->pgci_srp[i], ptr, PGCI_SRP_SIZE);
ptr += PGCI_SRP_SIZE;
B2N_16(pgcit->pgci_srp[i].ptl_id_mask);
B2N_16(pgcit->pgci_srp[i].ptl_id_tqmask);
B2N_32(pgcit->pgci_srp[i].pgc_start_byte);
CHECK_VALUE(pgcit->pgci_srp[i].unknown1 == 0);
}

@ -444,7 +444,7 @@ typedef struct {
unsigned int block_type : 2;
unsigned int block_mode : 2;
#endif
uint16_t ptl_id_mask;
uint16_t ptl_id_tqmask;
uint32_t pgc_start_byte;
pgc_t *pgc;
} ATTRIBUTE_PACKED pgci_srp_t;
@ -596,7 +596,7 @@ typedef struct {
playback_type_t pb_ty;
uint8_t nr_of_angles;
uint16_t nr_of_ptts;
uint16_t parental_id;
uint16_t tqparental_id;
uint8_t title_set_nr;
uint8_t vts_ttn;
uint32_t title_set_sector;

@ -63,7 +63,7 @@ void navRead_PCI(pci_t *pci, unsigned char *buffer) {
for(j = 0; j < 2; j++)
B2N_32(pci->hli.btn_colit.btn_coli[i][j]);
/* NOTE: I've had to change the structure from the disk layout to get
/* NOTE: I've had to change the structure from the disk tqlayout to get
* the packing to work with Sun's Forte C compiler. */
/* pci hli btni */

@ -5,7 +5,7 @@
/*
* Copyright (C) 2000, 2001, 2002 H<EFBFBD>kan Hjort <d95hjort@dtek.chalmers.se>
*
* The data structures in this file should represent the layout of the
* The data structures in this file should represent the tqlayout of the
* pci and dsi packets as they are stored in the stream. Information
* found by reading the source to VOBDUMP is the base for the structure
* and names of these data types.
@ -145,7 +145,7 @@ typedef struct {
/**
* Button Information
*
* NOTE: I've had to change the structure from the disk layout to get
* NOTE: I've had to change the structure from the disk tqlayout to get
* the packing to work with Sun's Forte C compiler.
* The 4 and 7 bytes are 'rotated' was: ABC DEF GHIJ is: ABCG DEFH IJ
*/

@ -1,29 +1,29 @@
#include "k9common.h"
#include "k9config.h"
#include <qlayout.h>
#include <qslider.h>
#include <tqlayout.h>
#include <tqslider.h>
#include <kselect.h>
#include "k9mplayer.h"
#include <qcombobox.h>
#include <tqcombobox.h>
#include <kiconloader.h>
#include <kpushbutton.h>
#include "k9dvd.h"
#include "k9dvdtitle.h"
#include <kprocess.h>
#include <qlabel.h>
#include <qtimer.h>
#include <qapplication.h>
#include <qevent.h>
#include <tqlabel.h>
#include <tqtimer.h>
#include <tqapplication.h>
#include <tqevent.h>
#include <klocale.h>
#include <kmessagebox.h>
K9Mplayer::K9Mplayer(QObject *parent,const char *name,const QStringList args):MPlayer((QWidget*)parent) {
K9Mplayer::K9Mplayer(TQObject *tqparent,const char *name,const TQStringList args):MPlayer((TQWidget*)tqparent) {
m_seeking=FALSE;
m_initVol=TRUE;
m_title=0;
m_process=new KProcess(this);
m_process=new KProcess(TQT_TQOBJECT(this));
m_ratio=4.0/3.0;
slider->setRange(0, 100);
@ -31,17 +31,17 @@ K9Mplayer::K9Mplayer(QObject *parent,const char *name,const QStringList args):M
bPlay->setPixmap(SmallIcon("player_play"));
bStop->setPixmap(SmallIcon("player_stop"));
bSwitchAudio->setPixmap(SmallIcon("cycle"));
connect(m_process,SIGNAL(receivedStdout( KProcess*, char*, int )),this,SLOT(receivedStdout( KProcess*, char*, int )));
m_timer=new QTimer(this);
connect(m_process,SIGNAL(wroteStdin( KProcess* )),this,SLOT(wroteStdin( KProcess* )));
connect(m_timer,SIGNAL(timeout()),this,SLOT(timeout()));
m_container=new QWidget(Label);
connect(m_process,TQT_SIGNAL(receivedStdout( KProcess*, char*, int )),this,TQT_SLOT(receivedStdout( KProcess*, char*, int )));
m_timer=new TQTimer(this);
connect(m_process,TQT_SIGNAL(wroteStdin( KProcess* )),this,TQT_SLOT(wroteStdin( KProcess* )));
connect(m_timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(timeout()));
m_container=new TQWidget(Label);
}
K9Mplayer::~K9Mplayer() {}
void K9Mplayer::resizeEvent ( QResizeEvent * _resizeEvent) {
void K9Mplayer::resizeEvent ( TQResizeEvent * _resizeEvent) {
int w,h;
w=Label->width();
h=Label->width() /m_ratio;
@ -64,37 +64,37 @@ void K9Mplayer::timeout() {
}
void K9Mplayer::setDevice(const QString & _device) {
void K9Mplayer::setDevice(const TQString & _device) {
m_device=_device;
}
void K9Mplayer::setTitle( const QString & _numTitle,const QString &_numChapter) {
void K9Mplayer::setTitle( const TQString & _numTitle,const TQString &_numChapter) {
if (m_process->isRunning()) {
sendCmd("quit");
m_process->wait( 1000);
}
k9Config config;
QString vout[]= {"x11","xv","gl2","sdl"};
QString aout[]= {"alsa","oss","sdl"};
QString vo=vout[config.getMplayerVout()];
QString ao=aout[config.getMplayerAout()];
TQString vout[]= {"x11","xv","gl2","sdl"};
TQString aout[]= {"alsa","oss","sdl"};
TQString vo=vout[config.getMplayerVout()];
TQString ao=aout[config.getMplayerAout()];
m_process->clearArguments();
*m_process << "mplayer";
*m_process << "-vo" << vo << "-ao" << ao << "-sws" << "0";
*m_process << "-framedrop";
*m_process << "-wid" << QString::number(m_container->winId()) ;
*m_process << "-wid" << TQString::number(m_container->winId()) ;
*m_process << "-slave" ;
*m_process << "-idle";
*m_process << "-dvd-device" << m_device;
if (_numChapter !="")
*m_process << "-chapter" << _numChapter;
*m_process << QString("dvd://%1").arg(_numTitle);
*m_process << TQString("dvd://%1").tqarg(_numTitle);
if (!m_process->start( KProcess::NotifyOnExit,KProcess::All)) {
KMessageBox::error (qApp->mainWidget(),i18n("Unable to run %1").arg("mplayer") , i18n("Preview"));
KMessageBox::error (tqApp->mainWidget(),i18n("Unable to run %1").tqarg("mplayer") , i18n("Preview"));
}
m_canwrite=TRUE;
@ -108,13 +108,13 @@ void K9Mplayer::setTitle( const QString & _numTitle,const QString &_numChapter)
/*$SPECIALIZATION$*/
void K9Mplayer::receivedStdout (KProcess *proc, char *buffer, int buflen) {
QString buf = QString::fromLatin1(buffer, buflen);
TQString buf = TQString::tqfromLatin1(buffer, buflen);
sscanf(buf.latin1(),"ANS_PERCENT_POSITION=%d",&m_position);
if (!m_seeking && m_position>0) {
slider->setValue(m_position);
}
int audio=0;
if (buf.contains("ANS_switch_audio"))
if (buf.tqcontains("ANS_switch_audio"))
sscanf(buf.latin1(),"ANS_switch_audio=%d",&audio);
if (audio >0) {
for (int i=0;i < m_dvdTitle->getaudioStreamCount();i++) {
@ -128,13 +128,13 @@ void K9Mplayer::receivedStdout (KProcess *proc, char *buffer, int buflen) {
void K9Mplayer::slotLengthChanged() {}
void K9Mplayer::slotNewPosition(int _pos,const QTime & _time) {
void K9Mplayer::slotNewPosition(int _pos,const TQTime & _time) {
slider->setValue(_pos);
}
void K9Mplayer::sliderReleased() {
sendCmd( QString("seek %1 1").arg((int)slider->value()));
sendCmd( TQString("seek %1 1").tqarg((int)slider->value()));
m_seeking=FALSE;
}
@ -146,7 +146,7 @@ void K9Mplayer::sliderPressed() {
}
void K9Mplayer::bPlayClick() {
setTitle(QString::number( m_title),"");
setTitle(TQString::number( m_title),"");
}
void K9Mplayer::bStopClick() {
@ -155,17 +155,17 @@ void K9Mplayer::bStopClick() {
void K9Mplayer::bDownClick() {
sendCmd( QString("volume -1"));
sendCmd( TQString("volume -1"));
}
void K9Mplayer::bSwitchAudioClick() {
sendCmd( QString("switch_audio"));
sendCmd( QString("get_property switch_audio"));
sendCmd( TQString("switch_audio"));
sendCmd( TQString("get_property switch_audio"));
}
void K9Mplayer::bUpClick() {
sendCmd( QString("volume +1"));
sendCmd( TQString("volume +1"));
}
@ -175,12 +175,12 @@ void K9Mplayer::open( k9DVD *_dvd,k9DVDTitle *_title,int chapter) {
cbAudio->clear();
for (int i=0; i< _title->getaudioStreamCount();i++) {
k9DVDAudioStream *aud=_title->getaudioStream(i);
cbAudio->insertItem(NULL,QString("%1-%2").arg(aud->getID()).arg(aud->getlanguage()),-1);
cbAudio->insertItem(NULL,TQString("%1-%2").tqarg(aud->getID()).tqarg(aud->getlanguage()),-1);
}
for (int i=0; i< _title->getsubPictureCount();i++) {
k9DVDSubtitle *sub=_title->getsubtitle(i);
cbSub->insertItem(NULL,QString("%1-%2").arg(sub->getID().first()).arg(sub->getlanguage()),-1);
cbSub->insertItem(NULL,TQString("%1-%2").tqarg(sub->getID().first()).tqarg(sub->getlanguage()),-1);
}
if(_title->getaspectRatio()=="16:9")
@ -192,7 +192,7 @@ void K9Mplayer::open( k9DVD *_dvd,k9DVDTitle *_title,int chapter) {
setDevice( _dvd->getDevice());
m_dvdTitle=_title;
m_title=_title->getnumTitle();
setTitle( QString::number(m_title),QString::number(chapter));
setTitle( TQString::number(m_title),TQString::number(chapter));
if (_title->getaudioStreamCount() >0)
cbAudioActivated( 0);
if (_title->getsubPictureCount() >0)
@ -207,19 +207,19 @@ void K9Mplayer::titleChanged() {}
void K9Mplayer::cbAudioActivated( int _value) {
if (m_dvdTitle) {
int value=m_dvdTitle->getaudioStream( _value)->getStreamId();
sendCmd(QString( "switch_audio %1").arg(value));
sendCmd(TQString( "switch_audio %1").tqarg(value));
}
}
void K9Mplayer::cbSubActivated( int _value) {
sendCmd(QString("sub_select %1").arg(_value));
sendCmd(TQString("sub_select %1").tqarg(_value));
}
void K9Mplayer::sendCmd( QString _cmd) {
void K9Mplayer::sendCmd( TQString _cmd) {
while (!m_canwrite) {
qApp->processEvents();
tqApp->processEvents();
if ( !m_process->isRunning())
return;
}

@ -9,34 +9,35 @@
class k9DVD;
class k9DVDTitle;
class KProcess;
class QTimer;
class QResizeEvent;
class TQTimer;
class TQResizeEvent;
class K9Mplayer : public MPlayer
{
Q_OBJECT
TQ_OBJECT
private:
KProcess *m_process;
bool m_seeking,m_initVol;
int m_title;
k9DVDTitle *m_dvdTitle;
QString m_device;
QTimer *m_timer;
void sendCmd(QString _cmd);
TQString m_device;
TQTimer *m_timer;
void sendCmd(TQString _cmd);
int m_position;
bool m_canwrite;
QWidget *m_container;
TQWidget *m_container;
float m_ratio;
public:
//K9Mplayer(QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
K9Mplayer(QObject *parent=0,const char *name=0,const QStringList args=0);
//K9Mplayer(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
K9Mplayer(TQObject *tqparent=0,const char *name=0,const TQStringList args=0);
~K9Mplayer();
/*$PUBLIC_FUNCTIONS$*/
void setDevice(const QString & _device);
void setTitle(const QString & _numTitle,const QString &_numChapter);
void setDevice(const TQString & _device);
void setTitle(const TQString & _numTitle,const TQString &_numChapter);
private slots:
void slotLengthChanged();
void slotNewPosition(int _pos,const QTime & _time);
void slotNewPosition(int _pos,const TQTime & _time);
void receivedStdout (KProcess *proc, char *buffer, int buflen);
void wroteStdin(KProcess *_process);
void timeout();
@ -56,7 +57,7 @@ public slots:
virtual void bSwitchAudioClick();
protected:
/*$PROTECTED_FUNCTIONS$*/
void resizeEvent ( QResizeEvent * _resiseEvent);
void resizeEvent ( TQResizeEvent * _resiseEvent);
protected slots:
/*$PROTECTED_SLOTS$*/

@ -9,18 +9,18 @@
#include "mplayer.h"
#include <qvariant.h>
#include <qpushbutton.h>
#include <qlabel.h>
#include <qcombobox.h>
#include <tqvariant.h>
#include <tqpushbutton.h>
#include <tqlabel.h>
#include <tqcombobox.h>
#include <kpushbutton.h>
#include <qslider.h>
#include <qframe.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include <qimage.h>
#include <qpixmap.h>
#include <tqslider.h>
#include <tqframe.h>
#include <tqlayout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include <tqimage.h>
#include <tqpixmap.h>
#include "kicondialog.h"
#include "kpushbutton.h"
@ -444,13 +444,13 @@ static const unsigned char img3_mplayer[] = {
/*
* Constructs a MPlayer as a child of 'parent', with the
* Constructs a MPlayer as a child of 'tqparent', with the
* name 'name' and widget flags set to 'f'.
*/
MPlayer::MPlayer( QWidget* parent, const char* name, WFlags fl )
: QWidget( parent, name, fl )
MPlayer::MPlayer( TQWidget* tqparent, const char* name, WFlags fl )
: TQWidget( tqparent, name, fl )
{
QImage img;
TQImage img;
img.loadFromData( img0_mplayer, sizeof( img0_mplayer ), "PNG" );
image0 = img;
img.loadFromData( img1_mplayer, sizeof( img1_mplayer ), "PNG" );
@ -463,118 +463,118 @@ MPlayer::MPlayer( QWidget* parent, const char* name, WFlags fl )
setName( "MPlayer" );
setEnabled( TRUE );
setIcon( image0 );
MPlayerLayout = new QGridLayout( this, 1, 1, 3, 3, "MPlayerLayout");
MPlayerLayout = new TQGridLayout( this, 1, 1, 3, 3, "MPlayerLayout");
textLabel1 = new QLabel( this, "textLabel1" );
textLabel1 = new TQLabel( this, "textLabel1" );
MPlayerLayout->addWidget( textLabel1, 0, 0 );
cbAudio = new QComboBox( FALSE, this, "cbAudio" );
cbAudio = new TQComboBox( FALSE, this, "cbAudio" );
MPlayerLayout->addWidget( cbAudio, 0, 1 );
spacer1 = new QSpacerItem( 190, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
spacer1 = new TQSpacerItem( 190, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
MPlayerLayout->addItem( spacer1, 0, 5 );
cbSub = new QComboBox( FALSE, this, "cbSub" );
cbSub = new TQComboBox( FALSE, this, "cbSub" );
MPlayerLayout->addWidget( cbSub, 0, 4 );
textLabel1_2 = new QLabel( this, "textLabel1_2" );
textLabel1_2 = new TQLabel( this, "textLabel1_2" );
MPlayerLayout->addWidget( textLabel1_2, 0, 3 );
bSwitchAudio = new KPushButton( this, "bSwitchAudio" );
bSwitchAudio->setMaximumSize( QSize( 22, 22 ) );
bSwitchAudio->setMaximumSize( TQSize( 22, 22 ) );
bSwitchAudio->setFlat( TRUE );
MPlayerLayout->addWidget( bSwitchAudio, 0, 2 );
layout6 = new QHBoxLayout( 0, 0, 6, "layout6");
tqlayout6 = new TQHBoxLayout( 0, 0, 6, "tqlayout6");
bStop = new KPushButton( this, "bStop" );
bStop->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, bStop->sizePolicy().hasHeightForWidth() ) );
bStop->setMinimumSize( QSize( 30, 30 ) );
bStop->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bStop->sizePolicy().hasHeightForWidth() ) );
bStop->setMinimumSize( TQSize( 30, 30 ) );
bStop->setPixmap( image1 );
bStop->setFlat( TRUE );
layout6->addWidget( bStop );
tqlayout6->addWidget( bStop );
bPlay = new KPushButton( this, "bPlay" );
bPlay->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, bPlay->sizePolicy().hasHeightForWidth() ) );
bPlay->setMinimumSize( QSize( 30, 30 ) );
bPlay->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bPlay->sizePolicy().hasHeightForWidth() ) );
bPlay->setMinimumSize( TQSize( 30, 30 ) );
bPlay->setPixmap( image2 );
bPlay->setFlat( TRUE );
layout6->addWidget( bPlay );
tqlayout6->addWidget( bPlay );
slider = new QSlider( this, "slider" );
slider->setOrientation( QSlider::Horizontal );
layout6->addWidget( slider );
slider = new TQSlider( this, "slider" );
slider->setOrientation( Qt::Horizontal );
tqlayout6->addWidget( slider );
layout5 = new QHBoxLayout( 0, 0, 6, "layout5");
tqlayout5 = new TQHBoxLayout( 0, 0, 6, "tqlayout5");
bDown = new KPushButton( this, "bDown" );
bDown->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)1, 0, 0, bDown->sizePolicy().hasHeightForWidth() ) );
bDown->setMinimumSize( QSize( 22, 22 ) );
bDown->setMaximumSize( QSize( 22, 22 ) );
QFont bDown_font( bDown->font() );
bDown->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bDown->sizePolicy().hasHeightForWidth() ) );
bDown->setMinimumSize( TQSize( 22, 22 ) );
bDown->setMaximumSize( TQSize( 22, 22 ) );
TQFont bDown_font( bDown->font() );
bDown_font.setBold( TRUE );
bDown->setFont( bDown_font );
bDown->setFlat( TRUE );
layout5->addWidget( bDown );
tqlayout5->addWidget( bDown );
pixmapLabel1 = new QLabel( this, "pixmapLabel1" );
pixmapLabel1->setMaximumSize( QSize( 22, 22 ) );
pixmapLabel1 = new TQLabel( this, "pixmapLabel1" );
pixmapLabel1->setMaximumSize( TQSize( 22, 22 ) );
pixmapLabel1->setPixmap( image3 );
pixmapLabel1->setScaledContents( TRUE );
layout5->addWidget( pixmapLabel1 );
tqlayout5->addWidget( pixmapLabel1 );
bUp = new KPushButton( this, "bUp" );
bUp->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)1, 0, 0, bUp->sizePolicy().hasHeightForWidth() ) );
bUp->setMinimumSize( QSize( 22, 22 ) );
bUp->setMaximumSize( QSize( 22, 22 ) );
QFont bUp_font( bUp->font() );
bUp->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bUp->sizePolicy().hasHeightForWidth() ) );
bUp->setMinimumSize( TQSize( 22, 22 ) );
bUp->setMaximumSize( TQSize( 22, 22 ) );
TQFont bUp_font( bUp->font() );
bUp_font.setBold( TRUE );
bUp->setFont( bUp_font );
bUp->setFlat( TRUE );
layout5->addWidget( bUp );
layout6->addLayout( layout5 );
tqlayout5->addWidget( bUp );
tqlayout6->addLayout( tqlayout5 );
MPlayerLayout->addMultiCellLayout( layout6, 4, 4, 0, 5 );
MPlayerLayout->addMultiCellLayout( tqlayout6, 4, 4, 0, 5 );
frame4 = new QFrame( this, "frame4" );
frame4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, frame4->sizePolicy().hasHeightForWidth() ) );
frame4->setFrameShape( QFrame::HLine );
frame4->setFrameShadow( QFrame::Raised );
frame4 = new TQFrame( this, "frame4" );
frame4->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, frame4->sizePolicy().hasHeightForWidth() ) );
frame4->setFrameShape( TQFrame::HLine );
frame4->setFrameShadow( TQFrame::Raised );
MPlayerLayout->addMultiCellWidget( frame4, 1, 1, 0, 5 );
Label = new QLabel( this, "Label" );
Label->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, Label->sizePolicy().hasHeightForWidth() ) );
Label->setPaletteBackgroundColor( QColor( 0, 0, 0 ) );
Label->setAlignment( int( QLabel::AlignCenter ) );
Label = new TQLabel( this, "Label" );
Label->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, Label->sizePolicy().hasHeightForWidth() ) );
Label->setPaletteBackgroundColor( TQColor( 0, 0, 0 ) );
Label->tqsetAlignment( int( TQLabel::AlignCenter ) );
MPlayerLayout->addMultiCellWidget( Label, 2, 2, 0, 5 );
frame3 = new QFrame( this, "frame3" );
frame3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, frame3->sizePolicy().hasHeightForWidth() ) );
frame3->setFrameShape( QFrame::HLine );
frame3->setFrameShadow( QFrame::Raised );
frame3 = new TQFrame( this, "frame3" );
frame3->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, frame3->sizePolicy().hasHeightForWidth() ) );
frame3->setFrameShape( TQFrame::HLine );
frame3->setFrameShadow( TQFrame::Raised );
MPlayerLayout->addMultiCellWidget( frame3, 3, 3, 0, 5 );
languageChange();
resize( QSize(559, 458).expandedTo(minimumSizeHint()) );
resize( TQSize(559, 458).expandedTo(tqminimumSizeHint()) );
clearWState( WState_Polished );
// signals and slots connections
connect( bStop, SIGNAL( clicked() ), this, SLOT( bStopClick() ) );
connect( bPlay, SIGNAL( clicked() ), this, SLOT( bPlayClick() ) );
connect( slider, SIGNAL( sliderReleased() ), this, SLOT( sliderReleased() ) );
connect( slider, SIGNAL( sliderPressed() ), this, SLOT( sliderPressed() ) );
connect( slider, SIGNAL( valueChanged(int) ), this, SLOT( sliderChanged(int) ) );
connect( cbAudio, SIGNAL( activated(int) ), this, SLOT( cbAudioActivated(int) ) );
connect( cbSub, SIGNAL( activated(int) ), this, SLOT( cbSubActivated(int) ) );
connect( bDown, SIGNAL( clicked() ), this, SLOT( bDownClick() ) );
connect( bUp, SIGNAL( clicked() ), this, SLOT( bUpClick() ) );
connect( bSwitchAudio, SIGNAL( clicked() ), this, SLOT( bSwitchAudioClick() ) );
connect( bStop, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bStopClick() ) );
connect( bPlay, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bPlayClick() ) );
connect( slider, TQT_SIGNAL( sliderReleased() ), this, TQT_SLOT( sliderReleased() ) );
connect( slider, TQT_SIGNAL( sliderPressed() ), this, TQT_SLOT( sliderPressed() ) );
connect( slider, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( sliderChanged(int) ) );
connect( cbAudio, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbAudioActivated(int) ) );
connect( cbSub, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbSubActivated(int) ) );
connect( bDown, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bDownClick() ) );
connect( bUp, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bUpClick() ) );
connect( bSwitchAudio, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bSwitchAudioClick() ) );
}
/*
@ -582,7 +582,7 @@ MPlayer::MPlayer( QWidget* parent, const char* name, WFlags fl )
*/
MPlayer::~MPlayer()
{
// no need to delete child widgets, Qt does it all for us
// no need to delete child widgets, TQt does it all for us
}
/*
@ -594,15 +594,15 @@ void MPlayer::languageChange()
setCaption( tr2i18n( "Preview" ) );
textLabel1->setText( tr2i18n( "Audio" ) );
textLabel1_2->setText( tr2i18n( "Subpicture" ) );
bSwitchAudio->setText( QString::null );
bStop->setText( QString::null );
bPlay->setText( QString::null );
bPlay->setAccel( QKeySequence( QString::null ) );
bSwitchAudio->setText( TQString() );
bStop->setText( TQString() );
bPlay->setText( TQString() );
bPlay->setAccel( TQKeySequence( TQString() ) );
bDown->setText( tr2i18n( "-" ) );
bDown->setAccel( QKeySequence( QString::null ) );
bDown->setAccel( TQKeySequence( TQString() ) );
bUp->setText( tr2i18n( "+" ) );
bUp->setAccel( QKeySequence( QString::null ) );
Label->setText( QString::null );
bUp->setAccel( TQKeySequence( TQString() ) );
Label->setText( TQString() );
}
void MPlayer::bStopClick()

@ -1,13 +1,13 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>MPlayer</class>
<widget class="QWidget">
<widget class="TQWidget">
<property name="name">
<cstring>MPlayer</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<property name="tqgeometry">
<rect>
<x>0</x>
<y>0</y>
@ -31,7 +31,7 @@
<property name="spacing">
<number>3</number>
</property>
<widget class="QLabel" row="0" column="0">
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@ -39,7 +39,7 @@
<string>Audio</string>
</property>
</widget>
<widget class="QComboBox" row="0" column="1">
<widget class="TQComboBox" row="0" column="1">
<property name="name">
<cstring>cbAudio</cstring>
</property>
@ -54,19 +54,19 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>190</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QComboBox" row="0" column="4">
<widget class="TQComboBox" row="0" column="4">
<property name="name">
<cstring>cbSub</cstring>
</property>
</widget>
<widget class="QLabel" row="0" column="3">
<widget class="TQLabel" row="0" column="3">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
@ -78,7 +78,7 @@
<property name="name">
<cstring>bSwitchAudio</cstring>
</property>
<property name="maximumSize">
<property name="tqmaximumSize">
<size>
<width>22</width>
<height>22</height>
@ -91,9 +91,9 @@
<bool>true</bool>
</property>
</widget>
<widget class="QLayoutWidget" row="4" column="0" rowspan="1" colspan="6">
<widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="6">
<property name="name">
<cstring>layout6</cstring>
<cstring>tqlayout6</cstring>
</property>
<hbox>
<property name="name">
@ -111,7 +111,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>30</width>
<height>30</height>
@ -139,7 +139,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>30</width>
<height>30</height>
@ -158,7 +158,7 @@
<bool>true</bool>
</property>
</widget>
<widget class="QSlider">
<widget class="TQSlider">
<property name="name">
<cstring>slider</cstring>
</property>
@ -166,9 +166,9 @@
<enum>Horizontal</enum>
</property>
</widget>
<widget class="QLayoutWidget">
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout5</cstring>
<cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
@ -186,13 +186,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>22</width>
<height>22</height>
</size>
</property>
<property name="maximumSize">
<property name="tqmaximumSize">
<size>
<width>22</width>
<height>22</height>
@ -213,11 +213,11 @@
<bool>true</bool>
</property>
</widget>
<widget class="QLabel">
<widget class="TQLabel">
<property name="name">
<cstring>pixmapLabel1</cstring>
</property>
<property name="maximumSize">
<property name="tqmaximumSize">
<size>
<width>22</width>
<height>22</height>
@ -242,13 +242,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>22</width>
<height>22</height>
</size>
</property>
<property name="maximumSize">
<property name="tqmaximumSize">
<size>
<width>22</width>
<height>22</height>
@ -273,7 +273,7 @@
</widget>
</hbox>
</widget>
<widget class="QFrame" row="1" column="0" rowspan="1" colspan="6">
<widget class="TQFrame" row="1" column="0" rowspan="1" colspan="6">
<property name="name">
<cstring>frame4</cstring>
</property>
@ -292,7 +292,7 @@
<enum>Raised</enum>
</property>
</widget>
<widget class="QLabel" row="2" column="0" rowspan="1" colspan="6">
<widget class="TQLabel" row="2" column="0" rowspan="1" colspan="6">
<property name="name">
<cstring>Label</cstring>
</property>
@ -314,11 +314,11 @@
<property name="text">
<string></string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignCenter</set>
</property>
</widget>
<widget class="QFrame" row="3" column="0" rowspan="1" colspan="6">
<widget class="TQFrame" row="3" column="0" rowspan="1" colspan="6">
<property name="name">
<cstring>frame3</cstring>
</property>
@ -415,7 +415,7 @@
<slot>bSwitchAudioClick()</slot>
</connection>
</connections>
<slots>
<Q_SLOTS>
<slot>bStopClick()</slot>
<slot>cbAudioActivated(int)</slot>
<slot>slider_sliderReleased()</slot>
@ -427,8 +427,8 @@
<slot>bUpClick()</slot>
<slot>bDownClick()</slot>
<slot>bSwitchAudioClick()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kicondialog.h</includehint>
<includehint>kpushbutton.h</includehint>

@ -9,126 +9,126 @@
#include "chapterEdit.h"
#include <qvariant.h>
#include <qpushbutton.h>
#include <tqvariant.h>
#include <tqpushbutton.h>
#include <ktimewidget.h>
#include <qlabel.h>
#include <tqlabel.h>
#include <kurlrequester.h>
#include <kpushbutton.h>
#include <qcheckbox.h>
#include <qslider.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include <tqcheckbox.h>
#include <tqslider.h>
#include <tqlayout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include "ktimewidget.h"
#include "kurlrequester.h"
#include "klineedit.h"
#include "kpushbutton.h"
/*
* Constructs a chapterEdit as a child of 'parent', with the
* Constructs a chapterEdit as a child of 'tqparent', with the
* name 'name' and widget flags set to 'f'.
*/
chapterEdit::chapterEdit( QWidget* parent, const char* name, WFlags fl )
: QWidget( parent, name, fl )
chapterEdit::chapterEdit( TQWidget* tqparent, const char* name, WFlags fl )
: TQWidget( tqparent, name, fl )
{
if ( !name )
setName( "chapterEdit" );
setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) );
chapterEditLayout = new QGridLayout( this, 1, 1, 11, 6, "chapterEditLayout");
tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) );
chapterEditLayout = new TQGridLayout( this, 1, 1, 11, 6, "chapterEditLayout");
twstart = new KTimeWidget( this, "twstart" );
twstart->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, twstart->sizePolicy().hasHeightForWidth() ) );
twstart->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, twstart->sizePolicy().hasHeightForWidth() ) );
chapterEditLayout->addWidget( twstart, 1, 2 );
textLabel1 = new QLabel( this, "textLabel1" );
textLabel1 = new TQLabel( this, "textLabel1" );
chapterEditLayout->addWidget( textLabel1, 1, 1 );
textLabel3 = new QLabel( this, "textLabel3" );
textLabel3 = new TQLabel( this, "textLabel3" );
chapterEditLayout->addWidget( textLabel3, 0, 1 );
urFile = new KURLRequester( this, "urFile" );
urFile->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)5, 0, 0, urFile->sizePolicy().hasHeightForWidth() ) );
urFile->setMinimumSize( QSize( 200, 0 ) );
urFile->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, urFile->sizePolicy().hasHeightForWidth() ) );
urFile->setMinimumSize( TQSize( 200, 0 ) );
chapterEditLayout->addMultiCellWidget( urFile, 0, 0, 2, 4 );
bStart = new KPushButton( this, "bStart" );
bStart->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, bStart->sizePolicy().hasHeightForWidth() ) );
bStart->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bStart->sizePolicy().hasHeightForWidth() ) );
chapterEditLayout->addWidget( bStart, 1, 3 );
spacer2 = new QSpacerItem( 16, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
spacer2 = new TQSpacerItem( 16, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
chapterEditLayout->addMultiCell( spacer2, 1, 2, 4, 4 );
ckBreakStart = new QCheckBox( this, "ckBreakStart" );
ckBreakStart = new TQCheckBox( this, "ckBreakStart" );
chapterEditLayout->addMultiCellWidget( ckBreakStart, 2, 2, 2, 3 );
spacer1 = new QSpacerItem( 21, 60, QSizePolicy::Minimum, QSizePolicy::Expanding );
spacer1 = new TQSpacerItem( 21, 60, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
chapterEditLayout->addItem( spacer1, 6, 2 );
textLabel2 = new QLabel( this, "textLabel2" );
textLabel2 = new TQLabel( this, "textLabel2" );
chapterEditLayout->addWidget( textLabel2, 4, 1 );
ckBreakEnd = new QCheckBox( this, "ckBreakEnd" );
ckBreakEnd = new TQCheckBox( this, "ckBreakEnd" );
chapterEditLayout->addMultiCellWidget( ckBreakEnd, 5, 5, 2, 3 );
twend = new KTimeWidget( this, "twend" );
twend->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, twend->sizePolicy().hasHeightForWidth() ) );
twend->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, twend->sizePolicy().hasHeightForWidth() ) );
chapterEditLayout->addWidget( twend, 4, 2 );
spacer3 = new QSpacerItem( 20, 31, QSizePolicy::Minimum, QSizePolicy::Fixed );
spacer3 = new TQSpacerItem( 20, 31, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
chapterEditLayout->addItem( spacer3, 3, 2 );
layout3 = new QGridLayout( 0, 1, 1, 0, 6, "layout3");
tqlayout3 = new TQGridLayout( 0, 1, 1, 0, 6, "tqlayout3");
lPosition = new QLabel( this, "lPosition" );
lPosition->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, lPosition->sizePolicy().hasHeightForWidth() ) );
lPosition = new TQLabel( this, "lPosition" );
lPosition->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lPosition->sizePolicy().hasHeightForWidth() ) );
layout3->addWidget( lPosition, 1, 1 );
tqlayout3->addWidget( lPosition, 1, 1 );
slider = new QSlider( this, "slider" );
slider->setOrientation( QSlider::Horizontal );
slider = new TQSlider( this, "slider" );
slider->setOrientation( Qt::Horizontal );
layout3->addWidget( slider, 1, 0 );
tqlayout3->addWidget( slider, 1, 0 );
image = new QLabel( this, "image" );
image->setMinimumSize( QSize( 320, 200 ) );
image->setPaletteBackgroundColor( QColor( 0, 0, 0 ) );
image = new TQLabel( this, "image" );
image->setMinimumSize( TQSize( 320, 200 ) );
image->setPaletteBackgroundColor( TQColor( 0, 0, 0 ) );
image->setScaledContents( TRUE );
layout3->addMultiCellWidget( image, 0, 0, 0, 1 );
tqlayout3->addMultiCellWidget( image, 0, 0, 0, 1 );
chapterEditLayout->addMultiCellLayout( layout3, 0, 6, 0, 0 );
chapterEditLayout->addMultiCellLayout( tqlayout3, 0, 6, 0, 0 );
bEnd = new KPushButton( this, "bEnd" );
bEnd->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, bEnd->sizePolicy().hasHeightForWidth() ) );
bEnd->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bEnd->sizePolicy().hasHeightForWidth() ) );
chapterEditLayout->addWidget( bEnd, 4, 3 );
bTitleButton = new QPushButton( this, "bTitleButton" );
bTitleButton->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, bTitleButton->sizePolicy().hasHeightForWidth() ) );
bTitleButton = new TQPushButton( this, "bTitleButton" );
bTitleButton->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bTitleButton->sizePolicy().hasHeightForWidth() ) );
chapterEditLayout->addWidget( bTitleButton, 7, 0 );
languageChange();
resize( QSize(627, 300).expandedTo(minimumSizeHint()) );
resize( TQSize(627, 300).expandedTo(tqminimumSizeHint()) );
clearWState( WState_Polished );
// signals and slots connections
connect( urFile, SIGNAL( urlSelected(const QString&) ), this, SLOT( urlSelected(const QString&) ) );
connect( slider, SIGNAL( sliderReleased() ), this, SLOT( sliderReleased() ) );
connect( slider, SIGNAL( valueChanged(int) ), this, SLOT( sliderChanged() ) );
connect( bStart, SIGNAL( clicked() ), this, SLOT( bStartClick() ) );
connect( bEnd, SIGNAL( clicked() ), this, SLOT( bEndClick() ) );
connect( twstart, SIGNAL( valueChanged(const QTime&) ), this, SLOT( startChanged(const QTime&) ) );
connect( twend, SIGNAL( valueChanged(const QTime&) ), this, SLOT( endChanged(const QTime&) ) );
connect( ckBreakEnd, SIGNAL( clicked() ), this, SLOT( ckBreakEndClick() ) );
connect( ckBreakStart, SIGNAL( clicked() ), this, SLOT( ckBreakStartClick() ) );
connect( bTitleButton, SIGNAL( clicked() ), this, SLOT( bTitleButtonClick() ) );
connect( urFile, TQT_SIGNAL( urlSelected(const TQString&) ), this, TQT_SLOT( urlSelected(const TQString&) ) );
connect( slider, TQT_SIGNAL( sliderReleased() ), this, TQT_SLOT( sliderReleased() ) );
connect( slider, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( sliderChanged() ) );
connect( bStart, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bStartClick() ) );
connect( bEnd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bEndClick() ) );
connect( twstart, TQT_SIGNAL( valueChanged(const TQTime&) ), this, TQT_SLOT( startChanged(const TQTime&) ) );
connect( twend, TQT_SIGNAL( valueChanged(const TQTime&) ), this, TQT_SLOT( endChanged(const TQTime&) ) );
connect( ckBreakEnd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ckBreakEndClick() ) );
connect( ckBreakStart, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ckBreakStartClick() ) );
connect( bTitleButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bTitleButtonClick() ) );
}
/*
@ -136,7 +136,7 @@ chapterEdit::chapterEdit( QWidget* parent, const char* name, WFlags fl )
*/
chapterEdit::~chapterEdit()
{
// no need to delete child widgets, Qt does it all for us
// no need to delete child widgets, TQt does it all for us
}
/*
@ -159,9 +159,9 @@ void chapterEdit::languageChange()
bTitleButton->setText( tr2i18n( "set Title button" ) );
}
void chapterEdit::urlSelected(const QString&)
void chapterEdit::urlSelected(const TQString&)
{
qWarning( "chapterEdit::urlSelected(const QString&): Not implemented yet" );
qWarning( "chapterEdit::urlSelected(const TQString&): Not implemented yet" );
}
void chapterEdit::sliderReleased()
@ -179,14 +179,14 @@ void chapterEdit::bStartClick()
qWarning( "chapterEdit::bStartClick(): Not implemented yet" );
}
void chapterEdit::startChanged(const QTime&)
void chapterEdit::startChanged(const TQTime&)
{
qWarning( "chapterEdit::startChanged(const QTime&): Not implemented yet" );
qWarning( "chapterEdit::startChanged(const TQTime&): Not implemented yet" );
}
void chapterEdit::endChanged(const QTime&)
void chapterEdit::endChanged(const TQTime&)
{
qWarning( "chapterEdit::endChanged(const QTime&): Not implemented yet" );
qWarning( "chapterEdit::endChanged(const TQTime&): Not implemented yet" );
}
void chapterEdit::bEndClick()

@ -1,10 +1,10 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>chapterEdit</class>
<widget class="QWidget">
<widget class="TQWidget">
<property name="name">
<cstring>chapterEdit</cstring>
</property>
<property name="geometry">
<property name="tqgeometry">
<rect>
<x>0</x>
<y>0</y>
@ -40,7 +40,7 @@
</sizepolicy>
</property>
</widget>
<widget class="QLabel" row="1" column="1">
<widget class="TQLabel" row="1" column="1">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@ -48,7 +48,7 @@
<string>start</string>
</property>
</widget>
<widget class="QLabel" row="0" column="1">
<widget class="TQLabel" row="0" column="1">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@ -68,7 +68,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>200</width>
<height>0</height>
@ -105,14 +105,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QCheckBox" row="2" column="2" rowspan="1" colspan="2">
<widget class="TQCheckBox" row="2" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>ckBreakStart</cstring>
</property>
@ -130,14 +130,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>21</width>
<height>60</height>
</size>
</property>
</spacer>
<widget class="QLabel" row="4" column="1">
<widget class="TQLabel" row="4" column="1">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@ -145,7 +145,7 @@
<string>end</string>
</property>
</widget>
<widget class="QCheckBox" row="5" column="2" rowspan="1" colspan="2">
<widget class="TQCheckBox" row="5" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>ckBreakEnd</cstring>
</property>
@ -176,22 +176,22 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>31</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget" row="0" column="0" rowspan="7" colspan="1">
<widget class="TQLayoutWidget" row="0" column="0" rowspan="7" colspan="1">
<property name="name">
<cstring>layout3</cstring>
<cstring>tqlayout3</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel" row="1" column="1">
<widget class="TQLabel" row="1" column="1">
<property name="name">
<cstring>lPosition</cstring>
</property>
@ -207,7 +207,7 @@
<string>--:--:--</string>
</property>