Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

packageinfodlg.h

Go to the documentation of this file.
00001 /*
00002                              This file is part of the Opie Project
00003 
00004                              Copyright (C)2004, 2005 Dan Williams <drw@handhelds.org>
00005               =.
00006             .=l.
00007            .>+-=
00008  _;:,     .>    :=|.         This program is free software; you can
00009 .> <`_,   >  .   <=          redistribute it and/or  modify it under
00010 :`=1 )Y*s>-.--   :           the terms of the GNU Library General Public
00011 .="- .-=="i,     .._         License as published by the Free Software
00012  - .   .-<_>     .<>         Foundation; either version 2 of the License,
00013      ._= =}       :          or (at your option) any later version.
00014     .%`+i>       _;_.
00015     .i_,=:_.      -<s.       This program is distributed in the hope that
00016      +  .  -:.       =       it will be useful,  but WITHOUT ANY WARRANTY;
00017     : ..    .:,     . . .    without even the implied warranty of
00018     =_        +     =;=|`    MERCHANTABILITY or FITNESS FOR A
00019   _.=:.       :    :=>`:     PARTICULAR PURPOSE. See the GNU
00020 ..}^=.=       =       ;      Library General Public License for more
00021 ++=   -.     .`     .:       details.
00022 :     =  ...= . :.=-
00023  -.   .:....=;==+<;          You should have received a copy of the GNU
00024   -_. . .   )=.  =           Library General Public License along with
00025     --        :-=`           this library; see the file COPYING.LIB.
00026                              If not, write to the Free Software Foundation,
00027                              Inc., 59 Temple Place - Suite 330,
00028                              Boston, MA 02111-1307, USA.
00029 */
00030 
00031 #ifndef PACKAGEINFODLG_H
00032 #define PACKAGEINFODLG_H
00033 
00034 #include "opackage.h"
00035 
00036 #include <qmultilineedit.h>
00037 #include <qwidget.h>
00038 
00039 class QPushButton;
00040 
00041 class OPackage;
00042 class OPackageManager;
00043 
00044 class PackageInfoDlg : public QWidget
00045 {
00046     Q_OBJECT
00047 
00048 public:
00049     PackageInfoDlg( QWidget *parent = 0l, OPackageManager *pm = 0l, const QString &package = QString::null );
00050     ~PackageInfoDlg();
00051 
00052 private:
00053     OPackageManager *m_packman;     // Pointer to application instance of package manager
00054     OPackage        *m_package;     // Pointer to package to display information for
00055 
00056     // UI controls
00057     QMultiLineEdit   m_information;   // Multi-line edit to display package information
00058     QMultiLineEdit   m_files;         // Multi-line edit to display package file list
00059     QPushButton     *m_retrieveFiles; // Push button to retrieve file list
00060 
00061 private slots:
00062     void slotBtnFileScan();
00063     void slotInfo( const QString &info );
00064     void slotFiles( const QString &filelist );
00065 };
00066 
00067 #endif

Generated on Sat Nov 5 16:17:57 2005 for OPIE by  doxygen 1.4.2