Fix k3b FTBFS under Qt4

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1242629 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent abc21952ac
commit 90bccb754f

@ -233,7 +233,7 @@ void K3bVideoDVDRippingDialog::populateTitleView( const TQValueList<int>& titles
if( m_dvd[*it-1].audioStream(i).format() == K3bVideoDVD::AUDIO_FORMAT_DTS ) {
// width of the radio button from TQCheckListItem::paintCell
int buttonSize = style().tqpixelMetric( TQStyle::PM_CheckListButtonSize, m_w->m_titleView ) + 4;
int buttonSize = tqstyle().tqpixelMetric( TQStyle::PM_CheckListButtonSize, m_w->m_titleView ) + 4;
int spaceWidth = fontMetrics().width( ' ' );
int numSpaces = buttonSize/spaceWidth;
asI = new TQListViewItem( titleItem, asI, TQString().fill( ' ', numSpaces ) + text + " (" + i18n("not supported") + ")" );
@ -612,7 +612,7 @@ void K3bVideoDVDRippingDialog::slotStartClicked()
// start the job
K3bJobProgressDialog dlg( parentWidget() );
K3bVideoDVDRippingJob* job = new K3bVideoDVDRippingJob( &dlg, &dlg );
K3bVideoDVDRippingJob* job = new K3bVideoDVDRippingJob( &dlg, TQT_TQOBJECT(&dlg) );
job->setVideoDVD( m_dvd );
job->setTitles( titles );

@ -352,7 +352,7 @@ K3bVideoDVDRippingTitleListView::K3bVideoDVDRippingTitleListView( TQWidget* tqpa
m_toolTip = new TitleToolTip( this );
m_previewGen = new K3bVideoDVDRippingPreview( this );
m_previewGen = new K3bVideoDVDRippingPreview( TQT_TQOBJECT(this) );
connect( m_previewGen, TQT_SIGNAL(previewDone(bool)),
this, TQT_SLOT(slotPreviewDone(bool)) );
}

@ -218,19 +218,19 @@ void K3bVideoDVDRippingView::initActions()
{
m_actionCollection = new KActionCollection( this );
KAction* actionSelectAll = new KAction( i18n("Check All"), 0, 0, this,
KAction* actionSelectAll = new KAction( i18n("Check All"), 0, 0, TQT_TQOBJECT(this),
TQT_SLOT(slotCheckAll()), actionCollection(),
"check_all" );
KAction* actionDeselectAll = new KAction( i18n("Uncheck All"), 0, 0, this,
KAction* actionDeselectAll = new KAction( i18n("Uncheck All"), 0, 0, TQT_TQOBJECT(this),
TQT_SLOT(slotUncheckAll()), actionCollection(),
"uncheck_all" );
KAction* actionSelect = new KAction( i18n("Check Track"), 0, 0, this,
KAction* actionSelect = new KAction( i18n("Check Track"), 0, 0, TQT_TQOBJECT(this),
TQT_SLOT(slotCheck()), actionCollection(),
"select_track" );
KAction* actionDeselect = new KAction( i18n("Uncheck Track"), 0, 0, this,
KAction* actionDeselect = new KAction( i18n("Uncheck Track"), 0, 0, TQT_TQOBJECT(this),
TQT_SLOT(slotUncheck()), actionCollection(),
"deselect_track" );
KAction* actionStartRip = new KAction( i18n("Start Ripping"), "gear", 0, this,
KAction* actionStartRip = new KAction( i18n("Start Ripping"), "gear", 0, TQT_TQOBJECT(this),
TQT_SLOT(slotStartRipping()), m_actionCollection, "start_rip" );
actionStartRip->setToolTip( i18n("Open the Video DVD ripping dialog") );

Loading…
Cancel
Save