File indexing completed on 2024-05-12 05:52:08
0001 /* 0002 SPDX-FileCopyrightText: 2021 Waqar Ahmed <waqar.17a@gmail.com> 0003 SPDX-License-Identifier: LGPL-2.0-or-later 0004 */ 0005 #pragma once 0006 0007 #include "KateTextHintManager.h" 0008 #include <QPoint> 0009 0010 class QWidget; 0011 class QString; 0012 0013 namespace KTextEditor 0014 { 0015 class View; 0016 } 0017 0018 class KateTooltip 0019 { 0020 public: 0021 // tooltip hidden after timeout msec (if > 0) 0022 static void show(const QString &text, TextHintMarkupKind kind, QPoint pos, KTextEditor::View *v, bool manual); 0023 };