Rename obsolete tq methods to standard names

pull/1/head
Timothy Pearson 13 years ago
parent 5183781c5d
commit ba335c4be7

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -40,7 +40,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -73,7 +73,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -186,7 +186,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -29,10 +29,10 @@ K3bCddbMultiEntriesDialog::K3bCddbMultiEntriesDialog( TQWidget* parent, const ch
: KDialogBase( Plain, i18n("CDDB Database Entry"), Ok|Cancel, Ok, parent, name ) : KDialogBase( Plain, i18n("CDDB Database Entry"), Ok|Cancel, Ok, parent, name )
{ {
TQFrame* frame = plainPage(); TQFrame* frame = plainPage();
TQVBoxLayout* tqlayout = new TQVBoxLayout( frame ); TQVBoxLayout* layout = new TQVBoxLayout( frame );
tqlayout->setAutoAdd( true ); layout->setAutoAdd( true );
tqlayout->setSpacing( spacingHint() ); layout->setSpacing( spacingHint() );
tqlayout->setMargin( 0 ); layout->setMargin( 0 );
TQLabel* infoLabel = new TQLabel( i18n("K3b found multiple inexact CDDB entries. Please select one."), frame ); TQLabel* infoLabel = new TQLabel( i18n("K3b found multiple inexact CDDB entries. Please select one."), frame );
infoLabel->setAlignment( WordBreak ); infoLabel->setAlignment( WordBreak );

@ -192,7 +192,7 @@ TQStringList K3bProcess::splitOutput( char* data, int len,
// check if line ends with a newline // check if line ends with a newline
// if not save the last line because it is not finished // if not save the last line because it is not finished
TQChar c = buffer.right(1).at(0); TQChar c = buffer.right(1).at(0);
bool hasUnfinishedLine = ( c != '\n' && c != '\r' && c != TQChar(46) ); // What is tqunicode 46?? It is printed as a point bool hasUnfinishedLine = ( c != '\n' && c != '\r' && c != TQChar(46) ); // What is unicode 46?? It is printed as a point
if( hasUnfinishedLine ) { if( hasUnfinishedLine ) {
kdDebug() << "(K3bProcess) found unfinished line: '" << lines.last() << "'" << endl; kdDebug() << "(K3bProcess) found unfinished line: '" << lines.last() << "'" << endl;
kdDebug() << "(K3bProcess) last char: '" << buffer.right(1) << "'" << endl; kdDebug() << "(K3bProcess) last char: '" << buffer.right(1) << "'" << endl;

@ -1,9 +1,9 @@
<!-- <!--
This document describes the tqlayout of the toc.xml file in a K3b image archive. This document describes the layout of the toc.xml file in a K3b image archive.
A K3b image archive is a TAR archive with a simple tqlayout as follows. A K3b image archive is a TAR archive with a simple layout as follows.
Every K3b image archive contains the toc.xml file as described in this document Every K3b image archive contains the toc.xml file as described in this document
which describes the tqlayout of the CD or DVD saved in the K3b image archive. which describes the layout of the CD or DVD saved in the K3b image archive.
Additionally the K3b image archive contains an arbitrary number of files which Additionally the K3b image archive contains an arbitrary number of files which
contain the CD/DVD sector data. These files are referenced in the elements of contain the CD/DVD sector data. These files are referenced in the elements of
type "file". type "file".

@ -205,7 +205,7 @@ void K3bCutComboBox::resizeEvent( TQResizeEvent* e )
void K3bCutComboBox::cutText() void K3bCutComboBox::cutText()
{ {
d->width = TQStyle::visualRect( tqstyle().querySubControlMetrics(TQStyle::CC_ComboBox, this, d->width = TQStyle::visualRect( style().querySubControlMetrics(TQStyle::CC_ComboBox, this,
TQStyle::SC_ComboBoxEditField), this ).width(); TQStyle::SC_ComboBoxEditField), this ).width();
for( int i = 0; i < (int)d->originalItems.count(); ++i ) { for( int i = 0; i < (int)d->originalItems.count(); ++i ) {

@ -448,8 +448,8 @@ void K3bListViewItem::paintProgressBar( TQPainter* p, const TQColorGroup& cgh, i
// some styles use the widget's geometry // some styles use the widget's geometry
s_dummyProgressBar->setGeometry( r ); s_dummyProgressBar->setGeometry( r );
listView()->tqstyle().drawControl(TQStyle::CE_ProgressBarContents, &dbPainter, s_dummyProgressBar, r, cgh, flags ); listView()->style().drawControl(TQStyle::CE_ProgressBarContents, &dbPainter, s_dummyProgressBar, r, cgh, flags );
listView()->tqstyle().drawControl(TQStyle::CE_ProgressBarLabel, &dbPainter, s_dummyProgressBar, r, cgh, flags ); listView()->style().drawControl(TQStyle::CE_ProgressBarLabel, &dbPainter, s_dummyProgressBar, r, cgh, flags );
// now we really paint the progress in the listview // now we really paint the progress in the listview
p->drawPixmap( 0, 0, *doubleBuffer ); p->drawPixmap( 0, 0, *doubleBuffer );
@ -508,7 +508,7 @@ void K3bCheckListViewItem::paintK3bCell( TQPainter* p, const TQColorGroup& cg, i
if( col == 0 ) { if( col == 0 ) {
if( m_checked ) { if( m_checked ) {
TQRect r( 0, marginVertical(), width, /*listView()->tqstyle().pixelMetric( TQStyle::PM_CheckListButtonSize )*/height()-2*marginVertical() ); TQRect r( 0, marginVertical(), width, /*listView()->style().pixelMetric( TQStyle::PM_CheckListButtonSize )*/height()-2*marginVertical() );
TQStyle::SFlags flags = TQStyle::Style_Default; TQStyle::SFlags flags = TQStyle::Style_Default;
if( listView()->isEnabled() ) if( listView()->isEnabled() )
@ -520,7 +520,7 @@ void K3bCheckListViewItem::paintK3bCell( TQPainter* p, const TQColorGroup& cg, i
else else
flags |= TQStyle::Style_Off; flags |= TQStyle::Style_Off;
listView()->tqstyle().tqdrawPrimitive( TQStyle::PE_CheckMark, p, r, cg, flags ); listView()->style().tqdrawPrimitive( TQStyle::PE_CheckMark, p, r, cg, flags );
} }
} }
} }

@ -59,8 +59,8 @@ TQSize K3bMsfEdit::sizeHint() const
TQFontMetrics fm( font() ); TQFontMetrics fm( font() );
int w = fm.width( "00:00:00" ); int w = fm.width( "00:00:00" );
int wx = fm.width( ' ' )*2; int wx = fm.width( ' ' )*2;
int frame = tqstyle().pixelMetric( TQStyle::PM_SpinBoxFrameWidth ); int frame = style().pixelMetric( TQStyle::PM_SpinBoxFrameWidth );
return tqstyle().tqsizeFromContents(TQStyle::CT_SpinBox, this, return style().tqsizeFromContents(TQStyle::CT_SpinBox, this,
TQSize( w + wx + downRect().width() + frame*2, TQSize( w + wx + downRect().width() + frame*2,
h + frame*2). h + frame*2).
expandedTo( TQApplication::globalStrut() )); expandedTo( TQApplication::globalStrut() ));

@ -21,7 +21,7 @@
#include <k3b_export.h> #include <k3b_export.h>
/** /**
* @short A replacement for TQLabel that supports richtext and proper tqlayout management * @short A replacement for TQLabel that supports richtext and proper layout management
* *
* @author Waldo Bastian <bastian@kde.org> * @author Waldo Bastian <bastian@kde.org>
*/ */

@ -60,7 +60,7 @@ K3bToolBoxSeparator::K3bToolBoxSeparator( K3bToolBox* parent )
TQSize K3bToolBoxSeparator::sizeHint() const TQSize K3bToolBoxSeparator::sizeHint() const
{ {
int extent = tqstyle().pixelMetric( TQStyle::PM_DockWindowSeparatorExtent, int extent = style().pixelMetric( TQStyle::PM_DockWindowSeparatorExtent,
this ); this );
return TQSize( extent, 0 ); return TQSize( extent, 0 );
} }
@ -71,7 +71,7 @@ void K3bToolBoxSeparator::paintEvent( TQPaintEvent* )
TQPainter p( this ); TQPainter p( this );
TQStyle::SFlags flags = TQStyle::Style_Default|TQStyle::Style_Horizontal; TQStyle::SFlags flags = TQStyle::Style_Default|TQStyle::Style_Horizontal;
tqstyle().tqdrawPrimitive( TQStyle::PE_DockWindowSeparator, &p, rect(), style().tqdrawPrimitive( TQStyle::PE_DockWindowSeparator, &p, rect(),
colorGroup(), flags ); colorGroup(), flags );
} }

@ -68,7 +68,7 @@ void K3bToolButton::drawButton( TQPainter* p )
if( isEnabled() ) if( isEnabled() )
arrowFlags |= TQStyle::Style_Enabled; arrowFlags |= TQStyle::Style_Enabled;
tqstyle().tqdrawPrimitive(TQStyle::PE_ArrowDown, p, style().tqdrawPrimitive(TQStyle::PE_ArrowDown, p,
TQRect(width()-7, height()-7, 7, 7), colorGroup(), TQRect(width()-7, height()-7, 7, 7), colorGroup(),
arrowFlags, TQStyleOption() ); arrowFlags, TQStyleOption() );
} }

@ -88,7 +88,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -48,7 +48,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -125,7 +125,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -200,7 +200,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -237,7 +237,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -326,7 +326,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -43,7 +43,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -33,7 +33,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -110,7 +110,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -196,7 +196,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -30,7 +30,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -55,7 +55,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -104,7 +104,7 @@ K3bAudioMetainfoRenamerPluginWidget::K3bAudioMetainfoRenamerPluginWidget( K3bDoc
d->viewFiles->addColumn( i18n("Old Name") ); d->viewFiles->addColumn( i18n("Old Name") );
d->viewFiles->setNoItemText( i18n("Please click the Scan button to search for renameable files.") ); d->viewFiles->setNoItemText( i18n("Please click the Scan button to search for renameable files.") );
// tqlayout // layout
TQVBoxLayout* box = new TQVBoxLayout( this ); TQVBoxLayout* box = new TQVBoxLayout( this );
box->setMargin( 0 ); box->setMargin( 0 );
box->setSpacing( KDialog::spacingHint() ); box->setSpacing( KDialog::spacingHint() );

@ -194,7 +194,7 @@ K3bAudioPlayer::K3bAudioPlayer( TQWidget* parent, const char* name )
m_updateTimer = new TQTimer( this ); m_updateTimer = new TQTimer( this );
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
// tqlayout // layout
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
TQGridLayout* grid = new TQGridLayout( this ); TQGridLayout* grid = new TQGridLayout( this );
grid->setSpacing( 2 ); grid->setSpacing( 2 );

@ -51,7 +51,7 @@ K3bContentsView::~K3bContentsView()
void K3bContentsView::setMainWidget( TQWidget* w ) void K3bContentsView::setMainWidget( TQWidget* w )
{ {
m_centerWidget = w; m_centerWidget = w;
((TQVBoxLayout*)tqlayout())->addWidget( w ); ((TQVBoxLayout*)layout())->addWidget( w );
} }

@ -156,7 +156,7 @@ void K3bDebuggingOutputDialog::slotUser1()
void K3bDebuggingOutputDialog::slotUser2() void K3bDebuggingOutputDialog::slotUser2()
{ {
TQApplication::tqclipboard()->setText( debugView->text(), TQClipboard::Clipboard ); TQApplication::clipboard()->setText( debugView->text(), TQClipboard::Clipboard );
} }
#include "k3bdebuggingoutputdialog.moc" #include "k3bdebuggingoutputdialog.moc"

@ -175,7 +175,7 @@ void K3bFileTreeComboBox::popup()
y = y - h - height(); y = y - h - height();
TQRect rect = TQRect rect =
tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, style().querySubControlMetrics( TQStyle::CC_ComboBox, this,
TQStyle::SC_ComboBoxListBoxPopup, TQStyle::SC_ComboBoxListBoxPopup,
TQStyleOption( x, y, w, h ) ); TQStyleOption( x, y, w, h ) );
// work around older styles that don't implement the combobox // work around older styles that don't implement the combobox
@ -274,7 +274,7 @@ bool K3bFileTreeComboBox::eventFilter( TQObject* o, TQEvent* e )
else if( e->type() == TQEvent::MouseButtonPress ) { else if( e->type() == TQEvent::MouseButtonPress ) {
TQMouseEvent* me = (TQMouseEvent*)e; TQMouseEvent* me = (TQMouseEvent*)e;
if ( !TQT_TQRECT_OBJECT(m_fileTreeView->rect()).contains( me->pos() ) ) { if ( !TQT_TQRECT_OBJECT(m_fileTreeView->rect()).contains( me->pos() ) ) {
TQRect arrowRect = tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQRect arrowRect = style().querySubControlMetrics( TQStyle::CC_ComboBox, this,
TQStyle::SC_ComboBoxArrow); TQStyle::SC_ComboBoxArrow);
arrowRect = TQStyle::visualRect(arrowRect, this); arrowRect = TQStyle::visualRect(arrowRect, this);
@ -308,7 +308,7 @@ void K3bFileTreeComboBox::mousePressEvent( TQMouseEvent* e )
return; return;
} }
TQRect arrowRect = tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQRect arrowRect = style().querySubControlMetrics( TQStyle::CC_ComboBox, this,
TQStyle::SC_ComboBoxArrow); TQStyle::SC_ComboBoxArrow);
arrowRect = TQStyle::visualRect(arrowRect, this); arrowRect = TQStyle::visualRect(arrowRect, this);
@ -356,13 +356,13 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* )
// bool reverse = TQApplication::reverseLayout(); // bool reverse = TQApplication::reverseLayout();
tqstyle().drawComplexControl( TQStyle::CC_ComboBox, &p, this, rect(), g, style().drawComplexControl( TQStyle::CC_ComboBox, &p, this, rect(), g,
flags, TQStyle::SC_All, flags, TQStyle::SC_All,
(d->poppedUp ? (d->poppedUp ?
TQStyle::SC_ComboBoxArrow : TQStyle::SC_ComboBoxArrow :
TQStyle::SC_None )); TQStyle::SC_None ));
TQRect re = tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQRect re = style().querySubControlMetrics( TQStyle::CC_ComboBox, this,
TQStyle::SC_ComboBoxEditField ); TQStyle::SC_ComboBoxEditField );
re = TQStyle::visualRect(re, this); re = TQStyle::visualRect(re, this);
p.setClipRect( re ); p.setClipRect( re );

@ -238,7 +238,7 @@ void K3bDeviceBranchViewItem::paintCell( TQPainter* p, const TQColorGroup& cg, i
textheight++; textheight++;
if ( textheight < height() ) { if ( textheight < height() ) {
int w = listView()->treeStepSize() / 2; int w = listView()->treeStepSize() / 2;
listView()->tqstyle().drawComplexControl( TQStyle::CC_ListView, p, listView(), listView()->style().drawComplexControl( TQStyle::CC_ListView, p, listView(),
TQRect( 0, textheight, w + 1, height() - textheight + 1 ), cg, TQRect( 0, textheight, w + 1, height() - textheight + 1 ), cg,
TQStyle::Style_Enabled, TQStyle::Style_Enabled,
TQStyle::SC_ListViewExpand, TQStyle::SC_ListViewExpand,

@ -63,15 +63,15 @@ KActionCollection* K3bFileView::actionCollection() const
void K3bFileView::setupGUI() void K3bFileView::setupGUI()
{ {
TQVBoxLayout* tqlayout = new TQVBoxLayout( this ); TQVBoxLayout* layout = new TQVBoxLayout( this );
// tqlayout->setAutoAdd( true ); // layout->setAutoAdd( true );
m_dirOp = new K3bDirOperator( KURL::fromPathOrURL(TQDir::home().absPath()), this ); m_dirOp = new K3bDirOperator( KURL::fromPathOrURL(TQDir::home().absPath()), this );
m_toolBox = new K3bToolBox( this ); m_toolBox = new K3bToolBox( this );
tqlayout->addWidget( m_toolBox ); layout->addWidget( m_toolBox );
tqlayout->addWidget( m_dirOp ); layout->addWidget( m_dirOp );
tqlayout->setStretchFactor( m_dirOp, 1 ); layout->setStretchFactor( m_dirOp, 1 );
// setup actions // setup actions
KAction* actionHome = m_dirOp->actionCollection()->action("home"); KAction* actionHome = m_dirOp->actionCollection()->action("home");

@ -82,7 +82,7 @@ K3bInteractionDialog::K3bInteractionDialog( TQWidget* parent,
// settings buttons // settings buttons
// --------------------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------------------
if( !m_configGroup.isEmpty() ) { if( !m_configGroup.isEmpty() ) {
TQHBoxLayout* tqlayout2 = new TQHBoxLayout( 0, 0, spacingHint(), "tqlayout2"); TQHBoxLayout* layout2 = new TQHBoxLayout( 0, 0, spacingHint(), "layout2");
m_buttonLoadSettings = new K3bToolButton( /*i18n("User Defaults"), */this ); m_buttonLoadSettings = new K3bToolButton( /*i18n("User Defaults"), */this );
((K3bToolButton*)m_buttonLoadSettings)->setIconSet( SmallIconSet( "revert" ) ); ((K3bToolButton*)m_buttonLoadSettings)->setIconSet( SmallIconSet( "revert" ) );
TQPopupMenu* userDefaultsPopup = new TQPopupMenu( m_buttonLoadSettings ); TQPopupMenu* userDefaultsPopup = new TQPopupMenu( m_buttonLoadSettings );
@ -91,13 +91,13 @@ K3bInteractionDialog::K3bInteractionDialog( TQWidget* parent,
userDefaultsPopup->insertItem( i18n("Load last used settings"), this, TQT_SLOT(slotLoadLastSettings()) ); userDefaultsPopup->insertItem( i18n("Load last used settings"), this, TQT_SLOT(slotLoadLastSettings()) );
((TQToolButton*)m_buttonLoadSettings)->setPopup( userDefaultsPopup ); ((TQToolButton*)m_buttonLoadSettings)->setPopup( userDefaultsPopup );
((K3bToolButton*)m_buttonLoadSettings)->setInstantMenu( true ); ((K3bToolButton*)m_buttonLoadSettings)->setInstantMenu( true );
tqlayout2->addWidget( m_buttonLoadSettings ); layout2->addWidget( m_buttonLoadSettings );
m_buttonSaveSettings = new TQToolButton( /*i18n("Save User Defaults"), */this, "m_buttonSaveSettings" ); m_buttonSaveSettings = new TQToolButton( /*i18n("Save User Defaults"), */this, "m_buttonSaveSettings" );
((TQToolButton*)m_buttonSaveSettings)->setIconSet( SmallIconSet( "filesave" ) ); ((TQToolButton*)m_buttonSaveSettings)->setIconSet( SmallIconSet( "filesave" ) );
tqlayout2->addWidget( m_buttonSaveSettings ); layout2->addWidget( m_buttonSaveSettings );
mainGrid->addLayout( tqlayout2, 2, 0 ); mainGrid->addLayout( layout2, 2, 0 );
} }
TQSpacerItem* spacer = new TQSpacerItem( 10, 10, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); TQSpacerItem* spacer = new TQSpacerItem( 10, 10, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
@ -106,7 +106,7 @@ K3bInteractionDialog::K3bInteractionDialog( TQWidget* parent,
// action buttons // action buttons
// --------------------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------------------
TQHBoxLayout* tqlayout5 = new TQHBoxLayout( 0, 0, spacingHint(), "tqlayout5"); TQHBoxLayout* layout5 = new TQHBoxLayout( 0, 0, spacingHint(), "layout5");
if( buttonMask & START_BUTTON ) { if( buttonMask & START_BUTTON ) {
KGuiItem startItem = KStdGuiItem::ok(); KGuiItem startItem = KStdGuiItem::ok();
@ -149,33 +149,33 @@ K3bInteractionDialog::K3bInteractionDialog( TQWidget* parent,
case 0: // KDE default case 0: // KDE default
default: default:
if ( m_buttonStart ) if ( m_buttonStart )
tqlayout5->addWidget( m_buttonStart ); layout5->addWidget( m_buttonStart );
if ( m_buttonSave ) if ( m_buttonSave )
tqlayout5->addWidget( m_buttonSave ); layout5->addWidget( m_buttonSave );
if ( m_buttonCancel ) if ( m_buttonCancel )
tqlayout5->addWidget( m_buttonCancel ); layout5->addWidget( m_buttonCancel );
break; break;
case 1: // something different case 1: // something different
if ( m_buttonCancel ) if ( m_buttonCancel )
tqlayout5->addWidget( m_buttonCancel ); layout5->addWidget( m_buttonCancel );
if ( m_buttonSave ) if ( m_buttonSave )
tqlayout5->addWidget( m_buttonSave ); layout5->addWidget( m_buttonSave );
if ( m_buttonStart ) if ( m_buttonStart )
tqlayout5->addWidget( m_buttonStart ); layout5->addWidget( m_buttonStart );
break; break;
case 2: // GTK-Style case 2: // GTK-Style
if ( m_buttonSave ) if ( m_buttonSave )
tqlayout5->addWidget( m_buttonSave ); layout5->addWidget( m_buttonSave );
if ( m_buttonCancel ) if ( m_buttonCancel )
tqlayout5->addWidget( m_buttonCancel ); layout5->addWidget( m_buttonCancel );
if ( m_buttonStart ) if ( m_buttonStart )
tqlayout5->addWidget( m_buttonStart ); layout5->addWidget( m_buttonStart );
break; break;
} }
mainGrid->addLayout( tqlayout5, 2, 2 ); mainGrid->addLayout( layout5, 2, 2 );
mainGrid->setRowStretch( 1, 1 ); mainGrid->setRowStretch( 1, 1 );

@ -198,28 +198,28 @@ void K3bJobProgressDialog::setupGUI()
mainLayout->addWidget( progressHeaderFrame ); mainLayout->addWidget( progressHeaderFrame );
// ------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------
TQHBoxLayout* tqlayout3 = new TQHBoxLayout( 0, 0, 6, "tqlayout3"); TQHBoxLayout* layout3 = new TQHBoxLayout( 0, 0, 6, "layout3");
m_labelSubTask = new KCutLabel( this, "m_labelSubTask" ); m_labelSubTask = new KCutLabel( this, "m_labelSubTask" );
tqlayout3->addWidget( m_labelSubTask ); layout3->addWidget( m_labelSubTask );
m_labelSubProcessedSize = new TQLabel( this, "m_labelSubProcessedSize" ); m_labelSubProcessedSize = new TQLabel( this, "m_labelSubProcessedSize" );
m_labelSubProcessedSize->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignRight ) ); m_labelSubProcessedSize->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignRight ) );
tqlayout3->addWidget( m_labelSubProcessedSize ); layout3->addWidget( m_labelSubProcessedSize );
mainLayout->addLayout( tqlayout3 ); mainLayout->addLayout( layout3 );
m_progressSubPercent = new KProgress( this, "m_progressSubPercent" ); m_progressSubPercent = new KProgress( this, "m_progressSubPercent" );
mainLayout->addWidget( m_progressSubPercent ); mainLayout->addWidget( m_progressSubPercent );
TQHBoxLayout* tqlayout4 = new TQHBoxLayout( 0, 0, 6, "tqlayout4"); TQHBoxLayout* layout4 = new TQHBoxLayout( 0, 0, 6, "layout4");
TQLabel* textLabel5 = new TQLabel( i18n("Overall progress:"), this, "textLabel5" ); TQLabel* textLabel5 = new TQLabel( i18n("Overall progress:"), this, "textLabel5" );
tqlayout4->addWidget( textLabel5 ); layout4->addWidget( textLabel5 );
m_labelProcessedSize = new TQLabel( this, "m_labelProcessedSize" ); m_labelProcessedSize = new TQLabel( this, "m_labelProcessedSize" );
m_labelProcessedSize->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignRight ) ); m_labelProcessedSize->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignRight ) );
tqlayout4->addWidget( m_labelProcessedSize ); layout4->addWidget( m_labelProcessedSize );
mainLayout->addLayout( tqlayout4 ); mainLayout->addLayout( layout4 );
m_progressPercent = new KProgress( this, "m_progressPercent" ); m_progressPercent = new KProgress( this, "m_progressPercent" );
mainLayout->addWidget( m_progressPercent ); mainLayout->addWidget( m_progressPercent );
@ -237,18 +237,18 @@ void K3bJobProgressDialog::setupGUI()
line2->setFrameShadow( TQFrame::Sunken ); line2->setFrameShadow( TQFrame::Sunken );
mainLayout->addWidget( line2 ); mainLayout->addWidget( line2 );
TQHBoxLayout* tqlayout5 = new TQHBoxLayout( 0, 0, 6, "tqlayout5"); TQHBoxLayout* layout5 = new TQHBoxLayout( 0, 0, 6, "layout5");
TQSpacerItem* spacer = new TQSpacerItem( 10, 10, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); TQSpacerItem* spacer = new TQSpacerItem( 10, 10, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
tqlayout5->addItem( spacer ); layout5->addItem( spacer );
m_buttonCancel = new KPushButton( KStdGuiItem::cancel(), this, "m_buttonCancel" ); m_buttonCancel = new KPushButton( KStdGuiItem::cancel(), this, "m_buttonCancel" );
tqlayout5->addWidget( m_buttonCancel ); layout5->addWidget( m_buttonCancel );
m_buttonClose = new KPushButton( KStdGuiItem::close(), this ); m_buttonClose = new KPushButton( KStdGuiItem::close(), this );
tqlayout5->addWidget( m_buttonClose ); layout5->addWidget( m_buttonClose );
m_buttonShowDebug = new TQPushButton( i18n("Show Debugging Output"), this ); m_buttonShowDebug = new TQPushButton( i18n("Show Debugging Output"), this );
tqlayout5->addWidget( m_buttonShowDebug ); layout5->addWidget( m_buttonShowDebug );
mainLayout->addLayout( tqlayout5 ); mainLayout->addLayout( layout5 );
m_pixLabel->setThemePixmap( K3bTheme::PROGRESS_WORKING ); m_pixLabel->setThemePixmap( K3bTheme::PROGRESS_WORKING );
@ -581,7 +581,7 @@ void K3bJobProgressDialog::keyPressEvent( TQKeyEvent *e )
TQSize K3bJobProgressDialog::sizeHint() const TQSize K3bJobProgressDialog::sizeHint() const
{ {
TQSize s = tqlayout()->totalSizeHint(); TQSize s = layout()->totalSizeHint();
if( s.width() < s.height() ) if( s.width() < s.height() )
s.setWidth( s.height() ); s.setWidth( s.height() );
return s; return s;

@ -411,7 +411,7 @@ TQString K3bMedium::beautifiedVolumeId() const
return oldId; return oldId;
// replace underscore with space // replace underscore with space
else if( c.tqunicode() == 95 ) { else if( c.unicode() == 95 ) {
newId.append( ' ' ); newId.append( ' ' );
newWord = true; newWord = true;
} }

@ -130,7 +130,7 @@ K3bPassivePopup::K3bPassivePopup( TQWidget* parent )
connect( d->timeoutWidget, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotClose()) ); connect( d->timeoutWidget, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotClose()) );
d->closeButton = new K3bMiniButton( d->titleLabel ); d->closeButton = new K3bMiniButton( d->titleLabel );
d->closeButton->setPixmap( tqstyle().stylePixmap( TQStyle::SP_TitleBarCloseButton, this ) ); d->closeButton->setPixmap( style().stylePixmap( TQStyle::SP_TitleBarCloseButton, this ) );
d->closeButton->setFixedSize( d->closeButton->pixmap()->width(), d->closeButton->pixmap()->height() ); d->closeButton->setFixedSize( d->closeButton->pixmap()->width(), d->closeButton->pixmap()->height() );
TQToolTip::add( d->closeButton, i18n("Close") ); TQToolTip::add( d->closeButton, i18n("Close") );
connect( d->closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClose()) ); connect( d->closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClose()) );

@ -43,7 +43,7 @@ K3bSidePanel::K3bSidePanel( K3bMainWindow* m, TQWidget* parent, const char* name
addButton( cdProjectsFrame, m_mainWindow->action( "file_new_mixed" ) ); addButton( cdProjectsFrame, m_mainWindow->action( "file_new_mixed" ) );
addButton( cdProjectsFrame, m_mainWindow->action( "file_new_vcd" ) ); addButton( cdProjectsFrame, m_mainWindow->action( "file_new_vcd" ) );
addButton( cdProjectsFrame, m_mainWindow->action( "file_new_movix" ) ); addButton( cdProjectsFrame, m_mainWindow->action( "file_new_movix" ) );
TQGridLayout* grid = (TQGridLayout*)cdProjectsFrame->tqlayout(); TQGridLayout* grid = (TQGridLayout*)cdProjectsFrame->layout();
grid->setRowSpacing( grid->numRows(), 15 ); grid->setRowSpacing( grid->numRows(), 15 );
addButton( cdProjectsFrame, m_mainWindow->action( "tools_copy_cd" ) ); addButton( cdProjectsFrame, m_mainWindow->action( "tools_copy_cd" ) );
addButton( cdProjectsFrame, m_mainWindow->action( "tools_write_cd_image" ) ); addButton( cdProjectsFrame, m_mainWindow->action( "tools_write_cd_image" ) );
@ -56,7 +56,7 @@ K3bSidePanel::K3bSidePanel( K3bMainWindow* m, TQWidget* parent, const char* name
addButton( dvdProjectsFrame, m_mainWindow->action( "file_new_dvd" ) ); addButton( dvdProjectsFrame, m_mainWindow->action( "file_new_dvd" ) );
addButton( dvdProjectsFrame, m_mainWindow->action( "file_new_video_dvd" ) ); addButton( dvdProjectsFrame, m_mainWindow->action( "file_new_video_dvd" ) );
addButton( dvdProjectsFrame, m_mainWindow->action( "file_new_movix_dvd" ) ); addButton( dvdProjectsFrame, m_mainWindow->action( "file_new_movix_dvd" ) );
grid = (TQGridLayout*)dvdProjectsFrame->tqlayout(); grid = (TQGridLayout*)dvdProjectsFrame->layout();
grid->setRowSpacing( grid->numRows(), 15 ); grid->setRowSpacing( grid->numRows(), 15 );
addButton( dvdProjectsFrame, m_mainWindow->action( "tools_copy_dvd" ) ); addButton( dvdProjectsFrame, m_mainWindow->action( "tools_copy_dvd" ) );
addButton( dvdProjectsFrame, m_mainWindow->action( "tools_write_dvd_iso" ) ); addButton( dvdProjectsFrame, m_mainWindow->action( "tools_write_dvd_iso" ) );
@ -98,7 +98,7 @@ void K3bSidePanel::addButton( TQFrame* frame, KAction* a )
connect( b, TQT_SIGNAL(clicked()), a, TQT_SLOT(activate()) ); connect( b, TQT_SIGNAL(clicked()), a, TQT_SLOT(activate()) );
TQGridLayout* grid = (TQGridLayout*)(frame->tqlayout()); TQGridLayout* grid = (TQGridLayout*)(frame->layout());
grid->addWidget( b, grid->numRows(), 0 ); grid->addWidget( b, grid->numRows(), 0 );
} }
else else

@ -108,7 +108,7 @@ K3bSystemProblemDialog::K3bSystemProblemDialog( const TQValueList<K3bSystemProbl
view->setTextFormat(RichText); view->setTextFormat(RichText);
// tqlayout everything // layout everything
TQGridLayout* grid = new TQGridLayout( this ); TQGridLayout* grid = new TQGridLayout( this );
grid->setMargin( marginHint() ); grid->setMargin( marginHint() );
grid->setSpacing( spacingHint() ); grid->setSpacing( spacingHint() );

@ -44,8 +44,8 @@ K3bTempDirSelectionWidget::K3bTempDirSelectionWidget( TQWidget *parent, const ch
m_labelCdSize(0), m_labelCdSize(0),
m_defaultImageFileName( "k3b_image.iso" ) m_defaultImageFileName( "k3b_image.iso" )
{ {
tqlayout()->setSpacing( KDialog::spacingHint() ); layout()->setSpacing( KDialog::spacingHint() );
tqlayout()->setMargin( KDialog::marginHint() ); layout()->setMargin( KDialog::marginHint() );
m_imageFileLabel = new TQLabel( this ); m_imageFileLabel = new TQLabel( this );
m_editDirectory = new KURLRequester( this, "m_editDirectory" ); m_editDirectory = new KURLRequester( this, "m_editDirectory" );

@ -84,9 +84,9 @@ void K3bThemedHeader::init()
setLineWidth( 1 ); setLineWidth( 1 );
setMargin( 1 ); setMargin( 1 );
TQHBoxLayout* tqlayout = new TQHBoxLayout( this ); TQHBoxLayout* layout = new TQHBoxLayout( this );
tqlayout->setMargin( 2 ); // to make sure the frame gets displayed layout->setMargin( 2 ); // to make sure the frame gets displayed
tqlayout->setSpacing( 0 ); layout->setSpacing( 0 );
m_leftLabel = new TQLabel( this ); m_leftLabel = new TQLabel( this );
m_leftLabel->setScaledContents( false ); m_leftLabel->setScaledContents( false );
@ -94,10 +94,10 @@ void K3bThemedHeader::init()
m_rightLabel = new TQLabel( this ); m_rightLabel = new TQLabel( this );
m_rightLabel->setScaledContents( false ); m_rightLabel->setScaledContents( false );
tqlayout->addWidget( m_leftLabel ); layout->addWidget( m_leftLabel );
tqlayout->addWidget( m_titleLabel ); layout->addWidget( m_titleLabel );
tqlayout->setStretchFactor( m_titleLabel, 1 ); layout->setStretchFactor( m_titleLabel, 1 );
tqlayout->addWidget( m_rightLabel ); layout->addWidget( m_rightLabel );
m_leftPix = K3bTheme::DIALOG_LEFT; m_leftPix = K3bTheme::DIALOG_LEFT;
m_rightPix = K3bTheme::DIALOG_RIGHT; m_rightPix = K3bTheme::DIALOG_RIGHT;

@ -121,10 +121,10 @@ K3bWriterSelectionWidget::K3bWriterSelectionWidget( TQWidget *parent, const char
TQGroupBox* groupWriter = new TQGroupBox( this ); TQGroupBox* groupWriter = new TQGroupBox( this );
groupWriter->setTitle( i18n( "Burn Medium" ) ); groupWriter->setTitle( i18n( "Burn Medium" ) );
groupWriter->setColumnLayout(0, Qt::Vertical ); groupWriter->setColumnLayout(0, Qt::Vertical );
groupWriter->tqlayout()->setSpacing( 0 ); groupWriter->layout()->setSpacing( 0 );
groupWriter->tqlayout()->setMargin( 0 ); groupWriter->layout()->setMargin( 0 );
TQGridLayout* groupWriterLayout = new TQGridLayout( groupWriter->tqlayout() ); TQGridLayout* groupWriterLayout = new TQGridLayout( groupWriter->layout() );
groupWriterLayout->setAlignment( TQt::AlignTop ); groupWriterLayout->setAlignment( TQt::AlignTop );
groupWriterLayout->setSpacing( KDialog::spacingHint() ); groupWriterLayout->setSpacing( KDialog::spacingHint() );
groupWriterLayout->setMargin( KDialog::marginHint() ); groupWriterLayout->setMargin( KDialog::marginHint() );

@ -109,8 +109,8 @@ void K3bBlankingDialog::setupGui()
// --- setup the blanking type button group ----------------------------- // --- setup the blanking type button group -----------------------------
TQGroupBox* groupBlankType = new TQGroupBox( 1, Qt::Vertical, i18n("&Erase Type"), frame ); TQGroupBox* groupBlankType = new TQGroupBox( 1, Qt::Vertical, i18n("&Erase Type"), frame );
groupBlankType->tqlayout()->setSpacing( spacingHint() ); groupBlankType->layout()->setSpacing( spacingHint() );
groupBlankType->tqlayout()->setMargin( marginHint() ); groupBlankType->layout()->setMargin( marginHint() );
m_comboEraseMode = new TQComboBox( groupBlankType ); m_comboEraseMode = new TQComboBox( groupBlankType );
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------

@ -588,14 +588,14 @@ void K3bCdImageWritingDialog::createIso9660InfoItems( K3bIso9660* isoF )
K3bListViewItem* isoRootItem = new K3bListViewItem( m_infoView, m_infoView->lastItem(), K3bListViewItem* isoRootItem = new K3bListViewItem( m_infoView, m_infoView->lastItem(),
i18n("Detected:"), i18n("Detected:"),
i18n("Iso9660 image") ); i18n("Iso9660 image") );
isoRootItem->setForegroundColor( 0, tqpalette().disabled().foreground() ); isoRootItem->setForegroundColor( 0, palette().disabled().foreground() );
isoRootItem->setPixmap( 0, SmallIcon( "cdimage") ); isoRootItem->setPixmap( 0, SmallIcon( "cdimage") );
KIO::filesize_t size = K3b::filesize( KURL::fromPathOrURL(isoF->fileName()) ); KIO::filesize_t size = K3b::filesize( KURL::fromPathOrURL(isoF->fileName()) );
K3bListViewItem* item = new K3bListViewItem( isoRootItem, m_infoView->lastItem(), K3bListViewItem* item = new K3bListViewItem( isoRootItem, m_infoView->lastItem(),
i18n("Filesize:"), i18n("Filesize:"),
KIO::convertSize( size ) ); KIO::convertSize( size ) );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
@ -603,7 +603,7 @@ void K3bCdImageWritingDialog::createIso9660InfoItems( K3bIso9660* isoF )
isoF->primaryDescriptor().systemId.isEmpty() isoF->primaryDescriptor().systemId.isEmpty()
? TQString("-") ? TQString("-")
: isoF->primaryDescriptor().systemId ); : isoF->primaryDescriptor().systemId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
@ -611,7 +611,7 @@ void K3bCdImageWritingDialog::createIso9660InfoItems( K3bIso9660* isoF )
isoF->primaryDescriptor().volumeId.isEmpty() isoF->primaryDescriptor().volumeId.isEmpty()
? TQString("-") ? TQString("-")
: isoF->primaryDescriptor().volumeId ); : isoF->primaryDescriptor().volumeId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
@ -619,7 +619,7 @@ void K3bCdImageWritingDialog::createIso9660InfoItems( K3bIso9660* isoF )
isoF->primaryDescriptor().volumeSetId.isEmpty() isoF->primaryDescriptor().volumeSetId.isEmpty()
? TQString("-") ? TQString("-")
: isoF->primaryDescriptor().volumeSetId ); : isoF->primaryDescriptor().volumeSetId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
@ -627,14 +627,14 @@ void K3bCdImageWritingDialog::createIso9660InfoItems( K3bIso9660* isoF )
isoF->primaryDescriptor().publisherId.isEmpty() isoF->primaryDescriptor().publisherId.isEmpty()
? TQString("-") ? TQString("-")
: isoF->primaryDescriptor().publisherId ); : isoF->primaryDescriptor().publisherId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
i18n("Preparer Id:"), i18n("Preparer Id:"),
isoF->primaryDescriptor().preparerId.isEmpty() isoF->primaryDescriptor().preparerId.isEmpty()
? TQString("-") : isoF->primaryDescriptor().preparerId ); ? TQString("-") : isoF->primaryDescriptor().preparerId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
@ -642,7 +642,7 @@ void K3bCdImageWritingDialog::createIso9660InfoItems( K3bIso9660* isoF )
isoF->primaryDescriptor().applicationId.isEmpty() isoF->primaryDescriptor().applicationId.isEmpty()
? TQString("-") ? TQString("-")
: isoF->primaryDescriptor().applicationId ); : isoF->primaryDescriptor().applicationId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
isoRootItem->setOpen( true ); isoRootItem->setOpen( true );
} }
@ -653,24 +653,24 @@ void K3bCdImageWritingDialog::createCdrecordCloneItems( const TQString& tocFile,
K3bListViewItem* isoRootItem = new K3bListViewItem( m_infoView, m_infoView->lastItem(), K3bListViewItem* isoRootItem = new K3bListViewItem( m_infoView, m_infoView->lastItem(),
i18n("Detected:"), i18n("Detected:"),
i18n("Cdrecord clone image") ); i18n("Cdrecord clone image") );
isoRootItem->setForegroundColor( 0, tqpalette().disabled().foreground() ); isoRootItem->setForegroundColor( 0, palette().disabled().foreground() );
isoRootItem->setPixmap( 0, SmallIcon( "cdimage") ); isoRootItem->setPixmap( 0, SmallIcon( "cdimage") );
K3bListViewItem* item = new K3bListViewItem( isoRootItem, m_infoView->lastItem(), K3bListViewItem* item = new K3bListViewItem( isoRootItem, m_infoView->lastItem(),
i18n("Filesize:"), KIO::convertSize( K3b::filesize(KURL::fromPathOrURL(imageFile)) ) ); i18n("Filesize:"), KIO::convertSize( K3b::filesize(KURL::fromPathOrURL(imageFile)) ) );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
i18n("Image file:"), i18n("Image file:"),
imageFile ); imageFile );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
i18n("TOC file:"), i18n("TOC file:"),
tocFile ); tocFile );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
isoRootItem->setOpen( true ); isoRootItem->setOpen( true );
} }
@ -681,24 +681,24 @@ void K3bCdImageWritingDialog::createCueBinItems( const TQString& cueFile, const
K3bListViewItem* isoRootItem = new K3bListViewItem( m_infoView, m_infoView->lastItem(), K3bListViewItem* isoRootItem = new K3bListViewItem( m_infoView, m_infoView->lastItem(),
i18n("Detected:"), i18n("Detected:"),
i18n("Cue/bin image") ); i18n("Cue/bin image") );
isoRootItem->setForegroundColor( 0, tqpalette().disabled().foreground() ); isoRootItem->setForegroundColor( 0, palette().disabled().foreground() );
isoRootItem->setPixmap( 0, SmallIcon( "cdimage") ); isoRootItem->setPixmap( 0, SmallIcon( "cdimage") );
K3bListViewItem* item = new K3bListViewItem( isoRootItem, m_infoView->lastItem(), K3bListViewItem* item = new K3bListViewItem( isoRootItem, m_infoView->lastItem(),
i18n("Filesize:"), KIO::convertSize( K3b::filesize(KURL::fromPathOrURL(imageFile)) ) ); i18n("Filesize:"), KIO::convertSize( K3b::filesize(KURL::fromPathOrURL(imageFile)) ) );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
i18n("Image file:"), i18n("Image file:"),
imageFile ); imageFile );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
i18n("Cue file:"), i18n("Cue file:"),
cueFile ); cueFile );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
isoRootItem->setOpen( true ); isoRootItem->setOpen( true );
} }
@ -709,7 +709,7 @@ void K3bCdImageWritingDialog::createAudioCueItems( const K3bCueFileParser& cp )
K3bListViewItem* rootItem = new K3bListViewItem( m_infoView, m_infoView->lastItem(), K3bListViewItem* rootItem = new K3bListViewItem( m_infoView, m_infoView->lastItem(),
i18n("Detected:"), i18n("Detected:"),
i18n("Audio Cue Image") ); i18n("Audio Cue Image") );
rootItem->setForegroundColor( 0, tqpalette().disabled().foreground() ); rootItem->setForegroundColor( 0, palette().disabled().foreground() );
rootItem->setPixmap( 0, SmallIcon( "sound") ); rootItem->setPixmap( 0, SmallIcon( "sound") );
K3bListViewItem* trackParent = new K3bListViewItem( rootItem, K3bListViewItem* trackParent = new K3bListViewItem( rootItem,
@ -839,7 +839,7 @@ void K3bCdImageWritingDialog::calculateMd5Sum( const TQString& file )
d->md5SumItem = new K3bListViewItem( m_infoView, m_infoView->firstChild() ); d->md5SumItem = new K3bListViewItem( m_infoView, m_infoView->firstChild() );
d->md5SumItem->setText( 0, i18n("Md5 Sum:") ); d->md5SumItem->setText( 0, i18n("Md5 Sum:") );
d->md5SumItem->setForegroundColor( 0, tqpalette().disabled().foreground() ); d->md5SumItem->setForegroundColor( 0, palette().disabled().foreground() );
d->md5SumItem->setProgress( 1, 0 ); d->md5SumItem->setProgress( 1, 0 );
d->md5SumItem->setPixmap( 0, SmallIcon( "exec") ); d->md5SumItem->setPixmap( 0, SmallIcon( "exec") );
@ -907,7 +907,7 @@ void K3bCdImageWritingDialog::slotContextMenu( KListView*, TQListViewItem*, cons
} }
} }
else if( r == copyItem ) { else if( r == copyItem ) {
TQApplication::tqclipboard()->setText( d->md5Job->hexDigest().lower(), TQClipboard::Clipboard ); TQApplication::clipboard()->setText( d->md5Job->hexDigest().lower(), TQClipboard::Clipboard );
} }
} }

@ -169,7 +169,7 @@ K3bDvdCopyDialog::K3bDvdCopyDialog( TQWidget* parent, const char* name, bool mod
// //
// setup tqlayout // setup layout
// ////////////////////////////////////////////////////////////////////////// // //////////////////////////////////////////////////////////////////////////
TQGridLayout* grid = new TQGridLayout( w ); TQGridLayout* grid = new TQGridLayout( w );
grid->setMargin( 0 ); grid->setMargin( 0 );

@ -59,15 +59,15 @@ K3bDvdFormattingDialog::K3bDvdFormattingDialog( TQWidget* parent, const char* na
m_writerSelectionWidget->setForceAutoSpeed(true); m_writerSelectionWidget->setForceAutoSpeed(true);
TQGroupBox* groupWritingMode = new TQGroupBox( 1, Qt::Vertical, i18n("Writing Mode"), frame ); TQGroupBox* groupWritingMode = new TQGroupBox( 1, Qt::Vertical, i18n("Writing Mode"), frame );
groupWritingMode->tqlayout()->setMargin( marginHint() ); groupWritingMode->layout()->setMargin( marginHint() );
groupWritingMode->tqlayout()->setSpacing( spacingHint() ); groupWritingMode->layout()->setSpacing( spacingHint() );
m_writingModeWidget = new K3bWritingModeWidget( K3b::WRITING_MODE_INCR_SEQ|K3b::WRITING_MODE_RES_OVWR, m_writingModeWidget = new K3bWritingModeWidget( K3b::WRITING_MODE_INCR_SEQ|K3b::WRITING_MODE_RES_OVWR,
groupWritingMode ); groupWritingMode );
TQGroupBox* groupOptions = new TQGroupBox( 2, Qt::Vertical, i18n("Settings"), frame ); TQGroupBox* groupOptions = new TQGroupBox( 2, Qt::Vertical, i18n("Settings"), frame );
groupOptions->tqlayout()->setMargin( marginHint() ); groupOptions->layout()->setMargin( marginHint() );
groupOptions->tqlayout()->setSpacing( spacingHint() ); groupOptions->layout()->setSpacing( spacingHint() );
m_checkForce = new TQCheckBox( i18n("Force"), groupOptions ); m_checkForce = new TQCheckBox( i18n("Force"), groupOptions );
m_checkQuickFormat = new TQCheckBox( i18n("Quick format"), groupOptions ); m_checkQuickFormat = new TQCheckBox( i18n("Quick format"), groupOptions );

@ -319,12 +319,12 @@ void K3bIsoImageWritingDialog::updateImageSize( const TQString& path )
K3bListViewItem* isoRootItem = new K3bListViewItem( m_infoView, m_infoView->lastItem(), K3bListViewItem* isoRootItem = new K3bListViewItem( m_infoView, m_infoView->lastItem(),
i18n("Iso9660 image") ); i18n("Iso9660 image") );
isoRootItem->setForegroundColor( 0, tqpalette().disabled().foreground() ); isoRootItem->setForegroundColor( 0, palette().disabled().foreground() );
isoRootItem->setPixmap( 0, SmallIcon( "cdimage") ); isoRootItem->setPixmap( 0, SmallIcon( "cdimage") );
K3bListViewItem* item = new K3bListViewItem( isoRootItem, m_infoView->lastItem(), K3bListViewItem* item = new K3bListViewItem( isoRootItem, m_infoView->lastItem(),
i18n("Filesize:"), KIO::convertSize( imageSize ) ); i18n("Filesize:"), KIO::convertSize( imageSize ) );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
@ -332,7 +332,7 @@ void K3bIsoImageWritingDialog::updateImageSize( const TQString& path )
isoF.primaryDescriptor().systemId.isEmpty() isoF.primaryDescriptor().systemId.isEmpty()
? TQString("-") ? TQString("-")
: isoF.primaryDescriptor().systemId ); : isoF.primaryDescriptor().systemId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
@ -340,7 +340,7 @@ void K3bIsoImageWritingDialog::updateImageSize( const TQString& path )
isoF.primaryDescriptor().volumeId.isEmpty() isoF.primaryDescriptor().volumeId.isEmpty()
? TQString("-") ? TQString("-")
: isoF.primaryDescriptor().volumeId ); : isoF.primaryDescriptor().volumeId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
@ -348,7 +348,7 @@ void K3bIsoImageWritingDialog::updateImageSize( const TQString& path )
isoF.primaryDescriptor().volumeSetId.isEmpty() isoF.primaryDescriptor().volumeSetId.isEmpty()
? TQString("-") ? TQString("-")
: isoF.primaryDescriptor().volumeSetId ); : isoF.primaryDescriptor().volumeSetId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
@ -356,14 +356,14 @@ void K3bIsoImageWritingDialog::updateImageSize( const TQString& path )
isoF.primaryDescriptor().publisherId.isEmpty() isoF.primaryDescriptor().publisherId.isEmpty()
? TQString("-") ? TQString("-")
: isoF.primaryDescriptor().publisherId ); : isoF.primaryDescriptor().publisherId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
i18n("Preparer Id:"), i18n("Preparer Id:"),
isoF.primaryDescriptor().preparerId.isEmpty() isoF.primaryDescriptor().preparerId.isEmpty()
? TQString("-") : isoF.primaryDescriptor().preparerId ); ? TQString("-") : isoF.primaryDescriptor().preparerId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
item = new K3bListViewItem( isoRootItem, item = new K3bListViewItem( isoRootItem,
m_infoView->lastItem(), m_infoView->lastItem(),
@ -371,7 +371,7 @@ void K3bIsoImageWritingDialog::updateImageSize( const TQString& path )
isoF.primaryDescriptor().applicationId.isEmpty() isoF.primaryDescriptor().applicationId.isEmpty()
? TQString("-") ? TQString("-")
: isoF.primaryDescriptor().applicationId ); : isoF.primaryDescriptor().applicationId );
item->setForegroundColor( 0, tqpalette().disabled().foreground() ); item->setForegroundColor( 0, palette().disabled().foreground() );
isoRootItem->setOpen( true ); isoRootItem->setOpen( true );
@ -441,7 +441,7 @@ void K3bIsoImageWritingDialog::calculateMd5Sum( const TQString& file )
d->md5SumItem = new K3bListViewItem( m_infoView, m_infoView->firstChild() ); d->md5SumItem = new K3bListViewItem( m_infoView, m_infoView->firstChild() );
d->md5SumItem->setText( 0, i18n("Md5 Sum:") ); d->md5SumItem->setText( 0, i18n("Md5 Sum:") );
d->md5SumItem->setForegroundColor( 0, tqpalette().disabled().foreground() ); d->md5SumItem->setForegroundColor( 0, palette().disabled().foreground() );
d->md5SumItem->setProgress( 1, 0 ); d->md5SumItem->setProgress( 1, 0 );
d->md5SumItem->setPixmap( 0, SmallIcon( "exec") ); d->md5SumItem->setPixmap( 0, SmallIcon( "exec") );
@ -509,7 +509,7 @@ void K3bIsoImageWritingDialog::slotContextMenu( KListView*, TQListViewItem*, con
} }
} }
else if( r == copyItem ) { else if( r == copyItem ) {
TQApplication::tqclipboard()->setText( m_md5Job->hexDigest().lower(), TQClipboard::Clipboard ); TQApplication::clipboard()->setText( m_md5Job->hexDigest().lower(), TQClipboard::Clipboard );
} }
} }

@ -35,7 +35,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -92,7 +92,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -202,7 +202,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -98,7 +98,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -153,7 +153,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -60,8 +60,8 @@ void K3bBurningOptionTab::setupGui()
TQGroupBox* groupWritingApp = new TQGroupBox( 0, Qt::Vertical, i18n("Burning"), this ); TQGroupBox* groupWritingApp = new TQGroupBox( 0, Qt::Vertical, i18n("Burning"), this );
groupWritingApp->tqlayout()->setMargin( 0 ); groupWritingApp->layout()->setMargin( 0 );
TQGridLayout* bufferLayout = new TQGridLayout( groupWritingApp->tqlayout() ); TQGridLayout* bufferLayout = new TQGridLayout( groupWritingApp->layout() );
bufferLayout->setMargin( KDialog::marginHint() ); bufferLayout->setMargin( KDialog::marginHint() );
bufferLayout->setSpacing( KDialog::spacingHint() ); bufferLayout->setSpacing( KDialog::spacingHint() );

@ -50,20 +50,20 @@ K3bCddbOptionTab::K3bCddbOptionTab( TQWidget* parent, const char* name )
base_K3bCddbOptionTabLayout->setMargin( 0 ); base_K3bCddbOptionTabLayout->setMargin( 0 );
base_K3bCddbOptionTabLayout->setSpacing( KDialog::spacingHint() ); base_K3bCddbOptionTabLayout->setSpacing( KDialog::spacingHint() );
m_mainTabbed->page(0)->tqlayout()->setMargin( KDialog::marginHint() ); m_mainTabbed->page(0)->layout()->setMargin( KDialog::marginHint() );
m_mainTabbed->page(0)->tqlayout()->setSpacing( KDialog::spacingHint() ); m_mainTabbed->page(0)->layout()->setSpacing( KDialog::spacingHint() );
m_mainTabbed->page(1)->tqlayout()->setMargin( KDialog::marginHint() ); m_mainTabbed->page(1)->layout()->setMargin( KDialog::marginHint() );
m_mainTabbed->page(1)->tqlayout()->setSpacing( KDialog::spacingHint() ); m_mainTabbed->page(1)->layout()->setSpacing( KDialog::spacingHint() );
// m_groupLocalDir->tqlayout()->setMargin( 0 ); // m_groupLocalDir->layout()->setMargin( 0 );
// m_groupLocalDirLayout->setMargin( KDialog::marginHint() ); // m_groupLocalDirLayout->setMargin( KDialog::marginHint() );
// m_groupLocalDirLayout->setSpacing( KDialog::spacingHint() ); // m_groupLocalDirLayout->setSpacing( KDialog::spacingHint() );
// m_groupCddbServer->tqlayout()->setMargin( 0 ); // m_groupCddbServer->layout()->setMargin( 0 );
// m_groupCddbServerLayout->setMargin( KDialog::marginHint() ); // m_groupCddbServerLayout->setMargin( KDialog::marginHint() );
// m_groupCddbServerLayout->setSpacing( KDialog::spacingHint() ); // m_groupCddbServerLayout->setSpacing( KDialog::spacingHint() );
m_groupCgi->tqlayout()->setMargin( 0 ); m_groupCgi->layout()->setMargin( 0 );
m_groupCgiLayout->setMargin( KDialog::marginHint() ); m_groupCgiLayout->setMargin( KDialog::marginHint() );
m_groupCgiLayout->setSpacing( KDialog::spacingHint() ); m_groupCgiLayout->setSpacing( KDialog::spacingHint() );

@ -170,8 +170,8 @@ K3bDeviceWidget::K3bDeviceWidget( K3bDevice::DeviceManager* manager, TQWidget *p
// Devices Box // Devices Box
// ------------------------------------------------ // ------------------------------------------------
TQGroupBox* groupDevices = new TQGroupBox( 1, Qt::Vertical, i18n( "CD/DVD Drives" ), this ); TQGroupBox* groupDevices = new TQGroupBox( 1, Qt::Vertical, i18n( "CD/DVD Drives" ), this );
groupDevices->tqlayout()->setSpacing( KDialog::spacingHint() ); groupDevices->layout()->setSpacing( KDialog::spacingHint() );
groupDevices->tqlayout()->setMargin( KDialog::marginHint() ); groupDevices->layout()->setMargin( KDialog::marginHint() );
m_viewDevices = new K3bListView( groupDevices, "m_viewDevicesReader" ); m_viewDevices = new K3bListView( groupDevices, "m_viewDevicesReader" );
m_viewDevices->addColumn( "V" ); m_viewDevices->addColumn( "V" );
@ -257,27 +257,27 @@ void K3bDeviceWidget::updateDeviceListViews()
systemDeviceItem->setText( 1, TQString("%1 (%2)").arg(dev->device->devicename()).arg(dev->device->busTargetLun()) ); systemDeviceItem->setText( 1, TQString("%1 (%2)").arg(dev->device->devicename()).arg(dev->device->busTargetLun()) );
else else
systemDeviceItem->setText( 1, dev->device->devicename() ); systemDeviceItem->setText( 1, dev->device->devicename() );
systemDeviceItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); systemDeviceItem->setForegroundColor( 1, palette().disabled().foreground() );
K3bListViewItem* interfaceItem = new K3bListViewItem( devRoot, systemDeviceItem, K3bListViewItem* interfaceItem = new K3bListViewItem( devRoot, systemDeviceItem,
i18n("Interface type:"), i18n("Interface type:"),
( dev->device->interfaceType() == K3bDevice::SCSI ? ( dev->device->interfaceType() == K3bDevice::SCSI ?
i18n("Generic SCSI") : i18n("Generic SCSI") :
i18n("ATAPI") ) ); i18n("ATAPI") ) );
interfaceItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); interfaceItem->setForegroundColor( 1, palette().disabled().foreground() );
K3bListViewItem* vendorItem = new K3bListViewItem( devRoot, interfaceItem, K3bListViewItem* vendorItem = new K3bListViewItem( devRoot, interfaceItem,
i18n("Vendor:"), i18n("Vendor:"),
dev->device->vendor() ); dev->device->vendor() );
vendorItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); vendorItem->setForegroundColor( 1, palette().disabled().foreground() );
K3bListViewItem* modelItem = new K3bListViewItem( devRoot, vendorItem, K3bListViewItem* modelItem = new K3bListViewItem( devRoot, vendorItem,
i18n("Description:"), i18n("Description:"),
dev->device->description() ); dev->device->description() );
modelItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); modelItem->setForegroundColor( 1, palette().disabled().foreground() );
K3bListViewItem* versionItem = new K3bListViewItem( devRoot, modelItem, K3bListViewItem* versionItem = new K3bListViewItem( devRoot, modelItem,
i18n("Firmware:"), i18n("Firmware:"),
dev->device->version() ); dev->device->version() );
versionItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); versionItem->setForegroundColor( 1, palette().disabled().foreground() );
// drive type // drive type
@ -285,33 +285,33 @@ void K3bDeviceWidget::updateDeviceListViews()
K3bListViewItem* typeItem = new K3bListViewItem( devRoot, versionItem, K3bListViewItem* typeItem = new K3bListViewItem( devRoot, versionItem,
i18n("Writes CD-R:"), i18n("Writes CD-R:"),
dev->device->writesCd() ? i18n("yes") : i18n("no") ); dev->device->writesCd() ? i18n("yes") : i18n("no") );
typeItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); typeItem->setForegroundColor( 1, palette().disabled().foreground() );
typeItem = new K3bListViewItem( devRoot, typeItem, typeItem = new K3bListViewItem( devRoot, typeItem,
i18n("Writes CD-RW:"), i18n("Writes CD-RW:"),
dev->device->writesCdrw() ? i18n("yes") : i18n("no") ); dev->device->writesCdrw() ? i18n("yes") : i18n("no") );
typeItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); typeItem->setForegroundColor( 1, palette().disabled().foreground() );
typeItem = new K3bListViewItem( devRoot, typeItem, typeItem = new K3bListViewItem( devRoot, typeItem,
i18n("Reads DVD:"), i18n("Reads DVD:"),
dev->device->readsDvd() ? i18n("yes") : i18n("no") ); dev->device->readsDvd() ? i18n("yes") : i18n("no") );
typeItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); typeItem->setForegroundColor( 1, palette().disabled().foreground() );
typeItem = new K3bListViewItem( devRoot, typeItem, typeItem = new K3bListViewItem( devRoot, typeItem,
i18n("Writes DVD-R(W):"), i18n("Writes DVD-R(W):"),
dev->device->writesDvdMinus() ? i18n("yes") : i18n("no") ); dev->device->writesDvdMinus() ? i18n("yes") : i18n("no") );
typeItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); typeItem->setForegroundColor( 1, palette().disabled().foreground() );
typeItem = new K3bListViewItem( devRoot, typeItem, typeItem = new K3bListViewItem( devRoot, typeItem,
i18n("Writes DVD-R Dual Layer:"), i18n("Writes DVD-R Dual Layer:"),
(dev->device->type() & K3bDevice::DEVICE_DVD_R_DL) (dev->device->type() & K3bDevice::DEVICE_DVD_R_DL)
? i18n("yes") : i18n("no") ); ? i18n("yes") : i18n("no") );
typeItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); typeItem->setForegroundColor( 1, palette().disabled().foreground() );
typeItem = new K3bListViewItem( devRoot, typeItem, typeItem = new K3bListViewItem( devRoot, typeItem,
i18n("Writes DVD+R(W):"), i18n("Writes DVD+R(W):"),
dev->device->writesDvdPlus() ? i18n("yes") : i18n("no") ); dev->device->writesDvdPlus() ? i18n("yes") : i18n("no") );
typeItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); typeItem->setForegroundColor( 1, palette().disabled().foreground() );
typeItem = new K3bListViewItem( devRoot, typeItem, typeItem = new K3bListViewItem( devRoot, typeItem,
i18n("Writes DVD+R Double Layer:"), i18n("Writes DVD+R Double Layer:"),
(dev->device->type() & K3bDevice::DEVICE_DVD_PLUS_R_DL) (dev->device->type() & K3bDevice::DEVICE_DVD_PLUS_R_DL)
? i18n("yes") : i18n("no") ); ? i18n("yes") : i18n("no") );
typeItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); typeItem->setForegroundColor( 1, palette().disabled().foreground() );
// -------------------------------- // --------------------------------
@ -320,7 +320,7 @@ void K3bDeviceWidget::updateDeviceListViews()
typeItem = new K3bListViewItem( devRoot, typeItem, typeItem = new K3bListViewItem( devRoot, typeItem,
i18n("Buffer Size:"), i18n("Buffer Size:"),
KIO::convertSizeFromKB(dev->device->bufferSize()) ); KIO::convertSizeFromKB(dev->device->bufferSize()) );
typeItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); typeItem->setForegroundColor( 1, palette().disabled().foreground() );
} }
PrivateDeviceViewItem1* cdrdaoDriverItem = new PrivateDeviceViewItem1( PrivateDeviceViewItem1::t_cdrdaoDriver, PrivateDeviceViewItem1* cdrdaoDriverItem = new PrivateDeviceViewItem1( PrivateDeviceViewItem1::t_cdrdaoDriver,
@ -339,14 +339,14 @@ void K3bDeviceWidget::updateDeviceListViews()
typeItem = new K3bListViewItem( devRoot, cdTextItem, typeItem = new K3bListViewItem( devRoot, cdTextItem,
i18n("Supports Burnfree:"), i18n("Supports Burnfree:"),
dev->device->burnfree() ? i18n("yes") : i18n("no") ); dev->device->burnfree() ? i18n("yes") : i18n("no") );
typeItem->setForegroundColor( 1, tqpalette().disabled().foreground() ); typeItem->setForegroundColor( 1, palette().disabled().foreground() );
// and at last the write modes // and at last the write modes
(new K3bListViewItem( devRoot, (new K3bListViewItem( devRoot,
typeItem, typeItem,
i18n("Write modes:"), i18n("Write modes:"),
K3bDevice::writingModeString(dev->device->writingModes()) ))->setForegroundColor( 1, tqpalette().disabled().foreground() ); K3bDevice::writingModeString(dev->device->writingModes()) ))->setForegroundColor( 1, palette().disabled().foreground() );
} }
devRoot->setOpen(true); devRoot->setOpen(true);

@ -129,7 +129,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -25,7 +25,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="4" column="1"> <widget class="TQLayoutWidget" row="4" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -62,7 +62,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="5" column="1"> <widget class="TQLayoutWidget" row="5" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -121,7 +121,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="3" column="1"> <widget class="TQLayoutWidget" row="3" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -184,7 +184,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="1"> <widget class="TQLayoutWidget" row="0" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -235,7 +235,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="1"> <widget class="TQLayoutWidget" row="1" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -70,7 +70,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="1"> <widget class="TQLayoutWidget" row="2" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -96,7 +96,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="1"> <widget class="TQLayoutWidget" row="1" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -135,7 +135,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout15</cstring> <cstring>layout15</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -32,7 +32,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -217,7 +217,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -14,7 +14,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -190,7 +190,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -246,7 +246,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout16</cstring> <cstring>layout16</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -281,7 +281,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout18</cstring> <cstring>layout18</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -89,7 +89,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -107,7 +107,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="1"> <widget class="TQLayoutWidget" row="2" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -231,7 +231,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="11" column="1"> <widget class="TQLayoutWidget" row="11" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -260,7 +260,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="9" column="1"> <widget class="TQLayoutWidget" row="9" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -289,7 +289,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="10" column="1"> <widget class="TQLayoutWidget" row="10" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -55,7 +55,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -239,10 +239,10 @@
<cstring>m_comboKeyboardLayout</cstring> <cstring>m_comboKeyboardLayout</cstring>
</property> </property>
<property name="toolTip" stdset="0"> <property name="toolTip" stdset="0">
<string>Select the tqlayout of the keyboard</string> <string>Select the layout of the keyboard</string>
</property> </property>
<property name="whatsThis" stdset="0"> <property name="whatsThis" stdset="0">
<string>&lt;p&gt;The keyboard tqlayout selected here will be used for the eMovix commands like controlling the media player.</string> <string>&lt;p&gt;The keyboard layout selected here will be used for the eMovix commands like controlling the media player.</string>
</property> </property>
</widget> </widget>
</grid> </grid>

@ -39,7 +39,7 @@ K3bAudioDataSourceViewItem::K3bAudioDataSourceViewItem( K3bAudioTrackViewItem* p
// setMarginVertical( 2 ); // setMarginVertical( 2 );
// gray out filename // gray out filename
setForegroundColor( 5, listView()->tqpalette().disabled().foreground() ); setForegroundColor( 5, listView()->palette().disabled().foreground() );
// smaller filename // smaller filename
f = listView()->font(); f = listView()->font();

@ -42,19 +42,19 @@ K3bAudioTrackSplitDialog::K3bAudioTrackSplitDialog( K3bAudioTrack* track, TQWidg
m_msfEditStart = new K3bMsfEdit( frame ); m_msfEditStart = new K3bMsfEdit( frame );
m_msfEditEnd = new K3bMsfEdit( frame ); m_msfEditEnd = new K3bMsfEdit( frame );
TQGridLayout* tqlayout = new TQGridLayout( frame ); TQGridLayout* layout = new TQGridLayout( frame );
tqlayout->setMargin( 0 ); layout->setMargin( 0 );
tqlayout->setSpacing( spacingHint() ); layout->setSpacing( spacingHint() );
// FIXME: After the string freeze replace the text with a better one explaning how to use this dialog // FIXME: After the string freeze replace the text with a better one explaning how to use this dialog
tqlayout->addMultiCellWidget( new TQLabel( i18n("Please select the position where the track should be split."), layout->addMultiCellWidget( new TQLabel( i18n("Please select the position where the track should be split."),
frame ), 0, 0, 0, 3 ); frame ), 0, 0, 0, 3 );
tqlayout->addMultiCellWidget( m_editorWidget, 1, 1, 0, 3 ); layout->addMultiCellWidget( m_editorWidget, 1, 1, 0, 3 );
tqlayout->addWidget( m_msfEditStart, 2, 1 ); layout->addWidget( m_msfEditStart, 2, 1 );
tqlayout->addWidget( new TQLabel( " - ", frame ), 2, 2 ); layout->addWidget( new TQLabel( " - ", frame ), 2, 2 );
tqlayout->addWidget( m_msfEditEnd, 2, 3 ); layout->addWidget( m_msfEditEnd, 2, 3 );
tqlayout->addWidget( new TQLabel( i18n("Split track at:"), frame ), 2, 0 ); layout->addWidget( new TQLabel( i18n("Split track at:"), frame ), 2, 0 );
tqlayout->setColStretch( 0, 1 ); layout->setColStretch( 0, 1 );
m_editorWidget->setAllowOverlappingRanges( false ); m_editorWidget->setAllowOverlappingRanges( false );
m_editorWidget->enableRangeSelection( true ); m_editorWidget->enableRangeSelection( true );

@ -57,7 +57,7 @@ K3bAudioTrackViewItem::K3bAudioTrackViewItem( K3bAudioTrackView* parent,
setFont( 3, f ); setFont( 3, f );
// gray out filename // gray out filename
setForegroundColor( 5, listView()->tqpalette().disabled().foreground() ); setForegroundColor( 5, listView()->palette().disabled().foreground() );
// smaller filename // smaller filename
f = listView()->font(); f = listView()->font();

@ -171,7 +171,7 @@ K3bDataImageSettingsWidget::K3bDataImageSettingsWidget( TQWidget* parent, const
: base_K3bDataImageSettings( parent, name ), : base_K3bDataImageSettings( parent, name ),
m_fileSystemOptionsShown(true) m_fileSystemOptionsShown(true)
{ {
tqlayout()->setMargin( KDialog::marginHint() ); layout()->setMargin( KDialog::marginHint() );
m_customFsDlg = new CustomFilesystemsDialog( this ); m_customFsDlg = new CustomFilesystemsDialog( this );
m_volDescDlg = new VolumeDescDialog( this ); m_volDescDlg = new VolumeDescDialog( this );

@ -215,7 +215,7 @@ K3bDataPropertiesDialog::K3bDataPropertiesDialog( K3bDataItem* dataItem, TQWidge
"in the ISO9660 filesystem. A higher weighting means that the " "in the ISO9660 filesystem. A higher weighting means that the "
"file will be located closer to the beginning of the image " "file will be located closer to the beginning of the image "
"(and the disk)." "(and the disk)."
"<p>This option is useful in order to optimize the data tqlayout " "<p>This option is useful in order to optimize the data layout "
"on a CD/DVD." "on a CD/DVD."
"<p><b>Caution:</b> This does not sort the order of the file " "<p><b>Caution:</b> This does not sort the order of the file "
"names that appear in the ISO9660 directory." "names that appear in the ISO9660 directory."

@ -65,7 +65,7 @@ void K3bDataViewItem::paintCell( TQPainter* p, const TQColorGroup& cg, int colum
TQColorGroup _cg = cg; TQColorGroup _cg = cg;
if( !dataItem()->isRemoveable() && dataItem()->doc()->root() != dataItem() ) { if( !dataItem()->isRemoveable() && dataItem()->doc()->root() != dataItem() ) {
_cg.setColor( TQColorGroup::Text, listView()->tqpalette().disabled().foreground() ); _cg.setColor( TQColorGroup::Text, listView()->palette().disabled().foreground() );
} }
if( column == 0 ) { if( column == 0 ) {

@ -346,12 +346,12 @@ K3bFillStatusDisplay::K3bFillStatusDisplay( K3bDoc* doc, TQWidget *parent, const
// TQToolTip::add( d->buttonMenu, i18n("Fill display properties") ); // TQToolTip::add( d->buttonMenu, i18n("Fill display properties") );
// connect( d->buttonMenu, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotMenuButtonClicked()) ); // connect( d->buttonMenu, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotMenuButtonClicked()) );
TQGridLayout* tqlayout = new TQGridLayout( this ); TQGridLayout* layout = new TQGridLayout( this );
tqlayout->setSpacing(5); layout->setSpacing(5);
tqlayout->setMargin(frameWidth()); layout->setMargin(frameWidth());
tqlayout->addWidget( d->displayWidget, 0, 0 ); layout->addWidget( d->displayWidget, 0, 0 );
// tqlayout->addWidget( d->buttonMenu, 0, 1 ); // layout->addWidget( d->buttonMenu, 0, 1 );
tqlayout->setColStretch( 0, 1 ); layout->setColStretch( 0, 1 );
setupPopupMenu(); setupPopupMenu();

@ -269,9 +269,9 @@ void K3bProjectBurnDialog::prepareGui()
m_writingModeWidget = new K3bWritingModeWidget( groupWritingMode ); m_writingModeWidget = new K3bWritingModeWidget( groupWritingMode );
m_optionGroup = new TQGroupBox( 0, Qt::Vertical, i18n("Settings"), w ); m_optionGroup = new TQGroupBox( 0, Qt::Vertical, i18n("Settings"), w );
m_optionGroup->tqlayout()->setMargin(0); m_optionGroup->layout()->setMargin(0);
m_optionGroup->tqlayout()->setSpacing(0); m_optionGroup->layout()->setSpacing(0);
m_optionGroupLayout = new TQVBoxLayout( m_optionGroup->tqlayout() ); m_optionGroupLayout = new TQVBoxLayout( m_optionGroup->layout() );
m_optionGroupLayout->setMargin( KDialog::marginHint() ); m_optionGroupLayout->setMargin( KDialog::marginHint() );
m_optionGroupLayout->setSpacing( KDialog::spacingHint() ); m_optionGroupLayout->setSpacing( KDialog::spacingHint() );

@ -307,10 +307,10 @@ void K3bVcdBurnDialog::setupAdvancedTab()
// -------------------------------------------- gaps & margins group ---- // -------------------------------------------- gaps & margins group ----
m_groupGaps = new TQGroupBox( 0, Qt::Vertical, i18n( "Gaps" ), w ); m_groupGaps = new TQGroupBox( 0, Qt::Vertical, i18n( "Gaps" ), w );
m_groupGaps->tqlayout() ->setSpacing( spacingHint() ); m_groupGaps->layout() ->setSpacing( spacingHint() );
m_groupGaps->tqlayout() ->setMargin( marginHint() ); m_groupGaps->layout() ->setMargin( marginHint() );
TQGridLayout* groupGapsLayout = new TQGridLayout( m_groupGaps->tqlayout() ); TQGridLayout* groupGapsLayout = new TQGridLayout( m_groupGaps->layout() );
groupGapsLayout->setAlignment( TQt::AlignTop ); groupGapsLayout->setAlignment( TQt::AlignTop );
m_checkGaps = new TQCheckBox( i18n( "Customize gaps and margins" ), m_groupGaps ); m_checkGaps = new TQCheckBox( i18n( "Customize gaps and margins" ), m_groupGaps );
@ -403,10 +403,10 @@ void K3bVcdBurnDialog::setupAdvancedTab()
// ------------------------------------------------------- misc group ---- // ------------------------------------------------------- misc group ----
m_groupMisc = new TQGroupBox( 0, Qt::Vertical, i18n( "Misc" ), w ); m_groupMisc = new TQGroupBox( 0, Qt::Vertical, i18n( "Misc" ), w );
m_groupMisc->tqlayout() ->setSpacing( spacingHint() ); m_groupMisc->layout() ->setSpacing( spacingHint() );
m_groupMisc->tqlayout() ->setMargin( marginHint() ); m_groupMisc->layout() ->setMargin( marginHint() );
TQGridLayout* groupMiscLayout = new TQGridLayout( m_groupMisc->tqlayout() ); TQGridLayout* groupMiscLayout = new TQGridLayout( m_groupMisc->layout() );
groupMiscLayout->setAlignment( TQt::AlignTop ); groupMiscLayout->setAlignment( TQt::AlignTop );
m_labelRestriction = new TQLabel( i18n( "Restriction category (0..3):" ), m_groupMisc, "m_labelRestriction" ); m_labelRestriction = new TQLabel( i18n( "Restriction category (0..3):" ), m_groupMisc, "m_labelRestriction" );

@ -375,10 +375,10 @@ void K3bVcdTrackDialog::prepareGui()
// FILE-INFO BOX // FILE-INFO BOX
/////////////////////////////////////////////////// ///////////////////////////////////////////////////
TQGroupBox* groupFileInfo = new TQGroupBox( 0, Qt::Vertical, i18n( "File Info" ), frame, "groupFileInfo" ); TQGroupBox* groupFileInfo = new TQGroupBox( 0, Qt::Vertical, i18n( "File Info" ), frame, "groupFileInfo" );
groupFileInfo->tqlayout() ->setSpacing( 0 ); groupFileInfo->layout() ->setSpacing( 0 );
groupFileInfo->tqlayout() ->setMargin( 0 ); groupFileInfo->layout() ->setMargin( 0 );
TQGridLayout* groupFileInfoLayout = new TQGridLayout( groupFileInfo->tqlayout() ); TQGridLayout* groupFileInfoLayout = new TQGridLayout( groupFileInfo->layout() );
groupFileInfoLayout->setAlignment( TQt::AlignTop ); groupFileInfoLayout->setAlignment( TQt::AlignTop );
groupFileInfoLayout->setSpacing( spacingHint() ); groupFileInfoLayout->setSpacing( spacingHint() );
groupFileInfoLayout->setMargin( marginHint() ); groupFileInfoLayout->setMargin( marginHint() );
@ -450,8 +450,8 @@ void K3bVcdTrackDialog::setupPbcTab()
////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////
TQGroupBox* groupOptions = new TQGroupBox( 3, Qt::Vertical, i18n( "Settings" ), w ); TQGroupBox* groupOptions = new TQGroupBox( 3, Qt::Vertical, i18n( "Settings" ), w );
groupOptions->tqlayout() ->setSpacing( spacingHint() ); groupOptions->layout() ->setSpacing( spacingHint() );
groupOptions->tqlayout() ->setMargin( marginHint() ); groupOptions->layout() ->setMargin( marginHint() );
m_check_pbc = new TQCheckBox( i18n( "Enable playback control (for the whole CD)" ), groupOptions, "m_check_pbc" ); m_check_pbc = new TQCheckBox( i18n( "Enable playback control (for the whole CD)" ), groupOptions, "m_check_pbc" );
@ -463,10 +463,10 @@ void K3bVcdTrackDialog::setupPbcTab()
////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////
m_groupPlay = new TQGroupBox( 0, Qt::Vertical, i18n( "Playing" ), w ); m_groupPlay = new TQGroupBox( 0, Qt::Vertical, i18n( "Playing" ), w );
m_groupPlay->tqlayout() ->setSpacing( spacingHint() ); m_groupPlay->layout() ->setSpacing( spacingHint() );
m_groupPlay->tqlayout() ->setMargin( marginHint() ); m_groupPlay->layout() ->setMargin( marginHint() );
TQGridLayout* groupPlayLayout = new TQGridLayout( m_groupPlay->tqlayout() ); TQGridLayout* groupPlayLayout = new TQGridLayout( m_groupPlay->layout() );
groupPlayLayout->setAlignment( TQt::AlignTop ); groupPlayLayout->setAlignment( TQt::AlignTop );
TQLabel* labelPlaying = new TQLabel( i18n( "Playing track" ) , m_groupPlay, "labelPlaying" ); TQLabel* labelPlaying = new TQLabel( i18n( "Playing track" ) , m_groupPlay, "labelPlaying" );
@ -499,10 +499,10 @@ void K3bVcdTrackDialog::setupPbcTab()
////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////
m_groupPbc = new TQGroupBox( 0, Qt::Vertical, i18n( "Key Pressed Interaction" ), w ); m_groupPbc = new TQGroupBox( 0, Qt::Vertical, i18n( "Key Pressed Interaction" ), w );
m_groupPbc->tqlayout() ->setSpacing( spacingHint() ); m_groupPbc->layout() ->setSpacing( spacingHint() );
m_groupPbc->tqlayout() ->setMargin( marginHint() ); m_groupPbc->layout() ->setMargin( marginHint() );
TQGridLayout* groupPbcLayout = new TQGridLayout( m_groupPbc->tqlayout() ); TQGridLayout* groupPbcLayout = new TQGridLayout( m_groupPbc->layout() );
groupPbcLayout->setAlignment( TQt::AlignTop ); groupPbcLayout->setAlignment( TQt::AlignTop );
TQLabel* labelPbc_previous = new TQLabel( i18n( "Previous:" ), m_groupPbc, "labelPbc_previous" ); TQLabel* labelPbc_previous = new TQLabel( i18n( "Previous:" ), m_groupPbc, "labelPbc_previous" );
@ -559,8 +559,8 @@ void K3bVcdTrackDialog::setupPbcKeyTab()
m_groupKey = new TQGroupBox( 3, Qt::Vertical, i18n( "Numeric Keys" ), m_widgetnumkeys ); m_groupKey = new TQGroupBox( 3, Qt::Vertical, i18n( "Numeric Keys" ), m_widgetnumkeys );
m_groupKey->setEnabled( false ); m_groupKey->setEnabled( false );
m_groupKey->tqlayout() ->setSpacing( spacingHint() ); m_groupKey->layout() ->setSpacing( spacingHint() );
m_groupKey->tqlayout() ->setMargin( marginHint() ); m_groupKey->layout() ->setMargin( marginHint() );
m_list_keys = new K3bListView( m_groupKey, "m_list_keys" ); m_list_keys = new K3bListView( m_groupKey, "m_list_keys" );
m_list_keys->setAllColumnsShowFocus( true ); m_list_keys->setAllColumnsShowFocus( true );

@ -87,7 +87,7 @@ K3bView::~K3bView()
void K3bView::setMainWidget( TQWidget* w ) void K3bView::setMainWidget( TQWidget* w )
{ {
static_cast<TQGridLayout*>(tqlayout())->addMultiCellWidget( w, 1, 1, 0, 1 ); static_cast<TQGridLayout*>(layout())->addMultiCellWidget( w, 1, 1, 0, 1 );
} }

@ -83,7 +83,7 @@ which can be used with programs like xmms or noatun.
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -148,7 +148,7 @@ file will contain all tracks one after the other.
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6_2</cstring> <cstring>layout6_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -27,7 +27,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -107,7 +107,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -32,8 +32,8 @@
K3bCddbPatternWidget::K3bCddbPatternWidget( TQWidget* parent, const char* name ) K3bCddbPatternWidget::K3bCddbPatternWidget( TQWidget* parent, const char* name )
: base_K3bCddbPatternWidget( parent, name ) : base_K3bCddbPatternWidget( parent, name )
{ {
// fix the tqlayout // fix the layout
((TQGridLayout*)tqlayout())->setRowStretch( 4, 1 ); ((TQGridLayout*)layout())->setRowStretch( 4, 1 );
// setup validators // setup validators
// there can never be one of the following characters in both dir and filename: // there can never be one of the following characters in both dir and filename:

@ -73,10 +73,10 @@ void K3bVideoCdRippingDialog::setupGui()
// ---------------------------------------------------- Directory group --- // ---------------------------------------------------- Directory group ---
TQGroupBox* groupDirectory = new TQGroupBox( 0, Qt::Vertical, i18n( "Destination Directory" ), frame ); TQGroupBox* groupDirectory = new TQGroupBox( 0, Qt::Vertical, i18n( "Destination Directory" ), frame );
groupDirectory->tqlayout() ->setSpacing( KDialog::spacingHint() ); groupDirectory->layout() ->setSpacing( KDialog::spacingHint() );
groupDirectory->tqlayout() ->setMargin( KDialog::marginHint() ); groupDirectory->layout() ->setMargin( KDialog::marginHint() );
TQGridLayout* groupDirectoryLayout = new TQGridLayout( groupDirectory->tqlayout() ); TQGridLayout* groupDirectoryLayout = new TQGridLayout( groupDirectory->layout() );
groupDirectoryLayout->setAlignment( TQt::AlignTop ); groupDirectoryLayout->setAlignment( TQt::AlignTop );
TQLabel* rippathLabel = new TQLabel( i18n( "Rip files to:" ), groupDirectory ); TQLabel* rippathLabel = new TQLabel( i18n( "Rip files to:" ), groupDirectory );

@ -67,7 +67,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -106,7 +106,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -252,7 +252,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -326,7 +326,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -397,7 +397,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -423,7 +423,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -464,7 +464,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -515,7 +515,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

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

@ -65,7 +65,7 @@ K3bVideoDVDRippingView::K3bVideoDVDRippingView( TQWidget* parent, const char * n
connect( m_titleView, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)), connect( m_titleView, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(slotContextMenu(KListView*, TQListViewItem*, const TQPoint&)) ); this, TQT_SLOT(slotContextMenu(KListView*, TQListViewItem*, const TQPoint&)) );
// general tqlayout // general layout
// ---------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------
mainGrid->addLayout( toolBoxLayout, 0, 0 ); mainGrid->addLayout( toolBoxLayout, 0, 0 );
mainGrid->addWidget( m_titleView, 1, 0 ); mainGrid->addWidget( m_titleView, 1, 0 );

Loading…
Cancel
Save