From 08e6e3d01bc56d3b55c1512164f48d3db762bd53 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 14:59:16 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- src/option/base_k3bcddboptiontab.ui | 4 ++-- src/option/base_k3bthemeoptiontab.ui | 2 +- src/option/k3bcddboptiontab.cpp | 10 +++++----- src/option/k3bexternalbinoptiontab.h | 2 +- src/option/k3bpluginoptiontab.cpp | 2 +- src/option/k3bthemeoptiontab.cpp | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/option') diff --git a/src/option/base_k3bcddboptiontab.ui b/src/option/base_k3bcddboptiontab.ui index 09cb8a8..507b846 100644 --- a/src/option/base_k3bcddboptiontab.ui +++ b/src/option/base_k3bcddboptiontab.ui @@ -102,7 +102,7 @@ Directory: - + Directory @@ -256,7 +256,7 @@ m_comboCddbType - + Type diff --git a/src/option/base_k3bthemeoptiontab.ui b/src/option/base_k3bthemeoptiontab.ui index cad57b1..daf0f18 100644 --- a/src/option/base_k3bthemeoptiontab.ui +++ b/src/option/base_k3bthemeoptiontab.ui @@ -31,7 +31,7 @@ unnamed - + Theme diff --git a/src/option/k3bcddboptiontab.cpp b/src/option/k3bcddboptiontab.cpp index b0d845e..b944073 100644 --- a/src/option/k3bcddboptiontab.cpp +++ b/src/option/k3bcddboptiontab.cpp @@ -153,7 +153,7 @@ void K3bCddbOptionTab::readSettings() localCddbDirs.append( "~/.cddb/" ); for( TQStringList::const_iterator it = localCddbDirs.begin(); it != localCddbDirs.end(); ++it ) - (void)new KListViewItem( m_viewLocalDir, m_viewLocalDir->lastItem(), *it ); + (void)new TDEListViewItem( m_viewLocalDir, m_viewLocalDir->lastItem(), *it ); // old config <= 0.7.3 @@ -177,9 +177,9 @@ void K3bCddbOptionTab::readSettings() TQString server = buf[0]; int port = buf[1].toInt(); if( s.startsWith("Http") ) - (void)new KListViewItem( m_viewCddbServer, m_viewCddbServer->lastItem(), "Http", server, TQString::number(port) ); + (void)new TDEListViewItem( m_viewCddbServer, m_viewCddbServer->lastItem(), "Http", server, TQString::number(port) ); else - (void)new KListViewItem( m_viewCddbServer, m_viewCddbServer->lastItem(), "Cddbp", server, TQString::number(port) ); + (void)new TDEListViewItem( m_viewCddbServer, m_viewCddbServer->lastItem(), "Cddbp", server, TQString::number(port) ); } enDisableButtons(); @@ -236,7 +236,7 @@ void K3bCddbOptionTab::slotLocalDirAdd() return; ++it; } - (void)new KListViewItem( m_viewLocalDir, m_viewLocalDir->lastItem(), + (void)new TDEListViewItem( m_viewLocalDir, m_viewLocalDir->lastItem(), localDir ); enDisableButtons(); @@ -256,7 +256,7 @@ void K3bCddbOptionTab::slotLocalDirRemove() void K3bCddbOptionTab::slotCddbServerAdd() { if( !m_editCddbServer->text().isEmpty() ) { - (void)new KListViewItem( m_viewCddbServer, m_viewCddbServer->lastItem(), + (void)new TDEListViewItem( m_viewCddbServer, m_viewCddbServer->lastItem(), m_comboCddbType->currentText(), m_editCddbServer->text(), TQString::number( m_editCddbPort->value() ) ); diff --git a/src/option/k3bexternalbinoptiontab.h b/src/option/k3bexternalbinoptiontab.h index 595c30d..651e040 100644 --- a/src/option/k3bexternalbinoptiontab.h +++ b/src/option/k3bexternalbinoptiontab.h @@ -23,7 +23,7 @@ class TQPushButton; class TQListViewItem; -class KListView; +class TDEListView; class K3bExternalBinManager; class K3bExternalBinWidget; diff --git a/src/option/k3bpluginoptiontab.cpp b/src/option/k3bpluginoptiontab.cpp index 6a7e4ec..d367584 100644 --- a/src/option/k3bpluginoptiontab.cpp +++ b/src/option/k3bpluginoptiontab.cpp @@ -37,7 +37,7 @@ class K3bPluginOptionTab::PluginViewItem : public K3bListViewItem { public: - PluginViewItem( K3bPlugin* p, KListViewItem* parent ) + PluginViewItem( K3bPlugin* p, TDEListViewItem* parent ) : K3bListViewItem( parent ), plugin(p) { const K3bPluginInfo& info = p->pluginInfo(); diff --git a/src/option/k3bthemeoptiontab.cpp b/src/option/k3bthemeoptiontab.cpp index edf3f64..b61c81b 100644 --- a/src/option/k3bthemeoptiontab.cpp +++ b/src/option/k3bthemeoptiontab.cpp @@ -43,11 +43,11 @@ public: }; -class ThemeViewItem : public KListViewItem +class ThemeViewItem : public TDEListViewItem { public: ThemeViewItem( K3bTheme* theme_, TQListView* parent, TQListViewItem* after ) - : KListViewItem( parent, after ), + : TDEListViewItem( parent, after ), theme(theme_) { setText( 0, theme->name() ); setText( 1, theme->author() ); -- cgit v1.2.1