File indexing completed on 2024-05-12 15:55:38
0001 /* SPDX-FileCopyrightText: 2012 Jesper K. Pedersen <blackie@kde.org> 0002 0003 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 */ 0005 0006 #ifndef MAINWINDOW_MERGETOOLTIP_H 0007 #define MAINWINDOW_MERGETOOLTIP_H 0008 0009 #include <Utilities/ToolTip.h> 0010 0011 namespace MainWindow 0012 { 0013 0014 class MergeToolTip : public Utilities::ToolTip 0015 { 0016 Q_OBJECT 0017 0018 public: 0019 static MergeToolTip *instance(); 0020 static void destroy(); 0021 0022 protected: 0023 void placeWindow() override; 0024 0025 private: 0026 static MergeToolTip *s_instance; 0027 explicit MergeToolTip(QWidget *parent = nullptr); 0028 }; 0029 0030 } // namespace MainWindow 0031 0032 #endif // MAINWINDOW_MERGETOOLTIP_H 0033 // vi:expandtab:tabstop=4 shiftwidth=4: