diff options
| author | Philip Kaufmann <[email protected]> | 2015-06-01 15:32:25 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2015-06-02 09:34:35 +0200 |
| commit | 51fc672f59f390ce4ddf05448b63bdf11e80563b (patch) | |
| tree | 3fda7483dbac74aa403a123e4f13124e7947048d /src/qt/guiutil.h | |
| parent | Merge pull request #6203 (diff) | |
| download | discoin-51fc672f59f390ce4ddf05448b63bdf11e80563b.tar.xz discoin-51fc672f59f390ce4ddf05448b63bdf11e80563b.zip | |
[Qt] disconnect peers from peers tab via context menu
- It is now allowed to disconnect peers from peers tab via
right-click context menu. Peers are not permanently banned!
Diffstat (limited to 'src/qt/guiutil.h')
| -rw-r--r-- | src/qt/guiutil.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index bcbb540c3..55df64a25 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -64,6 +64,14 @@ namespace GUIUtil */ void copyEntryData(QAbstractItemView *view, int column, int role=Qt::EditRole); + /** Return a field of the currently selected entry as a QString. Does nothing if nothing + is selected. + @param[in] column Data column to extract from the model + @param[in] role Data role to extract from the model + @see TransactionView::copyLabel, TransactionView::copyAmount, TransactionView::copyAddress + */ + QString getEntryData(QAbstractItemView *view, int column, int role); + void setClipboard(const QString& str); /** Get save filename, mimics QFileDialog::getSaveFileName, except that it appends a default suffix @@ -205,7 +213,7 @@ namespace GUIUtil #else typedef QProgressBar ProgressBar; #endif - + } // namespace GUIUtil #endif // BITCOIN_QT_GUIUTIL_H |