File indexing completed on 2024-04-28 05:48:35
0001 /* 0002 SPDX-FileCopyrightText: 2021 Waqar Ahmed <waqar.17a@gmail.com> 0003 SPDX-FileCopyrightText: 2021 Kåre Särs <kare.sars@iki.fi> 0004 0005 SPDX-License-Identifier: MIT 0006 */ 0007 #pragma once 0008 0009 #include <memory> 0010 0011 class QString; 0012 class KateGitBlamePluginView; 0013 class QKeySequence; 0014 0015 namespace KTextEditor 0016 { 0017 class View; 0018 } 0019 0020 class GitBlameTooltip 0021 { 0022 public: 0023 explicit GitBlameTooltip(KateGitBlamePluginView *pv); 0024 ~GitBlameTooltip(); 0025 0026 void show(const QString &text, KTextEditor::View *view); 0027 0028 void setIgnoreKeySequence(const QKeySequence &sequence); 0029 0030 private: 0031 class Private; 0032 std::unique_ptr<Private> d; 0033 KateGitBlamePluginView *m_pluginView; 0034 };