summaryrefslogtreecommitdiff
authorandyq <andyq>2002-10-17 22:56:55 (UTC)
committer andyq <andyq>2002-10-17 22:56:55 (UTC)
commit4ce3fb5c10a50aece4ef8a78d07ed116ad754c27 (patch) (unidiff)
tree0c966b8fbf8eb1b7592ef1792e3a693a6bae4f30
parent2f4ea594b00c0f5e220a773d0d34493546d860d3 (diff)
downloadopie-4ce3fb5c10a50aece4ef8a78d07ed116ad754c27.zip
opie-4ce3fb5c10a50aece4ef8a78d07ed116ad754c27.tar.gz
opie-4ce3fb5c10a50aece4ef8a78d07ed116ad754c27.tar.bz2
removed make links checkbox - now set per destination
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/instoptions.ui185
-rw-r--r--noncore/settings/aqpkg/instoptionsimpl.cpp4
2 files changed, 106 insertions, 83 deletions
diff --git a/noncore/settings/aqpkg/instoptions.ui b/noncore/settings/aqpkg/instoptions.ui
index d4a3548..52897dd 100644
--- a/noncore/settings/aqpkg/instoptions.ui
+++ b/noncore/settings/aqpkg/instoptions.ui
@@ -6,125 +6,148 @@
6 <name>name</name> 6 <name>name</name>
7 <cstring>InstallOptionsDlg</cstring> 7 <cstring>InstallOptionsDlg</cstring>
8 </property> 8 </property>
9 <property stdset="1"> 9 <property stdset="1">
10 <name>geometry</name> 10 <name>geometry</name>
11 <rect> 11 <rect>
12 <x>0</x> 12 <x>0</x>
13 <y>0</y> 13 <y>0</y>
14 <width>158</width> 14 <width>154</width>
15 <height>205</height> 15 <height>205</height>
16 </rect> 16 </rect>
17 </property> 17 </property>
18 <property stdset="1"> 18 <property stdset="1">
19 <name>caption</name> 19 <name>caption</name>
20 <string>Options</string> 20 <string>Options</string>
21 </property> 21 </property>
22 <property stdset="1"> 22 <property stdset="1">
23 <name>sizeGripEnabled</name> 23 <name>sizeGripEnabled</name>
24 <bool>false</bool> 24 <bool>false</bool>
25 </property> 25 </property>
26 <grid> 26 <widget>
27 <class>QGroupBox</class>
27 <property stdset="1"> 28 <property stdset="1">
28 <name>margin</name> 29 <name>name</name>
29 <number>11</number> 30 <cstring>GroupBox1</cstring>
30 </property> 31 </property>
31 <property stdset="1"> 32 <property stdset="1">
32 <name>spacing</name> 33 <name>geometry</name>
33 <number>6</number> 34 <rect>
35 <x>11</x>
36 <y>11</y>
37 <width>136</width>
38 <height>120</height>
39 </rect>
34 </property> 40 </property>
35 <widget row="0" column="0" > 41 <property stdset="1">
36 <class>QGroupBox</class> 42 <name>title</name>
43 <string>Options</string>
44 </property>
45 <widget>
46 <class>QCheckBox</class>
47 <property stdset="1">
48 <name>name</name>
49 <cstring>forceDepends</cstring>
50 </property>
51 <property stdset="1">
52 <name>geometry</name>
53 <rect>
54 <x>11</x>
55 <y>19</y>
56 <width>114</width>
57 <height>19</height>
58 </rect>
59 </property>
60 <property stdset="1">
61 <name>text</name>
62 <string>Force Depends</string>
63 </property>
64 </widget>
65 <widget>
66 <class>QCheckBox</class>
37 <property stdset="1"> 67 <property stdset="1">
38 <name>name</name> 68 <name>name</name>
39 <cstring>GroupBox1</cstring> 69 <cstring>forceReinstall</cstring>
70 </property>
71 <property stdset="1">
72 <name>geometry</name>
73 <rect>
74 <x>11</x>
75 <y>44</y>
76 <width>114</width>
77 <height>19</height>
78 </rect>
40 </property> 79 </property>
41 <property stdset="1"> 80 <property stdset="1">
42 <name>title</name> 81 <name>text</name>
43 <string>Options</string> 82 <string>Force Reinstall</string>
44 </property> 83 </property>
45 <grid>
46 <property stdset="1">
47 <name>margin</name>
48 <number>11</number>
49 </property>
50 <property stdset="1">
51 <name>spacing</name>
52 <number>6</number>
53 </property>
54 <widget row="0" column="0" >
55 <class>QCheckBox</class>
56 <property stdset="1">
57 <name>name</name>
58 <cstring>forceDepends</cstring>
59 </property>
60 <property stdset="1">
61 <name>text</name>
62 <string>Force Depends</string>
63 </property>
64 </widget>
65 <widget row="1" column="0" >
66 <class>QCheckBox</class>
67 <property stdset="1">
68 <name>name</name>
69 <cstring>forceReinstall</cstring>
70 </property>
71 <property stdset="1">
72 <name>text</name>
73 <string>Force Reinstall</string>
74 </property>
75 </widget>
76 <widget row="2" column="0" >
77 <class>QCheckBox</class>
78 <property stdset="1">
79 <name>name</name>
80 <cstring>forceRemove</cstring>
81 </property>
82 <property stdset="1">
83 <name>text</name>
84 <string>Force Remove</string>
85 </property>
86 </widget>
87 <widget row="3" column="0" >
88 <class>QCheckBox</class>
89 <property stdset="1">
90 <name>name</name>
91 <cstring>forceOverwrite</cstring>
92 </property>
93 <property stdset="1">
94 <name>text</name>
95 <string>Force Overwrite</string>
96 </property>
97 </widget>
98 <widget row="4" column="0" >
99 <class>QCheckBox</class>
100 <property stdset="1">
101 <name>name</name>
102 <cstring>makeLinks</cstring>
103 </property>
104 <property stdset="1">
105 <name>text</name>
106 <string>Link to root</string>
107 </property>
108 </widget>
109 </grid>
110 </widget> 84 </widget>
111 <widget row="1" column="0" > 85 <widget>
112 <class>QPushButton</class> 86 <class>QCheckBox</class>
113 <property stdset="1"> 87 <property stdset="1">
114 <name>name</name> 88 <name>name</name>
115 <cstring>btnOK</cstring> 89 <cstring>forceOverwrite</cstring>
90 </property>
91 <property stdset="1">
92 <name>geometry</name>
93 <rect>
94 <x>11</x>
95 <y>94</y>
96 <width>114</width>
97 <height>19</height>
98 </rect>
116 </property> 99 </property>
117 <property stdset="1"> 100 <property stdset="1">
118 <name>text</name> 101 <name>text</name>
119 <string>OK</string> 102 <string>Force Overwrite</string>
120 </property> 103 </property>
121 </widget> 104 </widget>
122 </grid> 105 <widget>
106 <class>QCheckBox</class>
107 <property stdset="1">
108 <name>name</name>
109 <cstring>forceRemove</cstring>
110 </property>
111 <property stdset="1">
112 <name>geometry</name>
113 <rect>
114 <x>11</x>
115 <y>69</y>
116 <width>114</width>
117 <height>19</height>
118 </rect>
119 </property>
120 <property stdset="1">
121 <name>text</name>
122 <string>Force Remove</string>
123 </property>
124 </widget>
125 </widget>
126 <widget>
127 <class>QPushButton</class>
128 <property stdset="1">
129 <name>name</name>
130 <cstring>btnOK</cstring>
131 </property>
132 <property stdset="1">
133 <name>geometry</name>
134 <rect>
135 <x>11</x>
136 <y>166</y>
137 <width>136</width>
138 <height>28</height>
139 </rect>
140 </property>
141 <property stdset="1">
142 <name>text</name>
143 <string>OK</string>
144 </property>
145 </widget>
123</widget> 146</widget>
124<connections> 147<connections>
125 <connection> 148 <connection>
126 <sender>btnOK</sender> 149 <sender>btnOK</sender>
127 <signal>clicked()</signal> 150 <signal>clicked()</signal>
128 <receiver>InstallOptionsDlg</receiver> 151 <receiver>InstallOptionsDlg</receiver>
129 <slot>accept()</slot> 152 <slot>accept()</slot>
130 </connection> 153 </connection>
diff --git a/noncore/settings/aqpkg/instoptionsimpl.cpp b/noncore/settings/aqpkg/instoptionsimpl.cpp
index d9d2be9..dd996e0 100644
--- a/noncore/settings/aqpkg/instoptionsimpl.cpp
+++ b/noncore/settings/aqpkg/instoptionsimpl.cpp
@@ -32,18 +32,18 @@ InstallOptionsDlgImpl::InstallOptionsDlgImpl( int flags, QWidget * parent, const
32 if ( flags & FORCE_DEPENDS ) 32 if ( flags & FORCE_DEPENDS )
33 forceDepends->setChecked( true ); 33 forceDepends->setChecked( true );
34 if ( flags & FORCE_REINSTALL ) 34 if ( flags & FORCE_REINSTALL )
35 forceReinstall->setChecked( true ); 35 forceReinstall->setChecked( true );
36 if ( flags & FORCE_REMOVE ) 36 if ( flags & FORCE_REMOVE )
37 forceRemove->setChecked( true ); 37 forceRemove->setChecked( true );
38 if ( flags & FORCE_OVERWRITE ) 38 if ( flags & FORCE_OVERWRITE )
39 forceOverwrite->setChecked( true ); 39 forceOverwrite->setChecked( true );
40 if ( flags & MAKE_LINKS ) 40// if ( flags & MAKE_LINKS )
41 makeLinks->setChecked( true ); 41 // makeLinks->setChecked( true );
42 42
43 showMaximized(); 43 showMaximized();
44 44
45} 45}
46 46
47InstallOptionsDlgImpl::~InstallOptionsDlgImpl() 47InstallOptionsDlgImpl::~InstallOptionsDlgImpl()
48{ 48{
49} 49}