summaryrefslogtreecommitdiffstats
path: root/tdeutils/kpluginselector.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:13:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:13:01 -0600
commitdeac2ca49faed824fe83066080714eb6d653615b (patch)
tree8b5bf97c5acaaf5285985b87fa76dbea0f35e4fa /tdeutils/kpluginselector.cpp
parent0c9d97065a3d6ceb12d687555a1a33d90db96238 (diff)
downloadtdelibs-deac2ca49faed824fe83066080714eb6d653615b.tar.gz
tdelibs-deac2ca49faed824fe83066080714eb6d653615b.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'tdeutils/kpluginselector.cpp')
-rw-r--r--tdeutils/kpluginselector.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeutils/kpluginselector.cpp b/tdeutils/kpluginselector.cpp
index 8e30f75d4..a6390ec19 100644
--- a/tdeutils/kpluginselector.cpp
+++ b/tdeutils/kpluginselector.cpp
@@ -67,7 +67,7 @@
class KPluginInfoLVI : public TQCheckListItem
{
public:
- KPluginInfoLVI( KPluginInfo *pluginInfo, KListView *parent )
+ KPluginInfoLVI( KPluginInfo *pluginInfo, TDEListView *parent )
: TQCheckListItem( parent, pluginInfo->name(), TQCheckListItem::CheckBox ), m_pluginInfo( pluginInfo )
{
}
@@ -86,15 +86,15 @@ private:
class KPluginListViewToolTip : public TQToolTip
{
public:
- KPluginListViewToolTip( TQWidget *parent, KListView *lv );
+ KPluginListViewToolTip( TQWidget *parent, TDEListView *lv );
void maybeTip( const TQPoint &pos );
private:
- KListView *m_listView;
+ TDEListView *m_listView;
};
-KPluginListViewToolTip::KPluginListViewToolTip( TQWidget *parent, KListView *lv )
+KPluginListViewToolTip::KPluginListViewToolTip( TQWidget *parent, TDEListView *lv )
: TQToolTip( parent ), m_listView( lv )
{
}
@@ -182,7 +182,7 @@ void KPluginSelectionWidget::init( const TQValueList<KPluginInfo*> & plugininfos
{
// setup Widgets
( new TQVBoxLayout( this, 0, KDialog::spacingHint() ) )->setAutoAdd( true );
- KListView * listview = new KListView( this );
+ TDEListView * listview = new TDEListView( this );
d->tooltip = new KPluginListViewToolTip( listview->viewport(), listview );
connect( listview, TQT_SIGNAL( pressed( TQListViewItem * ) ), this,
TQT_SLOT( executed( TQListViewItem * ) ) );
@@ -195,7 +195,7 @@ void KPluginSelectionWidget::init( const TQValueList<KPluginInfo*> & plugininfos
listview->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred );
listview->setAcceptDrops( false );
listview->setFullWidth( true );
- listview->setSelectionModeExt( KListView::Single );
+ listview->setSelectionModeExt( TDEListView::Single );
listview->setAllColumnsShowFocus( true );
listview->addColumn( i18n( "Name" ) );
for( TQValueList<KPluginInfo*>::ConstIterator it = plugininfos.begin();