summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/installdialog.h
blob: d3510ff405f2a3a4a034fd418e67d4f101b78520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
// (c) 2002 Patrick S. Vogt <tille@handhelds.org>


#ifndef INSTALLDIALOG_H
#define INSTALLDIALOG_H

#include "pksettings.h"
#include "packagelistview.h"
#include <qvariant.h>
#include <qdialog.h>
class QVBoxLayout; 
class QHBoxLayout; 
class QGridLayout; 
class QCheckBox;
class QGroupBox;
class QListView;
class QListViewItem;

class InstallDialog : public QDialog
{ 
    Q_OBJECT

public:    InstallDialog( PackageManagerSettings* s, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~InstallDialog();

    PackageListView* ListViewPackages;
    QGroupBox* GroupBoxOptions;
    QCheckBox* _force_depends;
    QCheckBox* _force_reinstall;
    QCheckBox* _force_overwrite;
    QCheckBox* _force_remove;
		QCheckListItem *toRemoveItem;
		QCheckListItem *toInstallItem;

protected:
    QGridLayout* InstallDialogLayout;
    QGridLayout* GroupBoxOptionsLayout;
    bool event( QEvent* );
private:
		PackageManagerSettings* settings;
};

#endif // INSTALLDIALOG_H