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 /kutils | |
parent | b212a1de50010bf9f8ff93123281a6956291cdf2 (diff) | |
download | tdelibs-d5b3ae721dc072e0c70055313de9b5228b6688a8.tar.gz tdelibs-d5b3ae721dc072e0c70055313de9b5228b6688a8.zip |
Rename tqsetSizePolicy to fix bindings
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 ); |