From 5920e96087707ba892650898521dac63152274f9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 14:59:02 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- src/gvcore/externaltooldialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gvcore/externaltooldialog.cpp') diff --git a/src/gvcore/externaltooldialog.cpp b/src/gvcore/externaltooldialog.cpp index dd5d053..33c4aff 100644 --- a/src/gvcore/externaltooldialog.cpp +++ b/src/gvcore/externaltooldialog.cpp @@ -49,10 +49,10 @@ namespace Gwenview { enum { ID_ALL_IMAGES=0, ID_ALL_FILES, ID_CUSTOM }; -class ToolListViewItem : public KListViewItem { +class ToolListViewItem : public TDEListViewItem { public: - ToolListViewItem(KListView* parent, const TQString& label) - : KListViewItem(parent, label), mDesktopFile(0L) {} + ToolListViewItem(TDEListView* parent, const TQString& label) + : TDEListViewItem(parent, label), mDesktopFile(0L) {} void setDesktopFile(KDesktopFile* df) { mDesktopFile=df; @@ -285,7 +285,7 @@ ExternalToolDialog::ExternalToolDialog(TQWidget* parent) connect( d->mContent->mMoreTools, TQT_SIGNAL(leftClickedURL(const TQString&)), this, TQT_SLOT(openURL(const TQString&)) ); - KListView* view=d->mContent->mToolListView; + TDEListView* view=d->mContent->mToolListView; if (view->firstChild()) { view->setSelected(view->firstChild(), true); } @@ -321,7 +321,7 @@ void ExternalToolDialog::slotSelectionChanged(TQListViewItem* item) { void ExternalToolDialog::addTool() { - KListView* view=d->mContent->mToolListView; + TDEListView* view=d->mContent->mToolListView; TQString name=i18n(""); ToolListViewItem* item=new ToolListViewItem(view, name); view->setSelected(item, true); @@ -329,7 +329,7 @@ void ExternalToolDialog::addTool() { void ExternalToolDialog::deleteTool() { - KListView* view=d->mContent->mToolListView; + TDEListView* view=d->mContent->mToolListView; ToolListViewItem* item=static_cast(view->selectedItem()); if (!item) return; -- cgit v1.2.1