| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/miscellaneous/iconfactory.cpp`/ |
| 2 | |
| 3 | #include "miscellaneous/iconfactory.h"cxx . . $ `<file>/src/librssguard/miscellaneous/iconfactory.h`/ |
| 4 | |
| 5 | #include "miscellaneous/application.h"cxx . . $ `<file>/src/librssguard/miscellaneous/application.h`/ |
| 6 | #include "miscellaneous/settings.h"cxx . . $ `<file>/src/librssguard/miscellaneous/settings.h`/ |
| 7 | |
| 8 | #include <QBuffer> |
| 9 | #include <QPainter> |
| 10 | |
| 11 | IconFactorycxx . . $ IconFactory#::IconFactorycxx . . $ IconFactory#IconFactory(749de1b6ae65bddd).(QObjectcxx . . $ QObject#* parent) : QObjectcxx . . $ QObject#QObject(749de1b6ae65bddd).(parent) {} |
| 12 | |
| 13 | IconFactorycxx . . $ IconFactory#::~cxx . . $ IconFactory#`~IconFactory`(ced63f7c635d850d).IconFactorycxx . . $ IconFactory#() { |
| 14 | qDebugNNcxx . . $ `src/librssguard/definitions/definitions.h:413:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). LOGSEC_GUIcxx . . $ `src/librssguard/definitions/definitions.h:174:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "Destroying IconFactory instance."; |
| 15 | } |
| 16 | |
| 17 | QIconcxx . . $ QIcon# IconFactorycxx . . $ IconFactory#::generateIconcxx . . $ IconFactory#generateIcon(e60330f79968ef46).(const QColorcxx . . $ QColor#& color) { |
| 18 | QPixmapcxx . . $ QPixmap# pxmcxx . . $ QPixmap#QPixmap(3e454b8ccf442868).(64, 64); |
| 19 | |
| 20 | pxm.fillcxx . . $ QPixmap#fill(129a55e114526ad3).(Qtcxx . . $ QColor#QColor(408ec4d5924bfb00).::GlobalColorcxx . . $ Qt/GlobalColor#::transparentcxx . . $ Qt/transparent.); |
| 21 | |
| 22 | QPaintercxx . . $ QPainter# paintcxx . . $ QPainter#QPainter(dd2eedc069b0ab5f).(&pxm); |
| 23 | |
| 24 | paint.setBrushcxx . . $ QPainter#setBrush(406700690822ecf).(color); |
| 25 | paint.setPencxx . . $ QPainter#setPen(129a55e114526ad3).(Qtcxx . . $ QColor#QColor(408ec4d5924bfb00).::GlobalColorcxx . . $ Qt/GlobalColor#::transparentcxx . . $ Qt/transparent.); |
| 26 | paint.drawEllipsecxx . . $ QPainter#drawEllipse(22ba0428947158b).(pxm.rectcxx . . $ QPixmap#rect(d857385bac04cbf7).().marginsRemovedcxx . . $ QRect#marginsRemoved(3929f351a230cb90).(QMarginscxx . . $ QMargins#QMargins(2261ffe5112eab06).(2, 2, 2, 2))); |
| 27 | |
| 28 | return pxmcxx . . $ QIcon#QIcon(8887f7d25b86c3f4).; |
| 29 | } |
| 30 | |
| 31 | QIconcxx . . $ QIcon# IconFactorycxx . . $ IconFactory#::fromByteArraycxx . . $ IconFactory#fromByteArray(c0ca791f368010bb).(QByteArraycxx . . $ QByteArray# array) { |
| 32 | if (array.isEmptycxx . . $ QByteArray#isEmpty(3482b152b9333168).()) { |
| 33 | return {cxx . . $ QIcon#QIcon(ced63f7c635d850d).}; |
| 34 | } |
| 35 | |
| 36 | array =cxx . . $ QByteArray#`operator=`(c3d647c78c52d790). QByteArraycxx . . $ QByteArray#::fromBase64cxx . . $ QByteArray#fromBase64(f3901ce8bc17a1ca).(array); |
| 37 | QIconcxx . . $ QIcon# iconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 38 | QBuffercxx . . $ QBuffer# buffercxx . . $ QBuffer#QBuffer(2b5e1eb05360d54d).(&array); |
| 39 | |
| 40 | buffer.opencxx . . $ QBuffer#open(da34f43c1eae080c).(QIODevicecxx . . $ QFlags#QFlags(93d577a3e9528307).::OpenModeFlagcxx . . $ QIODeviceBase#OpenModeFlag#::ReadOnlycxx . . $ QIODeviceBase#ReadOnly.); |
| 41 | QDataStreamcxx . . $ QDataStream# incxx . . $ QDataStream#QDataStream(bebe8f2dee7f9e86).(&buffer); |
| 42 | |
| 43 | in.setVersioncxx . . $ QDataStream#setVersion(d4f767463ce0a6b3).(QDataStreamcxx . . $ QDataStream#::Versioncxx . . $ QDataStream#Version#::Qt_4_7cxx . . $ QDataStream#Qt_4_7.); |
| 44 | in >>cxx . . $ `operator>>`(1ae6e10adfafb6a4). icon; |
| 45 | buffer.closecxx . . $ QBuffer#close(49f6e7a06ebc5aa8).(); |
| 46 | return iconcxx . . $ QIcon#QIcon(44c9bbc25a297bfe).; |
| 47 | } |
| 48 | |
| 49 | QByteArraycxx . . $ QByteArray# IconFactorycxx . . $ IconFactory#::toByteArraycxx . . $ IconFactory#toByteArray(e1f790fd40d1d8c2).(const QIconcxx . . $ QIcon#& icon) { |
| 50 | if (icon.isNullcxx . . $ QIcon#isNull(50ce9a9e25b4a850).()) { |
| 51 | return {cxx . . $ QByteArray#QByteArray(ced63f7c635d850d).}; |
| 52 | } |
| 53 | |
| 54 | QByteArraycxx . . $ QByteArray# arraycxx . . $ QByteArray#QByteArray(ced63f7c635d850d).; |
| 55 | QBuffercxx . . $ QBuffer# buffercxx . . $ QBuffer#QBuffer(2b5e1eb05360d54d).(&array); |
| 56 | |
| 57 | buffer.opencxx . . $ QBuffer#open(da34f43c1eae080c).(QIODevicecxx . . $ QFlags#QFlags(93d577a3e9528307).::OpenModeFlagcxx . . $ QIODeviceBase#OpenModeFlag#::WriteOnlycxx . . $ QIODeviceBase#WriteOnly.); |
| 58 | QDataStreamcxx . . $ QDataStream# outcxx . . $ QDataStream#QDataStream(bebe8f2dee7f9e86).(&buffer); |
| 59 | |
| 60 | out.setVersioncxx . . $ QDataStream#setVersion(d4f767463ce0a6b3).(QDataStreamcxx . . $ QDataStream#::Versioncxx . . $ QDataStream#Version#::Qt_4_7cxx . . $ QDataStream#Qt_4_7.); |
| 61 | out <<cxx . . $ `operator<<`(e7c6a5f1bb4691c9). icon; |
| 62 | buffer.closecxx . . $ QBuffer#close(49f6e7a06ebc5aa8).(); |
| 63 | return array.toBase64cxx . . $ QByteArray#toBase64(8447c4bee9dd4a75).(); |
| 64 | } |
| 65 | |
| 66 | QIconcxx . . $ QIcon# IconFactorycxx . . $ IconFactory#::fromThemecxx . . $ IconFactory#fromTheme(e457fbbee8993f3).(const QStringcxx . . $ QString#& name, const QStringcxx . . $ QString#& fallback) { |
| 67 | QIconcxx . . $ QIcon# original = QIconcxx . . $ QIcon#::fromThemecxx . . $ QIcon#fromTheme(ef5a0418eb2d5e9b).(name); |
| 68 | |
| 69 | return (original.isNullcxx . . $ QIcon#isNull(50ce9a9e25b4a850).() && !fallback.isEmptycxx . . $ QString#isEmpty(3482b152b9333168).()) ? QIconcxx . . $ QIcon#::fromThemecxx . . $ QIcon#fromTheme(ef5a0418eb2d5e9b).(fallback) : originalcxx . . $ QIcon#QIcon(71dcdac178620ed6).; |
| 70 | } |
| 71 | |
| 72 | QPixmapcxx . . $ QPixmap# IconFactorycxx . . $ IconFactory#::miscPixmapcxx . . $ IconFactory#miscPixmap(13bf8f5656ba7097).(const QStringcxx . . $ QString#& name) { |
| 73 | return QPixmapcxx . . $ QPixmap#QPixmap(dec4543235ec9b46).(QStringcxx . . $ QString#(APP_THEME_PATHcxx . . $ `src/librssguard/definitions/definitions.h:375:9`!) +cxx . . $ operator+(adfbdceb504720ce). QDircxx . . $ QDir#::separatorcxx . . $ QDir#separator(44eb9225326fcbf5).() +cxx . . $ operator+(adfbdceb504720ce). "misc" +cxx . . $ operator+(adfbdceb504720ce). QDircxx . . $ QDir#::separatorcxx . . $ QDir#separator(44eb9225326fcbf5).() +cxx . . $ operator+(adfbdceb504720ce). name +cxx . . $ operator+(adfbdceb504720ce). ".png"); |
| 74 | } |
| 75 | |
| 76 | QIconcxx . . $ QIcon# IconFactorycxx . . $ IconFactory#::miscIconcxx . . $ IconFactory#miscIcon(ef5a0418eb2d5e9b).(const QStringcxx . . $ QString#& name) { |
| 77 | return QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(QStringcxx . . $ QString#(APP_THEME_PATHcxx . . $ `src/librssguard/definitions/definitions.h:375:9`!) +cxx . . $ operator+(adfbdceb504720ce). QDircxx . . $ QDir#::separatorcxx . . $ QDir#separator(44eb9225326fcbf5).() +cxx . . $ operator+(adfbdceb504720ce). "misc" +cxx . . $ operator+(adfbdceb504720ce). QDircxx . . $ QDir#::separatorcxx . . $ QDir#separator(44eb9225326fcbf5).() +cxx . . $ operator+(adfbdceb504720ce). name +cxx . . $ operator+(adfbdceb504720ce). ".png"); |
| 78 | } |
| 79 | |
| 80 | void IconFactorycxx . . $ IconFactory#::setupSearchPathscxx . . $ IconFactory#setupSearchPaths(49f6e7a06ebc5aa8).() { |
| 81 | auto paths = QIconcxx . . $ QIcon#::themeSearchPathscxx . . $ QIcon#themeSearchPaths(346f0183abd8f69).(); |
| 82 | |
| 83 | paths <<cxx . . $ QList#`operator<<`(457f2c2a0db63381). APP_THEME_PATHcxx . . $ `src/librssguard/definitions/definitions.h:375:9`! <<cxx . . $ QList#`operator<<`(457f2c2a0db63381). qAppcxx . . $ `src/librssguard/miscellaneous/application.h:30:9`!->userDataFoldercxx . . $ Application#userDataFolder(4365c3963150523e).() +cxx . . $ operator+(adfbdceb504720ce). QDircxx . . $ QDir#::separatorcxx . . $ QDir#separator(44eb9225326fcbf5).() +cxx . . $ operator+(adfbdceb504720ce). APP_LOCAL_ICON_THEME_FOLDERcxx . . $ `src/librssguard/definitions/definitions.h:275:9`! |
| 84 | <<cxx . . $ QList#`operator<<`(457f2c2a0db63381). qAppcxx . . $ `src/librssguard/miscellaneous/application.h:30:9`!->applicationDirPathcxx . . $ QCoreApplication#applicationDirPath(4365c3963150523e).() +cxx . . $ operator+(adfbdceb504720ce). QDircxx . . $ QDir#::separatorcxx . . $ QDir#separator(44eb9225326fcbf5).() +cxx . . $ operator+(adfbdceb504720ce). APP_LOCAL_ICON_THEME_FOLDERcxx . . $ `src/librssguard/definitions/definitions.h:275:9`!; |
| 85 | |
| 86 | QIconcxx . . $ QIcon#::setThemeSearchPathscxx . . $ QIcon#setThemeSearchPaths(4c9f0945b8b27034).(paths); |
| 87 | qDebugNNcxx . . $ `src/librssguard/definitions/definitions.h:413:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). LOGSEC_GUIcxx . . $ `src/librssguard/definitions/definitions.h:174:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "Available icon theme paths: " <<cxx . . $ `operator<<`(a90481f00eb8ca24). paths; |
| 88 | } |
| 89 | |
| 90 | void IconFactorycxx . . $ IconFactory#::setCurrentIconThemecxx . . $ IconFactory#setCurrentIconTheme(3520e46b33348bf6).(const QStringcxx . . $ QString#& theme_name) { |
| 91 | qAppcxx . . $ `src/librssguard/miscellaneous/application.h:30:9`!->settingscxx . . $ Application#settings(951936487a2d9252).()->setValuecxx . . $ Settings#setValue(365356ede4ebaabb).(GROUPcxx . . $ `src/librssguard/miscellaneous/settings.h:32:9`!(GUI), GUIcxx . . $ GUI/::IconThemecxx . . $ GUI/IconTheme., theme_namecxx . . $ QVariant#QVariant(132dd6869045752b).); |
| 92 | } |
| 93 | |
| 94 | QStringcxx . . $ QString# IconFactorycxx . . $ IconFactory#::currentIconThemecxx . . $ IconFactory#currentIconTheme(6ef7b6c27b00b43d).() const { |
| 95 | return qAppcxx . . $ `src/librssguard/miscellaneous/application.h:30:9`!->settingscxx . . $ Application#settings(951936487a2d9252).()->valuecxx . . $ Settings#value(8f1f29a69568d71a).(GROUPcxx . . $ `src/librssguard/miscellaneous/settings.h:32:9`!(GUI), SETTINGcxx . . $ `src/librssguard/miscellaneous/settings.h:30:9`!(GUI::IconTheme)).toStringcxx . . $ QVariant#toString(6ef7b6c27b00b43d).(); |
| 96 | } |
| 97 | |
| 98 | void IconFactorycxx . . $ IconFactory#::loadCurrentIconThemecxx . . $ IconFactory#loadCurrentIconTheme(49f6e7a06ebc5aa8).() { |
| 99 | const QStringListcxx . . $ QStringList# installed_themes = installedIconThemescxx . . $ IconFactory#installedIconThemes(2b25566bdf736d18).(); |
| 100 | const QStringcxx . . $ QString# theme_name_from_settings = qAppcxx . . $ `src/librssguard/miscellaneous/application.h:30:9`!->settingscxx . . $ Application#settings(951936487a2d9252).()->valuecxx . . $ Settings#value(8f1f29a69568d71a).(GROUPcxx . . $ `src/librssguard/miscellaneous/settings.h:32:9`!(GUI), SETTINGcxx . . $ `src/librssguard/miscellaneous/settings.h:30:9`!(GUI::IconTheme)).toStringcxx . . $ QVariant#toString(6ef7b6c27b00b43d).(); |
| 101 | |
| 102 | if (QIconcxx . . $ QIcon#::themeNamecxx . . $ QIcon#themeName(4365c3963150523e).() ==cxx . . $ `operator==`(5bc2975d2d751687). theme_name_from_settings) { |
| 103 | qDebugNNcxx . . $ `src/librssguard/definitions/definitions.h:413:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). LOGSEC_GUIcxx . . $ `src/librssguard/definitions/definitions.h:174:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "Icon theme" <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). QUOTE_W_SPACEcxx . . $ `src/librssguard/definitions/definitions.h:432:9`!(theme_name_from_settings) <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "already loaded."; |
| 104 | return; |
| 105 | } |
| 106 | |
| 107 | // Display list of installed themes. |
| 108 | qDebugNNcxx . . $ `src/librssguard/definitions/definitions.h:413:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). LOGSEC_GUIcxx . . $ `src/librssguard/definitions/definitions.h:174:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "Installed icon themes are: " |
| 109 | <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). QStringListcxx . . $ QStringList#(installed_themes) |
| 110 | .replaceInStringscxx . . $ QListSpecialMethods#replaceInStrings(a0bd21a9b6cf1410).(QRegularExpressioncxx . . $ QRegularExpression#QRegularExpression(4279d2539df7cd4a).(QSLcxx . . $ `src/librssguard/definitions/definitions.h:442:9`!("^|$")), QSLcxx . . $ `src/librssguard/definitions/definitions.h:442:9`!("\'")) |
| 111 | .replaceInStringscxx . . $ QListSpecialMethods#replaceInStrings(a0bd21a9b6cf1410).(QRegularExpressioncxx . . $ QRegularExpression#QRegularExpression(4279d2539df7cd4a).(QSLcxx . . $ `src/librssguard/definitions/definitions.h:442:9`!("^\\'$")), QSLcxx . . $ `src/librssguard/definitions/definitions.h:442:9`!("\'\'")) |
| 112 | .joincxx . . $ QListSpecialMethods#join(5555d9024dcf93fb).(QSLcxx . . $ `src/librssguard/definitions/definitions.h:442:9`!(", ")); |
| 113 | |
| 114 | if (installed_themes.containscxx . . $ QListSpecialMethods#contains(89bcd3f9aa09e28b).(theme_name_from_settings)) { |
| 115 | // Desired icon theme is installed and can be loaded. |
| 116 | #if defined(Q_OS_UNIXcxx . . $ `/usr/include/x86_64-linux-gnu/qt6/QtCore/qsystemdetection.h:149:11`!) && !defined(Q_OS_MACOS) |
| 117 | if (theme_name_from_settings.isEmptycxx . . $ QString#isEmpty(3482b152b9333168).()) { |
| 118 | qDebugNNcxx . . $ `src/librssguard/definitions/definitions.h:413:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). LOGSEC_GUIcxx . . $ `src/librssguard/definitions/definitions.h:174:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "Loading default system icon theme."; |
| 119 | } |
| 120 | else { |
| 121 | qDebugNNcxx . . $ `src/librssguard/definitions/definitions.h:413:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). LOGSEC_GUIcxx . . $ `src/librssguard/definitions/definitions.h:174:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "Loading icon theme" <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). QUOTE_W_SPACE_DOTcxx . . $ `src/librssguard/definitions/definitions.h:430:9`!(theme_name_from_settings); |
| 122 | QIconcxx . . $ QIcon#::setThemeNamecxx . . $ QIcon#setThemeName(3520e46b33348bf6).(theme_name_from_settings); |
| 123 | } |
| 124 | #else |
| 125 | qDebugNN << LOGSEC_GUI << "Loading icon theme" << QUOTE_W_SPACE_DOT(theme_name_from_settings); |
| 126 | QIcon::setThemeName(theme_name_from_settings); |
| 127 | #endif |
| 128 | } |
| 129 | else { |
| 130 | // Desired icon theme is not currently available. |
| 131 | // Activate "default" or "no" icon theme instead. |
| 132 | #if defined(Q_OS_UNIXcxx . . $ `/usr/include/x86_64-linux-gnu/qt6/QtCore/qsystemdetection.h:149:11`!) && !defined(Q_OS_MACOS) |
| 133 | qWarningNNcxx . . $ `src/librssguard/definitions/definitions.h:417:9`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "Icon theme" <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). QUOTE_W_SPACEcxx . . $ `src/librssguard/definitions/definitions.h:432:9`!(theme_name_from_settings) |
| 134 | <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "cannot be loaded because it is not installed. Activating \"no\" icon theme."; |
| 135 | #else |
| 136 | qWarningNN << "Icon theme" << QUOTE_W_SPACE(theme_name_from_settings) |
| 137 | << "cannot be loaded because it is not installed. Activating \"no\" icon theme."; |
| 138 | QIcon::setThemeName(QSL(APP_NO_THEME)); |
| 139 | #endif |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | QStringListcxx . . $ QStringList# IconFactorycxx . . $ IconFactory#::installedIconThemescxx . . $ IconFactory#installedIconThemes(2b25566bdf736d18).() const { |
| 144 | QStringListcxx . . $ QStringList# icon_theme_names = {cxx . . $ QList#QList(b6da5b9a9f304025).QSLcxx . . $ `src/librssguard/definitions/definitions.h:442:9`!(APP_NO_THEMEcxx . . $ `src/librssguard/definitions/definitions.h:276:9`!)}; |
| 145 | |
| 146 | // Iterate all directories with icon themes. |
| 147 | QStringListcxx . . $ QStringList# icon_themes_paths = QIconcxx . . $ QIcon#::themeSearchPathscxx . . $ QIcon#themeSearchPaths(346f0183abd8f69).(); |
| 148 | QStringListcxx . . $ QStringList# filters_indexcxx . . $ QList#QList(ced63f7c635d850d).; |
| 149 | |
| 150 | filters_index.appendcxx . . $ QList#append(1262c8661f7a27a7).(QSLcxx . . $ `src/librssguard/definitions/definitions.h:442:9`!("index.theme")); |
| 151 | icon_themes_paths.removeDuplicatescxx . . $ QListSpecialMethods#removeDuplicates(a5d9f2bf8849668d).(); |
| 152 | |
| 153 | for (const QStringcxx . . $ QString#& icon_path : icon_themes_paths) { |
| 154 | const QDircxx . . $ QDir# icon_dircxx . . $ QDir#QDir(3520e46b33348bf6).(icon_path); |
| 155 | auto icon_paths = |
| 156 | icon_dir.entryInfoListcxx . . $ QDir#entryInfoList(c85cb969d00e05df).(QDircxx . . $ QDir#::Filtercxx . . $ QDir#Filter#::Dirscxx . . $ QDir#Dirs. |cxx . . $ `operator|`(153b300229e4e3d0). QDircxx . . $ QDir#::Filtercxx . . $ QDir#Filter#::NoDotAndDotDotcxx . . $ QDir#NoDotAndDotDot. |cxx . . $ QFlags#`operator|`(2cc1994e0be6f18e). QDircxx . . $ QDir#::Filtercxx . . $ QDir#Filter#::Readablecxx . . $ QDir#Readable. |cxx . . $ QFlags#`operator|`(2cc1994e0be6f18e). |
| 157 | QDircxx . . $ QDir#::Filtercxx . . $ QDir#Filter#::CaseSensitivecxx . . $ QDir#CaseSensitive. |cxx . . $ QFlags#`operator|`(2cc1994e0be6f18e). QDircxx . . $ QDir#::Filtercxx . . $ QDir#Filter#::NoSymLinkscxx . . $ QDir#NoSymLinks., |
| 158 | QDircxx . . $ QFlags#QFlags(93d577a3e9528307).::SortFlagcxx . . $ QDir#SortFlag#::Timecxx . . $ QDir#Time.); |
| 159 | |
| 160 | // Iterate all icon themes in this directory. |
| 161 | for (const QFileInfocxx . . $ QFileInfo#& icon_theme_path : stdcxx . . $ std/::as_constcxx . . $ std/as_const(1dc117cbefefc300).(icon_paths)) { |
| 162 | QDircxx . . $ QDir# icon_theme_dir = QDircxx . . $ QDir#QDir(3520e46b33348bf6).(icon_theme_path.absoluteFilePathcxx . . $ QFileInfo#absoluteFilePath(6ef7b6c27b00b43d).()); |
| 163 | |
| 164 | if (icon_theme_dir.existscxx . . $ QDir#exists(f3b39adf77d9c36c).(filters_index.atcxx . . $ QList#at(c7965f769b39929).(0))) { |
| 165 | icon_theme_names <<cxx . . $ QList#`operator<<`(457f2c2a0db63381). icon_theme_dir.dirNamecxx . . $ QDir#dirName(6ef7b6c27b00b43d).(); |
| 166 | } |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | icon_theme_names.removeDuplicatescxx . . $ QListSpecialMethods#removeDuplicates(a5d9f2bf8849668d).(); |
| 171 | return icon_theme_names; |
| 172 | } |