ark
infopanel.cpp
Go to the documentation of this file.
37 return KIconLoader::global()->loadMimeTypeIcon(mimeName, KIconLoader::Desktop, KIconLoader::SizeHuge);
63 iconLabel->setPixmap(KIconLoader::global()->loadIcon(QLatin1String( "utilities-file-archiver" ), KIconLoader::Desktop, KIconLoader::SizeHuge));
127 const QStringList nameParts = entry[ FileName ].toString().split(QLatin1Char( '/' ), QString::SkipEmptyParts);
143 iconLabel->setPixmap(KIconLoader::global()->loadIcon(QLatin1String( "utilities-file-archiver" ), KIconLoader::Desktop, KIconLoader::SizeHuge));
void setPointSize(int pointSize)
void setupUi(QWidget *widget)
int pixelSize() const
void setPrettyFileName(const QString &fileName)
Sets a different file name for the current open archive.
Definition: infopanel.cpp:90
const QObjectList & children() const
Definition: archivemodel.h:41
void setPixelSize(int pixelSize)
const char * name() const
bool isValid() const
int count(const T &value) const
QString fileName() const
bool isEmpty() const
int childCount(const QModelIndex &index, int &dirs, int &files) const
Definition: archivemodel.cpp:463
char * toString(const T &value)
T & last()
QStringList split(const QString &sep, const QString &str, bool allowEmptyEntries)
int pointSize() const
QString prettyFileName() const
Returns the file name that is displayed on the info panel.
Definition: infopanel.cpp:78
Kerfuffle::ArchiveEntry entryForIndex(const QModelIndex &index)
Definition: archivemodel.cpp:453
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.