Mogelijkheid om query to kopieren als raw c++ string.
This commit is contained in:
parent
a9534d543e
commit
33cf39b799
10 changed files with 70 additions and 18 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue