From 10308be19ef7fa44699562cc75946e7ea1fdf6b9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 03:45:53 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kutils/kpluginselector.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kutils/kpluginselector.cpp') diff --git a/kutils/kpluginselector.cpp b/kutils/kpluginselector.cpp index c5145e16d..1a64d05e9 100644 --- a/kutils/kpluginselector.cpp +++ b/kutils/kpluginselector.cpp @@ -101,7 +101,7 @@ KPluginListViewToolTip::KPluginListViewToolTip( TQWidget *parent, KListView *lv void KPluginListViewToolTip::maybeTip( const TQPoint &pos ) { - if ( !tqparentWidget() || !m_listView ) + if ( !parentWidget() || !m_listView ) return; KPluginInfoLVI *item = dynamic_cast( m_listView->itemAt( pos ) ); @@ -115,8 +115,8 @@ void KPluginListViewToolTip::maybeTip( const TQPoint &pos ) "License:%4" ).arg( item->pluginInfo()->comment(), item->pluginInfo()->author(), item->pluginInfo()->version(), item->pluginInfo()->license() ); - //kdDebug( 702 ) << k_funcinfo << "Adding tooltip: tqitemRect: " << tqitemRect << ", tooltip: " << toolTip << endl; - tip( m_listView->tqitemRect( item ), toolTip ); + //kdDebug( 702 ) << k_funcinfo << "Adding tooltip: itemRect: " << itemRect << ", tooltip: " << toolTip << endl; + tip( m_listView->itemRect( item ), toolTip ); } struct KPluginSelectionWidget::KPluginSelectionWidgetPrivate @@ -192,7 +192,7 @@ void KPluginSelectionWidget::init( const TQValueList & 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 ); @@ -246,7 +246,7 @@ TQWidget * KPluginSelectionWidget::insertKCM( TQWidget * parent, { //FIXME: not very verbose TQLabel * label = new TQLabel( i18n( "Error" ), parent ); - label->tqsetAlignment( Qt::AlignCenter ); + label->setAlignment( Qt::AlignCenter ); return label; } @@ -332,7 +332,7 @@ void KPluginSelectionWidget::updateConfigPage( KPluginInfo * plugininfo, d->kps->configPage( 1 ); else { - if( !d->widgetIDs.tqcontains( plugininfo->pluginName() ) ) + if( !d->widgetIDs.contains( plugininfo->pluginName() ) ) // if no widget exists for the plugin create it embeddPluginKCMs( plugininfo, checked ); else @@ -464,7 +464,7 @@ void KPluginSelectionWidget::save() names->append( TQString::null ); for( TQStringList::ConstIterator nameit = names->begin(); nameit != names->end(); ++nameit ) - if( updatedModules.tqfind( *nameit ) == updatedModules.end() ) + if( updatedModules.find( *nameit ) == updatedModules.end() ) updatedModules.append( *nameit ); } for( TQStringList::ConstIterator it = updatedModules.begin(); it != updatedModules.end(); ++it ) @@ -536,7 +536,7 @@ KPluginSelector::KPluginSelector( TQWidget * parent, const char * name ) TQLabel * label = new TQLabel( i18n( "(This plugin is not configurable)" ), d->widgetstack ); ( new TQVBoxLayout( label, 0, KDialog::spacingHint() ) )->setAutoAdd( true ); - label->tqsetAlignment( Qt::AlignCenter ); + label->setAlignment( Qt::AlignCenter ); label->setMinimumSize( 200, 200 ); d->widgetstack->addWidget( label, 1 ); -- cgit v1.2.1