Diffstat (limited to 'noncore/settings/aqpkg/instoptionsimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/instoptionsimpl.cpp | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/instoptionsimpl.cpp b/noncore/settings/aqpkg/instoptionsimpl.cpp new file mode 100644 index 0000000..d9d2be9 --- a/dev/null +++ b/noncore/settings/aqpkg/instoptionsimpl.cpp | |||
@@ -0,0 +1,49 @@ | |||
1 | /*************************************************************************** | ||
2 | instoptionsimpl.cpp - description | ||
3 | ------------------- | ||
4 | begin : Mon Aug 26 2002 | ||
5 | copyright : (C) 2002 by Andy Qua | ||
6 | email : andy.qua@blueyonder.co.uk | ||
7 | ***************************************************************************/ | ||
8 | |||
9 | /*************************************************************************** | ||
10 | * * | ||
11 | * This program is free software; you can redistribute it and/or modify * | ||
12 | * it under the terms of the GNU General Public License as published by * | ||
13 | * the Free Software Foundation; either version 2 of the License, or * | ||
14 | * (at your option) any later version. * | ||
15 | * * | ||
16 | ***************************************************************************/ | ||
17 | |||
18 | #ifdef QWS | ||
19 | #include <qpe/config.h> | ||
20 | #endif | ||
21 | |||
22 | #include <qdialog.h> | ||
23 | #include <qcheckbox.h> | ||
24 | |||
25 | #include "instoptionsimpl.h" | ||
26 | #include "ipkg.h" | ||
27 | #include "global.h" | ||
28 | |||
29 | InstallOptionsDlgImpl::InstallOptionsDlgImpl( int flags, QWidget * parent, const char* name, bool modal, WFlags fl ) | ||
30 | : InstallOptionsDlg( parent, name, modal, fl ) | ||
31 | { | ||
32 | if ( flags & FORCE_DEPENDS ) | ||
33 | forceDepends->setChecked( true ); | ||
34 | if ( flags & FORCE_REINSTALL ) | ||
35 | forceReinstall->setChecked( true ); | ||
36 | if ( flags & FORCE_REMOVE ) | ||
37 | forceRemove->setChecked( true ); | ||
38 | if ( flags & FORCE_OVERWRITE ) | ||
39 | forceOverwrite->setChecked( true ); | ||
40 | if ( flags & MAKE_LINKS ) | ||
41 | makeLinks->setChecked( true ); | ||
42 | |||
43 | showMaximized(); | ||
44 | |||
45 | } | ||
46 | |||
47 | InstallOptionsDlgImpl::~InstallOptionsDlgImpl() | ||
48 | { | ||
49 | } | ||