diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:16:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:16:01 -0600 |
commit | 9771f17f8cc5252b12ec5f3edf47ff9bffdf997f (patch) | |
tree | b9e389db87bdba126010d03fb5bccdc748d0e6fa /quanta/treeviews/servertreeview.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/servertreeview.cpp')
-rw-r--r-- | quanta/treeviews/servertreeview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/quanta/treeviews/servertreeview.cpp b/quanta/treeviews/servertreeview.cpp index fa34f582..bfb6ad23 100644 --- a/quanta/treeviews/servertreeview.cpp +++ b/quanta/treeviews/servertreeview.cpp @@ -98,7 +98,7 @@ ServerTreeView::ServerTreeView(TDEConfig *config, TQWidget *parent, const KURL & // I must read this here because quanta_init has not done it yet qConfig.showHiddenFiles = m_config->readBoolEntry("Show Hidden Files", true); - m_fileMenu = new KPopupMenu(); + m_fileMenu = new TDEPopupMenu(); m_fileMenu->insertItem(SmallIcon("fileopen"), i18n("&Open"), this ,TQT_SLOT(slotOpen())); m_fileMenu->insertItem(i18n("Open &With..."), this, TQT_SLOT(slotOpenWith())); @@ -111,7 +111,7 @@ ServerTreeView::ServerTreeView(TDEConfig *config, TQWidget *parent, const KURL & m_fileMenu->insertSeparator(); m_fileMenu->insertItem(SmallIcon("info"), i18n("&Properties"), this, TQT_SLOT(slotProperties())); - m_folderMenu = new KPopupMenu(); + m_folderMenu = new TDEPopupMenu(); // m_insertFolderInProject = m_folderMenu->insertItem(i18n("&Insert in Project..."), this, TQT_SLOT(slotInsertDirInProject())); m_folderMenu->insertItem(SmallIcon("editcopy"), i18n("&Copy"), this, TQT_SLOT(slotCopy())); @@ -127,8 +127,8 @@ ServerTreeView::ServerTreeView(TDEConfig *config, TQWidget *parent, const KURL & connect(this, TQT_SIGNAL(open(TQListViewItem *)), this, TQT_SLOT(slotSelectFile(TQListViewItem *))); - connect(this, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)), - this, TQT_SLOT(slotMenu(KListView*, TQListViewItem*, const TQPoint&))); + connect(this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)), + this, TQT_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&))); connect(Project::ref(), TQT_SIGNAL(reloadTree(ProjectList *, bool, const TQStringList &)), this, TQT_SLOT(slotReloadTree(ProjectList *, bool, const TQStringList &))); @@ -156,7 +156,7 @@ KFileTreeBranch* ServerTreeView::newBranch(const KURL& url) /** RMB pressed, bring up the menu */ -void ServerTreeView::slotMenu(KListView* listView, TQListViewItem *item, const TQPoint &point) +void ServerTreeView::slotMenu(TDEListView* listView, TQListViewItem *item, const TQPoint &point) { Q_UNUSED(listView); if (item) |