Rename old tq methods that no longer need a unique name

pull/1/head
Timothy Pearson 14 years ago
parent 9b21afd056
commit c74c9068a8

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

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

@ -15,12 +15,12 @@ ProgressBox::ProgressBox( TQWidget *parent, TQObject *part )
{ {
hide(); hide();
tqsetAlignment( TQt::AlignCenter ); setAlignment( TQt::AlignCenter );
setFont( KGlobalSettings::fixedFont() ); setFont( KGlobalSettings::fixedFont() );
tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Fixed ); setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Fixed );
setText( 999999 ); setText( 999999 );
setMinimumWidth( tqsizeHint().width() ); setMinimumWidth( sizeHint().width() );
connect( &m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(report()) ); connect( &m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(report()) );
connect( part, TQT_SIGNAL(started( KIO::Job* )), TQT_SLOT(start()) ); 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 void
RadialMap::Builder::findVisibleDepth( const Directory* const dir, const unsigned int depth ) 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 // this can lead to incorrect visual representation
//**** BUT, you can't set those limits until you know m_depth! //**** BUT, you can't set those limits until you know m_depth!

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

Loading…
Cancel
Save