diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 01:10:20 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 01:10:20 -0600 |
commit | d5b3ae721dc072e0c70055313de9b5228b6688a8 (patch) | |
tree | afdf90b8ebf017244f753d9427b433168d1686c1 /kio | |
parent | b212a1de50010bf9f8ff93123281a6956291cdf2 (diff) | |
download | tdelibs-d5b3ae721dc072e0c70055313de9b5228b6688a8.tar.gz tdelibs-d5b3ae721dc072e0c70055313de9b5228b6688a8.zip |
Rename tqsetSizePolicy to fix bindings
Diffstat (limited to 'kio')
-rw-r--r-- | kio/kfile/kacleditwidget.cpp | 2 | ||||
-rw-r--r-- | kio/kfile/kimagefilepreview.cpp | 2 | ||||
-rw-r--r-- | kio/kfile/kmetaprops.cpp | 2 | ||||
-rw-r--r-- | kio/kfile/kurlbar.cpp | 4 | ||||
-rw-r--r-- | kio/kfile/kurlcombobox.cpp | 2 | ||||
-rw-r--r-- | kio/kfile/kurlrequester.cpp | 2 | ||||
-rw-r--r-- | kio/kio/defaultprogress.cpp | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/kio/kfile/kacleditwidget.cpp b/kio/kfile/kacleditwidget.cpp index 37b06da44..99fed814f 100644 --- a/kio/kfile/kacleditwidget.cpp +++ b/kio/kfile/kacleditwidget.cpp @@ -85,7 +85,7 @@ KACLEditWidget::KACLEditWidget( TQWidget *parent, const char *name ) m_DelBtn = new TQPushButton( i18n( "Delete Entry" ), vbox, "delete_entry_button" ); connect( m_DelBtn, TQT_SIGNAL( clicked() ), m_listView, TQT_SLOT( slotRemoveEntry() ) ); TQWidget *spacer = new TQWidget( vbox ); - spacer->tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Expanding ); + spacer->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Expanding ); slotUpdateButtons(); } diff --git a/kio/kfile/kimagefilepreview.cpp b/kio/kfile/kimagefilepreview.cpp index 8ac8d1643..2d9f7881a 100644 --- a/kio/kfile/kimagefilepreview.cpp +++ b/kio/kfile/kimagefilepreview.cpp @@ -44,7 +44,7 @@ KImageFilePreview::KImageFilePreview( TQWidget *parent ) imageLabel = new TQLabel( this ); imageLabel->setFrameStyle( TQFrame::NoFrame ); imageLabel->setAlignment( Qt::AlignHCenter | Qt::AlignVCenter ); - imageLabel->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding) ); + imageLabel->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding) ); vb->addWidget( imageLabel ); TQHBoxLayout *hb = new TQHBoxLayout( 0 ); diff --git a/kio/kfile/kmetaprops.cpp b/kio/kfile/kmetaprops.cpp index 969bdd79d..d82c4523b 100644 --- a/kio/kfile/kmetaprops.cpp +++ b/kio/kfile/kmetaprops.cpp @@ -201,7 +201,7 @@ void KFileMetaPropsPlugin::createLayout() // the add key (disabled until fully implemented) /* d->m_add = new TQPushButton(i18n("&Add"), topframe); - d->m_add->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, + d->m_add->setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed)); connect(d->m_add, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAdd())); tmp->addWidget(d->m_add); diff --git a/kio/kfile/kurlbar.cpp b/kio/kfile/kurlbar.cpp index ca5359f38..234e8717a 100644 --- a/kio/kfile/kurlbar.cpp +++ b/kio/kfile/kurlbar.cpp @@ -341,7 +341,7 @@ KURLBar::KURLBar( bool useGlobalItems, TQWidget *parent, const char *name, WFlag d = new KURLBarPrivate(); setListBox( 0L ); - tqsetSizePolicy( TQSizePolicy( isVertical() ? + setSizePolicy( TQSizePolicy( isVertical() ? TQSizePolicy::Maximum : TQSizePolicy::Preferred, isVertical() ? @@ -378,7 +378,7 @@ KURLBarItem * KURLBar::insertDynamicItem(const KURL& url, const TQString& descri void KURLBar::setOrientation( Qt::Orientation orient ) { m_listBox->setOrientation( orient ); - tqsetSizePolicy( TQSizePolicy( isVertical() ? + setSizePolicy( TQSizePolicy( isVertical() ? TQSizePolicy::Maximum : TQSizePolicy::Preferred, isVertical() ? diff --git a/kio/kfile/kurlcombobox.cpp b/kio/kfile/kurlcombobox.cpp index d772cf431..c9db56756 100644 --- a/kio/kfile/kurlcombobox.cpp +++ b/kio/kfile/kurlcombobox.cpp @@ -70,7 +70,7 @@ void KURLComboBox::init( Mode mode ) defaultList.setAutoDelete( true ); setInsertionPolicy( NoInsertion ); setTrapReturnKey( true ); - tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed )); + setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed )); opendirPix = SmallIcon(TQString::tqfromLatin1("folder_open")); diff --git a/kio/kfile/kurlrequester.cpp b/kio/kfile/kurlrequester.cpp index 86286bcda..1a53e7660 100644 --- a/kio/kfile/kurlrequester.cpp +++ b/kio/kfile/kurlrequester.cpp @@ -402,7 +402,7 @@ KPushButton * KURLRequester::button() const KEditListBox::CustomEditor KURLRequester::customEditor() { - tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Preferred, + setSizePolicy(TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed)); KLineEdit *edit = d->edit; diff --git a/kio/kio/defaultprogress.cpp b/kio/kio/defaultprogress.cpp index 3fbde3097..72144000b 100644 --- a/kio/kio/defaultprogress.cpp +++ b/kio/kio/defaultprogress.cpp @@ -130,7 +130,7 @@ void DefaultProgress::init() hBox->addWidget(resumeLabel); progressLabel = new TQLabel( this ); -/* progressLabel->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::MinimumExpanding, +/* progressLabel->setSizePolicy( TQSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred ) );*/ progressLabel->setAlignment( TQLabel::AlignRight ); hBox->addWidget( progressLabel ); |