00001 /*************************************************************************** 00002 * * 00003 * This program is free software; you can redistribute it and/or modify * 00004 * it under the terms of the GNU General Public License as published by * 00005 * the Free Software Foundation; either version 2 of the License, or * 00006 * (at your option) any later version. * 00007 * * 00008 ***************************************************************************/ 00009 // (c) 2002 Patrick S. Vogt <tille@handhelds.org> 00010 00011 00012 #ifndef INSTALLDIALOG_H 00013 #define INSTALLDIALOG_H 00014 00015 #include "pksettings.h" 00016 #include "packagelistview.h" 00017 #include <qvariant.h> 00018 #include <qdialog.h> 00019 class QVBoxLayout; 00020 class QHBoxLayout; 00021 class QGridLayout; 00022 class QCheckBox; 00023 class QGroupBox; 00024 class QListView; 00025 class QListViewItem; 00026 00027 class InstallDialog : public QDialog 00028 { 00029 Q_OBJECT 00030 00031 public: InstallDialog( PackageManagerSettings* s, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 00032 ~InstallDialog(); 00033 00034 PackageListView* ListViewPackages; 00035 QGroupBox* GroupBoxOptions; 00036 QCheckBox* _force_depends; 00037 QCheckBox* _force_reinstall; 00038 QCheckBox* _force_overwrite; 00039 QCheckBox* _force_remove; 00040 QCheckListItem *toRemoveItem; 00041 QCheckListItem *toInstallItem; 00042 00043 protected: 00044 QGridLayout* InstallDialogLayout; 00045 QGridLayout* GroupBoxOptionsLayout; 00046 bool event( QEvent* ); 00047 private: 00048 PackageManagerSettings* settings; 00049 }; 00050 00051 #endif // INSTALLDIALOG_H
1.4.2