diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:16:01 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:16:01 -0600 |
commit | 9771f17f8cc5252b12ec5f3edf47ff9bffdf997f (patch) | |
tree | b9e389db87bdba126010d03fb5bccdc748d0e6fa /quanta/treeviews/tagattributetree.cpp | |
parent | 9930e16dde86b7de9b792613d826f4f8648b9768 (diff) | |
download | tdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.tar.gz tdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'quanta/treeviews/tagattributetree.cpp')
-rw-r--r-- | quanta/treeviews/tagattributetree.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/quanta/treeviews/tagattributetree.cpp b/quanta/treeviews/tagattributetree.cpp index abf4fb37..a125405e 100644 --- a/quanta/treeviews/tagattributetree.cpp +++ b/quanta/treeviews/tagattributetree.cpp @@ -51,7 +51,7 @@ #include "viewmanager.h" EditableTree::EditableTree(TQWidget *parent, const char *name) -: KListView(parent, name) +: TDEListView(parent, name) { m_editable = true; } @@ -69,7 +69,7 @@ void EditableTree::setCurrentItem( TQListViewItem *item) if ( dynamic_cast<AttributeItem*>(it) ) static_cast<AttributeItem*>(it)->hideEditor(); - KListView::setCurrentItem(item); + TDEListView::setCurrentItem(item); it = currentItem(); if ( dynamic_cast<AttributeItem*>(it) ) static_cast<AttributeItem*>(it)->showEditor(); @@ -120,7 +120,7 @@ bool DualEditableTree::eventFilter(TQObject *object, TQEvent *event) AttributeItem *it = dynamic_cast<AttributeItem*>(currentItem()); AttributeItem *up = 0L, *down = 0L; if(!it) - return KListView::eventFilter(object, event); + return TDEListView::eventFilter(object, event); if(currentItem()->itemAbove()) up = dynamic_cast<AttributeItem*>(currentItem()->itemAbove()); if(currentItem()->itemBelow()) @@ -168,12 +168,12 @@ bool DualEditableTree::eventFilter(TQObject *object, TQEvent *event) break; } } - return KListView::eventFilter(object, event);; + return TDEListView::eventFilter(object, event);; } void DualEditableTree::resizeEvent(TQResizeEvent *ev) { - KListView::resizeEvent(ev); + TDEListView::resizeEvent(ev); if(!currentItem()) return; AttributeItem *item = dynamic_cast<AttributeItem*>(currentItem()); if(item) @@ -194,7 +194,7 @@ void DualEditableTree::setCurrentItem(TQListViewItem *item) static_cast<AttributeItem*>(it)->hideEditor(1); } - KListView::setCurrentItem(item); + TDEListView::setCurrentItem(item); it = currentItem(); if ( dynamic_cast<AttributeItem*>(it) ) static_cast<AttributeItem*>(it)->showEditor(curCol); @@ -411,7 +411,7 @@ void TagAttributeTree::editorContentChanged() if ( dynamic_cast<AttributeItem*>(it) ) static_cast<AttributeItem*>(it)->hideEditor(); - KListView::setCurrentItem(item); + TDEListView::setCurrentItem(item); it = currentItem(); if ( dynamic_cast<AttributeItem*>(it) ) static_cast<AttributeItem*>(it)->showEditor(); |