Changeset View
Changeset View
Standalone View
Standalone View
addons/filetree/katefiletree.cpp
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 54 | { | |||
---|---|---|---|---|---|
78 | m_filelistCollapseRecursive = new QAction(QIcon::fromTheme(QLatin1String("view-list-tree")), i18nc("@action:inmenu", "Collapse recursively"), this); | 78 | m_filelistCollapseRecursive = new QAction(QIcon::fromTheme(QLatin1String("view-list-tree")), i18nc("@action:inmenu", "Collapse recursively"), this); | ||
79 | connect(m_filelistCollapseRecursive, &QAction::triggered, this, &KateFileTree::slotCollapseRecursive); | 79 | connect(m_filelistCollapseRecursive, &QAction::triggered, this, &KateFileTree::slotCollapseRecursive); | ||
80 | m_filelistCollapseRecursive->setWhatsThis(i18n("Collapse the file list sub tree recursively.")); | 80 | m_filelistCollapseRecursive->setWhatsThis(i18n("Collapse the file list sub tree recursively.")); | ||
81 | 81 | | |||
82 | m_filelistCloseOtherDocument = new QAction(QIcon::fromTheme(QLatin1String("document-close")), i18nc("@action:inmenu", "Close Other"), this); | 82 | m_filelistCloseOtherDocument = new QAction(QIcon::fromTheme(QLatin1String("document-close")), i18nc("@action:inmenu", "Close Other"), this); | ||
83 | connect(m_filelistCloseOtherDocument, &QAction::triggered, this, &KateFileTree::slotDocumentCloseOther); | 83 | connect(m_filelistCloseOtherDocument, &QAction::triggered, this, &KateFileTree::slotDocumentCloseOther); | ||
84 | m_filelistCloseOtherDocument->setWhatsThis(i18n("Close other documents in this folder.")); | 84 | m_filelistCloseOtherDocument->setWhatsThis(i18n("Close other documents in this folder.")); | ||
85 | 85 | | |||
86 | m_filelistCopyFilename = new QAction(QIcon::fromTheme(QLatin1String("edit-copy")), i18nc("@action:inmenu", "Copy Filename"), this); | 86 | m_filelistCopyFilename = new QAction(QIcon::fromTheme(QLatin1String("edit-copy")), i18nc("@action:inmenu", "Copy Path"), this); | ||
87 | connect(m_filelistCopyFilename, &QAction::triggered, this, &KateFileTree::slotCopyFilename); | 87 | connect(m_filelistCopyFilename, &QAction::triggered, this, &KateFileTree::slotCopyFilename); | ||
88 | m_filelistCopyFilename->setWhatsThis(i18n("Copy the filename of the file.")); | 88 | m_filelistCopyFilename->setWhatsThis(i18n("Copy the filename (including the path) of the file.")); | ||
89 | 89 | | |||
90 | m_filelistRenameFile = new QAction(QIcon::fromTheme(QLatin1String("edit-rename")), i18nc("@action:inmenu", "Rename File"), this); | 90 | m_filelistRenameFile = new QAction(QIcon::fromTheme(QLatin1String("edit-rename")), i18nc("@action:inmenu", "Rename File"), this); | ||
91 | connect(m_filelistRenameFile, &QAction::triggered, this, &KateFileTree::slotRenameFile); | 91 | connect(m_filelistRenameFile, &QAction::triggered, this, &KateFileTree::slotRenameFile); | ||
92 | m_filelistRenameFile->setWhatsThis(i18n("Rename the selected file.")); | 92 | m_filelistRenameFile->setWhatsThis(i18n("Rename the selected file.")); | ||
93 | 93 | | |||
94 | m_filelistPrintDocument = KStandardAction::print(this, SLOT(slotPrintDocument()), this); | 94 | m_filelistPrintDocument = KStandardAction::print(this, SLOT(slotPrintDocument()), this); | ||
95 | m_filelistPrintDocument->setWhatsThis(i18n("Print selected document.")); | 95 | m_filelistPrintDocument->setWhatsThis(i18n("Print selected document.")); | ||
96 | 96 | | |||
▲ Show 20 Lines • Show All 612 Lines • Show Last 20 Lines |