File indexing completed on 2024-05-12 17:07:07

0001 /*
0002     SPDX-FileCopyrightText: 2012-2016 Ivan Cukic <ivan.cukic@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QWidget>
0010 
0011 #include <utils/d_ptr.h>
0012 
0013 class QKeySequence;
0014 class KCoreConfigSkeleton;
0015 
0016 /**
0017  * SwitchingTab
0018  */
0019 class SwitchingTab : public QWidget
0020 {
0021     Q_OBJECT
0022 public:
0023     explicit SwitchingTab(QWidget *parent);
0024     ~SwitchingTab() override;
0025 
0026     KCoreConfigSkeleton *mainConfig();
0027 
0028 private Q_SLOTS:
0029     void shortcutChanged(const QKeySequence &sequence);
0030 
0031 private:
0032     D_PTR;
0033 };