#ifndef SCIQLOP_DRAGDROPTABSWITCHER_H #define SCIQLOP_DRAGDROPTABSWITCHER_H #include #include #include Q_DECLARE_LOGGING_CATEGORY(LOG_DragDropTabSwitcher) class DragDropTabSwitcher : public QObject { Q_OBJECT public: DragDropTabSwitcher(QObject *parent = nullptr); void addTabBar(QTabBar *tabBar); void removeTabBar(QTabBar *tabBar); protected: bool eventFilter(QObject *obj, QEvent *event); private: class DragDropTabSwitcherPrivate; spimpl::unique_impl_ptr impl; }; #endif // SCIQLOP_DRAGDROPTABSWITCHER_H