diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 01:10:20 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-02 19:04:48 +0200 |
commit | 4418657ced76d97d20c3a4aeb79fefccdbd6ad7b (patch) | |
tree | f82b582603d8b791465315403bdb518f1793008d /kutils | |
parent | ab32d1dcfb2ee4c59ee3cfdc697adfb717ea91b9 (diff) | |
download | tdelibs-4418657ced76d97d20c3a4aeb79fefccdbd6ad7b.tar.gz tdelibs-4418657ced76d97d20c3a4aeb79fefccdbd6ad7b.zip |
Rename tqsetSizePolicy to fix bindings
(cherry picked from commit d5b3ae721dc072e0c70055313de9b5228b6688a8)
Diffstat (limited to 'kutils')
-rw-r--r-- | kutils/kmultitabbar.cpp | 4 | ||||
-rw-r--r-- | kutils/kpluginselector.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kutils/kmultitabbar.cpp b/kutils/kmultitabbar.cpp index 61dccd5a0..9c47e87e8 100644 --- a/kutils/kmultitabbar.cpp +++ b/kutils/kmultitabbar.cpp @@ -838,13 +838,13 @@ KMultiTabBar::KMultiTabBar(KMultiTabBarMode bm, TQWidget *parent,const char *nam if (bm==Vertical) { m_l=new TQVBoxLayout(this); - tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding, true); + setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding, true); // setFixedWidth(24); } else { m_l=new TQHBoxLayout(this); - tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed, true); + setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed, true); // setFixedHeight(24); } m_l->setMargin(0); diff --git a/kutils/kpluginselector.cpp b/kutils/kpluginselector.cpp index 887df7c7b..585a02b6f 100644 --- a/kutils/kpluginselector.cpp +++ b/kutils/kpluginselector.cpp @@ -192,7 +192,7 @@ void KPluginSelectionWidget::init( const TQValueList<KPluginInfo*> & plugininfos TQT_SLOT( executed( TQListViewItem * ) ) ); connect( listview, TQT_SIGNAL( selectionChanged( TQListViewItem * ) ), this, TQT_SLOT( executed( TQListViewItem * ) ) ); - listview->tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred ); + listview->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred ); listview->setAcceptDrops( false ); listview->setFullWidth( true ); listview->setSelectionModeExt( KListView::Single ); |