From f537c21b68e08f649b1b297bce8f3904603137e0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:11:21 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kmenuedit/treeview.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmenuedit/treeview.cpp') 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); } -- cgit v1.2.1