Rename old tq methods that no longer need a unique name

(cherry picked from commit c74c9068a8)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent b27dc165a9
commit a659b8d7f9

@ -79,7 +79,7 @@ MainWindow::setupActions() //singleton function
m_combo = new KHistoryCombo( this, "history_combo" );
m_combo->setCompletionObject( new KURLCompletion( KURLCompletion::DirCompletion ) );
m_combo->setAutoDeleteCompletionObject( true );
m_combo->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ) );
m_combo->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ) );
m_combo->setDuplicatesEnabled( false );
KStdAction::open( TQT_TQOBJECT(this), TQT_SLOT(slotScanDirectory()), ac, "scan_directory" );

@ -88,7 +88,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>180</width>
<height>21</height>
@ -129,7 +129,7 @@
<property name="name">
<cstring>line1</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>15</height>
@ -169,7 +169,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>16</width>
<height>50</height>
@ -183,13 +183,13 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>32767</height>
@ -372,7 +372,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@ -414,7 +414,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
@ -480,7 +480,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>120</width>
<height>30</height>

@ -15,12 +15,12 @@ ProgressBox::ProgressBox( TQWidget *parent, TQObject *part )
{
hide();
tqsetAlignment( TQt::AlignCenter );
setAlignment( TQt::AlignCenter );
setFont( KGlobalSettings::fixedFont() );
tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Fixed );
setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Fixed );
setText( 999999 );
setMinimumWidth( tqsizeHint().width() );
setMinimumWidth( sizeHint().width() );
connect( &m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(report()) );
connect( part, TQT_SIGNAL(started( KIO::Job* )), TQT_SLOT(start()) );

@ -40,7 +40,7 @@ RadialMap::Builder::Builder( RadialMap::Map *m, const Directory* const d, bool f
void
RadialMap::Builder::findVisibleDepth( const Directory* const dir, const unsigned int depth )
{
//**** because I don't use the same tqminimumSize criteria as in the visual function
//**** because I don't use the same minimumSize criteria as in the visual function
// this can lead to incorrect visual representation
//**** BUT, you can't set those limits until you know m_depth!

@ -123,8 +123,8 @@ SummaryWidget::createDiskMaps()
<< "<i>(" << disk.device << ")</i>";
TQLabel *label = new TQLabel( text, box );
label->tqsetAlignment( TQt::AlignCenter );
label->tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Maximum );
label->setAlignment( TQt::AlignCenter );
label->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Maximum );
box->show(); // will show its tqchildren too

Loading…
Cancel
Save