File indexing completed on 2024-05-19 05:54:09

0001 /*
0002     SPDX-FileCopyrightText: 2007-2008 Robert Knight <robertknight@gmail.com>
0003     SPDX-FileCopyrightText: 2020 Tomaz Canabrava <tcanabrava@gmail.com>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef ESCAPE_SEQUENCE_URL_HOTSPOT
0009 #define ESCAPE_SEQUENCE_URL_HOTSPOT
0010 
0011 #include "HotSpot.h"
0012 
0013 namespace Konsole
0014 {
0015 class KONSOLEPRIVATE_EXPORT EscapeSequenceUrlHotSpot : public HotSpot
0016 {
0017 public:
0018     EscapeSequenceUrlHotSpot(int startLine, int startColumn, int endLine, int endColumn, const QString &text, const QString &url);
0019     void activate(QObject *obj) override;
0020 
0021 private:
0022     QString _text;
0023     QString _url;
0024 };
0025 
0026 }
0027 #endif