Mogelijkheid om query to kopieren als raw c++ string.

This commit is contained in:
Eelke Klein 2017-10-05 16:02:06 +02:00
parent a9534d543e
commit 33cf39b799
10 changed files with 70 additions and 18 deletions

View file

@ -253,7 +253,6 @@ void MainWindow::on_actionCopy_triggered()
}
void MainWindow::on_actionCopy_as_C_string_triggered()
{
// Find which edit is active, copy the selected text or all text if no selection present
@ -264,3 +263,12 @@ void MainWindow::on_actionCopy_as_C_string_triggered()
tab->copyQueryAsCString();
}
}
void MainWindow::on_actionCopy_as_raw_Cpp_string_triggered()
{
QueryTab *tab = GetActiveQueryTab();
if (tab) {
tab->copyQueryAsRawCppString();
}
}