diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:13:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:13:01 -0600 |
commit | deac2ca49faed824fe83066080714eb6d653615b (patch) | |
tree | 8b5bf97c5acaaf5285985b87fa76dbea0f35e4fa /tdeutils | |
parent | 0c9d97065a3d6ceb12d687555a1a33d90db96238 (diff) | |
download | tdelibs-deac2ca49faed824fe83066080714eb6d653615b.tar.gz tdelibs-deac2ca49faed824fe83066080714eb6d653615b.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'tdeutils')
-rw-r--r-- | tdeutils/kpluginselector.cpp | 12 | ||||
-rw-r--r-- | tdeutils/ksettings/componentsdialog.cpp | 6 | ||||
-rw-r--r-- | tdeutils/tdemultitabbar.cpp | 2 |
3 files changed, 10 insertions, 10 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(); diff --git a/tdeutils/ksettings/componentsdialog.cpp b/tdeutils/ksettings/componentsdialog.cpp index 89a5e2cd7..97a0bad4f 100644 --- a/tdeutils/ksettings/componentsdialog.cpp +++ b/tdeutils/ksettings/componentsdialog.cpp @@ -35,7 +35,7 @@ namespace KSettings class ComponentsDialog::ComponentsDialogPrivate { public: - KListView * listview; + TDEListView * listview; TQFrame * infowidget; TQLabel * iconwidget; TQLabel * commentwidget; @@ -51,7 +51,7 @@ ComponentsDialog::ComponentsDialog( TQWidget * parent, const char * name ) TQWidget * page = new TQWidget( this ); setMainWidget( page ); ( new TQHBoxLayout( page, 0, KDialog::spacingHint() ) )->setAutoAdd( true ); - d->listview = new KListView( page ); + d->listview = new TDEListView( page ); d->listview->setMinimumSize( 200, 200 ); d->infowidget = new TQFrame( page ); d->infowidget->setMinimumSize( 200, 200 ); @@ -68,7 +68,7 @@ ComponentsDialog::ComponentsDialog( TQWidget * parent, const char * name ) d->listview->setRootIsDecorated( true ); d->listview->setSorting( -1 ); d->listview->setAcceptDrops( false ); - d->listview->setSelectionModeExt( KListView::Single ); + d->listview->setSelectionModeExt( TDEListView::Single ); d->listview->setAllColumnsShowFocus( true ); connect( d->listview, TQT_SIGNAL( pressed( TQListViewItem * ) ), this, diff --git a/tdeutils/tdemultitabbar.cpp b/tdeutils/tdemultitabbar.cpp index 313d23d55..da2f3b23e 100644 --- a/tdeutils/tdemultitabbar.cpp +++ b/tdeutils/tdemultitabbar.cpp @@ -870,7 +870,7 @@ KMultiTabBar::~KMultiTabBar() { /*int KMultiTabBar::insertButton(TQPixmap pic,int id ,const TQString&) { - (new KToolbarButton(pic,id,m_internal))->show(); + (new TDEToolbarButton(pic,id,m_internal))->show(); return 0; }*/ |