File indexing completed on 2024-12-15 04:54:45

0001 /* SPDX-FileCopyrightText: 2009 James Bendig <james@imptalk.com>
0002 
0003    SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 */
0005 #pragma once
0006 
0007 namespace MessageList
0008 {
0009 namespace Core
0010 {
0011 class Theme;
0012 } // namespace Core
0013 
0014 namespace Utils
0015 {
0016 class ThemeComboBox;
0017 
0018 class ThemeComboBoxPrivate
0019 {
0020 public:
0021     explicit ThemeComboBoxPrivate(ThemeComboBox *owner)
0022         : q(owner)
0023     {
0024     }
0025 
0026     ThemeComboBox *const q;
0027 
0028     /**
0029      * Refresh list of themes in the combobox.
0030      */
0031     void slotLoadThemes();
0032 
0033     void setCurrentTheme(const Core::Theme *theme);
0034 };
0035 } // namespace Utils
0036 } // namespace MessageList