qfileiconprovider.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qfileiconprovider.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2**-
3** Copyright (C) 2016 The Qt Company Ltd.-
4** Contact: https://www.qt.io/licensing/-
5**-
6** This file is part of the QtWidgets module of the Qt Toolkit.-
7**-
8** $QT_BEGIN_LICENSE:LGPL$-
9** Commercial License Usage-
10** Licensees holding valid commercial Qt licenses may use this file in-
11** accordance with the commercial license agreement provided with the-
12** Software or, alternatively, in accordance with the terms contained in-
13** a written agreement between you and The Qt Company. For licensing terms-
14** and conditions see https://www.qt.io/terms-conditions. For further-
15** information use the contact form at https://www.qt.io/contact-us.-
16**-
17** GNU Lesser General Public License Usage-
18** Alternatively, this file may be used under the terms of the GNU Lesser-
19** General Public License version 3 as published by the Free Software-
20** Foundation and appearing in the file LICENSE.LGPL3 included in the-
21** packaging of this file. Please review the following information to-
22** ensure the GNU Lesser General Public License version 3 requirements-
23** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.-
24**-
25** GNU General Public License Usage-
26** Alternatively, this file may be used under the terms of the GNU-
27** General Public License version 2.0 or (at your option) the GNU General-
28** Public license version 3 or any later version approved by the KDE Free-
29** Qt Foundation. The licenses are as published by the Free Software-
30** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3-
31** included in the packaging of this file. Please review the following-
32** information to ensure the GNU General Public License requirements will-
33** be met: https://www.gnu.org/licenses/gpl-2.0.html and-
34** https://www.gnu.org/licenses/gpl-3.0.html.-
35**-
36** $QT_END_LICENSE$-
37**-
38****************************************************************************/-
39-
40#include "qfileiconprovider.h"-
41#include "qfileiconprovider_p.h"-
42-
43#include <qapplication.h>-
44#include <qdir.h>-
45#include <qpixmapcache.h>-
46#include <private/qfunctions_p.h>-
47#include <private/qguiapplication_p.h>-
48#include <private/qicon_p.h>-
49#include <qpa/qplatformintegration.h>-
50#include <qpa/qplatformservices.h>-
51#include <qpa/qplatformtheme.h>-
52-
53#if defined(Q_OS_WIN)-
54# include <qt_windows.h>-
55# ifndef Q_OS_WINRT-
56# include <commctrl.h>-
57# include <objbase.h>-
58# endif-
59#endif-
60-
61QT_BEGIN_NAMESPACE-
62-
63static bool isCacheable(const QFileInfo &fi);-
64-
65class QFileIconEngine : public QPixmapIconEngine-
66{-
67public:-
68 QFileIconEngine(const QFileInfo &info, QFileIconProvider::Options opts)-
69 : QPixmapIconEngine(), m_fileInfo(info), m_fipOpts(opts)-
70 { }
never executed: end of block
0
71-
72 QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state) Q_DECL_OVERRIDE-
73 {-
74 Q_UNUSED(mode);-
75 Q_UNUSED(state);-
76 QPixmap pixmap;-
77-
78 if (!size.isValid())
!size.isValid()Description
TRUEnever evaluated
FALSEnever evaluated
0
79 return pixmap;
never executed: return pixmap;
0
80-
81 const QPlatformTheme *theme = QGuiApplicationPrivate::platformTheme();-
82 if (!theme)
!themeDescription
TRUEnever evaluated
FALSEnever evaluated
0
83 return pixmap;
never executed: return pixmap;
0
84-
85 const QString &keyBase = QLatin1String("qt_.") + m_fileInfo.suffix().toUpper();-
86-
87 bool cacheable = isCacheable(m_fileInfo);-
88 if (cacheable) {
cacheableDescription
TRUEnever evaluated
FALSEnever evaluated
0
89 QPixmapCache::find(keyBase + QString::number(size.width()), pixmap);-
90 if (!pixmap.isNull())
!pixmap.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
91 return pixmap;
never executed: return pixmap;
0
92 }
never executed: end of block
0
93-
94 QPlatformTheme::IconOptions iconOptions;-
95 if (m_fipOpts & QFileIconProvider::DontUseCustomDirectoryIcons)
m_fipOpts & QF...DirectoryIconsDescription
TRUEnever evaluated
FALSEnever evaluated
0
96 iconOptions |= QPlatformTheme::DontUseCustomDirectoryIcons;
never executed: iconOptions |= QPlatformTheme::DontUseCustomDirectoryIcons;
0
97-
98 pixmap = theme->fileIconPixmap(m_fileInfo, size, iconOptions);-
99 if (!pixmap.isNull()) {
!pixmap.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
100 if (cacheable)
cacheableDescription
TRUEnever evaluated
FALSEnever evaluated
0
101 QPixmapCache::insert(keyBase + QString::number(size.width()), pixmap);
never executed: QPixmapCache::insert(keyBase + QString::number(size.width()), pixmap);
0
102 }
never executed: end of block
0
103-
104 return pixmap;
never executed: return pixmap;
0
105 }-
106-
107 QList<QSize> availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const Q_DECL_OVERRIDE-
108 {-
109 Q_UNUSED(mode);-
110 Q_UNUSED(state);-
111 static QList<QSize> sizes;-
112 static QPlatformTheme *theme = 0;-
113 if (!theme) {
!themeDescription
TRUEnever evaluated
FALSEnever evaluated
0
114 theme = QGuiApplicationPrivate::platformTheme();-
115 if (!theme)
!themeDescription
TRUEnever evaluated
FALSEnever evaluated
0
116 return sizes;
never executed: return sizes;
0
117-
118 QList<int> themeSizes = theme->themeHint(QPlatformTheme::IconPixmapSizes).value<QList<int> >();-
119 if (themeSizes.isEmpty())
themeSizes.isEmpty()Description
TRUEnever evaluated
FALSEnever evaluated
0
120 return sizes;
never executed: return sizes;
0
121-
122 sizes.reserve(themeSizes.count());-
123 foreach (int size, themeSizes)-
124 sizes << QSize(size, size);
never executed: sizes << QSize(size, size);
0
125 }
never executed: end of block
0
126 return sizes;
never executed: return sizes;
0
127 }-
128-
129 QSize actualSize(const QSize &size, QIcon::Mode mode, QIcon::State state) Q_DECL_OVERRIDE-
130 {-
131 const QList<QSize> &sizes = availableSizes(mode, state);-
132 const int numberSizes = sizes.length();-
133 if (numberSizes == 0)
numberSizes == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
134 return QSize();
never executed: return QSize();
0
135-
136 // Find the smallest available size whose area is still larger than the input-
137 // size. Otherwise, use the largest area available size. (We don't assume the-
138 // platform theme sizes are sorted, hence the extra logic.)-
139 const int sizeArea = size.width() * size.height();-
140 QSize actualSize = sizes.first();-
141 int actualArea = actualSize.width() * actualSize.height();-
142 for (int i = 1; i < numberSizes; ++i) {
i < numberSizesDescription
TRUEnever evaluated
FALSEnever evaluated
0
143 const QSize &s = sizes.at(i);-
144 const int a = s.width() * s.height();-
145 if ((sizeArea <= a && a < actualArea) || (actualArea < sizeArea && actualArea < a)) {
sizeArea <= aDescription
TRUEnever evaluated
FALSEnever evaluated
a < actualAreaDescription
TRUEnever evaluated
FALSEnever evaluated
actualArea < sizeAreaDescription
TRUEnever evaluated
FALSEnever evaluated
actualArea < aDescription
TRUEnever evaluated
FALSEnever evaluated
0
146 actualSize = s;-
147 actualArea = a;-
148 }
never executed: end of block
0
149 }
never executed: end of block
0
150-
151 if (!actualSize.isNull() && (actualSize.width() > size.width() || actualSize.height() > size.height()))
!actualSize.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
actualSize.wid...> size.width()Description
TRUEnever evaluated
FALSEnever evaluated
actualSize.hei... size.height()Description
TRUEnever evaluated
FALSEnever evaluated
0
152 actualSize.scale(size, Qt::KeepAspectRatio);
never executed: actualSize.scale(size, Qt::KeepAspectRatio);
0
153-
154 return actualSize;
never executed: return actualSize;
0
155 }-
156-
157private:-
158 QFileInfo m_fileInfo;-
159 QFileIconProvider::Options m_fipOpts;-
160};-
161-
162-
163/*!-
164 \class QFileIconProvider-
165-
166 \inmodule QtWidgets-
167-
168 \brief The QFileIconProvider class provides file icons for the QDirModel and the QFileSystemModel classes.-
169*/-
170-
171/*!-
172 \enum QFileIconProvider::IconType-
173 \value Computer-
174 \value Desktop-
175 \value Trashcan-
176 \value Network-
177 \value Drive-
178 \value Folder-
179 \value File-
180*/-
181-
182-
183/*!-
184 \enum QFileIconProvider::Option-
185 \since 5.2-
186-
187 \value DontUseCustomDirectoryIcons Always use the default directory icon.-
188 Some platforms allow the user to set a different icon. Custom icon lookup-
189 cause a big performance impact over network or removable drives.-
190*/-
191-
192QFileIconProviderPrivate::QFileIconProviderPrivate(QFileIconProvider *q) :-
193 q_ptr(q), homePath(QDir::home().absolutePath())-
194{-
195}
never executed: end of block
0
196-
197QIcon QFileIconProviderPrivate::getIcon(QStyle::StandardPixmap name) const-
198{-
199 switch (name) {-
200 case QStyle::SP_FileIcon:
never executed: case QStyle::SP_FileIcon:
0
201 if (file.isNull())
file.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
202 file = QApplication::style()->standardIcon(name);
never executed: file = QApplication::style()->standardIcon(name);
0
203 return file;
never executed: return file;
0
204 case QStyle::SP_FileLinkIcon:
never executed: case QStyle::SP_FileLinkIcon:
0
205 if (fileLink.isNull())
fileLink.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
206 fileLink = QApplication::style()->standardIcon(name);
never executed: fileLink = QApplication::style()->standardIcon(name);
0
207 return fileLink;
never executed: return fileLink;
0
208 case QStyle::SP_DirIcon:
never executed: case QStyle::SP_DirIcon:
0
209 if (directory.isNull())
directory.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
210 directory = QApplication::style()->standardIcon(name);
never executed: directory = QApplication::style()->standardIcon(name);
0
211 return directory;
never executed: return directory;
0
212 case QStyle::SP_DirLinkIcon:
never executed: case QStyle::SP_DirLinkIcon:
0
213 if (directoryLink.isNull())
directoryLink.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
214 directoryLink = QApplication::style()->standardIcon(name);
never executed: directoryLink = QApplication::style()->standardIcon(name);
0
215 return directoryLink;
never executed: return directoryLink;
0
216 case QStyle::SP_DriveHDIcon:
never executed: case QStyle::SP_DriveHDIcon:
0
217 if (harddisk.isNull())
harddisk.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
218 harddisk = QApplication::style()->standardIcon(name);
never executed: harddisk = QApplication::style()->standardIcon(name);
0
219 return harddisk;
never executed: return harddisk;
0
220 case QStyle::SP_DriveFDIcon:
never executed: case QStyle::SP_DriveFDIcon:
0
221 if (floppy.isNull())
floppy.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
222 floppy = QApplication::style()->standardIcon(name);
never executed: floppy = QApplication::style()->standardIcon(name);
0
223 return floppy;
never executed: return floppy;
0
224 case QStyle::SP_DriveCDIcon:
never executed: case QStyle::SP_DriveCDIcon:
0
225 if (cdrom.isNull())
cdrom.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
226 cdrom = QApplication::style()->standardIcon(name);
never executed: cdrom = QApplication::style()->standardIcon(name);
0
227 return cdrom;
never executed: return cdrom;
0
228 case QStyle::SP_DriveNetIcon:
never executed: case QStyle::SP_DriveNetIcon:
0
229 if (network.isNull())
network.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
230 network = QApplication::style()->standardIcon(name);
never executed: network = QApplication::style()->standardIcon(name);
0
231 return network;
never executed: return network;
0
232 case QStyle::SP_ComputerIcon:
never executed: case QStyle::SP_ComputerIcon:
0
233 if (computer.isNull())
computer.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
234 computer = QApplication::style()->standardIcon(name);
never executed: computer = QApplication::style()->standardIcon(name);
0
235 return computer;
never executed: return computer;
0
236 case QStyle::SP_DesktopIcon:
never executed: case QStyle::SP_DesktopIcon:
0
237 if (desktop.isNull())
desktop.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
238 desktop = QApplication::style()->standardIcon(name);
never executed: desktop = QApplication::style()->standardIcon(name);
0
239 return desktop;
never executed: return desktop;
0
240 case QStyle::SP_TrashIcon:
never executed: case QStyle::SP_TrashIcon:
0
241 if (trashcan.isNull())
trashcan.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
242 trashcan = QApplication::style()->standardIcon(name);
never executed: trashcan = QApplication::style()->standardIcon(name);
0
243 return trashcan;
never executed: return trashcan;
0
244 case QStyle::SP_DirHomeIcon:
never executed: case QStyle::SP_DirHomeIcon:
0
245 if (home.isNull())
home.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
246 home = QApplication::style()->standardIcon(name);
never executed: home = QApplication::style()->standardIcon(name);
0
247 return home;
never executed: return home;
0
248 default:
never executed: default:
0
249 return QIcon();
never executed: return QIcon();
0
250 }-
251 return QIcon();
dead code: return QIcon();
-
252}-
253-
254/*!-
255 Constructs a file icon provider.-
256*/-
257-
258QFileIconProvider::QFileIconProvider()-
259 : d_ptr(new QFileIconProviderPrivate(this))-
260{-
261}
never executed: end of block
0
262-
263/*!-
264 Destroys the file icon provider.-
265-
266*/-
267-
268QFileIconProvider::~QFileIconProvider()-
269{-
270}-
271-
272/*!-
273 \since 5.2-
274 Sets \a options that affect the icon provider.-
275 \sa options()-
276*/-
277-
278void QFileIconProvider::setOptions(QFileIconProvider::Options options)-
279{-
280 Q_D(QFileIconProvider);-
281 d->options = options;-
282}
never executed: end of block
0
283-
284/*!-
285 \since 5.2-
286 Returns all the options that affect the icon provider.-
287 By default, all options are disabled.-
288 \sa setOptions()-
289*/-
290-
291QFileIconProvider::Options QFileIconProvider::options() const-
292{-
293 Q_D(const QFileIconProvider);-
294 return d->options;
never executed: return d->options;
0
295}-
296-
297/*!-
298 Returns an icon set for the given \a type.-
299*/-
300-
301QIcon QFileIconProvider::icon(IconType type) const-
302{-
303 Q_D(const QFileIconProvider);-
304 switch (type) {-
305 case Computer:
never executed: case Computer:
0
306 return d->getIcon(QStyle::SP_ComputerIcon);
never executed: return d->getIcon(QStyle::SP_ComputerIcon);
0
307 case Desktop:
never executed: case Desktop:
0
308 return d->getIcon(QStyle::SP_DesktopIcon);
never executed: return d->getIcon(QStyle::SP_DesktopIcon);
0
309 case Trashcan:
never executed: case Trashcan:
0
310 return d->getIcon(QStyle::SP_TrashIcon);
never executed: return d->getIcon(QStyle::SP_TrashIcon);
0
311 case Network:
never executed: case Network:
0
312 return d->getIcon(QStyle::SP_DriveNetIcon);
never executed: return d->getIcon(QStyle::SP_DriveNetIcon);
0
313 case Drive:
never executed: case Drive:
0
314 return d->getIcon(QStyle::SP_DriveHDIcon);
never executed: return d->getIcon(QStyle::SP_DriveHDIcon);
0
315 case Folder:
never executed: case Folder:
0
316 return d->getIcon(QStyle::SP_DirIcon);
never executed: return d->getIcon(QStyle::SP_DirIcon);
0
317 case File:
never executed: case File:
0
318 return d->getIcon(QStyle::SP_FileIcon);
never executed: return d->getIcon(QStyle::SP_FileIcon);
0
319 default:
never executed: default:
0
320 break;
never executed: break;
0
321 };-
322 return QIcon();
never executed: return QIcon();
0
323}-
324-
325static bool isCacheable(const QFileInfo &fi)-
326{-
327 if (!fi.isFile())
!fi.isFile()Description
TRUEnever evaluated
FALSEnever evaluated
0
328 return false;
never executed: return false;
0
329-
330#ifdef Q_OS_WIN-
331 // On windows it's faster to just look at the file extensions. QTBUG-13182-
332 const QString fileExtension = fi.suffix();-
333 // Will return false for .exe, .lnk and .ico extensions-
334 return fileExtension.compare(QLatin1String("exe"), Qt::CaseInsensitive) &&-
335 fileExtension.compare(QLatin1String("lnk"), Qt::CaseInsensitive) &&-
336 fileExtension.compare(QLatin1String("ico"), Qt::CaseInsensitive);-
337#else-
338 return !fi.isExecutable() && !fi.isSymLink();
never executed: return !fi.isExecutable() && !fi.isSymLink();
0
339#endif-
340}-
341-
342QIcon QFileIconProviderPrivate::getIcon(const QFileInfo &fi) const-
343{-
344 const QPlatformTheme *theme = QGuiApplicationPrivate::platformTheme();-
345 if (!theme)
!themeDescription
TRUEnever evaluated
FALSEnever evaluated
0
346 return QIcon();
never executed: return QIcon();
0
347-
348 QList<int> sizes = theme->themeHint(QPlatformTheme::IconPixmapSizes).value<QList<int> >();-
349 if (sizes.isEmpty())
sizes.isEmpty()Description
TRUEnever evaluated
FALSEnever evaluated
0
350 return QIcon();
never executed: return QIcon();
0
351-
352 return QIcon(new QFileIconEngine(fi, options));
never executed: return QIcon(new QFileIconEngine(fi, options));
0
353}-
354-
355/*!-
356 Returns an icon for the file described by \a info.-
357*/-
358-
359QIcon QFileIconProvider::icon(const QFileInfo &info) const-
360{-
361 Q_D(const QFileIconProvider);-
362-
363 QIcon retIcon = d->getIcon(info);-
364 if (!retIcon.isNull())
!retIcon.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
0
365 return retIcon;
never executed: return retIcon;
0
366-
367 if (info.isRoot())
info.isRoot()Description
TRUEnever evaluated
FALSEnever evaluated
0
368#if defined (Q_OS_WIN) && !defined(Q_OS_WINCE) && !defined(Q_OS_WINRT)-
369 {-
370 UINT type = GetDriveType((wchar_t *)info.absoluteFilePath().utf16());-
371-
372 switch (type) {-
373 case DRIVE_REMOVABLE:-
374 return d->getIcon(QStyle::SP_DriveFDIcon);-
375 case DRIVE_FIXED:-
376 return d->getIcon(QStyle::SP_DriveHDIcon);-
377 case DRIVE_REMOTE:-
378 return d->getIcon(QStyle::SP_DriveNetIcon);-
379 case DRIVE_CDROM:-
380 return d->getIcon(QStyle::SP_DriveCDIcon);-
381 case DRIVE_RAMDISK:-
382 case DRIVE_UNKNOWN:-
383 case DRIVE_NO_ROOT_DIR:-
384 default:-
385 return d->getIcon(QStyle::SP_DriveHDIcon);-
386 }-
387 }-
388#else-
389 return d->getIcon(QStyle::SP_DriveHDIcon);
never executed: return d->getIcon(QStyle::SP_DriveHDIcon);
0
390#endif-
391-
392 if (info.isFile()) {
info.isFile()Description
TRUEnever evaluated
FALSEnever evaluated
0
393 if (info.isSymLink())
info.isSymLink()Description
TRUEnever evaluated
FALSEnever evaluated
0
394 return d->getIcon(QStyle::SP_FileLinkIcon);
never executed: return d->getIcon(QStyle::SP_FileLinkIcon);
0
395 else-
396 return d->getIcon(QStyle::SP_FileIcon);
never executed: return d->getIcon(QStyle::SP_FileIcon);
0
397 }-
398 if (info.isDir()) {
info.isDir()Description
TRUEnever evaluated
FALSEnever evaluated
0
399 if (info.isSymLink()) {
info.isSymLink()Description
TRUEnever evaluated
FALSEnever evaluated
0
400 return d->getIcon(QStyle::SP_DirLinkIcon);
never executed: return d->getIcon(QStyle::SP_DirLinkIcon);
0
401 } else {-
402 if (info.absoluteFilePath() == d->homePath) {
info.absoluteF...== d->homePathDescription
TRUEnever evaluated
FALSEnever evaluated
0
403 return d->getIcon(QStyle::SP_DirHomeIcon);
never executed: return d->getIcon(QStyle::SP_DirHomeIcon);
0
404 } else {-
405 return d->getIcon(QStyle::SP_DirIcon);
never executed: return d->getIcon(QStyle::SP_DirIcon);
0
406 }-
407 }-
408 }-
409 return QIcon();
never executed: return QIcon();
0
410}-
411-
412/*!-
413 Returns the type of the file described by \a info.-
414*/-
415-
416QString QFileIconProvider::type(const QFileInfo &info) const-
417{-
418 if (info.isRoot())
info.isRoot()Description
TRUEnever evaluated
FALSEnever evaluated
0
419 return QApplication::translate("QFileDialog", "Drive");
never executed: return QApplication::translate("QFileDialog", "Drive");
0
420 if (info.isFile()) {
info.isFile()Description
TRUEnever evaluated
FALSEnever evaluated
0
421 if (!info.suffix().isEmpty()) {
!info.suffix().isEmpty()Description
TRUEnever evaluated
FALSEnever evaluated
0
422 //: %1 is a file name suffix, for example txt-
423 return QApplication::translate("QFileDialog", "%1 File").arg(info.suffix());
never executed: return QApplication::translate("QFileDialog", "%1 File").arg(info.suffix());
0
424 }-
425 return QApplication::translate("QFileDialog", "File");
never executed: return QApplication::translate("QFileDialog", "File");
0
426 }-
427-
428 if (info.isDir())
info.isDir()Description
TRUEnever evaluated
FALSEnever evaluated
0
429#ifdef Q_OS_WIN-
430 return QApplication::translate("QFileDialog", "File Folder", "Match Windows Explorer");-
431#else-
432 return QApplication::translate("QFileDialog", "Folder", "All other platforms");
never executed: return QApplication::translate("QFileDialog", "Folder", "All other platforms");
0
433#endif-
434 // Windows - "File Folder"-
435 // OS X - "Folder"-
436 // Konqueror - "Folder"-
437 // Nautilus - "folder"-
438-
439 if (info.isSymLink())
info.isSymLink()Description
TRUEnever evaluated
FALSEnever evaluated
0
440#ifdef Q_OS_MAC-
441 return QApplication::translate("QFileDialog", "Alias", "OS X Finder");-
442#else-
443 return QApplication::translate("QFileDialog", "Shortcut", "All other platforms");
never executed: return QApplication::translate("QFileDialog", "Shortcut", "All other platforms");
0
444#endif-
445 // OS X - "Alias"-
446 // Windows - "Shortcut"-
447 // Konqueror - "Folder" or "TXT File" i.e. what it is pointing to-
448 // Nautilus - "link to folder" or "link to object file", same as Konqueror-
449-
450 return QApplication::translate("QFileDialog", "Unknown");
never executed: return QApplication::translate("QFileDialog", "Unknown");
0
451}-
452-
453QT_END_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9