Added pasteSelection-slot and corrected two nonsense comments
This commit is contained in:
@@ -421,6 +421,11 @@ void QTermWidget::pasteClipboard()
|
||||
m_impl->m_terminalDisplay->pasteClipboard();
|
||||
}
|
||||
|
||||
void QTermWidget::pasteSelection()
|
||||
{
|
||||
m_impl->m_terminalDisplay->pasteSelection();
|
||||
}
|
||||
|
||||
void QTermWidget::setZoom(int step)
|
||||
{
|
||||
if (!m_impl->m_terminalDisplay)
|
||||
|
||||
+5
-2
@@ -132,12 +132,15 @@ signals:
|
||||
void termKeyPressed(QKeyEvent *);
|
||||
|
||||
public slots:
|
||||
// Paste clipboard content to terminal
|
||||
// Copy selection to clipboard
|
||||
void copyClipboard();
|
||||
|
||||
// Copies selection to clipboard
|
||||
// Paste clipboard to terminal
|
||||
void pasteClipboard();
|
||||
|
||||
// Paste selection to terminal
|
||||
void pasteSelection();
|
||||
|
||||
// Set zoom
|
||||
void zoomIn();
|
||||
void zoomOut();
|
||||
|
||||
Reference in New Issue
Block a user