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

ark

infopanel.h

Go to the documentation of this file.
00001 /*
00002  * ark -- archiver for the KDE project
00003  *
00004  * Copyright (C) 2007 Henrique Pinto <henrique.pinto@kdemail.net>
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00019  *
00020  */
00021 #ifndef INFOPANEL_H
00022 #define INFOPANEL_H
00023 
00024 #include <QFrame>
00025 #include "kerfuffle/archive.h"
00026 #include "archivemodel.h"
00027 #include "ui_infopanel.h"
00028 
00029 
00030 class InfoPanel: public QFrame, Ui::InformationPanel
00031 {
00032     Q_OBJECT
00033     public:
00034         explicit InfoPanel( ArchiveModel *model, QWidget *parent = 0 );
00035         ~InfoPanel();
00036 
00037         void setIndex( const QModelIndex & );
00038         void setIndexes( const QModelIndexList &list );
00039 
00040     private:
00041         void setDefaultValues();
00042 
00043         void showMetaData();
00044         void hideMetaData();
00045 
00046         void showActions();
00047         void hideActions();
00048 
00049         QString metadataTextFor( const QModelIndex & );
00050 
00051         ArchiveModel *m_model;
00052 };
00053 
00054 #endif // INFOPANEL_H

ark

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

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal