[PC-BSD Commits] r2131 - pcbsd/trunk/SystemUpdater

svn at pcbsd.org svn at pcbsd.org
Thu Jun 19 11:59:50 PDT 2008


Author: kris
Date: 2008-06-19 11:59:49 -0700 (Thu, 19 Jun 2008)
New Revision: 2131

Added:
   pcbsd/trunk/SystemUpdater/SystemUpdater.cpp
   pcbsd/trunk/SystemUpdater/SystemUpdater.h
   pcbsd/trunk/SystemUpdater/SystemUpdater.qrc
   pcbsd/trunk/SystemUpdater/updaterDialog.cpp
   pcbsd/trunk/SystemUpdater/updaterDialog.h
Modified:
   pcbsd/trunk/SystemUpdater/SystemUpdater.pro
   pcbsd/trunk/SystemUpdater/SystemUpdater.ui
   pcbsd/trunk/SystemUpdater/UpdaterTray.cpp
   pcbsd/trunk/SystemUpdater/UpdaterTray.h
   pcbsd/trunk/SystemUpdater/main.cpp
   pcbsd/trunk/SystemUpdater/updaterDialog.ui
Log:

Updated the PC-BSD System Updater to KDE / QT 4



Added: pcbsd/trunk/SystemUpdater/SystemUpdater.cpp

Added: pcbsd/trunk/SystemUpdater/SystemUpdater.h

Modified: pcbsd/trunk/SystemUpdater/SystemUpdater.pro
===================================================================
--- pcbsd/trunk/SystemUpdater/SystemUpdater.pro	2008-06-19 18:59:22 UTC (rev 2130)
+++ pcbsd/trunk/SystemUpdater/SystemUpdater.pro	2008-06-19 18:59:49 UTC (rev 2131)
@@ -3,27 +3,23 @@
 
 CONFIG	+= qt warn_on release
 
-LIBS	+= -lkdeui -lkdeinit_kcmshell
+LIBS	+= -lkdecore -lkdeui -lkio -Ikdelibs
 
-HEADERS	+= UpdaterTray.h
+HEADERS	+= UpdaterTray.h SystemUpdater.h updaterDialog.h
 
-SOURCES	+= main.cpp \
-	UpdaterTray.cpp
+SOURCES	+= main.cpp UpdaterTray.cpp SystemUpdater.cpp updaterDialog.cpp
 
 FORMS	= SystemUpdater.ui \
 	updaterDialog.ui
 
-TARGET  = SystemUpdater
-DESTDIR = /PCBSD/SystemUpdater/bin/
+RESOURCES += SystemUpdater.qrc
 
+INCLUDEPATH += /usr/local/kde4/include
 
+LIBS += -L/usr/local/kde4/lib
 
 
+TARGET  = SystemUpdater
+DESTDIR = /PCBSD/SystemUpdater/bin/
 
-unix {
-  UI_DIR = .ui
-  MOC_DIR = .moc
-  OBJECTS_DIR = .obj
-}
-
-
+QT += qt3support

Added: pcbsd/trunk/SystemUpdater/SystemUpdater.qrc

Modified: pcbsd/trunk/SystemUpdater/SystemUpdater.ui
===================================================================
--- pcbsd/trunk/SystemUpdater/SystemUpdater.ui	2008-06-19 18:59:22 UTC (rev 2130)
+++ pcbsd/trunk/SystemUpdater/SystemUpdater.ui	2008-06-19 18:59:49 UTC (rev 2131)
@@ -1,864 +1,851 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>systemUpdater</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>systemUpdater</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>542</width>
-            <height>351</height>
-        </rect>
-    </property>
-    <property name="font">
-        <font>
-        </font>
-    </property>
-    <property name="caption">
-        <string>System Updater</string>
-    </property>
-    <property name="icon">
-        <pixmap>image0</pixmap>
-    </property>
-    <property name="sizeGripEnabled">
+<ui version="4.0" >
+ <class>systemUpdater</class>
+ <widget class="QDialog" name="systemUpdater" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>542</width>
+    <height>353</height>
+   </rect>
+  </property>
+  <property name="font" >
+   <font/>
+  </property>
+  <property name="windowTitle" >
+   <string>System Updater</string>
+  </property>
+  <property name="windowIcon" >
+   <iconset resource="SystemUpdater.qrc" >
+    <normaloff>:/sysupdater.png</normaloff>:/sysupdater.png</iconset>
+  </property>
+  <property name="sizeGripEnabled" >
+   <bool>true</bool>
+  </property>
+  <layout class="QGridLayout" >
+   <property name="margin" >
+    <number>3</number>
+   </property>
+   <property name="spacing" >
+    <number>2</number>
+   </property>
+   <item row="1" column="0" >
+    <layout class="QHBoxLayout" >
+     <property name="spacing" >
+      <number>6</number>
+     </property>
+     <property name="margin" >
+      <number>0</number>
+     </property>
+     <item>
+      <spacer name="Horizontal Spacing2" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Expanding</enum>
+       </property>
+       <property name="sizeHint" stdset="0" >
+        <size>
+         <width>20</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QPushButton" name="buttonClose" >
+       <property name="text" >
+        <string>&amp;Close</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+C</string>
+       </property>
+       <property name="autoDefault" >
         <bool>true</bool>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>3</number>
-        </property>
-        <property name="spacing">
-            <number>2</number>
-        </property>
-        <widget class="QLayoutWidget" row="1" column="0">
-            <property name="name">
-                <cstring>Layout1</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item row="0" column="0" >
+    <widget class="QTabWidget" name="tabSystemUpdater" >
+     <property name="currentIndex" >
+      <number>0</number>
+     </property>
+     <widget class="QWidget" name="Widget8" >
+      <property name="geometry" >
+       <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>524</width>
+        <height>275</height>
+       </rect>
+      </property>
+      <attribute name="title" >
+       <string>System Updates</string>
+      </attribute>
+      <layout class="QGridLayout" >
+       <item row="1" column="0" >
+        <spacer name="spacer11" >
+         <property name="orientation" >
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeType" >
+          <enum>QSizePolicy::Preferred</enum>
+         </property>
+         <property name="sizeHint" stdset="0" >
+          <size>
+           <width>500</width>
+           <height>16</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+       <item row="0" column="0" >
+        <layout class="QHBoxLayout" >
+         <item>
+          <layout class="QGridLayout" >
+           <item row="1" column="0" colspan="2" >
+            <widget class="Q3ListView" name="listViewSysUpdates" >
+             <property name="sizePolicy" >
+              <sizepolicy vsizetype="MinimumExpanding" hsizetype="Expanding" >
+               <horstretch>0</horstretch>
+               <verstretch>0</verstretch>
+              </sizepolicy>
+             </property>
+             <property name="resizePolicy" >
+              <enum>Q3ScrollView::Manual</enum>
+             </property>
+             <property name="selectionMode" >
+              <enum>Q3ListView::Single</enum>
+             </property>
+             <property name="allColumnsShowFocus" >
+              <bool>true</bool>
+             </property>
+             <property name="showSortIndicator" >
+              <bool>false</bool>
+             </property>
+             <column>
+              <property name="text" >
+               <string>Available Updates</string>
+              </property>
+              <property name="clickable" >
+               <bool>true</bool>
+              </property>
+              <property name="resizable" >
+               <bool>true</bool>
+              </property>
+             </column>
+             <column>
+              <property name="text" >
+               <string>ID</string>
+              </property>
+              <property name="clickable" >
+               <bool>true</bool>
+              </property>
+              <property name="resizable" >
+               <bool>true</bool>
+              </property>
+             </column>
+            </widget>
+           </item>
+           <item row="0" column="0" colspan="2" >
+            <widget class="QLabel" name="textLabel6" >
+             <property name="sizePolicy" >
+              <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
+               <horstretch>0</horstretch>
+               <verstretch>0</verstretch>
+              </sizepolicy>
+             </property>
+             <property name="text" >
+              <string>The following system updates are available:</string>
+             </property>
+             <property name="alignment" >
+              <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+             </property>
+             <property name="wordWrap" >
+              <bool>true</bool>
+             </property>
+            </widget>
+           </item>
+           <item row="2" column="1" >
+            <spacer name="spacer2" >
+             <property name="orientation" >
+              <enum>Qt::Horizontal</enum>
+             </property>
+             <property name="sizeType" >
+              <enum>QSizePolicy::Expanding</enum>
+             </property>
+             <property name="sizeHint" stdset="0" >
+              <size>
+               <width>223</width>
+               <height>21</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+           <item row="2" column="0" >
+            <widget class="QPushButton" name="pushSelectSysAll" >
+             <property name="text" >
+              <string>Select All</string>
+             </property>
+            </widget>
+           </item>
+          </layout>
+         </item>
+         <item>
+          <layout class="QVBoxLayout" >
+           <item>
+            <widget class="Q3GroupBox" name="groupBox2" >
+             <property name="title" >
+              <string>Available Updates</string>
+             </property>
+             <layout class="QGridLayout" >
+              <item row="1" column="0" >
+               <widget class="QLabel" name="textLastSysUpdateCheck" >
+                <property name="font" >
+                 <font>
+                  <pointsize>8</pointsize>
+                 </font>
                 </property>
-                <property name="margin">
-                    <number>0</number>
+                <property name="text" >
+                 <string>(last checked: unknown)</string>
                 </property>
-                <property name="spacing">
-                    <number>6</number>
+                <property name="alignment" >
+                 <set>Qt::AlignCenter</set>
                 </property>
-                <spacer>
-                    <property name="name">
-                        <cstring>Horizontal Spacing2</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>20</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="QPushButton">
-                    <property name="name">
-                        <cstring>buttonClose</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Close</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
-                    <property name="autoDefault">
-                        <bool>true</bool>
-                    </property>
-                </widget>
-            </hbox>
-        </widget>
-        <widget class="QTabWidget" row="0" column="0">
-            <property name="name">
-                <cstring>tabSystemUpdater</cstring>
-            </property>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>Widget8</cstring>
+                <property name="wordWrap" >
+                 <bool>false</bool>
                 </property>
-                <attribute name="title">
-                    <string>System Updates</string>
-                </attribute>
-                <grid>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <spacer row="1" column="0">
-                        <property name="name">
-                            <cstring>spacer11</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Preferred</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>500</width>
-                                <height>16</height>
-                            </size>
-                        </property>
-                    </spacer>
-                    <widget class="QLayoutWidget" row="0" column="0">
-                        <property name="name">
-                            <cstring>layout10</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout2</cstring>
-                                </property>
-                                <grid>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QListView" row="1" column="0" rowspan="1" colspan="2">
-                                        <column>
-                                            <property name="text">
-                                                <string>Available Updates</string>
-                                            </property>
-                                            <property name="clickable">
-                                                <bool>true</bool>
-                                            </property>
-                                            <property name="resizable">
-                                                <bool>true</bool>
-                                            </property>
-                                        </column>
-                                        <column>
-                                            <property name="text">
-                                                <string>ID</string>
-                                            </property>
-                                            <property name="clickable">
-                                                <bool>true</bool>
-                                            </property>
-                                            <property name="resizable">
-                                                <bool>true</bool>
-                                            </property>
-                                        </column>
-                                        <property name="name">
-                                            <cstring>listViewSysUpdates</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>7</hsizetype>
-                                                <vsizetype>3</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="resizePolicy">
-                                            <enum>Manual</enum>
-                                        </property>
-                                        <property name="selectionMode">
-                                            <enum>Single</enum>
-                                        </property>
-                                        <property name="allColumnsShowFocus">
-                                            <bool>true</bool>
-                                        </property>
-                                        <property name="showSortIndicator">
-                                            <bool>false</bool>
-                                        </property>
-                                    </widget>
-                                    <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
-                                        <property name="name">
-                                            <cstring>textLabel6</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>5</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>The following system updates are available:</string>
-                                        </property>
-                                        <property name="alignment">
-                                            <set>WordBreak|AlignTop|AlignLeft</set>
-                                        </property>
-                                    </widget>
-                                    <spacer row="2" column="1">
-                                        <property name="name">
-                                            <cstring>spacer2</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Expanding</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>223</width>
-                                                <height>21</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QPushButton" row="2" column="0">
-                                        <property name="name">
-                                            <cstring>pushSelectSysAll</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Select All</string>
-                                        </property>
-                                    </widget>
-                                </grid>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout10</cstring>
-                                </property>
-                                <vbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QGroupBox">
-                                        <property name="name">
-                                            <cstring>groupBox2</cstring>
-                                        </property>
-                                        <property name="title">
-                                            <string>Available Updates</string>
-                                        </property>
-                                        <grid>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <widget class="QLabel" row="1" column="0">
-                                                <property name="name">
-                                                    <cstring>textLastSysUpdateCheck</cstring>
-                                                </property>
-                                                <property name="font">
-                                                    <font>
-                                                        <pointsize>8</pointsize>
-                                                    </font>
-                                                </property>
-                                                <property name="text">
-                                                    <string>(last checked: unknown)</string>
-                                                </property>
-                                                <property name="alignment">
-                                                    <set>AlignCenter</set>
-                                                </property>
-                                            </widget>
-                                            <widget class="QLabel" row="0" column="0">
-                                                <property name="name">
-                                                    <cstring>textNumOfSysUpdates</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string></string>
-                                                </property>
-                                                <property name="alignment">
-                                                    <set>WordBreak|AlignCenter</set>
-                                                </property>
-                                            </widget>
-                                            <widget class="QLayoutWidget" row="2" column="0">
-                                                <property name="name">
-                                                    <cstring>layout9</cstring>
-                                                </property>
-                                                <hbox>
-                                                    <property name="name">
-                                                        <cstring>unnamed</cstring>
-                                                    </property>
-                                                    <spacer>
-                                                        <property name="name">
-                                                            <cstring>spacer15</cstring>
-                                                        </property>
-                                                        <property name="orientation">
-                                                            <enum>Horizontal</enum>
-                                                        </property>
-                                                        <property name="sizeType">
-                                                            <enum>Expanding</enum>
-                                                        </property>
-                                                        <property name="sizeHint">
-                                                            <size>
-                                                                <width>10</width>
-                                                                <height>20</height>
-                                                            </size>
-                                                        </property>
-                                                    </spacer>
-                                                    <widget class="QPushButton">
-                                                        <property name="name">
-                                                            <cstring>buttonRescanForSysUpdates</cstring>
-                                                        </property>
-                                                        <property name="text">
-                                                            <string>Check for Updates</string>
-                                                        </property>
-                                                        <property name="flat">
-                                                            <bool>true</bool>
-                                                        </property>
-                                                    </widget>
-                                                    <spacer>
-                                                        <property name="name">
-                                                            <cstring>spacer14</cstring>
-                                                        </property>
-                                                        <property name="orientation">
-                                                            <enum>Horizontal</enum>
-                                                        </property>
-                                                        <property name="sizeType">
-                                                            <enum>Expanding</enum>
-                                                        </property>
-                                                        <property name="sizeHint">
-                                                            <size>
-                                                                <width>10</width>
-                                                                <height>20</height>
-                                                            </size>
-                                                        </property>
-                                                    </spacer>
-                                                </hbox>
-                                            </widget>
-                                        </grid>
-                                    </widget>
-                                    <widget class="QPushButton">
-                                        <property name="name">
-                                            <cstring>pushInstallSysUpdates</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Install selected updates</string>
-                                        </property>
-                                    </widget>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer4</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Vertical</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Minimum</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>20</width>
-                                                <height>84</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer3</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Minimum</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>184</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                </vbox>
-                            </widget>
-                        </hbox>
-                    </widget>
-                </grid>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>Widget9</cstring>
+               </widget>
+              </item>
+              <item row="0" column="0" >
+               <widget class="QLabel" name="textNumOfSysUpdates" >
+                <property name="text" >
+                 <string/>
                 </property>
-                <attribute name="title">
-                    <string>PBI Updates</string>
-                </attribute>
-                <grid>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <spacer row="1" column="0">
-                        <property name="name">
-                            <cstring>spacer11_3</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Preferred</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>500</width>
-                                <height>16</height>
-                            </size>
-                        </property>
-                    </spacer>
-                    <widget class="QLayoutWidget" row="0" column="0">
-                        <property name="name">
-                            <cstring>layout9</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout7</cstring>
-                                </property>
-                                <grid>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QPushButton" row="2" column="0">
-                                        <property name="name">
-                                            <cstring>pushSelectPBIAll</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Select All</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
-                                        <property name="name">
-                                            <cstring>textLabel6_2</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>5</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>The following PBI updates are available:</string>
-                                        </property>
-                                        <property name="alignment">
-                                            <set>WordBreak|AlignTop|AlignLeft</set>
-                                        </property>
-                                    </widget>
-                                    <widget class="QListView" row="1" column="0" rowspan="1" colspan="2">
-                                        <column>
-                                            <property name="text">
-                                                <string>Available Programs</string>
-                                            </property>
-                                            <property name="clickable">
-                                                <bool>true</bool>
-                                            </property>
-                                            <property name="resizable">
-                                                <bool>true</bool>
-                                            </property>
-                                        </column>
-                                        <column>
-                                            <property name="text">
-                                                <string>ID</string>
-                                            </property>
-                                            <property name="clickable">
-                                                <bool>true</bool>
-                                            </property>
-                                            <property name="resizable">
-                                                <bool>true</bool>
-                                            </property>
-                                        </column>
-                                        <property name="name">
-                                            <cstring>listViewPBIUpdates</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>5</hsizetype>
-                                                <vsizetype>3</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="selectionMode">
-                                            <enum>Single</enum>
-                                        </property>
-                                        <property name="allColumnsShowFocus">
-                                            <bool>true</bool>
-                                        </property>
-                                    </widget>
-                                    <spacer row="2" column="1">
-                                        <property name="name">
-                                            <cstring>spacer6</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Expanding</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>201</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                </grid>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout8</cstring>
-                                </property>
-                                <vbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QGroupBox">
-                                        <property name="name">
-                                            <cstring>groupBox2_2</cstring>
-                                        </property>
-                                        <property name="title">
-                                            <string>Available Updates</string>
-                                        </property>
-                                        <grid>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <widget class="QLabel" row="0" column="0">
-                                                <property name="name">
-                                                    <cstring>textNumOfPBIUpdates</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>&lt;font color="#ff0000"&gt;2 new PBI updates&lt;/font&gt;</string>
-                                                </property>
-                                                <property name="alignment">
-                                                    <set>WordBreak|AlignCenter</set>
-                                                </property>
-                                            </widget>
-                                            <widget class="QLabel" row="1" column="0">
-                                                <property name="name">
-                                                    <cstring>textLastPBIUpdateCheck</cstring>
-                                                </property>
-                                                <property name="font">
-                                                    <font>
-                                                        <pointsize>8</pointsize>
-                                                    </font>
-                                                </property>
-                                                <property name="text">
-                                                    <string>(last checked 12-10-07)</string>
-                                                </property>
-                                                <property name="alignment">
-                                                    <set>AlignCenter</set>
-                                                </property>
-                                            </widget>
-                                            <widget class="QLayoutWidget" row="2" column="0">
-                                                <property name="name">
-                                                    <cstring>layout9_2</cstring>
-                                                </property>
-                                                <hbox>
-                                                    <property name="name">
-                                                        <cstring>unnamed</cstring>
-                                                    </property>
-                                                    <spacer>
-                                                        <property name="name">
-                                                            <cstring>spacer15_2</cstring>
-                                                        </property>
-                                                        <property name="orientation">
-                                                            <enum>Horizontal</enum>
-                                                        </property>
-                                                        <property name="sizeType">
-                                                            <enum>Expanding</enum>
-                                                        </property>
-                                                        <property name="sizeHint">
-                                                            <size>
-                                                                <width>10</width>
-                                                                <height>20</height>
-                                                            </size>
-                                                        </property>
-                                                    </spacer>
-                                                    <widget class="QPushButton">
-                                                        <property name="name">
-                                                            <cstring>buttonRescanPBIUpdates</cstring>
-                                                        </property>
-                                                        <property name="text">
-                                                            <string>Check for Updates</string>
-                                                        </property>
-                                                        <property name="flat">
-                                                            <bool>true</bool>
-                                                        </property>
-                                                    </widget>
-                                                    <spacer>
-                                                        <property name="name">
-                                                            <cstring>spacer14_2</cstring>
-                                                        </property>
-                                                        <property name="orientation">
-                                                            <enum>Horizontal</enum>
-                                                        </property>
-                                                        <property name="sizeType">
-                                                            <enum>Expanding</enum>
-                                                        </property>
-                                                        <property name="sizeHint">
-                                                            <size>
-                                                                <width>10</width>
-                                                                <height>20</height>
-                                                            </size>
-                                                        </property>
-                                                    </spacer>
-                                                </hbox>
-                                            </widget>
-                                        </grid>
-                                    </widget>
-                                    <widget class="QPushButton">
-                                        <property name="name">
-                                            <cstring>pushInstallPBIUpdates</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Update selected PBIs</string>
-                                        </property>
-                                    </widget>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer5</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Vertical</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Minimum</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>31</width>
-                                                <height>80</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer7</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Minimum</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>140</width>
-                                                <height>21</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                </vbox>
-                            </widget>
-                        </hbox>
-                    </widget>
-                </grid>
+                <property name="alignment" >
+                 <set>Qt::AlignCenter</set>
+                </property>
+                <property name="wordWrap" >
+                 <bool>true</bool>
+                </property>
+               </widget>
+              </item>
+              <item row="2" column="0" >
+               <layout class="QHBoxLayout" >
+                <item>
+                 <spacer name="spacer15" >
+                  <property name="orientation" >
+                   <enum>Qt::Horizontal</enum>
+                  </property>
+                  <property name="sizeType" >
+                   <enum>QSizePolicy::Expanding</enum>
+                  </property>
+                  <property name="sizeHint" stdset="0" >
+                   <size>
+                    <width>10</width>
+                    <height>20</height>
+                   </size>
+                  </property>
+                 </spacer>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="buttonRescanForSysUpdates" >
+                  <property name="text" >
+                   <string>Check for Updates</string>
+                  </property>
+                  <property name="flat" >
+                   <bool>true</bool>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <spacer name="spacer14" >
+                  <property name="orientation" >
+                   <enum>Qt::Horizontal</enum>
+                  </property>
+                  <property name="sizeType" >
+                   <enum>QSizePolicy::Expanding</enum>
+                  </property>
+                  <property name="sizeHint" stdset="0" >
+                   <size>
+                    <width>10</width>
+                    <height>20</height>
+                   </size>
+                  </property>
+                 </spacer>
+                </item>
+               </layout>
+              </item>
+             </layout>
             </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>TabPage</cstring>
+           </item>
+           <item>
+            <widget class="QPushButton" name="pushInstallSysUpdates" >
+             <property name="text" >
+              <string>Install selected updates</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <spacer name="spacer4" >
+             <property name="orientation" >
+              <enum>Qt::Vertical</enum>
+             </property>
+             <property name="sizeType" >
+              <enum>QSizePolicy::Minimum</enum>
+             </property>
+             <property name="sizeHint" stdset="0" >
+              <size>
+               <width>20</width>
+               <height>84</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+           <item>
+            <spacer name="spacer3" >
+             <property name="orientation" >
+              <enum>Qt::Horizontal</enum>
+             </property>
+             <property name="sizeType" >
+              <enum>QSizePolicy::Minimum</enum>
+             </property>
+             <property name="sizeHint" stdset="0" >
+              <size>
+               <width>184</width>
+               <height>20</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+          </layout>
+         </item>
+        </layout>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="Widget9" >
+      <property name="geometry" >
+       <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>524</width>
+        <height>275</height>
+       </rect>
+      </property>
+      <attribute name="title" >
+       <string>PBI Updates</string>
+      </attribute>
+      <layout class="QGridLayout" >
+       <item row="1" column="0" >
+        <spacer name="spacer11_3" >
+         <property name="orientation" >
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeType" >
+          <enum>QSizePolicy::Preferred</enum>
+         </property>
+         <property name="sizeHint" stdset="0" >
+          <size>
+           <width>500</width>
+           <height>16</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+       <item row="0" column="0" >
+        <layout class="QHBoxLayout" >
+         <item>
+          <layout class="QGridLayout" >
+           <item row="2" column="0" >
+            <widget class="QPushButton" name="pushSelectPBIAll" >
+             <property name="text" >
+              <string>Select All</string>
+             </property>
+            </widget>
+           </item>
+           <item row="0" column="0" colspan="2" >
+            <widget class="QLabel" name="textLabel6_2" >
+             <property name="sizePolicy" >
+              <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
+               <horstretch>0</horstretch>
+               <verstretch>0</verstretch>
+              </sizepolicy>
+             </property>
+             <property name="text" >
+              <string>The following PBI updates are available:</string>
+             </property>
+             <property name="alignment" >
+              <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+             </property>
+             <property name="wordWrap" >
+              <bool>true</bool>
+             </property>
+            </widget>
+           </item>
+           <item row="1" column="0" colspan="2" >
+            <widget class="Q3ListView" name="listViewPBIUpdates" >
+             <property name="sizePolicy" >
+              <sizepolicy vsizetype="MinimumExpanding" hsizetype="Preferred" >
+               <horstretch>0</horstretch>
+               <verstretch>0</verstretch>
+              </sizepolicy>
+             </property>
+             <property name="selectionMode" >
+              <enum>Q3ListView::Single</enum>
+             </property>
+             <property name="allColumnsShowFocus" >
+              <bool>true</bool>
+             </property>
+             <column>
+              <property name="text" >
+               <string>Available Programs</string>
+              </property>
+              <property name="clickable" >
+               <bool>true</bool>
+              </property>
+              <property name="resizable" >
+               <bool>true</bool>
+              </property>
+             </column>
+             <column>
+              <property name="text" >
+               <string>ID</string>
+              </property>
+              <property name="clickable" >
+               <bool>true</bool>
+              </property>
+              <property name="resizable" >
+               <bool>true</bool>
+              </property>
+             </column>
+            </widget>
+           </item>
+           <item row="2" column="1" >
+            <spacer name="spacer6" >
+             <property name="orientation" >
+              <enum>Qt::Horizontal</enum>
+             </property>
+             <property name="sizeType" >
+              <enum>QSizePolicy::Expanding</enum>
+             </property>
+             <property name="sizeHint" stdset="0" >
+              <size>
+               <width>201</width>
+               <height>20</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+          </layout>
+         </item>
+         <item>
+          <layout class="QVBoxLayout" >
+           <item>
+            <widget class="Q3GroupBox" name="groupBox2_2" >
+             <property name="title" >
+              <string>Available Updates</string>
+             </property>
+             <layout class="QGridLayout" >
+              <item row="0" column="0" >
+               <widget class="QLabel" name="textNumOfPBIUpdates" >
+                <property name="text" >
+                 <string>&lt;font color="#ff0000">2 new PBI updates&lt;/font></string>
                 </property>
-                <attribute name="title">
-                    <string>Configuration</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>checkSystemUpdatesConfig</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Check for system updates (Recommended)</string>
-                        </property>
-                    </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>checkPBIUpdatesConfig</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Check for updates to installed PBIs</string>
-                        </property>
-                    </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>checkRunAtStartup</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Run the System Updater at startup</string>
-                        </property>
-                    </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer8</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Minimum</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>480</width>
-                                <height>160</height>
-                            </size>
-                        </property>
-                    </spacer>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer9</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Fixed</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>510</width>
-                                <height>20</height>
-                            </size>
-                        </property>
-                    </spacer>
-                </vbox>
+                <property name="alignment" >
+                 <set>Qt::AlignCenter</set>
+                </property>
+                <property name="wordWrap" >
+                 <bool>true</bool>
+                </property>
+               </widget>
+              </item>
+              <item row="1" column="0" >
+               <widget class="QLabel" name="textLastPBIUpdateCheck" >
+                <property name="font" >
+                 <font>
+                  <pointsize>8</pointsize>
+                 </font>
+                </property>
+                <property name="text" >
+                 <string>(last checked 12-10-07)</string>
+                </property>
+                <property name="alignment" >
+                 <set>Qt::AlignCenter</set>
+                </property>
+                <property name="wordWrap" >
+                 <bool>false</bool>
+                </property>
+               </widget>
+              </item>
+              <item row="2" column="0" >
+               <layout class="QHBoxLayout" >
+                <item>
+                 <spacer name="spacer15_2" >
+                  <property name="orientation" >
+                   <enum>Qt::Horizontal</enum>
+                  </property>
+                  <property name="sizeType" >
+                   <enum>QSizePolicy::Expanding</enum>
+                  </property>
+                  <property name="sizeHint" stdset="0" >
+                   <size>
+                    <width>10</width>
+                    <height>20</height>
+                   </size>
+                  </property>
+                 </spacer>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="buttonRescanPBIUpdates" >
+                  <property name="text" >
+                   <string>Check for Updates</string>
+                  </property>
+                  <property name="flat" >
+                   <bool>true</bool>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <spacer name="spacer14_2" >
+                  <property name="orientation" >
+                   <enum>Qt::Horizontal</enum>
+                  </property>
+                  <property name="sizeType" >
+                   <enum>QSizePolicy::Expanding</enum>
+                  </property>
+                  <property name="sizeHint" stdset="0" >
+                   <size>
+                    <width>10</width>
+                    <height>20</height>
+                   </size>
+                  </property>
+                 </spacer>
+                </item>
+               </layout>
+              </item>
+             </layout>
             </widget>
+           </item>
+           <item>
+            <widget class="QPushButton" name="pushInstallPBIUpdates" >
+             <property name="text" >
+              <string>Update selected PBIs</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <spacer name="spacer5" >
+             <property name="orientation" >
+              <enum>Qt::Vertical</enum>
+             </property>
+             <property name="sizeType" >
+              <enum>QSizePolicy::Minimum</enum>
+             </property>
+             <property name="sizeHint" stdset="0" >
+              <size>
+               <width>31</width>
+               <height>80</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+           <item>
+            <spacer name="spacer7" >
+             <property name="orientation" >
+              <enum>Qt::Horizontal</enum>
+             </property>
+             <property name="sizeType" >
+              <enum>QSizePolicy::Minimum</enum>
+             </property>
+             <property name="sizeHint" stdset="0" >
+              <size>
+               <width>140</width>
+               <height>21</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+          </layout>
+         </item>
+        </layout>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="TabPage" >
+      <property name="geometry" >
+       <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>524</width>
+        <height>275</height>
+       </rect>
+      </property>
+      <attribute name="title" >
+       <string>Configuration</string>
+      </attribute>
+      <layout class="QVBoxLayout" >
+       <item>
+        <widget class="QCheckBox" name="checkSystemUpdatesConfig" >
+         <property name="text" >
+          <string>Check for system updates (Recommended)</string>
+         </property>
         </widget>
-    </grid>
-</widget>
-<images>
-    <image name="image0">
-        <data format="PNG" length="1224">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000048f49444154388d95956b4c9b6514c7cfdb961678c19602a51d970edd30200d2565a1339aa0c834462338a88be3c36c47b73950b2381690c4000e9760e29610c64040b74c26dea84c9798912050b90cd094a25c4a6ff47d4b29845760145acbf18b9bc471f3fff139e7fc72cef37f4e1e020080c56211e1e1e151f3f3f32e4444d883d2d2d2cec6c7c7cb1313131f47c4eeaaaaaa8a4792140ac57377eedcb9af52a9ceb3d9ec1d813c1e8f535858d8eef178361011bd5e2fe6e5e55ddc2e5fa8d168861011ebebeb6b77026bb55a1d2222c330383d3dedcfcacafa000088077144041e8fc77b5810121292505959695b5b5bc3a4a4a467b682a6a4a41c1f1f1f67dc6e377a3c1e2c2f2fff72733c3333b3a2b5b5f5cfad6e735f5e5e9efeeeddbbf3128924f1bfc1d4d4d4734ea713699a46b7db8d232323aef4f4f47300004aa5b2c4e57279dadada7cdbd9149c9b9babd7e974944020d8bf392093c9de9e9c9cf4511485168b05dd6e374e4d4d2d68b5da0ea3d148310c83353535ae9dfce7abd56a436b6bab8924c9a807870441845ebe7c999e9b9b438bc58266b3191d0e072e2e2e224dd3383737876ab5ba65b78715555050f!
 07b5353d3587070b00800203f3fff0b9aa6d166b321455148d3343a1c0ea4280aed763bd6d5d5cd92242947c47fdddc46fb8a8b8b072323234d66b399b972e5ca6b0b0b0bc066b3a1bbbb7bc9e7f36d4447470b1886d9e8eaea32343737bfbbbabadabda755100a8529353535cb269309cd660bba669d78e3f3161749922f03804c2010e40406063e0f00110f6a760573b95cee9933677eb2db67f0dab5061c1b35e0cf3dbda87c31bb7af796b6118fc7e39696967652148db76fff8836ab151b1b1bf1c2d7637fbdd3e35b97bfa452ed54bfe5fe0605050595949474959cbff0accbe5022e970333762b7c3323816186cfc2f515b6ec85ececfbd4a4c16d9d98d813384c1816515656d6abd114289c4e2708c3c3204a2482f7cb4adbbefd61c0b0c197ca382c0210819d7ce4e8ab4bf6b19105bbc9b4e3f842a130acbabafa37a77316470d46b4dbede8f7fbb1a8a8c80400220008e324a97ac49aeff0f0474398d3328505edd605f1932969db42e3e2e2626a6b6ba769ca89c6d131b4d9ace8f57ab1a2a2820e0808906f4a8de13c75ac47acd1a1b27a10733e33e15bb7fea0a393d21e854ba55269434383cd6e9bc1d151235aad565c5a5ac2cece4e262121e1bd47db20e2d972b5417c5287ca8bf7f0f5eb663c716bdc218c7de2c0c314168b455cba74e957d3d4b45f22d97!
 7fcf4e953f5ebebebd8d7d7e74d4e4efe64db1109b68c73a8704aa2edc0c3d!
 58378f4ba058f35fc627c2c2a260e00003232322a979797b1bf7f8096a7cad36fdebca9b3582ca850281a77340400801d78887da8c8223ef93d2a3f1cc0dc1b567ce3d3a19120be50c0090d0d150300c4c6c648f4bdfafe95951550a954b78787874fed0af6afddf38f34bce90e086e07785a44048642ac3822392028643f48a5d2f4ab57af2e3a1c0ed4ebf59e8c8c8caf00207057e86671f9af70b33e660e9ced58e5ef979d00f8e74b21495276f0e0c17c8fc7e3989898a80300ffff020300418a320940d8b8efee0400f81b65a64d383318ef3d0000000049454e44ae426082</data>
-    </image>
-</images>
-<connections>
-    <connection>
-        <sender>buttonClose</sender>
-        <signal>clicked()</signal>
-        <receiver>systemUpdater</receiver>
-        <slot>slotClose()</slot>
-    </connection>
-    <connection>
-        <sender>buttonRescanForSysUpdates</sender>
-        <signal>clicked()</signal>
-        <receiver>systemUpdater</receiver>
-        <slot>slotUserClickedCheckSysUpdates()</slot>
-    </connection>
-    <connection>
-        <sender>checkSystemUpdatesConfig</sender>
-        <signal>clicked()</signal>
-        <receiver>systemUpdater</receiver>
-        <slot>slotConfigChanged()</slot>
-    </connection>
-    <connection>
-        <sender>checkPBIUpdatesConfig</sender>
-        <signal>clicked()</signal>
-        <receiver>systemUpdater</receiver>
-        <slot>slotConfigChanged()</slot>
-    </connection>
-    <connection>
-        <sender>pushSelectSysAll</sender>
-        <signal>clicked()</signal>
-        <receiver>systemUpdater</receiver>
-        <slot>slotSelectAllSys()</slot>
-    </connection>
-    <connection>
-        <sender>pushInstallSysUpdates</sender>
-        <signal>clicked()</signal>
-        <receiver>systemUpdater</receiver>
-        <slot>slotInstallSystemUpdatesClicked()</slot>
-    </connection>
-    <connection>
-        <sender>listViewSysUpdates</sender>
-        <signal>clicked(QListViewItem*)</signal>
-        <receiver>systemUpdater</receiver>
-        <slot>slotSysClicked(QListViewItem*)</slot>
-    </connection>
-    <connection>
-        <sender>pushSelectPBIAll</sender>
-        <signal>clicked()</signal>
-        <receiver>systemUpdater</receiver>
-        <slot>slotSelectAllPBI()</slot>
-    </connection>
-    <connection>
-        <sender>pushInstallPBIUpdates</sender>
-        <signal>clicked()</signal>
-        <receiver>systemUpdater</receiver>
-        <slot>slotUpdatePBIClicked()</slot>
-    </connection>
-    <connection>
-        <sender>checkRunAtStartup</sender>
-        <signal>clicked()</signal>
-        <receiver>systemUpdater</receiver>
-        <slot>slotConfigChanged()</slot>
-    </connection>
-    <connection>
-        <sender>buttonRescanPBIUpdates</sender>
-        <signal>clicked()</signal>
-        <receiver>systemUpdater</receiver>
-        <slot>slotRescanPBIUpdatesClicked()</slot>
-    </connection>
-</connections>
-<includes>
-    <include location="local" impldecl="in declaration">qmessagebox.h</include>
-    <include location="local" impldecl="in declaration">kpopupmenu.h</include>
-    <include location="local" impldecl="in declaration">qpixmap.h</include>
-    <include location="local" impldecl="in declaration">qimage.h</include>
-    <include location="local" impldecl="in implementation">SystemUpdater.ui.h</include>
-</includes>
-<variables>
-    <variable access="private">KPopupMenu *popup;</variable>
-    <variable access="private">int popupidnum;</variable>
-    <variable access="private">QString standAlone[150];</variable>
-    <variable access="private">QString reboot[150];</variable>
-</variables>
-<signals>
-    <signal>buttonClosedPressed()</signal>
-    <signal>signalCheckSysUpdatesClicked()</signal>
-    <signal>signalConfigChanged()</signal>
-    <signal>signalOpenSysDetails(int sysid)</signal>
-    <signal>signalInstallSystemUpdates()</signal>
-    <signal>signalUpdatePBI()</signal>
-    <signal>signalCheckPBIUpdatesClicked()</signal>
-</signals>
-<slots>
-    <slot>programInit()</slot>
-    <slot>slotClose()</slot>
-    <slot>closeEvent( QCloseEvent * e )</slot>
-    <slot>slotUserClickedCheckSysUpdates()</slot>
-    <slot>setTextAvailSysUpdates( QString &amp; text )</slot>
-    <slot>setTextLastSysUpdateDate( QString &amp; text )</slot>
-    <slot>setSystemUpdateConfig( bool enabled )</slot>
-    <slot>setPBIUpdateConfig( bool enable )</slot>
-    <slot>slotConfigChanged()</slot>
-    <slot>clearSysListBox()</slot>
-    <slot>slotSelectAllSys()</slot>
-    <slot>slotSysDoubleClicked( QListViewItem * item, const QPoint &amp; point, int col )</slot>
-    <slot>slotSysRightClicked( QListViewItem * item, const QPoint &amp; point, int col )</slot>
-    <slot>slotOpenSysDetailsURL()</slot>
-    <slot>slotInstallSystemUpdatesClicked()</slot>
-    <slot>insertSysListBoxItem( QString &amp; itemText, QString &amp; Key, QString &amp; StandAlone, QString &amp; Reboot )</slot>
-    <slot>slotSysClicked( QListViewItem * item )</slot>
-    <slot>checkSysUpdatesFlags()</slot>
-    <slot>setTextLastPBIUpdateDate( QString &amp; text )</slot>
-    <slot>setTextAvailPBIUpdates( QString &amp; text )</slot>
-    <slot>insertPBIListBoxItem( QString &amp; itemText, QString &amp; iconPath, QString &amp; Key )</slot>
-    <slot>slotSelectAllPBI()</slot>
-    <slot>slotUpdatePBIClicked()</slot>
-    <slot>clearPBIList()</slot>
-    <slot>setRunAtStartupConfig( bool enabled )</slot>
-    <slot returnType="bool">getStartupConfig()</slot>
-    <slot>slotRescanPBIUpdatesClicked()</slot>
-</slots>
-<functions>
-    <function returnType="bool">getSystemUpdateConfig()</function>
-    <function returnType="bool">getPBIUpdateConfig()</function>
-    <function returnType="QStringList">getListOfCheckedItems( void )</function>
-    <function returnType="QStringList">getListOfCheckedPBIItems()</function>
-</functions>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+       </item>
+       <item>
+        <widget class="QCheckBox" name="checkPBIUpdatesConfig" >
+         <property name="text" >
+          <string>Check for updates to installed PBIs</string>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QCheckBox" name="checkRunAtStartup" >
+         <property name="text" >
+          <string>Run the System Updater at startup</string>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <spacer name="spacer8" >
+         <property name="orientation" >
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeType" >
+          <enum>QSizePolicy::Minimum</enum>
+         </property>
+         <property name="sizeHint" stdset="0" >
+          <size>
+           <width>480</width>
+           <height>160</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+       <item>
+        <spacer name="spacer9" >
+         <property name="orientation" >
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeType" >
+          <enum>QSizePolicy::Fixed</enum>
+         </property>
+         <property name="sizeHint" stdset="0" >
+          <size>
+           <width>510</width>
+           <height>20</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+      </layout>
+     </widget>
+    </widget>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>Q3GroupBox</class>
+   <extends>QGroupBox</extends>
+   <header>Qt3Support/Q3GroupBox</header>
+   <container>1</container>
+  </customwidget>
+  <customwidget>
+   <class>Q3ListView</class>
+   <extends>Q3Frame</extends>
+   <header>q3listview.h</header>
+  </customwidget>
+ </customwidgets>
+ <includes>
+  <include location="local" >qmessagebox.h</include>
+  <include location="local" >qmenu.h</include>
+  <include location="local" >qpixmap.h</include>
+  <include location="local" >qimage.h</include>
+ </includes>
+ <resources>
+  <include location="SystemUpdater.qrc" />
+ </resources>
+ <connections>
+  <connection>
+   <sender>buttonClose</sender>
+   <signal>clicked()</signal>
+   <receiver>systemUpdater</receiver>
+   <slot>slotClose()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>buttonRescanForSysUpdates</sender>
+   <signal>clicked()</signal>
+   <receiver>systemUpdater</receiver>
+   <slot>slotUserClickedCheckSysUpdates()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>checkSystemUpdatesConfig</sender>
+   <signal>clicked()</signal>
+   <receiver>systemUpdater</receiver>
+   <slot>slotConfigChanged()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>checkPBIUpdatesConfig</sender>
+   <signal>clicked()</signal>
+   <receiver>systemUpdater</receiver>
+   <slot>slotConfigChanged()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>pushSelectSysAll</sender>
+   <signal>clicked()</signal>
+   <receiver>systemUpdater</receiver>
+   <slot>slotSelectAllSys()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>pushInstallSysUpdates</sender>
+   <signal>clicked()</signal>
+   <receiver>systemUpdater</receiver>
+   <slot>slotInstallSystemUpdatesClicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>listViewSysUpdates</sender>
+   <signal>clicked(Q3ListViewItem*)</signal>
+   <receiver>systemUpdater</receiver>
+   <slot>slotSysClicked(Q3ListViewItem*)</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>pushSelectPBIAll</sender>
+   <signal>clicked()</signal>
+   <receiver>systemUpdater</receiver>
+   <slot>slotSelectAllPBI()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>pushInstallPBIUpdates</sender>
+   <signal>clicked()</signal>
+   <receiver>systemUpdater</receiver>
+   <slot>slotUpdatePBIClicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>checkRunAtStartup</sender>
+   <signal>clicked()</signal>
+   <receiver>systemUpdater</receiver>
+   <slot>slotConfigChanged()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>buttonRescanPBIUpdates</sender>
+   <signal>clicked()</signal>
+   <receiver>systemUpdater</receiver>
+   <slot>slotRescanPBIUpdatesClicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>

Modified: pcbsd/trunk/SystemUpdater/UpdaterTray.cpp
===================================================================
--- pcbsd/trunk/SystemUpdater/UpdaterTray.cpp	2008-06-19 18:59:22 UTC (rev 2130)
+++ pcbsd/trunk/SystemUpdater/UpdaterTray.cpp	2008-06-19 18:59:49 UTC (rev 2131)
@@ -2,17 +2,17 @@
 
 /* Qt */
 #include <qtimer.h>
-#include <qprocess.h>
+#include <Q3Process>
 #include <qtooltip.h>
 #include <qimage.h>
 #include <qdatetime.h>
 #include <qtranslator.h>
 #include <qsettings.h>
+#include <qtextstream.h>
+#include <qmenu.h>
 
 /* KDE */
 #include <kiconloader.h>
-#include <kapp.h>
-#include <kpopupmenu.h>
 #include <kpassivepopup.h>
 #include <kmessagebox.h>
 #include <kpassivepopup.h>
@@ -21,7 +21,9 @@
 
 #include "UpdaterTray.h"
 #include "SystemUpdater.h"
+#include "ui_SystemUpdater.h"
 #include "updaterDialog.h"
+#include "ui_updaterDialog.h"
 
 
 
@@ -66,15 +68,15 @@
 // Define our dialogs
 systemUpdater *SystemUpdaterDialog;
 updaterStatus *UpdaterStatusDialog;
-QProcess *getUpdatesDir;
-QProcess *readSysUpdates;
-QProcess *listingProc;
-QProcess *checksumProc;
-QProcess *extractProc;
-QProcess *installProc;
-QProcess *getFreeSpaceProc;
-QProcess *checkPBIProc;
-QProcess *upgradePBIProc;
+Q3Process *getUpdatesDir;
+Q3Process *readSysUpdates;
+Q3Process *listingProc;
+Q3Process *checksumProc;
+Q3Process *extractProc;
+Q3Process *installProc;
+Q3Process *getFreeSpaceProc;
+Q3Process *checkPBIProc;
+Q3Process *upgradePBIProc;
   
 QTimer *sysTimer;
 QTimer *pbiTimer;
@@ -104,13 +106,6 @@
 int     PBIProgUpdate[900];
 int     PBIProgFailed[900];
 
-UpdaterTray::UpdaterTray() {
-
-}
-
-
-
-
 void UpdaterTray::programInit()
 {
   QString tmp, command;
@@ -146,6 +141,8 @@
   connect( SystemUpdaterDialog, SIGNAL(signalUpdatePBI()), this, SLOT(slotStartPBIUpgrades() ) );
 
 
+  connect( this, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(slotTrayActivated(QSystemTrayIcon::ActivationReason) ) );
+
   // Create the status dialog
   UpdaterStatusDialog = new updaterStatus();
   // If the dialog was closed, update the context menu
@@ -172,15 +169,13 @@
 
 
   // Set the tray icon that we are checking for updates
-  QImage Icon;
-  Icon.load("/PCBSD/SystemUpdater/images/working.png");
-  QPixmap PixmapIcon;
-  PixmapIcon.convertFromImage(Icon.scale(22,22));
-  setPixmap(PixmapIcon);
+  QIcon Icon;
+  Icon.addFile("/PCBSD/SystemUpdater/images/working.png");
+  setIcon(Icon);
 
   // Setup our Context Menu
   contextMenu()->clear();
-  contextMenu()->insertTitle(PixmapIcon, tr("PC-BSD Update Manager"), 1);
+  //contextMenu()->insertTitle(PixmapIcon, tr("PC-BSD Update Manager"), 1);
   contextMenu()->insertSeparator();
   contextMenu()->insertItem( tr("Start the Update Manager"), this, SLOT(slotOpenUpdateManager()), 0, 5);
   contextMenu()->insertItem( tr("Run at startup"), this, SLOT(slotChangeRunStartup()), 0, 6);
@@ -248,11 +243,9 @@
   SystemUpdaterDialog->setTextLastSysUpdateDate( newMsg );
 
   // Set the tray icon that we are checking for updates
-  QImage Icon;
-  Icon.load("/PCBSD/SystemUpdater/images/working.png");
-  QPixmap PixmapIcon;
-  PixmapIcon.convertFromImage(Icon.scale(22,22));
-  setPixmap(PixmapIcon);
+  QIcon Icon;
+  Icon.addFile("/PCBSD/SystemUpdater/images/working.png");
+  setIcon(Icon);
 
   // Set the status to checking for system updates
   programstatus = SYSTEM_CHECKING4UPDATES;
@@ -261,7 +254,7 @@
   displayTooltip();
 
   // Run the getUpdatesDir.sh script to rsync with master server
-  getUpdatesDir = new QProcess( this );
+  getUpdatesDir = new Q3Process( this );
   getUpdatesDir->addArgument( "sh");
   getUpdatesDir->addArgument( "/PCBSD/SystemUpdater/bin/getUpdatesDir.sh");
 
@@ -269,7 +262,7 @@
   connect( getUpdatesDir, SIGNAL(processExited()), this, SLOT(slotSysUpdateCheckFinished() ) );
   //connect( SetupScript, SIGNAL(readyReadStdout()), this, SLOT(readyReadScriptOutput2() ) );
   if ( ! getUpdatesDir->start() ) {
-        QMessageBox::information( this, tr("Error!"), tr("Error running updates1 script! ") );
+        QMessageBox::information( this->contextMenu(), tr("Error!"), tr("Error running updates1 script! "), QMessageBox::Ok );
   }
 
 
@@ -286,18 +279,18 @@
   // Check to see if the update download was successful and warn if not
   if ( getUpdatesDir->exitStatus() != 0 )
   {
-	QMessageBox::warning( this, tr("Update Error!"), tr("Could not contact the PC-BSD update server!") );
+	QMessageBox::warning( this->contextMenu(), tr("Update Error!"), tr("Could not contact the PC-BSD update server!"), QMessageBox::Ok );
   } 
 
    // Now traverse the directory, see if we have updates.
-  readSysUpdates = new QProcess( this );
+  readSysUpdates = new Q3Process( this );
   readSysUpdates->addArgument( "sh");
   readSysUpdates->addArgument( "/PCBSD/SystemUpdater/bin/readSysUpdates.sh");
 
   // Connect the exited signal and start the process
   connect( readSysUpdates, SIGNAL(processExited()), this, SLOT(slotReadSystemUpdates() ) );
   if ( ! readSysUpdates->start() ) {
-        QMessageBox::information( this, tr("Error!"), tr("Error running updates2 script! ") );
+        QMessageBox::information( this->contextMenu(), tr("Error!"), tr("Error running updates2 script! "), QMessageBox::Ok );
   }
 
 
@@ -354,18 +347,18 @@
        QImage Icon2;
        Icon2.load("/PCBSD/SystemUpdater/images/sysupdates.png");
        QPixmap PixmapIcon2;
-       PixmapIcon2.convertFromImage(Icon2.scale(22,22));
+       PixmapIcon2.convertFromImage(Icon2.scaled(22,22));
 
-       KPassivePopup::message(tr("System Update") , tr("A system update is available!"),  PixmapIcon2,  this);
+       KPassivePopup::message(tr("System Update") , tr("A system update is available!"),  PixmapIcon2, this);
 
     } else {
        newMsg = "<font color=\"#ff0000\">" + tmp.setNum(key) + " " + tr("Updates available!") + "</font>";
        QImage Icon2;
        Icon2.load("/PCBSD/SystemUpdater/images/sysupdates.png");
        QPixmap PixmapIcon2;
-       PixmapIcon2.convertFromImage(Icon2.scale(22,22));
+       PixmapIcon2.convertFromImage(Icon2.scaled(22,22));
 
-       KPassivePopup::message(tr("System Update") , tr("System updates are available!"),  PixmapIcon2,  this);
+       KPassivePopup::message(tr("System Update") , tr("System updates are available!"),  PixmapIcon2, this);
 
     }
     SystemUpdaterDialog->setTextAvailSysUpdates( newMsg);
@@ -409,24 +402,21 @@
 /* This function is called to repain the context menu based on program status */
 void UpdaterTray::contextMenuRefresh() {
 
-  QImage Icon;
-  QPixmap PixmapIcon;
+  QIcon Icon;
 
   // If the program is completely updated!
   if ( programstatus == SYSTEM_UP2DATE ) 
   {
-     Icon.load("/PCBSD/SystemUpdater/images/updated.png");
-     PixmapIcon.convertFromImage(Icon.scale(22,22));
-     setPixmap(PixmapIcon);
+     Icon.addFile("/PCBSD/SystemUpdater/images/updated.png");
+     setIcon(Icon);
   }
 
 
   // If the program has a PBI update
   if ( pbistatus == PBI_UPDATES_AVAIL ) 
   {
-     Icon.load("/PCBSD/SystemUpdater/images/pbiupdates.png");
-     PixmapIcon.convertFromImage(Icon.scale(22,22));
-     setPixmap(PixmapIcon);
+     Icon.addFile("/PCBSD/SystemUpdater/images/pbiupdates.png");
+     setIcon(Icon);
   }
 
 
@@ -436,31 +426,28 @@
   // If the program is checking updates right now
   if ( programstatus == SYSTEM_CHECKING4UPDATES ) 
   {
-     Icon.load("/PCBSD/SystemUpdater/images/working.png");
-     PixmapIcon.convertFromImage(Icon.scale(22,22));
-     setPixmap(PixmapIcon);
+     Icon.addFile("/PCBSD/SystemUpdater/images/working.png");
+     setIcon(Icon);
   }
   
 
   // If the program shows system updates available
   if ( programstatus == SYSTEM_UPDATE_AVAIL ) 
   {
-     Icon.load("/PCBSD/SystemUpdater/images/sysupdates.png");
-     PixmapIcon.convertFromImage(Icon.scale(22,22));
-     setPixmap(PixmapIcon);
+     Icon.addFile("/PCBSD/SystemUpdater/images/sysupdates.png");
+     setIcon(Icon);
   }
   
 
 
   if ( programstatus == SYSTEM_UPDATING)
   {
-     Icon.load("/PCBSD/SystemUpdater/images/updating.png");
-     PixmapIcon.convertFromImage(Icon.scale(22,22));
-     setPixmap(PixmapIcon);
+     Icon.addFile("/PCBSD/SystemUpdater/images/updating.png");
+     setIcon(Icon);
   }
 
   // Update the title with the new icon
-  contextMenu()->changeTitle(1, PixmapIcon, tr("PC-BSD Update Manager"));
+  //contextMenu()->changeTitle(1, PixmapIcon, tr("PC-BSD Update Manager"));
 
 
   if ( SystemUpdaterDialog->isShown() || UpdaterStatusDialog->isShown() ) {
@@ -571,19 +558,14 @@
 
 
 
-void UpdaterTray::mouseDoubleClickEvent(QMouseEvent *e) {
-   if(e != NULL) {
+void UpdaterTray::slotTrayActivated(QSystemTrayIcon::ActivationReason reason) {
+   if(reason == QSystemTrayIcon::DoubleClick) {
       slotOpenUpdateManager();
    }
 }
 
 
 
-
-
-
-
-
 // The user wants to quit the application
 void UpdaterTray::slotQuitTray() {
  exit(0);
@@ -634,8 +616,8 @@
 
    //QToolTip::clear();
    // Update the tooltop
-   QToolTip::remove(this);
-   QToolTip::add(this, tooltipStr);
+   QToolTip::remove(this->contextMenu());
+   QToolTip::add(this->contextMenu(), tooltipStr);
 
 }
 
@@ -851,7 +833,7 @@
                    tmp = stream.readLine(); // line of text excluding '\n'
              CheckDFParts[i] =  tmp.simplifyWhiteSpace();
 
-            //QMessageBox::critical( this, tr("DF"), "Read Line:" + CheckDFParts[i]);
+            //QMessageBox::critical( this->contextMenu(), tr("DF"), "Read Line:" + CheckDFParts[i], QMessageBox::Ok);
             i++;
         }
         // Make sure the last in our array is empty
@@ -867,7 +849,7 @@
     {
         tmp = CheckDFParts[i];
         tmp = tmp.section( ' ', 5, 5);
-        //QMessageBox::critical( this, tr("DF"), "Read Line:" + tmp);
+        //QMessageBox::critical( 0, tr("DF"), "Read Line:" + tmp, QMessageBox::Ok);
 
         // check if we have a potential match for the selected directory
         if ( installLoc.find(tmp) == 0)
@@ -892,7 +874,7 @@
         if ( (z - progSize) <= 1 )
         {
             // Not enough room, warn the user how much they will need
-            QMessageBox::critical( this, tr("ERROR:"), tr("Error: Not enough free disk space for these updates! You will need " + tmp.setNum(progSize) + "MB to install the selected updates" ) );
+            QMessageBox::critical( this->contextMenu(), tr("System Updater"), tr("Error: Not enough free disk space for these updates! You will need " + tmp.setNum(progSize) + "MB to install the selected updates"), QMessageBox::Ok );
 	    return;
         } else {
 	    // We have enough free space, lets do this
@@ -900,7 +882,7 @@
         }
 
     } else {
-        QMessageBox::critical( this, tr("ERROR:"), tr("Error determining remaining disk space!"));
+        QMessageBox::critical( this->contextMenu(), tr("ERROR:"), tr("Error determining remaining disk space!"), QMessageBox::Ok);
     }
 
 }
@@ -941,7 +923,7 @@
    QImage Icon2;
    Icon2.load("/PCBSD/SystemUpdater/images/updating.png");
    QPixmap PixmapIcon2;
-   PixmapIcon2.convertFromImage(Icon2.scale(22,22));
+   PixmapIcon2.convertFromImage(Icon2.scaled(22,22));
 
    KPassivePopup::message(tr("System Update") , tr("A system update is being installed.\n\n You may double-click the system updater\n icon to view current progress."),  PixmapIcon2,  this);
 
@@ -969,7 +951,7 @@
 
  if ( rebootFlag == 1 )
  {
-    QMessageBox::warning( 0, tr("Online Update"), tr("One or more updates will require a reboot. You will be prompted to restart after the update is finished.") );
+    QMessageBox::warning( this->contextMenu(), tr("Online Update"), tr("One or more updates will require a reboot. You will be prompted to restart after the update is finished."), QMessageBox::Ok );
     requiresSysReboot = 1;
  }
 
@@ -1080,7 +1062,7 @@
 
     UpdaterStatusDialog->setProgressTotalSteps(100);
     
-    copyJob = KIO::file_copy(SysUpdateURL[currentSysWorkingItem], "/PCBSD/tmp/patch" + tmp.setNum(currentSysWorkingItem) + ".lzma", -1, true, false, false);
+    copyJob = KIO::file_copy(SysUpdateURL[currentSysWorkingItem], "/PCBSD/tmp/patch" + tmp.setNum(currentSysWorkingItem) + ".lzma", -1, KIO::HideProgressInfo);
     
     connect(copyJob, SIGNAL(totalSize(KIO::Job*, KIO::filesize_t)), UpdaterStatusDialog, SLOT(slotJobUpdateTotalSize( KIO::Job*, KIO::filesize_t)));
     connect(copyJob, SIGNAL(percent(KIO::Job*, unsigned long)), UpdaterStatusDialog, SLOT(slotJobSetPercent(KIO::Job*, unsigned long)));
@@ -1109,13 +1091,13 @@
         file4.close();
     }
 
-    checksumProc = new QProcess( this );
+    checksumProc = new Q3Process( this );
     checksumProc->addArgument( "sh" );
     checksumProc->addArgument( "/PCBSD/tmp/.syschecksum.sh" );
     //connect( checksumProc, SIGNAL(processExited()), this, SLOT( slotChecksumFinished() ) );
     connect( checksumProc, SIGNAL(readyReadStdout()), this, SLOT(slotReadSysMD5() ) );
     if ( !checksumProc->start() ) {
-      QMessageBox::information( this, tr("Error!"), tr("Error running internal checksum Script! ") );
+      QMessageBox::information( this->contextMenu(), tr("Error!"), tr("Error running internal checksum Script! "), QMessageBox::Ok );
     }
 
 
@@ -1149,7 +1131,7 @@
        {
 
 
-           QMessageBox::critical( 0, tr("Online Update"), tr("An error occured while downloading. Please check your connection or try again later.") );
+           QMessageBox::critical( this->contextMenu(), tr("Online Update"), tr("An error occured while downloading. Please check your connection or try again later."), QMessageBox::Ok );
            UpdaterStatusDialog->hide();
 
 	   programstatus = CHECK_FAILED;
@@ -1225,9 +1207,9 @@
 
         if ( requiresSysReboot == 1) 
         {
-           QMessageBox::information( 0, tr("Online Update"), tr("Updates successfully installed! Your system will need to reboot to finish.") );
+           QMessageBox::information( this->contextMenu(), tr("Online Update"), tr("Updates successfully installed! Your system will need to reboot to finish."), QMessageBox::Ok);
         } else {
-           QMessageBox::information( 0, tr("Online Update"), tr("Updates successfully installed!") );
+           QMessageBox::information( this->contextMenu(), tr("Online Update"), tr("Updates successfully installed!"), QMessageBox::Ok );
         }
 
            UpdaterStatusDialog->hide();
@@ -1267,14 +1249,14 @@
     }
 
     // start the extraction process
-    extractProc = new QProcess( this );
+    extractProc = new Q3Process( this );
     extractProc->addArgument( "sh" );
     extractProc->addArgument( "/PCBSD/tmp/.extractsys.sh" );
 
     connect( extractProc, SIGNAL(processExited()), this, SLOT(slotSysExtractFinished() ) );
     
 	    if ( ! extractProc->start() ) {
-                QMessageBox::critical( 0, tr("Online Update"), tr("An error occured while extracting. Please try again later.") );
+                QMessageBox::critical( this->contextMenu(), tr("Online Update"), tr("An error occured while extracting. Please try again later."), QMessageBox::Ok );
 		exit(15);	
 	    } 
 
@@ -1321,7 +1303,7 @@
     }
 
     // start the extraction process
-    installProc = new QProcess( this );
+    installProc = new Q3Process( this );
     installProc->addArgument( "sh" );
     installProc->addArgument( "/PCBSD/tmp/.installsys.sh" );
 
@@ -1330,7 +1312,7 @@
 
     
 	    if ( ! installProc->start() ) {
-                QMessageBox::critical( 0, tr("Online Update"), tr("An error occured while installing. Please try again later.") );
+                QMessageBox::critical( this->contextMenu(), tr("Online Update"), tr("An error occured while installing. Please try again later."), QMessageBox::Ok );
 		exit(15);	
 	    } 
 
@@ -1562,7 +1544,7 @@
   progName = tmp;
 
 
-  checkPBIProc = new QProcess( this );
+  checkPBIProc = new Q3Process( this );
   checkPBIProc->addArgument( "/PCBSD/SystemUpdater/bin/getPBIUpdateStatus.sh" );
   checkPBIProc->addArgument( progName );
   checkPBIProc->addArgument( PBIProgVer[currentWorkingPBI]  );
@@ -1598,7 +1580,7 @@
             PBIProgURL1[currentWorkingPBI] = line.replace("FileURL1: ", "");
             // We have valid data! Set the flag that this PBI is in need of an update
             PBIProgUpdate[currentWorkingPBI] = 1;
-            //QMessageBox::critical( 0, tr("Online Update"), "Found update to:" + PBIProgName[currentWorkingPBI] );
+            //QMessageBox::critical( 0, tr("Online Update"), "Found update to:" + PBIProgName[currentWorkingPBI], QMessageBox::Ok );
         }
         // Check for our other file locations
         if ( line.find("FileURL2:") == 0)
@@ -1658,7 +1640,7 @@
        QImage Icon2;
        Icon2.load("/PCBSD/SystemUpdater/images/pbiupdates.png");
        QPixmap PixmapIcon2;
-       PixmapIcon2.convertFromImage(Icon2.scale(22,22));
+       PixmapIcon2.convertFromImage(Icon2.scaled(22,22));
 
        KPassivePopup::message(tr("System Update") , tr("A PBI update is available!"),  PixmapIcon2,  this);
     } else {
@@ -1666,7 +1648,7 @@
        QImage Icon2;
        Icon2.load("/PCBSD/SystemUpdater/images/pbiupdates.png");
        QPixmap PixmapIcon2;
-       PixmapIcon2.convertFromImage(Icon2.scale(22,22));
+       PixmapIcon2.convertFromImage(Icon2.scaled(22,22));
 
        KPassivePopup::message(tr("System Update") , tr("PBI updates are available!"),  PixmapIcon2,  this);
     }
@@ -1712,7 +1694,7 @@
    QImage Icon2;
    Icon2.load("/PCBSD/SystemUpdater/images/updating.png");
    QPixmap PixmapIcon2;
-   PixmapIcon2.convertFromImage(Icon2.scale(22,22));
+   PixmapIcon2.convertFromImage(Icon2.scaled(22,22));
 
    KPassivePopup::message(tr("System Update") , tr("A PBI update is being installed.\n\n You may double-click the system updater\n icon to view current progress."),  PixmapIcon2,  this);
 
@@ -1761,7 +1743,7 @@
        // If the download failed with all 3 mirrors, issue an error
        if ( attemptedRedownload == 3)
        {
-          QMessageBox::critical( 0, tr("Online Update"), PBIProgName[currentWorkingPBI] + ": " + tr("An error occured while downloading. Please try again later.") );
+          QMessageBox::critical( this->contextMenu(), tr("Online Update"), PBIProgName[currentWorkingPBI] + ": " + tr("An error occured while downloading. Please try again later."), QMessageBox::Ok );
 
           // Set the status that this failed
           tmp=tr("Failed Download!");
@@ -1860,7 +1842,7 @@
 
     UpdaterStatusDialog->setProgressTotalSteps(100);
     
-    copyJob = KIO::file_copy(URL, "/PCBSD/tmp/" + tmp.setNum(currentWorkingPBI) + ".pbi", -1, true, false, false);
+    copyJob = KIO::file_copy(URL, "/PCBSD/tmp/" + tmp.setNum(currentWorkingPBI) + ".pbi", -1,KIO::HideProgressInfo);
     
     connect(copyJob, SIGNAL(totalSize(KIO::Job*, KIO::filesize_t)), UpdaterStatusDialog, SLOT(slotJobUpdateTotalSize( KIO::Job*, KIO::filesize_t)));
     connect(copyJob, SIGNAL(percent(KIO::Job*, unsigned long)), UpdaterStatusDialog, SLOT(slotJobSetPercent(KIO::Job*, unsigned long)));
@@ -1911,7 +1893,7 @@
 
        if ( upgradePBIProc->exitStatus() != 0)
        {
-         QMessageBox::critical( 0, tr("Online Update"), tr("The updated version of " + PBIProgName[currentWorkingPBI] + " " + tr("failed the integrity check! Please try updating this PBI again later.") ) );
+         QMessageBox::critical( this->contextMenu(), tr("Online Update"), tr("The updated version of " + PBIProgName[currentWorkingPBI] + " " + tr("failed the integrity check! Please try updating this PBI again later.") ), QMessageBox::Ok );
          // Update the status on the previous download to finished
          status = tr("Failed!");
          UpdaterStatusDialog->updateStatusListBoxItem(status, id.setNum(currentWorkingPBI) );
@@ -1943,7 +1925,7 @@
         // The updates are finished!
 
 
-           QMessageBox::information( 0, tr("Online Update"), tr("PBI Upgrades finished!") );
+           QMessageBox::information( this->contextMenu(), tr("Online Update"), tr("PBI Upgrades finished!"), QMessageBox::Ok );
            UpdaterStatusDialog->hide();
            // Check for updates again now
            programstatus = SYSTEM_UP2DATE;
@@ -2029,7 +2011,7 @@
     }
 
     // start the extraction process
-    upgradePBIProc = new QProcess( this );
+    upgradePBIProc = new Q3Process( this );
     upgradePBIProc->addArgument( "sh" );
     upgradePBIProc->addArgument( "/PCBSD/tmp/.upgradepbi.sh" );
 
@@ -2037,7 +2019,7 @@
     connect( upgradePBIProc, SIGNAL(readyReadStdout()), this, SLOT(slotReadPBIStdout() ) );
     
 	    if ( ! upgradePBIProc->start() ) {
-                QMessageBox::critical( 0, tr("Online Update"), tr("An error occured while upgrading. Please try again later.") );
+                QMessageBox::critical( this->contextMenu(), tr("Online Update"), tr("An error occured while upgrading. Please try again later."), QMessageBox::Ok );
 		exit(15);	
 	    } 
 

Modified: pcbsd/trunk/SystemUpdater/UpdaterTray.h
===================================================================
--- pcbsd/trunk/SystemUpdater/UpdaterTray.h	2008-06-19 18:59:22 UTC (rev 2130)
+++ pcbsd/trunk/SystemUpdater/UpdaterTray.h	2008-06-19 18:59:49 UTC (rev 2131)
@@ -1,20 +1,21 @@
 
 #include <qpair.h>
-#include <qptrlist.h>
 #include <qstring.h>
 
-#include <ksystemtray.h>
+#include <ksystemtrayicon.h>
 #include <kio/jobclasses.h>
 
 
 class QString;
 class QPixmap;
 
-class UpdaterTray : public KSystemTray {
+class UpdaterTray : public KSystemTrayIcon {
    Q_OBJECT
    
 public:
-   UpdaterTray();
+   UpdaterTray() : KSystemTrayIcon()
+   {
+   }
    void programInit();
    
    virtual ~UpdaterTray() {};
@@ -51,9 +52,9 @@
    void slotStartPBIInstall();
    void slotReadPBIStdout();
    void slotChangeRunStartup();
+   void slotTrayActivated(QSystemTrayIcon::ActivationReason reason);
    
 protected:
-   virtual void mouseDoubleClickEvent(QMouseEvent *e);
    
 private:
    void displayTooltip();

Modified: pcbsd/trunk/SystemUpdater/main.cpp
===================================================================
--- pcbsd/trunk/SystemUpdater/main.cpp	2008-06-19 18:59:22 UTC (rev 2130)
+++ pcbsd/trunk/SystemUpdater/main.cpp	2008-06-19 18:59:49 UTC (rev 2131)
@@ -1,27 +1,38 @@
- 
-#include <err.h>
 
+#include <qtranslator.h>
+#include <qtextcodec.h>
+#include <kapplication.h>
 #include <kaboutdata.h>
-#include <qtimer.h>
-#include <qtooltip.h>
 #include <kcmdlineargs.h>
-#include <kuniqueapplication.h>
-#include <qtextcodec.h>
 
-#include <UpdaterTray.h>
 
+#include "UpdaterTray.h"
+#include "updaterDialog.h"
+#include "SystemUpdater.h"
 
-int  main(int argc, char *argv[])
+static const char description[] = I18N_NOOP("PC-BSD System Updater GUI");
+
+int  main(int argc, char ** argv)
 {
-   KCmdLineArgs::init(argc, argv, "PC-BSD System Updater", "PC-BSD System Updater", "Updates the PC-BSD Desktop", "1.0");
 
-   KApplication::addCmdLineOptions();
+    KAboutData aboutData("SystemUpdater", 0, ki18n("SystemUpdaterPCBSD"),
+                            "1.0", ki18n(description),
+                            KAboutData::License_BSD,
+                            ki18n("(c) 2008, Kris Moore(c)"));
 
-   KApplication  a;
-   a.disableSessionManagement();
+    aboutData.addAuthor(ki18n("Kris Moore"), ki18n("Current maintainer"), "kris at pcbsd.org");
 
-   UpdaterTray  tray;
-   a.setMainWidget(&tray);
+    KCmdLineArgs::init(argc, argv, &aboutData);
+
+   KCmdLineOptions options;
+
+    // Tell which options are supported
+   KCmdLineArgs::addCmdLineOptions( options );
+
+   KApplication a;
+
+   UpdaterTray tray;
+   a.setMainWidget(tray.contextMenu());
    a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
 
    QTranslator translator( 0 );

Added: pcbsd/trunk/SystemUpdater/updaterDialog.cpp

Added: pcbsd/trunk/SystemUpdater/updaterDialog.h

Modified: pcbsd/trunk/SystemUpdater/updaterDialog.ui
===================================================================
--- pcbsd/trunk/SystemUpdater/updaterDialog.ui	2008-06-19 18:59:22 UTC (rev 2130)
+++ pcbsd/trunk/SystemUpdater/updaterDialog.ui	2008-06-19 18:59:49 UTC (rev 2131)
@@ -1,195 +1,178 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>updaterStatus</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>updaterStatus</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>474</width>
-            <height>266</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>Installing Updates</string>
-    </property>
-    <property name="icon">
-        <pixmap>image0</pixmap>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <spacer row="4" column="0">
-            <property name="name">
-                <cstring>spacer1</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Horizontal</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Expanding</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>378</width>
-                    <height>20</height>
-                </size>
-            </property>
-        </spacer>
-        <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
-            <property name="name">
-                <cstring>textLabel8</cstring>
-            </property>
-            <property name="frameShape">
-                <enum>NoFrame</enum>
-            </property>
-            <property name="frameShadow">
-                <enum>Plain</enum>
-            </property>
-            <property name="text">
-                <string>The system is currently installing the following updates:</string>
-            </property>
-        </widget>
-        <widget class="QPushButton" row="4" column="1">
-            <property name="name">
-                <cstring>pushClose</cstring>
-            </property>
-            <property name="text">
-                <string>&amp;Close</string>
-            </property>
-            <property name="accel">
-                <string>Alt+C</string>
-            </property>
-        </widget>
-        <widget class="QLabel" row="2" column="0" rowspan="1" colspan="2">
-            <property name="name">
-                <cstring>textInstallStatusLabel</cstring>
-            </property>
-            <property name="text">
-                <string></string>
-            </property>
-            <property name="alignment">
-                <set>AlignCenter</set>
-            </property>
-        </widget>
-        <widget class="QProgressBar" row="3" column="0" rowspan="1" colspan="2">
-            <property name="name">
-                <cstring>progressInstall</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>0</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-        </widget>
-        <widget class="QListView" row="1" column="0" rowspan="1" colspan="2">
-            <column>
-                <property name="text">
-                    <string>Name</string>
-                </property>
-                <property name="clickable">
-                    <bool>true</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>Size</string>
-                </property>
-                <property name="clickable">
-                    <bool>true</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>Status</string>
-                </property>
-                <property name="clickable">
-                    <bool>true</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>ID</string>
-                </property>
-                <property name="clickable">
-                    <bool>true</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <property name="name">
-                <cstring>listInstallView</cstring>
-            </property>
-            <property name="resizePolicy">
-                <enum>AutoOneFit</enum>
-            </property>
-            <property name="selectionMode">
-                <enum>NoSelection</enum>
-            </property>
-        </widget>
-    </grid>
-</widget>
-<images>
-    <image name="image0">
-        <data format="PNG" length="1224">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000048f49444154388d95956b4c9b6514c7cfdb961678c19602a51d970edd30200d2565a1339aa0c834462338a88be3c36c47b73950b2381690c4000e9760e29610c64040b74c26dea84c9798912050b90cd094a25c4a6ff47d4b29845760145acbf18b9bc471f3fff139e7fc72cef37f4e1e020080c56211e1e1e151f3f3f32e4444d883d2d2d2cec6c7c7cb1313131f47c4eeaaaaaa8a4792140ac57377eedcb9af52a9ceb3d9ec1d813c1e8f535858d8eef178361011bd5e2fe6e5e55ddc2e5fa8d168861011ebebeb6b77026bb55a1d2222c330383d3dedcfcacafa000088077144041e8fc77b5810121292505959695b5b5bc3a4a4a467b682a6a4a41c1f1f1f67dc6e377a3c1e2c2f2fff72733c3333b3a2b5b5f5cfad6e735f5e5e9efeeeddbbf3128924f1bfc1d4d4d4734ea713699a46b7db8d232323aef4f4f47300004aa5b2c4e57279dadada7cdbd9149c9b9babd7e974944020d8bf392093c9de9e9c9cf4511485168b05dd6e374e4d4d2d68b5da0ea3d148310c83353535ae9dfce7abd56a436b6bab8924c9a807870441845ebe7c999e9b9b438bc58266b3191d0e072e2e2e224dd3383737876ab5ba65b78715555050f!
 07b5353d3587070b00800203f3fff0b9aa6d166b321455148d3343a1c0ea4280aed763bd6d5d5cd92242947c47fdddc46fb8a8b8b072323234d66b399b972e5ca6b0b0b0bc066b3a1bbbb7bc9e7f36d4447470b1886d9e8eaea32343737bfbbbabadabda755100a8529353535cb269309cd660bba669d78e3f3161749922f03804c2010e40406063e0f00110f6a760573b95cee9933677eb2db67f0dab5061c1b35e0cf3dbda87c31bb7af796b6118fc7e39696967652148db76fff8836ab151b1b1bf1c2d7637fbdd3e35b97bfa452ed54bfe5fe0605050595949474959cbff0accbe5022e970333762b7c3323816186cfc2f515b6ec85ececfbd4a4c16d9d98d813384c1816515656d6abd114289c4e2708c3c3204a2482f7cb4adbbefd61c0b0c197ca382c0210819d7ce4e8ab4bf6b19105bbc9b4e3f842a130acbabafa37a77316470d46b4dbede8f7fbb1a8a8c80400220008e324a97ac49aeff0f0474398d3328505edd605f1932969db42e3e2e2626a6b6ba769ca89c6d131b4d9ace8f57ab1a2a2820e0808906f4a8de13c75ac47acd1a1b27a10733e33e15bb7fea0a393d21e854ba55269434383cd6e9bc1d151235aad565c5a5ac2cece4e262121e1bd47db20e2d972b5417c5287ca8bf7f0f5eb663c716bdc218c7de2c0c314168b455cba74e957d3d4b45f22d97!
 7fcf4e953f5ebebebd8d7d7e74d4e4efe64db1109b68c73a8704aa2edc0c3d!
 58378f4ba058f35fc627c2c2a260e00003232322a979797b1bf7f8096a7cad36fdebca9b3582ca850281a77340400801d78887da8c8223ef93d2a3f1cc0dc1b567ce3d3a19120be50c0090d0d150300c4c6c648f4bdfafe95951550a954b78787874fed0af6afddf38f34bce90e086e07785a44048642ac3822392028643f48a5d2f4ab57af2e3a1c0ed4ebf59e8c8c8caf00207057e86671f9af70b33e660e9ced58e5ef979d00f8e74b21495276f0e0c17c8fc7e3989898a80300ffff020300418a320940d8b8efee0400f81b65a64d383318ef3d0000000049454e44ae426082</data>
-    </image>
-</images>
-<connections>
-    <connection>
-        <sender>pushClose</sender>
-        <signal>clicked()</signal>
-        <receiver>updaterStatus</receiver>
-        <slot>slotPushClose()</slot>
-    </connection>
-</connections>
-<includes>
-    <include location="global" impldecl="in declaration">kio/job.h</include>
-    <include location="local" impldecl="in implementation">updaterDialog.ui.h</include>
-</includes>
-<variables>
-    <variable access="private">KIO::filesize_t totalSize;</variable>
-    <variable access="private">KIO::filesize_t processedSize;</variable>
-    <variable access="private">unsigned long speed;</variable>
-</variables>
-<signals>
-    <signal>buttonClosedPressed()</signal>
-</signals>
-<slots>
-    <slot access="private">slotPushClose()</slot>
-    <slot access="private">closeEvent( QCloseEvent * e )</slot>
-    <slot>slotJobSetPercent(KIO::Job*, unsigned long percent)</slot>
-    <slot>slotJobUpdateTotalSize(KIO::Job*, KIO::filesize_t size)</slot>
-    <slot>slotJobUpdateProcessedSize(KIO::Job*, KIO::filesize_t size)</slot>
-    <slot>slotJobUpdateSpeed(KIO::Job*, unsigned long speed)</slot>
-</slots>
-<functions>
-    <function>programInit()</function>
-    <function>insertStatusListBoxItem( QString &amp; itemName, QString itemSize, QString itemStatus, QString &amp; id )</function>
-    <function>updateStatusListBoxItem( QString &amp; itemStatus, QString &amp; id )</function>
-    <function>setLabelSysUpdateStatus( QString &amp; text )</function>
-    <function>setProgressTotalSteps( int totalSteps )</function>
-    <function>setProgressSteps( int currentStep )</function>
-    <function>clearWorkingItems()</function>
-    <function>updateSizeListBoxItem( QString &amp; itemSize, QString &amp; id )</function>
-    <function>setUpdatingPBI()</function>
-    <function>setUpdatingSystem()</function>
-    <function access="private">generateCopyLabel()</function>
-</functions>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+<ui version="4.0" >
+ <class>updaterStatus</class>
+ <widget class="QDialog" name="updaterStatus" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>474</width>
+    <height>266</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Installing Updates</string>
+  </property>
+  <property name="windowIcon" >
+   <iconset resource="SystemUpdater.qrc" >
+    <normaloff>:/sysupdater.png</normaloff>:/sysupdater.png</iconset>
+  </property>
+  <layout class="QGridLayout" >
+   <item row="4" column="0" >
+    <spacer name="spacer1" >
+     <property name="orientation" >
+      <enum>Qt::Horizontal</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Expanding</enum>
+     </property>
+     <property name="sizeHint" stdset="0" >
+      <size>
+       <width>378</width>
+       <height>20</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="0" column="0" colspan="2" >
+    <widget class="QLabel" name="textLabel8" >
+     <property name="frameShape" >
+      <enum>QFrame::NoFrame</enum>
+     </property>
+     <property name="frameShadow" >
+      <enum>QFrame::Plain</enum>
+     </property>
+     <property name="text" >
+      <string>The system is currently installing the following updates:</string>
+     </property>
+     <property name="wordWrap" >
+      <bool>false</bool>
+     </property>
+    </widget>
+   </item>
+   <item row="4" column="1" >
+    <widget class="QPushButton" name="pushClose" >
+     <property name="text" >
+      <string>&amp;Close</string>
+     </property>
+     <property name="shortcut" >
+      <string>Alt+C</string>
+     </property>
+    </widget>
+   </item>
+   <item row="2" column="0" colspan="2" >
+    <widget class="QLabel" name="textInstallStatusLabel" >
+     <property name="text" >
+      <string/>
+     </property>
+     <property name="alignment" >
+      <set>Qt::AlignCenter</set>
+     </property>
+     <property name="wordWrap" >
+      <bool>false</bool>
+     </property>
+    </widget>
+   </item>
+   <item row="3" column="0" colspan="2" >
+    <widget class="Q3ProgressBar" name="progressInstall" >
+     <property name="sizePolicy" >
+      <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+    </widget>
+   </item>
+   <item row="1" column="0" colspan="2" >
+    <widget class="Q3ListView" name="listInstallView" >
+     <property name="resizePolicy" >
+      <enum>Q3ScrollView::AutoOneFit</enum>
+     </property>
+     <property name="selectionMode" >
+      <enum>Q3ListView::NoSelection</enum>
+     </property>
+     <column>
+      <property name="text" >
+       <string>Name</string>
+      </property>
+      <property name="clickable" >
+       <bool>true</bool>
+      </property>
+      <property name="resizable" >
+       <bool>true</bool>
+      </property>
+     </column>
+     <column>
+      <property name="text" >
+       <string>Size</string>
+      </property>
+      <property name="clickable" >
+       <bool>true</bool>
+      </property>
+      <property name="resizable" >
+       <bool>true</bool>
+      </property>
+     </column>
+     <column>
+      <property name="text" >
+       <string>Status</string>
+      </property>
+      <property name="clickable" >
+       <bool>true</bool>
+      </property>
+      <property name="resizable" >
+       <bool>true</bool>
+      </property>
+     </column>
+     <column>
+      <property name="text" >
+       <string>ID</string>
+      </property>
+      <property name="clickable" >
+       <bool>true</bool>
+      </property>
+      <property name="resizable" >
+       <bool>true</bool>
+      </property>
+     </column>
+    </widget>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>Q3ListView</class>
+   <extends>Q3Frame</extends>
+   <header>q3listview.h</header>
+  </customwidget>
+  <customwidget>
+   <class>Q3ProgressBar</class>
+   <extends>QFrame</extends>
+   <header>Qt3Support/Q3ProgressBar</header>
+  </customwidget>
+ </customwidgets>
+ <includes>
+  <include location="global" >kio/job.h</include>
+ </includes>
+ <resources>
+  <include location="SystemUpdater.qrc" />
+ </resources>
+ <connections>
+  <connection>
+   <sender>pushClose</sender>
+   <signal>clicked()</signal>
+   <receiver>updaterStatus</receiver>
+   <slot>slotPushClose()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>



More information about the Commits mailing list