File indexing completed on 2024-05-05 04:51:38
0001 /* 0002 SPDX-FileCopyrightText: 2003-2008 Sebastian Trueg <trueg@k3b.org> 0003 SPDX-FileCopyrightText: 2010 Michal Malek <michalm@jabster.pl> 0004 SPDX-FileCopyrightText: 1998-2010 Sebastian Trueg <trueg@k3b.org> 0005 0006 SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 0010 #ifndef _K3BTHEMEOPTIONTAB_H_ 0011 #define _K3BTHEMEOPTIONTAB_H_ 0012 0013 #include "ui_base_k3bthemeoptiontab.h" 0014 0015 /** 0016 *@author Sebastian Trueg 0017 */ 0018 namespace K3b { 0019 class ThemeModel; 0020 0021 class ThemeOptionTab : public QWidget, public Ui::base_K3bThemeOptionTab 0022 { 0023 Q_OBJECT 0024 0025 public: 0026 explicit ThemeOptionTab( QWidget* parent = 0 ); 0027 ~ThemeOptionTab() override; 0028 0029 void readSettings(); 0030 bool saveSettings(); 0031 0032 protected: 0033 bool event( QEvent* event ) override; 0034 0035 private Q_SLOTS: 0036 void selectionChanged(); 0037 void slotInstallTheme(); 0038 void slotRemoveTheme(); 0039 0040 private: 0041 ThemeModel* m_themeModel; 0042 }; 0043 } 0044 0045 #endif