• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

ark

Public Member Functions | List of all members
InfoPanel Class Reference

#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

InfoPanel::InfoPanel ( ArchiveModel *  model,
QWidget *  parent = 0 
)
explicit

Definition at line 40 of file infopanel.cpp.

InfoPanel::~InfoPanel ( )
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
fileNameThe 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:
  • infopanel.h
  • infopanel.cpp
This file is part of the KDE documentation.
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.

ark

Skip menu "ark"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal