summaryrefslogtreecommitdiffstats
path: root/kmenuedit/treeview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:11:21 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /kmenuedit/treeview.cpp
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmenuedit/treeview.cpp')
-rw-r--r--kmenuedit/treeview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmenuedit/treeview.cpp b/kmenuedit/treeview.cpp
index 1947af3e3..c58d7bf0f 100644
--- a/kmenuedit/treeview.cpp
+++ b/kmenuedit/treeview.cpp
@@ -146,8 +146,8 @@ static TQPixmap appIcon(const TQString &iconName)
}
-TreeView::TreeView( bool controlCenter, KActionCollection *ac, TQWidget *parent, const char *name )
- : KListView(parent, name), m_ac(ac), m_rmb(0), m_clipboard(0),
+TreeView::TreeView( bool controlCenter, TDEActionCollection *ac, TQWidget *parent, const char *name )
+ : TDEListView(parent, name), m_ac(ac), m_rmb(0), m_clipboard(0),
m_clipboardFolderInfo(0), m_clipboardEntryInfo(0),
m_controlCenter(controlCenter), m_layoutDirty(false)
{
@@ -209,7 +209,7 @@ void TreeView::setViewMode(bool showHidden)
// setup rmb menu
m_rmb = new TQPopupMenu(this);
- KAction *action;
+ TDEAction *action;
action = m_ac->action("edit_cut");
if(action) {
@@ -1574,7 +1574,7 @@ bool TreeView::dirty()
return m_layoutDirty || m_rootFolder->hasDirt() || m_menuFile->dirty() || isLayoutDirty();
}
-void TreeView::findServiceShortcut(const KShortcut&cut, KService::Ptr &service)
+void TreeView::findServiceShortcut(const TDEShortcut&cut, KService::Ptr &service)
{
service = m_rootFolder->findServiceShortcut(cut);
}