This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void EdtBaseWidget::sendToGitHubFinished( ) | |
| { | |
| // bit risky here but only way to do it. | |
| // well, I could have hacked a lambda but that has its own issues. | |
| // | |
| QObject *p = sender(); | |
| QNetworkReply *rep = qobject_cast< QNetworkReply *>( p ); | |
| if ( rep != nullptr ) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void EdtBaseWidget::handleSendToGitHubCommand( QString text ) | |
| { | |
| QString rangeStr {text.mid( text.indexOf( ' ' ) ).trimmed()}; | |
| QString cmd {text.left( text.indexOf( ' ' ) ).trimmed()}; | |
| /* | |
| * TODO:: Need to handle /PRI for private /PUB for public | |
| * /NAM=somefile.nam | |
| * /DESC="my description with spaces" or /DESC='my description with spaces' | |
| * |