ark
#include <infopanel.h>
Inherits QFrame, and InformationPanel.
Public Member Functions | |
InfoPanel (ArchiveModel *model, QWidget *parent=0) | |
virtual | ~InfoPanel () |
QString | prettyFileName () const |
void | setIndex (const QModelIndex &) |
void | setIndexes (const QModelIndexList &list) |
void | setPrettyFileName (const QString &fileName) |
void | updateWithDefaults () |
Detailed Description
Definition at line 31 of file infopanel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 40 of file infopanel.cpp.
|
virtual |
Definition at line 57 of file infopanel.cpp.
Member Function Documentation
QString InfoPanel::prettyFileName | ( | ) | const |
Returns the file name that is displayed on the info panel.
- Returns
- The current file name. If no pretty name has been set, it returns the name of the loaded archive.
Definition at line 78 of file infopanel.cpp.
void InfoPanel::setIndex | ( | const QModelIndex & | index | ) |
Definition at line 95 of file infopanel.cpp.
void InfoPanel::setIndexes | ( | const QModelIndexList & | list | ) |
Definition at line 136 of file infopanel.cpp.
void InfoPanel::setPrettyFileName | ( | const QString & | fileName | ) |
Sets a different file name for the current open archive.
This is particularly useful when a temporary archive (from a remote location) is loaded, and the window title shows the remote file name and the info panel, by default, would show the name of the temporary downloaded file.
- Parameters
-
fileName The new file name.
Definition at line 90 of file infopanel.cpp.
void InfoPanel::updateWithDefaults | ( | ) |
Definition at line 61 of file infopanel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.