summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:08:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:08:31 -0600
commitc74c9068a8df1cf50ccda88a20dbfad1f9f30545 (patch)
tree0a53cbe7a22c1d80d6e08ef641e3ba72f0895d12
parent9b21afd056f51a1dba015292a5472a146de967bd (diff)
downloadfilelight-c74c9068a8df1cf50ccda88a20dbfad1f9f30545.tar.gz
filelight-c74c9068a8df1cf50ccda88a20dbfad1f9f30545.zip
Rename old tq methods that no longer need a unique name
-rw-r--r--src/app/mainWindow.cpp2
-rw-r--r--src/part/dialog.ui16
-rw-r--r--src/part/progressBox.cpp6
-rw-r--r--src/part/radialMap/builder.cpp2
-rw-r--r--src/part/summaryWidget.cpp4
5 files changed, 15 insertions, 15 deletions
diff --git a/src/app/mainWindow.cpp b/src/app/mainWindow.cpp
index 6dbc353..daa2dda 100644
--- a/src/app/mainWindow.cpp
+++ b/src/app/mainWindow.cpp
@@ -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" );
diff --git a/src/part/dialog.ui b/src/part/dialog.ui
index 4cadbf8..871338d 100644
--- a/src/part/dialog.ui
+++ b/src/part/dialog.ui
@@ -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>
diff --git a/src/part/progressBox.cpp b/src/part/progressBox.cpp
index 68c3349..6f1d5b1 100644
--- a/src/part/progressBox.cpp
+++ b/src/part/progressBox.cpp
@@ -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()) );
diff --git a/src/part/radialMap/builder.cpp b/src/part/radialMap/builder.cpp
index bae6626..74b9288 100644
--- a/src/part/radialMap/builder.cpp
+++ b/src/part/radialMap/builder.cpp
@@ -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!
diff --git a/src/part/summaryWidget.cpp b/src/part/summaryWidget.cpp
index 5f6deee..cddb3c3 100644
--- a/src/part/summaryWidget.cpp
+++ b/src/part/summaryWidget.cpp
@@ -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