File indexing completed on 2024-03-24 05:57:04
0001 /* 0002 SPDX-FileCopyrightText: 2005 Bram Schoenmakers <bramschoenmakers@kde.nl> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef PASSIVEPOPUP_H 0008 #define PASSIVEPOPUP_H 0009 0010 #include <QMouseEvent> 0011 #include <kpassivepopup.h> 0012 0013 class PassivePopup : public KPassivePopup 0014 { 0015 public: 0016 explicit PassivePopup(QWidget *parent = nullptr); 0017 void show(); 0018 0019 protected: 0020 void mouseReleaseEvent(QMouseEvent *event) override; 0021 }; 0022 0023 #endif