summaryrefslogtreecommitdiffstats
path: root/src/gvcore/externaltooldialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:59:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:59:02 -0600
commit5920e96087707ba892650898521dac63152274f9 (patch)
treef8c9eba82d742338798e31b9edb7d90aa9c55ce9 /src/gvcore/externaltooldialog.cpp
parent50ccc22eb9b1f32c842956f0207baaf7da8f0f6f (diff)
downloadgwenview-5920e96087707ba892650898521dac63152274f9.tar.gz
gwenview-5920e96087707ba892650898521dac63152274f9.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/gvcore/externaltooldialog.cpp')
-rw-r--r--src/gvcore/externaltooldialog.cpp12
1 files changed, 6 insertions, 6 deletions
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("<Unnamed tool>");
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<ToolListViewItem*>(view->selectedItem());
if (!item) return;