diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
commit | f537c21b68e08f649b1b297bce8f3904603137e0 (patch) | |
tree | fb33065387509dea898c90022ddec9c3f8ede86d /kmenuedit/treeview.h | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmenuedit/treeview.h')
-rw-r--r-- | kmenuedit/treeview.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmenuedit/treeview.h b/kmenuedit/treeview.h index 5811a2159..562a33301 100644 --- a/kmenuedit/treeview.h +++ b/kmenuedit/treeview.h @@ -28,13 +28,13 @@ #include <kservicegroup.h> class TQPopupMenu; -class KActionCollection; +class TDEActionCollection; class KDesktopFile; class MenuFile; class MenuFolderInfo; class MenuEntryInfo; class MenuSeparatorInfo; -class KShortcut; +class TDEShortcut; class TreeItem : public TQListViewItem { @@ -85,12 +85,12 @@ private: MenuEntryInfo *m_entryInfo; }; -class TreeView : public KListView +class TreeView : public TDEListView { friend class TreeItem; Q_OBJECT public: - TreeView(bool controlCenter, KActionCollection *ac, TQWidget *parent=0, const char *name=0); + TreeView(bool controlCenter, TDEActionCollection *ac, TQWidget *parent=0, const char *name=0); ~TreeView(); void readMenuFolderInfo(MenuFolderInfo *folderInfo=0, KServiceGroup::Ptr folder=0, const TQString &prefix=TQString::null); @@ -105,7 +105,7 @@ public: public slots: void currentChanged(MenuFolderInfo *folderInfo); void currentChanged(MenuEntryInfo *entryInfo); - void findServiceShortcut(const KShortcut&, KService::Ptr &); + void findServiceShortcut(const TDEShortcut&, KService::Ptr &); signals: void entrySelected(MenuFolderInfo *folderInfo); @@ -154,7 +154,7 @@ protected: virtual void startDrag(); private: - KActionCollection *m_ac; + TDEActionCollection *m_ac; TQPopupMenu *m_rmb; int m_clipboard; MenuFolderInfo *m_clipboardFolderInfo; |