Browse Source

Convert .ui files to Qt 4 format:
1. run this script:
#!/bin/sh
uic3 $1.ui >$1.h
uic3 -impl $1.h $1.ui >$1.cpp
uic3 -convert $1.ui >$1_4.ui
mv -f $1_4.ui $1.ui
2. replace generated UI in $1.h with #include "ui_$1.h"
3. update project file:
* change FORMS3 back to FORMS
* remove uic3 from CONFIG
* add $1.cpp to SOURCES
* add $1.h and (temporarily) $1.ui.h to HEADERS


git-svn-id: file:///var/svn/tigccpp/trunk@947 9552661e-59e3-4036-b4f2-dbe53926924f

kevinkofler 17 years ago
parent
commit
f10561bc09

+ 37 - 0
ktigcc/customstyle.cpp

@@ -0,0 +1,37 @@
+#include "customstyle.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+/*
+ *  Constructs a CustomStyle as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+CustomStyle::CustomStyle(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+CustomStyle::~CustomStyle()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void CustomStyle::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 19 - 0
ktigcc/customstyle.h

@@ -0,0 +1,19 @@
+#ifndef CUSTOMSTYLE_H
+#define CUSTOMSTYLE_H
+
+#include "ui_customstyle.h"
+
+class CustomStyle : public QDialog, public Ui::CustomStyle
+{
+    Q_OBJECT
+
+public:
+    CustomStyle(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~CustomStyle();
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // CUSTOMSTYLE_H

+ 199 - 220
ktigcc/customstyle.ui

@@ -1,229 +1,208 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>CustomStyle</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>CustomStyle</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>CustomStyle</class>
+  <widget class="QDialog" name="CustomStyle" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>200</width>
+        <height>236</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>200</width>
-            <height>236</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>Edit Custom Style</string>
     </property>
-    <property name="caption">
-        <string>Edit Custom Style</string>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout46</cstring>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="QLabel" row="1" column="0">
-                    <property name="name">
-                        <cstring>endingLabel</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Ending:</string>
-                    </property>
-                    <property name="buddy" stdset="0">
-                        <cstring>ending</cstring>
-                    </property>
-                </widget>
-                <widget class="QLabel" row="0" column="0">
-                    <property name="name">
-                        <cstring>beginningLabel</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Beginning:</string>
-                    </property>
-                    <property name="buddy" stdset="0">
-                        <cstring>beginning</cstring>
-                    </property>
-                </widget>
-                <widget class="KLineEdit" row="0" column="1">
-                    <property name="name">
-                        <cstring>beginning</cstring>
-                    </property>
-                </widget>
-                <widget class="KLineEdit" row="1" column="1">
-                    <property name="name">
-                        <cstring>ending</cstring>
-                    </property>
-                </widget>
-            </grid>
-        </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout47</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>ignoreEndingAfterLabel</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Ignore Ending After:</string>
-                    </property>
-                    <property name="buddy" stdset="0">
-                        <cstring>ignoreEndingAfter</cstring>
-                    </property>
-                </widget>
-                <widget class="KLineEdit">
-                    <property name="name">
-                        <cstring>ignoreEndingAfter</cstring>
-                    </property>
-                    <property name="maxLength">
-                        <number>1</number>
-                    </property>
-                </widget>
-            </hbox>
-        </widget>
-        <widget class="QCheckBox">
-            <property name="name">
-                <cstring>switchable</cstring>
-            </property>
-            <property name="text">
-                <string>S&amp;witchable</string>
-            </property>
-            <property name="accel">
-                <string>Alt+W</string>
-            </property>
+    <layout class="QVBoxLayout" >
+      <item>
+        <layout class="QGridLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item row="1" column="0" >
+            <widget class="QLabel" name="endingLabel" >
+              <property name="text" >
+                <string>&amp;Ending:</string>
+              </property>
+              <property name="buddy" stdset="0" >
+                <cstring>ending</cstring>
+              </property>
+              <property name="wordWrap" >
+                <bool>false</bool>
+              </property>
+            </widget>
+          </item>
+          <item row="0" column="0" >
+            <widget class="QLabel" name="beginningLabel" >
+              <property name="text" >
+                <string>&amp;Beginning:</string>
+              </property>
+              <property name="buddy" stdset="0" >
+                <cstring>beginning</cstring>
+              </property>
+              <property name="wordWrap" >
+                <bool>false</bool>
+              </property>
+            </widget>
+          </item>
+          <item row="0" column="1" >
+            <widget class="KLineEdit" name="beginning" />
+          </item>
+          <item row="1" column="1" >
+            <widget class="KLineEdit" name="ending" />
+          </item>
+        </layout>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="QLabel" name="ignoreEndingAfterLabel" >
+              <property name="text" >
+                <string>&amp;Ignore Ending After:</string>
+              </property>
+              <property name="buddy" stdset="0" >
+                <cstring>ignoreEndingAfter</cstring>
+              </property>
+              <property name="wordWrap" >
+                <bool>false</bool>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KLineEdit" name="ignoreEndingAfter" >
+              <property name="maxLength" >
+                <number>1</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+      <item>
+        <widget class="QCheckBox" name="switchable" >
+          <property name="text" >
+            <string>S&amp;witchable</string>
+          </property>
+          <property name="shortcut" >
+            <string>Alt+W</string>
+          </property>
         </widget>
-        <widget class="QCheckBox">
-            <property name="name">
-                <cstring>lineStartOnly</cstring>
-            </property>
-            <property name="text">
-                <string>Only &amp;at beginning of line</string>
-            </property>
-            <property name="accel">
-                <string>Alt+A</string>
-            </property>
+      </item>
+      <item>
+        <widget class="QCheckBox" name="lineStartOnly" >
+          <property name="text" >
+            <string>Only &amp;at beginning of line</string>
+          </property>
+          <property name="shortcut" >
+            <string>Alt+A</string>
+          </property>
         </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout44</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>colorButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Co&amp;lor...</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+L</string>
-                    </property>
-                </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>styleButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Style...</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+S</string>
-                    </property>
-                </widget>
-            </hbox>
-        </widget>
-        <spacer>
-            <property name="name">
-                <cstring>spacer18</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Vertical</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Expanding</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>20</width>
-                    <height>16</height>
-                </size>
-            </property>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="KPushButton" name="colorButton" >
+              <property name="text" >
+                <string>Co&amp;lor...</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+L</string>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="styleButton" >
+              <property name="text" >
+                <string>&amp;Style...</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+S</string>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+      <item>
+        <spacer name="spacer18" >
+          <property name="sizeHint" >
+            <size>
+              <width>20</width>
+              <height>16</height>
+            </size>
+          </property>
+          <property name="sizeType" >
+            <enum>Expanding</enum>
+          </property>
+          <property name="orientation" >
+            <enum>Vertical</enum>
+          </property>
         </spacer>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout2</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>okButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;OK</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+O</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>1</number>
-                    </property>
-                </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>cancelButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Cancel</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>2</number>
-                    </property>
-                </widget>
-            </hbox>
-        </widget>
-    </vbox>
-</widget>
-<connections>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="KPushButton" name="okButton" >
+              <property name="text" >
+                <string>&amp;OK</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+O</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>1</number>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="cancelButton" >
+              <property name="text" >
+                <string>&amp;Cancel</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+C</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>2</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <includes>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
     <connection>
-        <sender>cancelButton</sender>
-        <signal>clicked()</signal>
-        <receiver>CustomStyle</receiver>
-        <slot>reject()</slot>
+      <sender>cancelButton</sender>
+      <signal>clicked()</signal>
+      <receiver>CustomStyle</receiver>
+      <slot>reject()</slot>
     </connection>
     <connection>
-        <sender>okButton</sender>
-        <signal>clicked()</signal>
-        <receiver>CustomStyle</receiver>
-        <slot>accept()</slot>
+      <sender>okButton</sender>
+      <signal>clicked()</signal>
+      <receiver>CustomStyle</receiver>
+      <slot>accept()</slot>
     </connection>
-</connections>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>klineedit.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </connections>
+</ui>

+ 35 - 0
ktigcc/errorlist.cpp

@@ -0,0 +1,35 @@
+#include "errorlist.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "errorlist.ui.h"
+/*
+ *  Constructs a ErrorList as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ */
+ErrorList::ErrorList(QWidget* parent, const char* name, Qt::WindowFlags fl)
+    : QWidget(parent, name, fl)
+{
+    setupUi(this);
+
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+ErrorList::~ErrorList()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void ErrorList::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 24 - 0
ktigcc/errorlist.h

@@ -0,0 +1,24 @@
+#ifndef ERRORLIST_H
+#define ERRORLIST_H
+
+#include "ui_errorlist.h"
+
+class ErrorList : public QWidget, public Ui::ErrorList
+{
+    Q_OBJECT
+
+public:
+    ErrorList(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0);
+    ~ErrorList();
+
+protected:
+    virtual void keyPressEvent( QKeyEvent * e );
+    virtual void focusInEvent(QFocusEvent *);
+    virtual void focusOutEvent(QFocusEvent *);
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // ERRORLIST_H

+ 173 - 174
ktigcc/errorlist.ui

@@ -1,185 +1,184 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>ErrorList</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>ErrorList</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>ErrorList</class>
+  <widget class="QWidget" name="ErrorList" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>798</width>
+        <height>153</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>798</width>
-            <height>153</height>
-        </rect>
+    <property name="sizePolicy" >
+      <sizepolicy>
+        <hsizetype>7</hsizetype>
+        <vsizetype>7</vsizetype>
+        <horstretch>0</horstretch>
+        <verstretch>0</verstretch>
+      </sizepolicy>
     </property>
-    <property name="sizePolicy">
-        <sizepolicy>
-            <hsizetype>7</hsizetype>
-            <vsizetype>7</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-        </sizepolicy>
+    <property name="windowTitle" >
+      <string>Errors and Warnings</string>
     </property>
-    <property name="caption">
-        <string>Errors and Warnings</string>
+    <property name="focusPolicy" >
+      <enum>Qt::StrongFocus</enum>
     </property>
-    <property name="focusPolicy">
-        <enum>StrongFocus</enum>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
+    <layout class="QVBoxLayout" >
+      <property name="margin" >
+        <number>0</number>
+      </property>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
             <number>0</number>
-        </property>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout1</cstring>
+          </property>
+          <item>
+            <widget class="QLabel" name="errorsLabel" >
+              <property name="text" >
+                <string>Errors:</string>
+              </property>
+              <property name="wordWrap" >
+                <bool>false</bool>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="QLabel" name="errorCount" >
+              <property name="sizePolicy" >
+                <sizepolicy>
+                  <hsizetype>1</hsizetype>
+                  <vsizetype>5</vsizetype>
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                </sizepolicy>
+              </property>
+              <property name="minimumSize" >
+                <size>
+                  <width>40</width>
+                  <height>0</height>
+                </size>
+              </property>
+              <property name="text" >
+                <string>0</string>
+              </property>
+              <property name="wordWrap" >
+                <bool>false</bool>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="QLabel" name="warningsLabel" >
+              <property name="text" >
+                <string>Warnings:</string>
+              </property>
+              <property name="wordWrap" >
+                <bool>false</bool>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="QLabel" name="warningCount" >
+              <property name="sizePolicy" >
+                <sizepolicy>
+                  <hsizetype>1</hsizetype>
+                  <vsizetype>5</vsizetype>
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                </sizepolicy>
+              </property>
+              <property name="minimumSize" >
+                <size>
+                  <width>40</width>
+                  <height>0</height>
+                </size>
+              </property>
+              <property name="text" >
+                <string>0</string>
+              </property>
+              <property name="wordWrap" >
+                <bool>false</bool>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <spacer name="spacer2" >
+              <property name="sizeHint" >
+                <size>
+                  <width>121</width>
+                  <height>20</height>
+                </size>
+              </property>
+              <property name="sizeType" >
+                <enum>Expanding</enum>
+              </property>
+              <property name="orientation" >
+                <enum>Horizontal</enum>
+              </property>
+            </spacer>
+          </item>
+        </layout>
+      </item>
+      <item>
+        <widget class="K3ListView" name="errorListView" >
+          <property name="selectionMode" stdset="0" >
+            <enum>Extended</enum>
+          </property>
+          <property name="allColumnsShowFocus" >
+            <bool>true</bool>
+          </property>
+          <property name="itemsMovable" >
+            <bool>false</bool>
+          </property>
+          <column>
+            <property name="text" >
+              <string>Message</string>
             </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>errorsLabel</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Errors:</string>
-                    </property>
-                </widget>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>errorCount</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>1</hsizetype>
-                            <vsizetype>5</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="minimumSize">
-                        <size>
-                            <width>40</width>
-                            <height>0</height>
-                        </size>
-                    </property>
-                    <property name="text">
-                        <string>0</string>
-                    </property>
-                </widget>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>warningsLabel</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Warnings:</string>
-                    </property>
-                </widget>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>warningCount</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>1</hsizetype>
-                            <vsizetype>5</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="minimumSize">
-                        <size>
-                            <width>40</width>
-                            <height>0</height>
-                        </size>
-                    </property>
-                    <property name="text">
-                        <string>0</string>
-                    </property>
-                </widget>
-                <spacer>
-                    <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>121</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-            </hbox>
-        </widget>
-        <widget class="K3ListView">
-            <column>
-                <property name="text">
-                    <string>Message</string>
-                </property>
-                <property name="clickable">
-                    <bool>false</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>File</string>
-                </property>
-                <property name="clickable">
-                    <bool>false</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>Function</string>
-                </property>
-                <property name="clickable">
-                    <bool>false</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <property name="name">
-                <cstring>errorListView</cstring>
+            <property name="clickable" >
+              <bool>false</bool>
             </property>
-            <property name="selectionMode" stdset="0">
-                <enum>Extended</enum>
+            <property name="resizable" >
+              <bool>true</bool>
             </property>
-            <property name="allColumnsShowFocus">
-                <bool>true</bool>
+          </column>
+          <column>
+            <property name="text" >
+              <string>File</string>
             </property>
-            <property name="itemsMovable">
-                <bool>false</bool>
+            <property name="clickable" >
+              <bool>false</bool>
+            </property>
+            <property name="resizable" >
+              <bool>true</bool>
+            </property>
+          </column>
+          <column>
+            <property name="text" >
+              <string>Function</string>
+            </property>
+            <property name="clickable" >
+              <bool>false</bool>
+            </property>
+            <property name="resizable" >
+              <bool>true</bool>
             </property>
+          </column>
         </widget>
-    </vbox>
-</widget>
-<includes>
-    <include location="local" impldecl="in implementation">errorlist.ui.h</include>
-</includes>
-<functions>
-    <function access="protected">keyPressEvent( QKeyEvent * e )</function>
-    <function access="protected">focusInEvent(QFocusEvent *)</function>
-    <function access="protected">focusOutEvent(QFocusEvent *)</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>k3listview.h</includehint>
-</includehints>
-</UI>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <customwidgets>
+    <customwidget>
+      <class>K3ListView</class>
+      <extends>Q3ListView</extends>
+      <header>k3listview.h</header>
+    </customwidget>
+  </customwidgets>
+  <includes>
+    <include location="local" >k3listview.h</include>
+  </includes>
+</ui>

+ 38 - 0
ktigcc/functions.cpp

@@ -0,0 +1,38 @@
+#include "functions.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "functions.ui.h"
+/*
+ *  Constructs a FunctionDialog as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+FunctionDialog::FunctionDialog(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+FunctionDialog::~FunctionDialog()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void FunctionDialog::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 22 - 0
ktigcc/functions.h

@@ -0,0 +1,22 @@
+#ifndef FUNCTIONDIALOG_H
+#define FUNCTIONDIALOG_H
+
+#include "ui_functions.h"
+
+class FunctionDialog : public QDialog, public Ui::FunctionDialog
+{
+    Q_OBJECT
+
+public:
+    FunctionDialog(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~FunctionDialog();
+
+public slots:
+    virtual void accept();
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // FUNCTIONDIALOG_H

+ 100 - 118
ktigcc/functions.ui

@@ -1,122 +1,104 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>FunctionDialog</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>FunctionDialog</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>FunctionDialog</class>
+  <widget class="QDialog" name="FunctionDialog" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>494</width>
+        <height>377</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>494</width>
-            <height>377</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>Functions</string>
     </property>
-    <property name="caption">
-        <string>Functions</string>
-    </property>
-    <hbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="QListBox">
-            <property name="name">
-                <cstring>functionListBox</cstring>
-            </property>
-        </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout43</cstring>
-            </property>
-            <vbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>prototypeButton</cstring>
-                    </property>
-                    <property name="enabled">
-                        <bool>false</bool>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Prototype</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+P</string>
-                    </property>
-                </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>implementationButton</cstring>
-                    </property>
-                    <property name="enabled">
-                        <bool>false</bool>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Implementation</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+I</string>
-                    </property>
-                </widget>
-                <spacer>
-                    <property name="name">
-                        <cstring>spacer50</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Vertical</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>20</width>
-                            <height>331</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>cancelButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Cancel</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
-                    <property name="autoDefault">
-                        <bool>true</bool>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>2</number>
-                    </property>
-                </widget>
-            </vbox>
-        </widget>
-    </hbox>
-</widget>
-<connections>
+    <layout class="QHBoxLayout" >
+      <item>
+        <widget class="Q3ListBox" name="functionListBox" />
+      </item>
+      <item>
+        <layout class="QVBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="KPushButton" name="prototypeButton" >
+              <property name="enabled" >
+                <bool>false</bool>
+              </property>
+              <property name="text" >
+                <string>&amp;Prototype</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+P</string>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="implementationButton" >
+              <property name="enabled" >
+                <bool>false</bool>
+              </property>
+              <property name="text" >
+                <string>&amp;Implementation</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+I</string>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <spacer name="spacer50" >
+              <property name="sizeHint" >
+                <size>
+                  <width>20</width>
+                  <height>331</height>
+                </size>
+              </property>
+              <property name="sizeType" >
+                <enum>Expanding</enum>
+              </property>
+              <property name="orientation" >
+                <enum>Vertical</enum>
+              </property>
+            </spacer>
+          </item>
+          <item>
+            <widget class="KPushButton" name="cancelButton" >
+              <property name="text" >
+                <string>&amp;Cancel</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+C</string>
+              </property>
+              <property name="autoDefault" >
+                <bool>true</bool>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>2</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <includes>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
     <connection>
-        <sender>cancelButton</sender>
-        <signal>clicked()</signal>
-        <receiver>FunctionDialog</receiver>
-        <slot>reject()</slot>
+      <sender>cancelButton</sender>
+      <signal>clicked()</signal>
+      <receiver>FunctionDialog</receiver>
+      <slot>reject()</slot>
     </connection>
-</connections>
-<includes>
-    <include location="local" impldecl="in implementation">functions.ui.h</include>
-</includes>
-<slots>
-    <slot>accept()</slot>
-</slots>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </connections>
+</ui>

+ 47 - 6
ktigcc/ktigcc.pro

@@ -1,7 +1,7 @@
 TEMPLATE	= app
 LANGUAGE	= C++
 
-CONFIG	+= qt warn_on debug uic3
+CONFIG	+= qt warn_on debug
 
 QT += xml qt3support
 
@@ -17,7 +17,34 @@ HEADERS	+= tpr.h \
 	parsing.h \
 	colorlistitem.h \
 	completion.h \
-	assistant.h
+	assistant.h \
+	srcfilewin.h \
+	projectoptions.h \
+	programoptions.h \
+	preferencesdlg.h \
+	mainform.h \
+	errorlist.h \
+	programoutput.h \
+	functions.h \
+	newsdlg.h \
+	toolsdlg.h \
+	toolprops.h \
+	selectstyle.h \
+	selectcolors.h \
+	customstyle.h \
+	wordlist.h \
+	srcfilewin.ui.h \
+	projectoptions.ui.h \
+	programoptions.ui.h \
+	preferencesdlg.ui.h \
+	mainform.ui.h \
+	errorlist.ui.h \
+	functions.ui.h \
+	newsdlg.ui.h \
+	toolsdlg.ui.h \
+	toolprops.ui.h \
+	selectstyle.ui.h \
+	selectcolors.ui.h
 
 SOURCES	+= ktigcc.cpp \
 	preferences.cpp \
@@ -26,10 +53,24 @@ SOURCES	+= ktigcc.cpp \
 	callbacks.cpp \
 	parsing.cpp \
 	completion.cpp \
-	assistant.cpp
-
-#The following line was changed from FORMS to FORMS3 by qt3to4
-FORMS3	= srcfilewin.ui \
+	assistant.cpp \
+	srcfilewin.cpp \
+	projectoptions.cpp \
+	programoptions.cpp \
+	preferencesdlg.cpp \
+	mainform.cpp \
+	errorlist.cpp \
+	programoutput.cpp \
+	functions.cpp \
+	newsdlg.cpp \
+	toolsdlg.cpp \
+	toolprops.cpp \
+	selectstyle.cpp \
+	selectcolors.cpp \
+	customstyle.cpp \
+	wordlist.cpp
+
+FORMS	= srcfilewin.ui \
 	projectoptions.ui \
 	programoptions.ui \
 	preferencesdlg.ui \

+ 39 - 0
ktigcc/mainform.cpp

@@ -0,0 +1,39 @@
+#include "mainform.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "mainform.ui.h"
+/*
+ *  Constructs a MainForm as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ */
+MainForm::MainForm(QWidget* parent, const char* name, Qt::WindowFlags fl)
+    : Q3MainWindow(parent, name, fl)
+{
+    setupUi(this);
+
+    (void)statusBar();
+    init();
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+MainForm::~MainForm()
+{
+    destroy();
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void MainForm::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 173 - 0
ktigcc/mainform.h

@@ -0,0 +1,173 @@
+#ifndef MAINFORM_H
+#define MAINFORM_H
+
+#include "ui_mainform.h"
+
+class MainForm : public Q3MainWindow, public Ui::MainForm
+{
+    Q_OBJECT
+
+public:
+    MainForm(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = Qt::WType_TopLevel);
+    ~MainForm();
+
+    static void deleteErrorsForLVFile( Q3ListViewItem * item );
+    static void deleteErrorsForSrcFile( void * srcFile );
+    static void createErrorCursorsForSourceFile( Q3ListViewItem * item );
+    static void deleteOverwrittenErrorsIn( void * srcFile );
+    static QString SGetFileName( int mode, const QString & fileFilter, const QString & caption, QWidget * parent );
+    static QStringList SGetFileName_Multiple( const QString & fileFilter, const QString & caption, QWidget * parent );
+    void * createView( const QString & fileName, const QString & fileText, Q3ListViewItem * category );
+    virtual void adoptSourceFile( void * srcFile );
+    virtual bool openProject( const QString & fileName );
+    int fileSavePrompt( Q3ListViewItem * fileItem );
+    virtual void fileSave_fromto( const QString & lastProj, const QString & nextProj );
+    virtual void findAndOpenFile( const QString & fileName, void * category );
+    virtual void openHeader( const QString & fileName, bool systemHeader, unsigned lineno );
+    virtual QString writeTempSourceFile( void * srcFile, bool inProject );
+    virtual void compileSourceFile( void * srcFile );
+    static QString tilibsErrorMessage( int err );
+    virtual QString textForHeader( const QString & fileName );
+
+public slots:
+    virtual void errorListView_clicked( Q3ListViewItem * item );
+    virtual bool findSourceFile( bool & inProject, void * & srcFile, const QString & fileName );
+    virtual void init();
+    virtual void destroy();
+    virtual void te_popup_aboutToShow();
+    virtual void te_popup_activated( int index );
+    virtual void accel_activated( int index );
+    virtual void completionPopup_closed();
+    virtual void fileTreeAccel_activated( int index );
+    virtual void fileNewProject();
+    virtual void fileOpen();
+    virtual void fileRecent1();
+    virtual void fileRecent2();
+    virtual void fileRecent3();
+    virtual void fileRecent4();
+    virtual bool fileSave();
+    virtual bool fileSaveAs();
+    virtual void filePrint();
+    virtual void filePrintQuickly();
+    virtual void filePreferences();
+    virtual void editUndo();
+    virtual void editRedo();
+    virtual void editClear();
+    virtual void editCut();
+    virtual void editCopy();
+    virtual void editPaste();
+    virtual void editSelectAll();
+    virtual void editIncreaseIndent();
+    virtual void editDecreaseIndent();
+    virtual void findFind();
+    virtual void findFind_next();
+    virtual void findFind_highlight( const QString & unused_text, int matchingindex, int matchedlength );
+    virtual void findFind_stop();
+    virtual void findReplace();
+    virtual void findReplace_next();
+    virtual void findReplace_highlight( const QString & unused_text, int matchingindex, int matchedlength );
+    virtual void findReplace_replace( const QString & text, int replacementIndex, int replacedLength, int matchedLength );
+    virtual void findReplace_stop();
+    virtual void findFunctions();
+    virtual void findFunctions_functionListBox_highlighted( int index );
+    virtual void findFunctions_functionListBox_selected( int index );
+    virtual void findFunctions_prototypeButton_clicked();
+    virtual void findFunctions_implementationButton_clicked();
+    virtual void findFunctionsPopup_aboutToShow();
+    virtual void findFunctionsPopup_aboutToHide();
+    virtual void findFunctionsPopup_aboutToHide_async();
+    virtual void findFunctionsPopup_activated( int id );
+    virtual void findOpenFileAtCursor();
+    virtual void findFindSymbolDeclaration();
+    virtual void projectAddFiles();
+    virtual void procio_processExited();
+    virtual void procio_readReady();
+    virtual void procio_readReady_recordOnly();
+    virtual void projectCompile();
+    virtual void projectMake();
+    virtual void projectBuild();
+    virtual void projectStopCompilation();
+    virtual void projectForceQuit();
+    virtual void projectErrorsAndWarnings( bool on );
+    virtual void projectProgramOutput();
+    virtual void projectOptions();
+    virtual void debugRun();
+    virtual void debugPause();
+    virtual void debugReset();
+    virtual void toolsConfigure();
+    virtual void toolsMenu_highlighted( int id );
+    virtual void toolsMenu_activated( int id );
+    virtual void toolsMenu_aboutToHide();
+    virtual void helpDocumentation();
+    virtual void helpContents();
+    virtual void helpIndex();
+    virtual void helpSearch();
+    virtual void helpNews();
+    virtual void helpAbout();
+    virtual void resizeEvent( QResizeEvent * event );
+    virtual void timerEvent( QTimerEvent * event );
+    virtual void fileTreeClicked( Q3ListViewItem * item );
+    virtual void fileNewFolder();
+    virtual void fileTreeContextMenuRequested( Q3ListViewItem * item, const QPoint & pos, int unused_col );
+    virtual void fileNewCHeader();
+    virtual void fileNewGNUAssemblyHeader();
+    virtual void fileNewA68kAssemblyHeader();
+    virtual void fileNewCSourceFile();
+    virtual void fileNewGNUAssemblySourceFile();
+    virtual void fileNewA68kAssemblySourceFile();
+    virtual void fileNewQuillSourceFile();
+    virtual void fileNewTextFile();
+    virtual void statusBar_messageChanged( const QString & message );
+    virtual void current_view_cursorPositionChanged();
+    virtual void current_view_textChanged();
+    virtual void current_view_undoChanged();
+    virtual void current_view_selectionChanged();
+    virtual void current_view_charactersInteractivelyInserted( int line, int col, const QString & characters );
+    virtual void clipboard_dataChanged();
+    virtual void fileTreeItemRenamed( Q3ListViewItem * item, const QString & newName, int col );
+    virtual void KDirWatch_dirty( const QString & fileName );
+
+protected:
+    virtual void closeEvent( QCloseEvent * e );
+
+protected slots:
+    virtual void languageChange();
+
+private:
+    void clearProject();
+    QString findFilter( unsigned short job );
+    void updateRecent();
+    void addRecent( const QString & fileName );
+    Q3ListViewItem * openFile( Q3ListViewItem * category, Q3ListViewItem * parent, const QString & fileCaption, const QString & fileName );
+    static Q3ListViewItem * createFolder( Q3ListViewItem * parent, const QString & name );
+    void fileOpen_addList( Q3ListViewItem * category, void * fileListV, void * dir, const QString & open_file );
+    int savePrompt( void );
+    void removeTrailingSpacesFromView( void * view );
+    void fileSave_save( Q3ListViewItem * theItem );
+    void fileSave_saveAs( Q3ListViewItem * theItem );
+    void fileSave_loadList( Q3ListViewItem * category, void * fileListV, const QString & base_dir, void * dir_new, QString * open_file );
+    void findReplace_next( bool firstTime );
+    int projectAddFiles_oneFile( const QString & fileName );
+    void startCompiling();
+    void stopCompiling();
+    void compileFile( void * srcFile, bool inProject, bool force );
+    void compileProject( bool forceAll );
+    void linkProject();
+    void showStats();
+    bool tiemuInstance( void * instanceName );
+    void updateToolsMenu();
+    void updateSizes();
+    bool removeItem( Q3ListViewItem * item );
+    QStringList extractAllFileNames( void );
+    void extractFileTreeInfo( Q3ListViewItem * parent, Q3ListViewItem * * p_category, QString * p_folderPath );
+    void newFile( Q3ListViewItem * parent, QString text, const QPixmap & pixmap );
+    void newFile( Q3ListViewItem * parent );
+    Q3ListViewItem * resolveParent( Q3ListViewItem * category );
+    void updateLeftStatusLabel();
+    void updateRightStatusLabel();
+    void current_view_newLineHook();
+    QString pathInProject( Q3ListViewItem * item );
+
+};
+
+#endif // MAINFORM_H

+ 1377 - 1550
ktigcc/mainform.ui

@@ -1,1750 +1,1577 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>MainForm</class>
-<widget class="QMainWindow">
-    <property name="name">
-        <cstring>MainForm</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>MainForm</class>
+  <widget class="Q3MainWindow" name="MainForm" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>794</width>
+        <height>513</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>794</width>
-            <height>513</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>TIGCC IDE for KDE</string>
     </property>
-    <property name="caption">
-        <string>TIGCC IDE for KDE</string>
-    </property>
-    <hbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="QSplitter">
-            <property name="name">
-                <cstring>splitter</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Horizontal</enum>
+    <widget class="QWidget" >
+      <layout class="QHBoxLayout" >
+        <item>
+          <widget class="QSplitter" name="splitter" >
+            <property name="orientation" >
+              <enum>Qt::Horizontal</enum>
             </property>
-            <widget class="K3ListView">
-                <column>
-                    <property name="text">
-                        <string>Files</string>
-                    </property>
-                    <property name="clickable">
-                        <bool>false</bool>
-                    </property>
-                    <property name="resizable">
-                        <bool>false</bool>
-                    </property>
-                </column>
-                <property name="name">
-                    <cstring>fileTree</cstring>
-                </property>
-                <property name="acceptDrops">
-                    <bool>true</bool>
-                </property>
-                <property name="rootIsDecorated">
-                    <bool>false</bool>
+            <widget class="K3ListView" name="fileTree" >
+              <property name="acceptDrops" >
+                <bool>true</bool>
+              </property>
+              <property name="rootIsDecorated" >
+                <bool>false</bool>
+              </property>
+              <property name="defaultRenameAction" >
+                <enum>Accept</enum>
+              </property>
+              <property name="itemsMovable" >
+                <bool>false</bool>
+              </property>
+              <column>
+                <property name="text" >
+                  <string>Files</string>
                 </property>
-                <property name="defaultRenameAction">
-                    <enum>Accept</enum>
+                <property name="clickable" >
+                  <bool>false</bool>
                 </property>
-                <property name="itemsMovable">
-                    <bool>false</bool>
+                <property name="resizable" >
+                  <bool>false</bool>
                 </property>
+              </column>
             </widget>
-            <widget class="QWidgetStack">
-                <property name="name">
-                    <cstring>widgetStack</cstring>
-                </property>
-                <property name="sizePolicy">
-                    <sizepolicy>
-                        <hsizetype>7</hsizetype>
-                        <vsizetype>7</vsizetype>
-                        <horstretch>0</horstretch>
-                        <verstretch>0</verstretch>
-                    </sizepolicy>
-                </property>
+            <widget class="Q3WidgetStack" name="widgetStack" >
+              <property name="sizePolicy" >
+                <sizepolicy>
+                  <hsizetype>7</hsizetype>
+                  <vsizetype>7</vsizetype>
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                </sizepolicy>
+              </property>
             </widget>
-        </widget>
-    </hbox>
-</widget>
-<menubar>
-    <property name="name">
-        <cstring>menubar</cstring>
-    </property>
-    <item text="&amp;File" name="fileMenu">
-        <actiongroup name="fileNewActionGroup"/>
-        <item text="&amp;New" name="popupMenu" accel="">
-            <action name="fileNewProjectAction"/>
-            <action name="fileNewFolderAction"/>
-            <action name="fileNewCHeaderAction"/>
-            <action name="fileNewGNUAssemblyHeaderAction"/>
-            <action name="fileNewA68kAssemblyHeaderAction"/>
-            <action name="fileNewCSourceFileAction"/>
-            <action name="fileNewGNUAssemblySourceFileAction"/>
-            <action name="fileNewA68kAssemblySourceFileAction"/>
-            <action name="fileNewQuillSourceFileAction"/>
-            <action name="fileNewTextFileAction"/>
+          </widget>
         </item>
-        <action name="fileOpenAction"/>
-        <action name="fileSaveAllAction"/>
-        <action name="fileSaveProjectAsAction"/>
-        <separator/>
-        <action name="filePrintAction"/>
-        <separator/>
-        <action name="filePreferencesAction"/>
-        <separator/>
-        <action name="fileExitAction"/>
-        <separator/>
-        <action name="fileRecent1Action"/>
-        <action name="fileRecent2Action"/>
-        <action name="fileRecent3Action"/>
-        <action name="fileRecent4Action"/>
-    </item>
-    <item text="&amp;Edit" name="editMenu">
-        <action name="editUndoAction"/>
-        <action name="editRedoAction"/>
-        <separator/>
-        <action name="editClearAction"/>
-        <action name="editCutAction"/>
-        <action name="editCopyAction"/>
-        <action name="editPasteAction"/>
-        <separator/>
-        <action name="editSelectAllAction"/>
-        <separator/>
-        <action name="editIncreaseIndentAction"/>
-        <action name="editDecreaseIndentAction"/>
-    </item>
-    <item text="F&amp;ind" name="findMenu">
-        <action name="findFindAction"/>
-        <action name="findReplaceAction"/>
-        <separator/>
-        <action name="findFunctionsAction"/>
-        <separator/>
-        <action name="findOpenFileAtCursorAction"/>
-        <action name="findFindSymbolDeclarationAction"/>
-    </item>
-    <item text="&amp;Project" name="projectMenu">
-        <action name="projectAddFilesAction"/>
-        <separator/>
-        <action name="projectCompileAction"/>
-        <action name="projectMakeAction"/>
-        <action name="projectBuildAction"/>
-        <action name="projectStopCompilationAction"/>
-        <action name="projectForceQuitAction"/>
-        <separator/>
-        <action name="projectErrorsAndWarningsAction"/>
-        <action name="projectProgramOutputAction"/>
-        <separator/>
-        <action name="projectOptionsAction"/>
-    </item>
-    <item text="&amp;Debug" name="debugMenu">
-        <action name="debugRunAction"/>
-        <separator/>
-        <action name="debugPauseAction"/>
-        <action name="debugResetAction"/>
-    </item>
-    <item text="&amp;Tools" name="toolsMenu">
-        <action name="toolsConfigureAction"/>
-    </item>
-    <item text="&amp;Help" name="helpMenu">
-        <action name="helpContentsAction"/>
-        <action name="helpIndexAction"/>
-        <action name="helpSearchAction"/>
-        <separator/>
-        <action name="helpNewsAction"/>
-        <separator/>
-        <action name="helpAboutAction"/>
-    </item>
-</menubar>
-<toolbars>
-    <toolbar dock="2">
-        <property name="name">
-            <cstring>toolBar</cstring>
-        </property>
-        <property name="movingEnabled">
-            <bool>false</bool>
-        </property>
-        <property name="label">
-            <string>Tools</string>
-        </property>
-        <action name="fileNewActionGroup"/>
-        <action name="fileOpenActionGroup"/>
-        <action name="fileSaveAllAction"/>
-        <separator/>
-        <action name="filePrintQuicklyAction"/>
-        <separator/>
-        <action name="editClearAction"/>
-        <action name="editCutAction"/>
-        <action name="editCopyAction"/>
-        <action name="editPasteAction"/>
-        <separator/>
-        <action name="editUndoAction"/>
-        <action name="editRedoAction"/>
-        <separator/>
-        <action name="findFindAction"/>
-        <action name="findReplaceAction"/>
-        <action name="findFunctionsAction"/>
-        <separator/>
-        <action name="projectAddFilesAction"/>
-        <separator/>
-        <action name="projectMakeAction"/>
-        <action name="projectBuildAction"/>
-        <action name="projectStopCompilationAction"/>
-        <action name="projectForceQuitAction"/>
-        <separator/>
-        <action name="debugRunAction"/>
-        <action name="debugPauseAction"/>
-        <separator/>
-        <action name="helpDocumentationAction"/>
-    </toolbar>
-</toolbars>
-<actions>
-    <action>
-        <property name="name">
-            <cstring>fileOpenAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>01</iconset>
-        </property>
-        <property name="text">
-            <string>Open File</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Open...</string>
-        </property>
-        <property name="statusTip">
-            <string>Open an existing project or file</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+O</string>
-        </property>
+      </layout>
+    </widget>
+    <widget class="Q3ToolBar" name="toolBar" >
+      <property name="movingEnabled" >
+        <bool>false</bool>
+      </property>
+      <property name="label" >
+        <string>Tools</string>
+      </property>
+      <addaction name="fileNewActionGroup" />
+      <addaction name="fileOpenActionGroup" />
+      <addaction name="fileSaveAllAction" />
+      <addaction name="separator" />
+      <addaction name="filePrintQuicklyAction" />
+      <addaction name="separator" />
+      <addaction name="editClearAction" />
+      <addaction name="editCutAction" />
+      <addaction name="editCopyAction" />
+      <addaction name="editPasteAction" />
+      <addaction name="separator" />
+      <addaction name="editUndoAction" />
+      <addaction name="editRedoAction" />
+      <addaction name="separator" />
+      <addaction name="findFindAction" />
+      <addaction name="findReplaceAction" />
+      <addaction name="findFunctionsAction" />
+      <addaction name="separator" />
+      <addaction name="projectAddFilesAction" />
+      <addaction name="separator" />
+      <addaction name="projectMakeAction" />
+      <addaction name="projectBuildAction" />
+      <addaction name="projectStopCompilationAction" />
+      <addaction name="projectForceQuitAction" />
+      <addaction name="separator" />
+      <addaction name="debugRunAction" />
+      <addaction name="debugPauseAction" />
+      <addaction name="separator" />
+      <addaction name="helpDocumentationAction" />
+    </widget>
+    <widget class="QMenuBar" name="menubar" >
+      <widget class="QMenu" name="fileMenu" >
+        <property name="title" >
+          <string>&amp;File</string>
+        </property>
+        <widget class="QMenu" name="popupMenu" >
+          <property name="title" >
+            <string>&amp;New</string>
+          </property>
+          <addaction name="fileNewProjectAction" />
+          <addaction name="fileNewFolderAction" />
+          <addaction name="fileNewCHeaderAction" />
+          <addaction name="fileNewGNUAssemblyHeaderAction" />
+          <addaction name="fileNewA68kAssemblyHeaderAction" />
+          <addaction name="fileNewCSourceFileAction" />
+          <addaction name="fileNewGNUAssemblySourceFileAction" />
+          <addaction name="fileNewA68kAssemblySourceFileAction" />
+          <addaction name="fileNewQuillSourceFileAction" />
+          <addaction name="fileNewTextFileAction" />
+        </widget>
+        <addaction name="popupMenu" />
+        <addaction name="fileOpenAction" />
+        <addaction name="fileSaveAllAction" />
+        <addaction name="fileSaveProjectAsAction" />
+        <addaction name="separator" />
+        <addaction name="filePrintAction" />
+        <addaction name="separator" />
+        <addaction name="filePreferencesAction" />
+        <addaction name="separator" />
+        <addaction name="fileExitAction" />
+        <addaction name="separator" />
+        <addaction name="fileRecent1Action" />
+        <addaction name="fileRecent2Action" />
+        <addaction name="fileRecent3Action" />
+        <addaction name="fileRecent4Action" />
+      </widget>
+      <widget class="QMenu" name="editMenu" >
+        <property name="title" >
+          <string>&amp;Edit</string>
+        </property>
+        <addaction name="editUndoAction" />
+        <addaction name="editRedoAction" />
+        <addaction name="separator" />
+        <addaction name="editClearAction" />
+        <addaction name="editCutAction" />
+        <addaction name="editCopyAction" />
+        <addaction name="editPasteAction" />
+        <addaction name="separator" />
+        <addaction name="editSelectAllAction" />
+        <addaction name="separator" />
+        <addaction name="editIncreaseIndentAction" />
+        <addaction name="editDecreaseIndentAction" />
+      </widget>
+      <widget class="QMenu" name="findMenu" >
+        <property name="title" >
+          <string>F&amp;ind</string>
+        </property>
+        <addaction name="findFindAction" />
+        <addaction name="findReplaceAction" />
+        <addaction name="separator" />
+        <addaction name="findFunctionsAction" />
+        <addaction name="separator" />
+        <addaction name="findOpenFileAtCursorAction" />
+        <addaction name="findFindSymbolDeclarationAction" />
+      </widget>
+      <widget class="QMenu" name="projectMenu" >
+        <property name="title" >
+          <string>&amp;Project</string>
+        </property>
+        <addaction name="projectAddFilesAction" />
+        <addaction name="separator" />
+        <addaction name="projectCompileAction" />
+        <addaction name="projectMakeAction" />
+        <addaction name="projectBuildAction" />
+        <addaction name="projectStopCompilationAction" />
+        <addaction name="projectForceQuitAction" />
+        <addaction name="separator" />
+        <addaction name="projectErrorsAndWarningsAction" />
+        <addaction name="projectProgramOutputAction" />
+        <addaction name="separator" />
+        <addaction name="projectOptionsAction" />
+      </widget>
+      <widget class="QMenu" name="debugMenu" >
+        <property name="title" >
+          <string>&amp;Debug</string>
+        </property>
+        <addaction name="debugRunAction" />
+        <addaction name="separator" />
+        <addaction name="debugPauseAction" />
+        <addaction name="debugResetAction" />
+      </widget>
+      <widget class="QMenu" name="toolsMenu" >
+        <property name="title" >
+          <string>&amp;Tools</string>
+        </property>
+        <addaction name="toolsConfigureAction" />
+      </widget>
+      <widget class="QMenu" name="helpMenu" >
+        <property name="title" >
+          <string>&amp;Help</string>
+        </property>
+        <addaction name="helpContentsAction" />
+        <addaction name="helpIndexAction" />
+        <addaction name="helpSearchAction" />
+        <addaction name="separator" />
+        <addaction name="helpNewsAction" />
+        <addaction name="separator" />
+        <addaction name="helpAboutAction" />
+      </widget>
+      <addaction name="fileMenu" />
+      <addaction name="editMenu" />
+      <addaction name="findMenu" />
+      <addaction name="projectMenu" />
+      <addaction name="debugMenu" />
+      <addaction name="toolsMenu" />
+      <addaction name="helpMenu" />
+    </widget>
+    <action name="fileOpenAction" >
+      <property name="name" >
+        <cstring>fileOpenAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>01</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Open File</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Open...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Open an existing project or file</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+O</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>fileSaveAllAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>02</iconset>
-        </property>
-        <property name="text">
-            <string>Save All</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Save All</string>
-        </property>
-        <property name="statusTip">
-            <string>Save all open files</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+S</string>
-        </property>
+    <action name="fileSaveAllAction" >
+      <property name="name" >
+        <cstring>fileSaveAllAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>02</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Save All</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Save All</string>
+      </property>
+      <property name="statusTip" >
+        <string>Save all open files</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+S</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>fileSaveProjectAsAction</cstring>
-        </property>
-        <property name="text">
-            <string>Save Project As...</string>
-        </property>
-        <property name="menuText">
-            <string>Save Project &amp;As...</string>
-        </property>
-        <property name="statusTip">
-            <string>Save the current project with another name, or in another folder</string>
-        </property>
-        <property name="accel">
-            <string></string>
-        </property>
+    <action name="fileSaveProjectAsAction" >
+      <property name="name" >
+        <cstring>fileSaveProjectAsAction</cstring>
+      </property>
+      <property name="iconText" >
+        <string>Save Project As...</string>
+      </property>
+      <property name="text" >
+        <string>Save Project &amp;As...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Save the current project with another name, or in another folder</string>
+      </property>
+      <property name="shortcut" >
+        <string/>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>filePrintAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="iconSet">
-            <iconset>03</iconset>
-        </property>
-        <property name="text">
-            <string>Print File</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Print...</string>
-        </property>
-        <property name="statusTip">
-            <string>Print the current source file</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+P</string>
-        </property>
+    <action name="filePrintAction" >
+      <property name="name" >
+        <cstring>filePrintAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>03</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Print File</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Print...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Print the current source file</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+P</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>fileExitAction</cstring>
-        </property>
-        <property name="text">
-            <string>Exit</string>
-        </property>
-        <property name="menuText">
-            <string>E&amp;xit</string>
-        </property>
-        <property name="statusTip">
-            <string>Close the TIGCC IDE</string>
-        </property>
-        <property name="accel">
-            <string></string>
-        </property>
+    <action name="fileExitAction" >
+      <property name="name" >
+        <cstring>fileExitAction</cstring>
+      </property>
+      <property name="iconText" >
+        <string>Exit</string>
+      </property>
+      <property name="text" >
+        <string>E&amp;xit</string>
+      </property>
+      <property name="statusTip" >
+        <string>Close the TIGCC IDE</string>
+      </property>
+      <property name="shortcut" >
+        <string/>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editUndoAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="iconSet">
-            <iconset>16</iconset>
-        </property>
-        <property name="text">
-            <string>Undo</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Undo</string>
-        </property>
-        <property name="statusTip">
-            <string>Undo the last operation in the editor</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+Z</string>
-        </property>
+    <action name="editUndoAction" >
+      <property name="name" >
+        <cstring>editUndoAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>16</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Undo</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Undo</string>
+      </property>
+      <property name="statusTip" >
+        <string>Undo the last operation in the editor</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+Z</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editRedoAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="iconSet">
-            <iconset>17</iconset>
-        </property>
-        <property name="text">
-            <string>Redo</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Redo</string>
-        </property>
-        <property name="statusTip">
-            <string>Redo the last undone operation in the editor</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+Y</string>
-        </property>
+    <action name="editRedoAction" >
+      <property name="name" >
+        <cstring>editRedoAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>17</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Redo</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Redo</string>
+      </property>
+      <property name="statusTip" >
+        <string>Redo the last undone operation in the editor</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+Y</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editCutAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="iconSet">
-            <iconset>05</iconset>
-        </property>
-        <property name="text">
-            <string>Cut</string>
-        </property>
-        <property name="menuText">
-            <string>Cu&amp;t</string>
-        </property>
-        <property name="statusTip">
-            <string>Copy the selected text into the clipboard and delete it</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+X</string>
-        </property>
+    <action name="editCutAction" >
+      <property name="name" >
+        <cstring>editCutAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>05</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Cut</string>
+      </property>
+      <property name="text" >
+        <string>Cu&amp;t</string>
+      </property>
+      <property name="statusTip" >
+        <string>Copy the selected text into the clipboard and delete it</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+X</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editCopyAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="iconSet">
-            <iconset>06</iconset>
-        </property>
-        <property name="text">
-            <string>Copy</string>
-        </property>
-        <property name="menuText">
-            <string>C&amp;opy</string>
-        </property>
-        <property name="statusTip">
-            <string>Copy the selected text into the clipboard without deleting it</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+C</string>
-        </property>
+    <action name="editCopyAction" >
+      <property name="name" >
+        <cstring>editCopyAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>06</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Copy</string>
+      </property>
+      <property name="text" >
+        <string>C&amp;opy</string>
+      </property>
+      <property name="statusTip" >
+        <string>Copy the selected text into the clipboard without deleting it</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+C</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editPasteAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="iconSet">
-            <iconset>07</iconset>
-        </property>
-        <property name="text">
-            <string>Paste</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Paste</string>
-        </property>
-        <property name="statusTip">
-            <string>Paste text from the clipboard</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+V</string>
-        </property>
+    <action name="editPasteAction" >
+      <property name="name" >
+        <cstring>editPasteAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>07</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Paste</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Paste</string>
+      </property>
+      <property name="statusTip" >
+        <string>Paste text from the clipboard</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+V</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>findFindAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>13</iconset>
-        </property>
-        <property name="text">
-            <string>Find</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Find...</string>
-        </property>
-        <property name="toolTip">
-            <string>Find Text</string>
-        </property>
-        <property name="statusTip">
-            <string>Find the specified text in the current source file</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+F</string>
-        </property>
+    <action name="findFindAction" >
+      <property name="name" >
+        <cstring>findFindAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>13</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Find</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Find...</string>
+      </property>
+      <property name="toolTip" >
+        <string>Find Text</string>
+      </property>
+      <property name="statusTip" >
+        <string>Find the specified text in the current source file</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+F</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>helpContentsAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>12</iconset>
-        </property>
-        <property name="text">
-            <string>Contents</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Contents...</string>
-        </property>
-        <property name="statusTip">
-            <string>Display the contents tab of the documentation</string>
-        </property>
-        <property name="accel">
-            <string></string>
-        </property>
+    <action name="helpContentsAction" >
+      <property name="name" >
+        <cstring>helpContentsAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>12</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Contents</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Contents...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Display the contents tab of the documentation</string>
+      </property>
+      <property name="shortcut" >
+        <string/>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>helpIndexAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>15</iconset>
-        </property>
-        <property name="text">
-            <string>Index</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Index...</string>
-        </property>
-        <property name="statusTip">
-            <string>Display the index tab of the documentation</string>
-        </property>
-        <property name="accel">
-            <string></string>
-        </property>
+    <action name="helpIndexAction" >
+      <property name="name" >
+        <cstring>helpIndexAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>15</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Index</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Index...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Display the index tab of the documentation</string>
+      </property>
+      <property name="shortcut" >
+        <string/>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>helpAboutAction</cstring>
-        </property>
-        <property name="text">
-            <string>About</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;About...</string>
-        </property>
-        <property name="statusTip">
-            <string>Display information about this program</string>
-        </property>
-        <property name="accel">
-            <string></string>
-        </property>
+    <action name="helpAboutAction" >
+      <property name="name" >
+        <cstring>helpAboutAction</cstring>
+      </property>
+      <property name="iconText" >
+        <string>About</string>
+      </property>
+      <property name="text" >
+        <string>&amp;About...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Display information about this program</string>
+      </property>
+      <property name="shortcut" >
+        <string/>
+      </property>
     </action>
-    <actiongroup>
-        <property name="name">
-            <cstring>fileNewActionGroup</cstring>
-        </property>
-        <property name="on">
-            <bool>false</bool>
-        </property>
-        <property name="iconSet">
-            <iconset>00</iconset>
-        </property>
-        <property name="text">
-            <string>New</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;New</string>
-        </property>
-        <property name="toolTip">
-            <string>New File</string>
-        </property>
-        <property name="statusTip">
-            <string>Create a new file</string>
-        </property>
-        <property name="accel">
-            <string></string>
-        </property>
-        <property name="exclusive">
-            <bool>false</bool>
-        </property>
-        <property name="usesDropDown">
-            <bool>true</bool>
-        </property>
-        <action>
-            <property name="name">
-                <cstring>fileNewProjectAction</cstring>
-            </property>
-            <property name="text">
-                <string>&amp;Project</string>
-            </property>
-            <property name="menuText">
-                <string>&amp;Project</string>
-            </property>
-            <property name="statusTip">
-                <string>Create a new project</string>
-            </property>
-            <property name="accel">
-                <string>Ctrl+N</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileNewFolderAction</cstring>
-            </property>
-            <property name="enabled">
-                <bool>true</bool>
-            </property>
-            <property name="text">
-                <string>&amp;Folder</string>
-            </property>
-            <property name="menuText">
-                <string>&amp;Folder</string>
-            </property>
-            <property name="statusTip">
-                <string>Create a new virtual folder</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileNewCHeaderAction</cstring>
-            </property>
-            <property name="text">
-                <string>C &amp;Header File</string>
-            </property>
-            <property name="menuText">
-                <string>C &amp;Header File</string>
-            </property>
-            <property name="statusTip">
-                <string>Create a new C header file in the current project</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileNewGNUAssemblyHeaderAction</cstring>
-            </property>
-            <property name="text">
-                <string>G&amp;NU Assembly Header File</string>
-            </property>
-            <property name="menuText">
-                <string>G&amp;NU Assembly Header File</string>
-            </property>
-            <property name="statusTip">
-                <string>Create a new GNU assembly header file in the current project</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileNewA68kAssemblyHeaderAction</cstring>
-            </property>
-            <property name="text">
-                <string>A68&amp;k Assembly &amp;Header File</string>
-            </property>
-            <property name="menuText">
-                <string>A68&amp;k Assembly &amp;Header File</string>
-            </property>
-            <property name="statusTip">
-                <string>Create a new A68k assembly header file in the current project</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileNewCSourceFileAction</cstring>
-            </property>
-            <property name="text">
-                <string>&amp;C Source File</string>
-            </property>
-            <property name="menuText">
-                <string>&amp;C Source File</string>
-            </property>
-            <property name="statusTip">
-                <string>Create a new C source file in the current project</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileNewGNUAssemblySourceFileAction</cstring>
-            </property>
-            <property name="text">
-                <string>&amp;GNU Assembly Source File</string>
-            </property>
-            <property name="menuText">
-                <string>&amp;GNU Assembly Source File</string>
-            </property>
-            <property name="statusTip">
-                <string>Create a new GNU assembly source file in the current project</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileNewA68kAssemblySourceFileAction</cstring>
-            </property>
-            <property name="text">
-                <string>&amp;A68k Assembly Source File</string>
-            </property>
-            <property name="menuText">
-                <string>&amp;A68k Assembly Source File</string>
-            </property>
-            <property name="statusTip">
-                <string>Create a new A68k assembly source file in the current project</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileNewQuillSourceFileAction</cstring>
-            </property>
-            <property name="text">
-                <string>&amp;Quill Source File</string>
-            </property>
-            <property name="menuText">
-                <string>&amp;Quill Source File</string>
-            </property>
-            <property name="statusTip">
-                <string>Create a new Quill source file in the current project</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileNewTextFileAction</cstring>
-            </property>
-            <property name="text">
-                <string>&amp;Text File</string>
-            </property>
-            <property name="menuText">
-                <string>&amp;Text File</string>
-            </property>
-            <property name="statusTip">
-                <string>Create a new text file in the current project, for general use</string>
-            </property>
-        </action>
-    </actiongroup>
-    <action>
-        <property name="name">
-            <cstring>filePreferencesAction</cstring>
-        </property>
-        <property name="text">
-            <string>Preferences</string>
-        </property>
-        <property name="menuText">
-            <string>P&amp;references...</string>
-        </property>
-        <property name="statusTip">
-            <string>Change the IDE settings</string>
-        </property>
+    <action name="filePreferencesAction" >
+      <property name="name" >
+        <cstring>filePreferencesAction</cstring>
+      </property>
+      <property name="iconText" >
+        <string>Preferences</string>
+      </property>
+      <property name="text" >
+        <string>P&amp;references...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Change the IDE settings</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editClearAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="iconSet">
-            <iconset>04</iconset>
-        </property>
-        <property name="text">
-            <string>Clear</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Clear</string>
-        </property>
-        <property name="statusTip">
-            <string>Delete the selected text in the editor</string>
-        </property>
+    <action name="editClearAction" >
+      <property name="name" >
+        <cstring>editClearAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>04</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Clear</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Clear</string>
+      </property>
+      <property name="statusTip" >
+        <string>Delete the selected text in the editor</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editSelectAllAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="text">
-            <string>Select All</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Select All</string>
-        </property>
-        <property name="statusTip">
-            <string>Select the whole text in the editor</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+A</string>
-        </property>
+    <action name="editSelectAllAction" >
+      <property name="name" >
+        <cstring>editSelectAllAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="iconText" >
+        <string>Select All</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Select All</string>
+      </property>
+      <property name="statusTip" >
+        <string>Select the whole text in the editor</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+A</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editIncreaseIndentAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="iconSet">
-            <iconset>19</iconset>
-        </property>
-        <property name="text">
-            <string>Increase Indent</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Increase Indent</string>
-        </property>
-        <property name="statusTip">
-            <string>Insert tabs so that the text is moved to the right</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+I</string>
-        </property>
+    <action name="editIncreaseIndentAction" >
+      <property name="name" >
+        <cstring>editIncreaseIndentAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>19</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Increase Indent</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Increase Indent</string>
+      </property>
+      <property name="statusTip" >
+        <string>Insert tabs so that the text is moved to the right</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+I</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editDecreaseIndentAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="iconSet">
-            <iconset>20</iconset>
-        </property>
-        <property name="text">
-            <string>Decrease Indent</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Decrease Indent</string>
-        </property>
-        <property name="statusTip">
-            <string>Remove tabs and spaces so that the text is moved to the left</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+D</string>
-        </property>
+    <action name="editDecreaseIndentAction" >
+      <property name="name" >
+        <cstring>editDecreaseIndentAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>20</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Decrease Indent</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Decrease Indent</string>
+      </property>
+      <property name="statusTip" >
+        <string>Remove tabs and spaces so that the text is moved to the left</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+D</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>findReplaceAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>14</iconset>
-        </property>
-        <property name="text">
-            <string>Replace</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Replace...</string>
-        </property>
-        <property name="toolTip">
-            <string>Replace Text</string>
-        </property>
-        <property name="statusTip">
-            <string>Find the specified text in the current source file and replace it with something else</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+R</string>
-        </property>
+    <action name="findReplaceAction" >
+      <property name="name" >
+        <cstring>findReplaceAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>14</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Replace</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Replace...</string>
+      </property>
+      <property name="toolTip" >
+        <string>Replace Text</string>
+      </property>
+      <property name="statusTip" >
+        <string>Find the specified text in the current source file and replace it with something else</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+R</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>findFunctionsAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="iconSet">
-            <iconset>18</iconset>
-        </property>
-        <property name="text">
-            <string>Functions...</string>
-        </property>
-        <property name="menuText">
-            <string>F&amp;unctions...</string>
-        </property>
-        <property name="statusTip">
-            <string>Display a list of all functions in the current file</string>
-        </property>
+    <action name="findFunctionsAction" >
+      <property name="name" >
+        <cstring>findFunctionsAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>18</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Functions...</string>
+      </property>
+      <property name="text" >
+        <string>F&amp;unctions...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Display a list of all functions in the current file</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>findOpenFileAtCursorAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="text">
-            <string>Open File at Cursor</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Open File at Cursor</string>
-        </property>
-        <property name="statusTip">
-            <string>Open the file the cursor is on</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+Enter</string>
-        </property>
+    <action name="findOpenFileAtCursorAction" >
+      <property name="name" >
+        <cstring>findOpenFileAtCursorAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="iconText" >
+        <string>Open File at Cursor</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Open File at Cursor</string>
+      </property>
+      <property name="statusTip" >
+        <string>Open the file the cursor is on</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+Enter</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>projectAddFilesAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>08</iconset>
-        </property>
-        <property name="text">
-            <string>Add Files</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Add Files...</string>
-        </property>
-        <property name="statusTip">
-            <string>Add existing files to the current project</string>
-        </property>
+    <action name="projectAddFilesAction" >
+      <property name="name" >
+        <cstring>projectAddFilesAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>08</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Add Files</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Add Files...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Add existing files to the current project</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>projectCompileAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>09</iconset>
-        </property>
-        <property name="text">
-            <string>Compile</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Compile</string>
-        </property>
-        <property name="statusTip">
-            <string>Compile all updated files in the current project</string>
-        </property>
-        <property name="accel">
-            <string>Alt+F8</string>
-        </property>
+    <action name="projectCompileAction" >
+      <property name="name" >
+        <cstring>projectCompileAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>09</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Compile</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Compile</string>
+      </property>
+      <property name="statusTip" >
+        <string>Compile all updated files in the current project</string>
+      </property>
+      <property name="shortcut" >
+        <string>Alt+F8</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>projectMakeAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>10</iconset>
-        </property>
-        <property name="text">
-            <string>Make</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Make</string>
-        </property>
-        <property name="statusTip">
-            <string>Compile and link together all updated files in the current project, creating an executable file</string>
-        </property>
-        <property name="accel">
-            <string>F8</string>
-        </property>
+    <action name="projectMakeAction" >
+      <property name="name" >
+        <cstring>projectMakeAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>10</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Make</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Make</string>
+      </property>
+      <property name="statusTip" >
+        <string>Compile and link together all updated files in the current project, creating an executable file</string>
+      </property>
+      <property name="shortcut" >
+        <string>F8</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>projectBuildAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>11</iconset>
-        </property>
-        <property name="text">
-            <string>Build</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Build</string>
-        </property>
-        <property name="statusTip">
-            <string>Recompile and link together all files in the current project, creating an executable file</string>
-        </property>
-        <property name="accel">
-            <string>Alt+F9</string>
-        </property>
+    <action name="projectBuildAction" >
+      <property name="name" >
+        <cstring>projectBuildAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>11</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Build</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Build</string>
+      </property>
+      <property name="statusTip" >
+        <string>Recompile and link together all files in the current project, creating an executable file</string>
+      </property>
+      <property name="shortcut" >
+        <string>Alt+F9</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>projectErrorsAndWarningsAction</cstring>
-        </property>
-        <property name="toggleAction">
-            <bool>true</bool>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="text">
-            <string>Errors and Warnings</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Errors and Warnings</string>
-        </property>
-        <property name="statusTip">
-            <string>Show or hide the Errors and Warnings window</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+E</string>
-        </property>
+    <action name="projectErrorsAndWarningsAction" >
+      <property name="name" >
+        <cstring>projectErrorsAndWarningsAction</cstring>
+      </property>
+      <property name="checkable" >
+        <bool>true</bool>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="iconText" >
+        <string>Errors and Warnings</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Errors and Warnings</string>
+      </property>
+      <property name="statusTip" >
+        <string>Show or hide the Errors and Warnings window</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+E</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>projectProgramOutputAction</cstring>
-        </property>
-        <property name="enabled">
-            <bool>false</bool>
-        </property>
-        <property name="text">
-            <string>Program Output...</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Program Output...</string>
-        </property>
-        <property name="statusTip">
-            <string>Show the output of the compilation tool that was run last</string>
-        </property>
+    <action name="projectProgramOutputAction" >
+      <property name="name" >
+        <cstring>projectProgramOutputAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="iconText" >
+        <string>Program Output...</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Program Output...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Show the output of the compilation tool that was run last</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>projectOptionsAction</cstring>
-        </property>
-        <property name="text">
-            <string>Options...</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Options...</string>
-        </property>
-        <property name="statusTip">
-            <string>Change the settings of the current project</string>
-        </property>
+    <action name="projectOptionsAction" >
+      <property name="name" >
+        <cstring>projectOptionsAction</cstring>
+      </property>
+      <property name="iconText" >
+        <string>Options...</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Options...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Change the settings of the current project</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>debugRunAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>24</iconset>
-        </property>
-        <property name="text">
-            <string>Run</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Run</string>
-        </property>
-        <property name="statusTip">
-            <string>Run the program on the target specified in the project settings</string>
-        </property>
-        <property name="accel">
-            <string>F9</string>
-        </property>
+    <action name="debugRunAction" >
+      <property name="name" >
+        <cstring>debugRunAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>24</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Run</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Run</string>
+      </property>
+      <property name="statusTip" >
+        <string>Run the program on the target specified in the project settings</string>
+      </property>
+      <property name="shortcut" >
+        <string>F9</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>debugPauseAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>25</iconset>
-        </property>
-        <property name="text">
-            <string>Pause</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Pause</string>
-        </property>
-        <property name="statusTip">
-            <string>Pause the execution of the program and enter the debugger</string>
-        </property>
-        <property name="accel">
-            <string>Shift+F9</string>
-        </property>
+    <action name="debugPauseAction" >
+      <property name="name" >
+        <cstring>debugPauseAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>25</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Pause</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Pause</string>
+      </property>
+      <property name="statusTip" >
+        <string>Pause the execution of the program and enter the debugger</string>
+      </property>
+      <property name="shortcut" >
+        <string>Shift+F9</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>debugResetAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>27</iconset>
-        </property>
-        <property name="text">
-            <string>Reset</string>
-        </property>
-        <property name="menuText">
-            <string>Re&amp;set</string>
-        </property>
-        <property name="statusTip">
-            <string>Reset the state of the virtual calculator to the one which was previously saved</string>
-        </property>
+    <action name="debugResetAction" >
+      <property name="name" >
+        <cstring>debugResetAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>27</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Reset</string>
+      </property>
+      <property name="text" >
+        <string>Re&amp;set</string>
+      </property>
+      <property name="statusTip" >
+        <string>Reset the state of the virtual calculator to the one which was previously saved</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>toolsConfigureAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>26</iconset>
-        </property>
-        <property name="text">
-            <string>Configure</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Configure...</string>
-        </property>
-        <property name="statusTip">
-            <string>Add, edit and remove tools</string>
-        </property>
+    <action name="toolsConfigureAction" >
+      <property name="name" >
+        <cstring>toolsConfigureAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>26</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Configure</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Configure...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Add, edit and remove tools</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>helpSearchAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>13</iconset>
-        </property>
-        <property name="text">
-            <string>&amp;Search</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Search</string>
-        </property>
-        <property name="statusTip">
-            <string>Display the search tab of the documentation</string>
-        </property>
+    <action name="helpSearchAction" >
+      <property name="name" >
+        <cstring>helpSearchAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>13</iconset>
+      </property>
+      <property name="iconText" >
+        <string>&amp;Search</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Search</string>
+      </property>
+      <property name="statusTip" >
+        <string>Display the search tab of the documentation</string>
+      </property>
+    </action>
+    <action name="helpNewsAction" >
+      <property name="name" >
+        <cstring>helpNewsAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>23</iconset>
+      </property>
+      <property name="iconText" >
+        <string>News</string>
+      </property>
+      <property name="text" >
+        <string>&amp;News...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Obtain the latest headlines from the official TIGCC site</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>helpNewsAction</cstring>
+    <action name="helpDocumentationAction" >
+      <property name="name" >
+        <cstring>helpDocumentationAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>12</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Documentation</string>
+      </property>
+      <property name="text" >
+        <string>Documentation</string>
+      </property>
+      <property name="statusTip" >
+        <string>Open the documentation of TIGCC</string>
+      </property>
+    </action>
+    <action name="findFindSymbolDeclarationAction" >
+      <property name="name" >
+        <cstring>findFindSymbolDeclarationAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="iconText" >
+        <string>F&amp;ind symbol declaration</string>
+      </property>
+      <property name="text" >
+        <string>F&amp;ind symbol declaration</string>
+      </property>
+      <property name="statusTip" >
+        <string>Find symbol declaration</string>
+      </property>
+    </action>
+    <action name="filePrintQuicklyAction" >
+      <property name="name" >
+        <cstring>filePrintQuicklyAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>03</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Print File</string>
+      </property>
+      <property name="statusTip" >
+        <string>Print the current source file</string>
+      </property>
+    </action>
+    <action name="projectStopCompilationAction" >
+      <property name="name" >
+        <cstring>projectStopCompilationAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>21</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Stop Compilation</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Stop Compilation</string>
+      </property>
+      <property name="statusTip" >
+        <string>Attempt to stop the compilation process, but wait until it is finished</string>
+      </property>
+      <property name="visible" >
+        <bool>false</bool>
+      </property>
+    </action>
+    <action name="projectForceQuitAction" >
+      <property name="name" >
+        <cstring>projectForceQuitAction</cstring>
+      </property>
+      <property name="enabled" >
+        <bool>false</bool>
+      </property>
+      <property name="icon" >
+        <iconset>22</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Force-Quit Compiler</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Force-Quit Compiler</string>
+      </property>
+      <property name="statusTip" >
+        <string>Force-quit the currently running process for compilation to stop compilation immediately</string>
+      </property>
+      <property name="visible" >
+        <bool>false</bool>
+      </property>
+    </action>
+    <actiongroup name="fileNewActionGroup" >
+      <action name="fileNewProjectAction" >
+        <property name="name" >
+          <cstring>fileNewProjectAction</cstring>
         </property>
-        <property name="iconSet">
-            <iconset>23</iconset>
+        <property name="iconText" >
+          <string>&amp;Project</string>
         </property>
-        <property name="text">
-            <string>News</string>
+        <property name="text" >
+          <string>&amp;Project</string>
         </property>
-        <property name="menuText">
-            <string>&amp;News...</string>
+        <property name="statusTip" >
+          <string>Create a new project</string>
         </property>
-        <property name="statusTip">
-            <string>Obtain the latest headlines from the official TIGCC site</string>
+        <property name="shortcut" >
+          <string>Ctrl+N</string>
         </property>
-    </action>
-    <action>
-        <property name="name">
-            <cstring>helpDocumentationAction</cstring>
+      </action>
+      <action name="fileNewFolderAction" >
+        <property name="name" >
+          <cstring>fileNewFolderAction</cstring>
         </property>
-        <property name="iconSet">
-            <iconset>12</iconset>
+        <property name="enabled" >
+          <bool>true</bool>
         </property>
-        <property name="text">
-            <string>Documentation</string>
+        <property name="iconText" >
+          <string>&amp;Folder</string>
         </property>
-        <property name="menuText">
-            <string>Documentation</string>
+        <property name="text" >
+          <string>&amp;Folder</string>
         </property>
-        <property name="statusTip">
-            <string>Open the documentation of TIGCC</string>
+        <property name="statusTip" >
+          <string>Create a new virtual folder</string>
         </property>
-    </action>
-    <action>
-        <property name="name">
-            <cstring>findFindSymbolDeclarationAction</cstring>
+      </action>
+      <action name="fileNewCHeaderAction" >
+        <property name="name" >
+          <cstring>fileNewCHeaderAction</cstring>
         </property>
-        <property name="enabled">
-            <bool>false</bool>
+        <property name="iconText" >
+          <string>C &amp;Header File</string>
         </property>
-        <property name="text">
-            <string>F&amp;ind symbol declaration</string>
+        <property name="text" >
+          <string>C &amp;Header File</string>
         </property>
-        <property name="menuText">
-            <string>F&amp;ind symbol declaration</string>
+        <property name="statusTip" >
+          <string>Create a new C header file in the current project</string>
         </property>
-        <property name="statusTip">
-            <string>Find symbol declaration</string>
+      </action>
+      <action name="fileNewGNUAssemblyHeaderAction" >
+        <property name="name" >
+          <cstring>fileNewGNUAssemblyHeaderAction</cstring>
         </property>
-    </action>
-    <actiongroup>
-        <property name="name">
-            <cstring>fileOpenActionGroup</cstring>
+        <property name="iconText" >
+          <string>G&amp;NU Assembly Header File</string>
         </property>
-        <property name="iconSet">
-            <iconset>01</iconset>
+        <property name="text" >
+          <string>G&amp;NU Assembly Header File</string>
         </property>
-        <property name="text">
-            <string>Open File</string>
+        <property name="statusTip" >
+          <string>Create a new GNU assembly header file in the current project</string>
         </property>
-        <property name="menuText">
-            <string>&amp;Open...</string>
+      </action>
+      <action name="fileNewA68kAssemblyHeaderAction" >
+        <property name="name" >
+          <cstring>fileNewA68kAssemblyHeaderAction</cstring>
         </property>
-        <property name="statusTip">
-            <string>Open an existing project or file</string>
+        <property name="iconText" >
+          <string>A68&amp;k Assembly &amp;Header File</string>
         </property>
-        <property name="exclusive">
-            <bool>false</bool>
+        <property name="text" >
+          <string>A68&amp;k Assembly &amp;Header File</string>
         </property>
-        <property name="usesDropDown">
-            <bool>true</bool>
+        <property name="statusTip" >
+          <string>Create a new A68k assembly header file in the current project</string>
         </property>
-        <action>
-            <property name="name">
-                <cstring>fileOpenActionHidden</cstring>
-            </property>
-            <property name="text">
-                <string>Open File</string>
-            </property>
-            <property name="visible">
-                <bool>false</bool>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileRecent1Action</cstring>
-            </property>
-            <property name="text">
-                <string>Recent File 1</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileRecent2Action</cstring>
-            </property>
-            <property name="text">
-                <string>Recent File 2</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileRecent3Action</cstring>
-            </property>
-            <property name="text">
-                <string>Recent File 3</string>
-            </property>
-        </action>
-        <action>
-            <property name="name">
-                <cstring>fileRecent4Action</cstring>
-            </property>
-            <property name="text">
-                <string>Recent File 4</string>
-            </property>
-        </action>
-    </actiongroup>
-    <action>
-        <property name="name">
-            <cstring>filePrintQuicklyAction</cstring>
+      </action>
+      <action name="fileNewCSourceFileAction" >
+        <property name="name" >
+          <cstring>fileNewCSourceFileAction</cstring>
         </property>
-        <property name="enabled">
-            <bool>false</bool>
+        <property name="iconText" >
+          <string>&amp;C Source File</string>
         </property>
-        <property name="iconSet">
-            <iconset>03</iconset>
+        <property name="text" >
+          <string>&amp;C Source File</string>
         </property>
-        <property name="text">
-            <string>Print File</string>
+        <property name="statusTip" >
+          <string>Create a new C source file in the current project</string>
         </property>
-        <property name="statusTip">
-            <string>Print the current source file</string>
+      </action>
+      <action name="fileNewGNUAssemblySourceFileAction" >
+        <property name="name" >
+          <cstring>fileNewGNUAssemblySourceFileAction</cstring>
         </property>
-    </action>
-    <action>
-        <property name="name">
-            <cstring>projectStopCompilationAction</cstring>
+        <property name="iconText" >
+          <string>&amp;GNU Assembly Source File</string>
         </property>
-        <property name="enabled">
-            <bool>false</bool>
+        <property name="text" >
+          <string>&amp;GNU Assembly Source File</string>
         </property>
-        <property name="iconSet">
-            <iconset>21</iconset>
+        <property name="statusTip" >
+          <string>Create a new GNU assembly source file in the current project</string>
         </property>
-        <property name="text">
-            <string>Stop Compilation</string>
+      </action>
+      <action name="fileNewA68kAssemblySourceFileAction" >
+        <property name="name" >
+          <cstring>fileNewA68kAssemblySourceFileAction</cstring>
         </property>
-        <property name="menuText">
-            <string>&amp;Stop Compilation</string>
+        <property name="iconText" >
+          <string>&amp;A68k Assembly Source File</string>
         </property>
-        <property name="statusTip">
-            <string>Attempt to stop the compilation process, but wait until it is finished</string>
+        <property name="text" >
+          <string>&amp;A68k Assembly Source File</string>
         </property>
-        <property name="visible">
-            <bool>false</bool>
+        <property name="statusTip" >
+          <string>Create a new A68k assembly source file in the current project</string>
         </property>
-    </action>
-    <action>
-        <property name="name">
-            <cstring>projectForceQuitAction</cstring>
+      </action>
+      <action name="fileNewQuillSourceFileAction" >
+        <property name="name" >
+          <cstring>fileNewQuillSourceFileAction</cstring>
         </property>
-        <property name="enabled">
-            <bool>false</bool>
+        <property name="iconText" >
+          <string>&amp;Quill Source File</string>
         </property>
-        <property name="iconSet">
-            <iconset>22</iconset>
+        <property name="text" >
+          <string>&amp;Quill Source File</string>
         </property>
-        <property name="text">
-            <string>Force-Quit Compiler</string>
+        <property name="statusTip" >
+          <string>Create a new Quill source file in the current project</string>
         </property>
-        <property name="menuText">
-            <string>&amp;Force-Quit Compiler</string>
+      </action>
+      <action name="fileNewTextFileAction" >
+        <property name="name" >
+          <cstring>fileNewTextFileAction</cstring>
         </property>
-        <property name="statusTip">
-            <string>Force-quit the currently running process for compilation to stop compilation immediately</string>
+        <property name="iconText" >
+          <string>&amp;Text File</string>
         </property>
-        <property name="visible">
-            <bool>false</bool>
+        <property name="text" >
+          <string>&amp;Text File</string>
         </property>
-    </action>
-</actions>
-<connections>
+        <property name="statusTip" >
+          <string>Create a new text file in the current project, for general use</string>
+        </property>
+      </action>
+      <property name="name" >
+        <cstring>fileNewActionGroup</cstring>
+      </property>
+      <property name="exclusive" >
+        <bool>false</bool>
+      </property>
+    </actiongroup>
+    <actiongroup name="fileOpenActionGroup" >
+      <action name="fileOpenActionHidden" >
+        <property name="name" >
+          <cstring>fileOpenActionHidden</cstring>
+        </property>
+        <property name="iconText" >
+          <string>Open File</string>
+        </property>
+        <property name="visible" >
+          <bool>false</bool>
+        </property>
+      </action>
+      <action name="fileRecent1Action" >
+        <property name="name" >
+          <cstring>fileRecent1Action</cstring>
+        </property>
+        <property name="iconText" >
+          <string>Recent File 1</string>
+        </property>
+      </action>
+      <action name="fileRecent2Action" >
+        <property name="name" >
+          <cstring>fileRecent2Action</cstring>
+        </property>
+        <property name="iconText" >
+          <string>Recent File 2</string>
+        </property>
+      </action>
+      <action name="fileRecent3Action" >
+        <property name="name" >
+          <cstring>fileRecent3Action</cstring>
+        </property>
+        <property name="iconText" >
+          <string>Recent File 3</string>
+        </property>
+      </action>
+      <action name="fileRecent4Action" >
+        <property name="name" >
+          <cstring>fileRecent4Action</cstring>
+        </property>
+        <property name="iconText" >
+          <string>Recent File 4</string>
+        </property>
+      </action>
+      <property name="name" >
+        <cstring>fileOpenActionGroup</cstring>
+      </property>
+      <property name="exclusive" >
+        <bool>false</bool>
+      </property>
+    </actiongroup>
+  </widget>
+  <layoutdefault spacing="0" margin="0" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <customwidgets>
+    <customwidget>
+      <class>K3ListView</class>
+      <extends>Q3ListView</extends>
+      <header>k3listview.h</header>
+    </customwidget>
+  </customwidgets>
+  <includes>
+    <include location="local" >k3listview.h</include>
+  </includes>
+  <connections>
     <connection>
-        <sender>debugPauseAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>debugPause()</slot>
+      <sender>debugPauseAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>debugPause()</slot>
     </connection>
     <connection>
-        <sender>debugResetAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>debugReset()</slot>
+      <sender>debugResetAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>debugReset()</slot>
     </connection>
     <connection>
-        <sender>debugRunAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>debugRun()</slot>
+      <sender>debugRunAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>debugRun()</slot>
     </connection>
     <connection>
-        <sender>editClearAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>editClear()</slot>
+      <sender>editClearAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>editClear()</slot>
     </connection>
     <connection>
-        <sender>editCopyAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>editCopy()</slot>
+      <sender>editCopyAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>editCopy()</slot>
     </connection>
     <connection>
-        <sender>editCutAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>editCut()</slot>
+      <sender>editCutAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>editCut()</slot>
     </connection>
     <connection>
-        <sender>editDecreaseIndentAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>editDecreaseIndent()</slot>
+      <sender>editDecreaseIndentAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>editDecreaseIndent()</slot>
     </connection>
     <connection>
-        <sender>editIncreaseIndentAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>editIncreaseIndent()</slot>
+      <sender>editIncreaseIndentAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>editIncreaseIndent()</slot>
     </connection>
     <connection>
-        <sender>editPasteAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>editPaste()</slot>
+      <sender>editPasteAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>editPaste()</slot>
     </connection>
     <connection>
-        <sender>editRedoAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>editRedo()</slot>
+      <sender>editRedoAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>editRedo()</slot>
     </connection>
     <connection>
-        <sender>editSelectAllAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>editSelectAll()</slot>
+      <sender>editSelectAllAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>editSelectAll()</slot>
     </connection>
     <connection>
-        <sender>editUndoAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>editUndo()</slot>
+      <sender>editUndoAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>editUndo()</slot>
     </connection>
     <connection>
-        <sender>fileExitAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>close()</slot>
+      <sender>fileExitAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>close()</slot>
     </connection>
     <connection>
-        <sender>fileNewA68kAssemblyHeaderAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileNewA68kAssemblyHeader()</slot>
+      <sender>fileNewA68kAssemblyHeaderAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileNewA68kAssemblyHeader()</slot>
     </connection>
     <connection>
-        <sender>fileNewA68kAssemblySourceFileAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileNewA68kAssemblySourceFile()</slot>
+      <sender>fileNewA68kAssemblySourceFileAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileNewA68kAssemblySourceFile()</slot>
     </connection>
     <connection>
-        <sender>fileNewCHeaderAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileNewCHeader()</slot>
+      <sender>fileNewCHeaderAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileNewCHeader()</slot>
     </connection>
     <connection>
-        <sender>fileNewCSourceFileAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileNewCSourceFile()</slot>
+      <sender>fileNewCSourceFileAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileNewCSourceFile()</slot>
     </connection>
     <connection>
-        <sender>fileNewFolderAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileNewFolder()</slot>
+      <sender>fileNewFolderAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileNewFolder()</slot>
     </connection>
     <connection>
-        <sender>fileNewGNUAssemblyHeaderAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileNewGNUAssemblyHeader()</slot>
+      <sender>fileNewGNUAssemblyHeaderAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileNewGNUAssemblyHeader()</slot>
     </connection>
     <connection>
-        <sender>fileNewGNUAssemblySourceFileAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileNewGNUAssemblySourceFile()</slot>
+      <sender>fileNewGNUAssemblySourceFileAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileNewGNUAssemblySourceFile()</slot>
     </connection>
     <connection>
-        <sender>fileNewProjectAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileNewProject()</slot>
+      <sender>fileNewProjectAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileNewProject()</slot>
     </connection>
     <connection>
-        <sender>fileNewQuillSourceFileAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileNewQuillSourceFile()</slot>
+      <sender>fileNewQuillSourceFileAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileNewQuillSourceFile()</slot>
     </connection>
     <connection>
-        <sender>fileNewTextFileAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileNewTextFile()</slot>
+      <sender>fileNewTextFileAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileNewTextFile()</slot>
     </connection>
     <connection>
-        <sender>fileOpenAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileOpen()</slot>
+      <sender>fileOpenAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileOpen()</slot>
     </connection>
     <connection>
-        <sender>fileOpenActionHidden</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileOpen()</slot>
+      <sender>fileOpenActionHidden</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileOpen()</slot>
     </connection>
     <connection>
-        <sender>filePreferencesAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>filePreferences()</slot>
+      <sender>filePreferencesAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>filePreferences()</slot>
     </connection>
     <connection>
-        <sender>filePrintAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>filePrint()</slot>
+      <sender>filePrintAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>filePrint()</slot>
     </connection>
     <connection>
-        <sender>fileRecent1Action</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileRecent1()</slot>
+      <sender>fileRecent1Action</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileRecent1()</slot>
     </connection>
     <connection>
-        <sender>fileRecent2Action</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileRecent2()</slot>
+      <sender>fileRecent2Action</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileRecent2()</slot>
     </connection>
     <connection>
-        <sender>fileRecent3Action</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileRecent3()</slot>
+      <sender>fileRecent3Action</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileRecent3()</slot>
     </connection>
     <connection>
-        <sender>fileRecent4Action</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileRecent4()</slot>
+      <sender>fileRecent4Action</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileRecent4()</slot>
     </connection>
     <connection>
-        <sender>fileSaveAllAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileSave()</slot>
+      <sender>fileSaveAllAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileSave()</slot>
     </connection>
     <connection>
-        <sender>fileSaveProjectAsAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileSaveAs()</slot>
+      <sender>fileSaveProjectAsAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileSaveAs()</slot>
     </connection>
     <connection>
-        <sender>fileTree</sender>
-        <signal>clicked(QListViewItem*)</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileTreeClicked(QListViewItem*)</slot>
+      <sender>fileTree</sender>
+      <signal>clicked(Q3ListViewItem*)</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileTreeClicked(Q3ListViewItem*)</slot>
     </connection>
     <connection>
-        <sender>fileTree</sender>
-        <signal>contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileTreeContextMenuRequested(QListViewItem*,const QPoint&amp;,int)</slot>
+      <sender>fileTree</sender>
+      <signal>contextMenuRequested(Q3ListViewItem*,QPoint,int)</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileTreeContextMenuRequested(Q3ListViewItem*,QPoint,int)</slot>
     </connection>
     <connection>
-        <sender>fileTree</sender>
-        <signal>itemRenamed(QListViewItem*,const QString&amp;,int)</signal>
-        <receiver>MainForm</receiver>
-        <slot>fileTreeItemRenamed(QListViewItem*,const QString&amp;,int)</slot>
+      <sender>fileTree</sender>
+      <signal>itemRenamed(Q3ListViewItem*,QString,int)</signal>
+      <receiver>MainForm</receiver>
+      <slot>fileTreeItemRenamed(Q3ListViewItem*,QString,int)</slot>
     </connection>
     <connection>
-        <sender>findFindAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>findFind()</slot>
+      <sender>findFindAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>findFind()</slot>
     </connection>
     <connection>
-        <sender>findFindSymbolDeclarationAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>findFindSymbolDeclaration()</slot>
+      <sender>findFindSymbolDeclarationAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>findFindSymbolDeclaration()</slot>
     </connection>
     <connection>
-        <sender>findFunctionsAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>findFunctions()</slot>
+      <sender>findFunctionsAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>findFunctions()</slot>
     </connection>
     <connection>
-        <sender>findOpenFileAtCursorAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>findOpenFileAtCursor()</slot>
+      <sender>findOpenFileAtCursorAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>findOpenFileAtCursor()</slot>
     </connection>
     <connection>
-        <sender>findReplaceAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>findReplace()</slot>
+      <sender>findReplaceAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>findReplace()</slot>
     </connection>
     <connection>
-        <sender>helpAboutAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>helpAbout()</slot>
+      <sender>helpAboutAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>helpAbout()</slot>
     </connection>
     <connection>
-        <sender>helpContentsAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>helpContents()</slot>
+      <sender>helpContentsAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>helpContents()</slot>
     </connection>
     <connection>
-        <sender>helpDocumentationAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>helpDocumentation()</slot>
+      <sender>helpDocumentationAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>helpDocumentation()</slot>
     </connection>
     <connection>
-        <sender>helpIndexAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>helpIndex()</slot>
+      <sender>helpIndexAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>helpIndex()</slot>
     </connection>
     <connection>
-        <sender>helpNewsAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>helpNews()</slot>
+      <sender>helpNewsAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>helpNews()</slot>
     </connection>
     <connection>
-        <sender>helpSearchAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>helpSearch()</slot>
+      <sender>helpSearchAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>helpSearch()</slot>
     </connection>
     <connection>
-        <sender>projectAddFilesAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>projectAddFiles()</slot>
+      <sender>projectAddFilesAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>projectAddFiles()</slot>
     </connection>
     <connection>
-        <sender>projectBuildAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>projectBuild()</slot>
+      <sender>projectBuildAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>projectBuild()</slot>
     </connection>
     <connection>
-        <sender>projectCompileAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>projectCompile()</slot>
+      <sender>projectCompileAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>projectCompile()</slot>
     </connection>
     <connection>
-        <sender>projectErrorsAndWarningsAction</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>MainForm</receiver>
-        <slot>projectErrorsAndWarnings(bool)</slot>
+      <sender>projectErrorsAndWarningsAction</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>MainForm</receiver>
+      <slot>projectErrorsAndWarnings(bool)</slot>
     </connection>
     <connection>
-        <sender>projectMakeAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>projectMake()</slot>
+      <sender>projectMakeAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>projectMake()</slot>
     </connection>
     <connection>
-        <sender>projectOptionsAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>projectOptions()</slot>
+      <sender>projectOptionsAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>projectOptions()</slot>
     </connection>
     <connection>
-        <sender>projectProgramOutputAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>projectProgramOutput()</slot>
+      <sender>projectProgramOutputAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>projectProgramOutput()</slot>
     </connection>
     <connection>
-        <sender>toolsConfigureAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>toolsConfigure()</slot>
+      <sender>toolsConfigureAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>toolsConfigure()</slot>
     </connection>
     <connection>
-        <sender>filePrintQuicklyAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>filePrintQuickly()</slot>
+      <sender>filePrintQuicklyAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>filePrintQuickly()</slot>
     </connection>
     <connection>
-        <sender>projectStopCompilationAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>projectStopCompilation()</slot>
+      <sender>projectStopCompilationAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>projectStopCompilation()</slot>
     </connection>
     <connection>
-        <sender>projectForceQuitAction</sender>
-        <signal>activated()</signal>
-        <receiver>MainForm</receiver>
-        <slot>projectForceQuit()</slot>
+      <sender>projectForceQuitAction</sender>
+      <signal>activated()</signal>
+      <receiver>MainForm</receiver>
+      <slot>projectForceQuit()</slot>
     </connection>
-</connections>
-<includes>
-    <include location="local" impldecl="in implementation">mainform.ui.h</include>
-</includes>
-<slots>
-    <slot>errorListView_clicked( QListViewItem * item )</slot>
-    <slot returnType="bool">findSourceFile( bool &amp; inProject, void * &amp; srcFile, const QString &amp; fileName )</slot>
-    <slot>init()</slot>
-    <slot>destroy()</slot>
-    <slot>te_popup_aboutToShow()</slot>
-    <slot>te_popup_activated( int index )</slot>
-    <slot>accel_activated( int index )</slot>
-    <slot>completionPopup_closed()</slot>
-    <slot>fileTreeAccel_activated( int index )</slot>
-    <slot>fileNewProject()</slot>
-    <slot>fileOpen()</slot>
-    <slot>fileRecent1()</slot>
-    <slot>fileRecent2()</slot>
-    <slot>fileRecent3()</slot>
-    <slot>fileRecent4()</slot>
-    <slot returnType="bool">fileSave()</slot>
-    <slot returnType="bool">fileSaveAs()</slot>
-    <slot>filePrint()</slot>
-    <slot>filePrintQuickly()</slot>
-    <slot>filePreferences()</slot>
-    <slot>editUndo()</slot>
-    <slot>editRedo()</slot>
-    <slot>editClear()</slot>
-    <slot>editCut()</slot>
-    <slot>editCopy()</slot>
-    <slot>editPaste()</slot>
-    <slot>editSelectAll()</slot>
-    <slot>editIncreaseIndent()</slot>
-    <slot>editDecreaseIndent()</slot>
-    <slot>findFind()</slot>
-    <slot>findFind_next()</slot>
-    <slot>findFind_highlight( const QString &amp; unused_text, int matchingindex, int matchedlength )</slot>
-    <slot>findFind_stop()</slot>
-    <slot>findReplace()</slot>
-    <slot>findReplace_next()</slot>
-    <slot>findReplace_highlight( const QString &amp; unused_text, int matchingindex, int matchedlength )</slot>
-    <slot>findReplace_replace( const QString &amp; text, int replacementIndex, int replacedLength, int matchedLength )</slot>
-    <slot>findReplace_stop()</slot>
-    <slot>findFunctions()</slot>
-    <slot>findFunctions_functionListBox_highlighted( int index )</slot>
-    <slot>findFunctions_functionListBox_selected( int index )</slot>
-    <slot>findFunctions_prototypeButton_clicked()</slot>
-    <slot>findFunctions_implementationButton_clicked()</slot>
-    <slot>findFunctionsPopup_aboutToShow()</slot>
-    <slot>findFunctionsPopup_aboutToHide()</slot>
-    <slot>findFunctionsPopup_aboutToHide_async()</slot>
-    <slot>findFunctionsPopup_activated( int id )</slot>
-    <slot>findOpenFileAtCursor()</slot>
-    <slot>findFindSymbolDeclaration()</slot>
-    <slot>projectAddFiles()</slot>
-    <slot>procio_processExited()</slot>
-    <slot>procio_readReady()</slot>
-    <slot>procio_readReady_recordOnly()</slot>
-    <slot>projectCompile()</slot>
-    <slot>projectMake()</slot>
-    <slot>projectBuild()</slot>
-    <slot>projectStopCompilation()</slot>
-    <slot>projectForceQuit()</slot>
-    <slot>projectErrorsAndWarnings( bool on )</slot>
-    <slot>projectProgramOutput()</slot>
-    <slot>projectOptions()</slot>
-    <slot>debugRun()</slot>
-    <slot>debugPause()</slot>
-    <slot>debugReset()</slot>
-    <slot>toolsConfigure()</slot>
-    <slot>toolsMenu_highlighted( int id )</slot>
-    <slot>toolsMenu_activated( int id )</slot>
-    <slot>toolsMenu_aboutToHide()</slot>
-    <slot>helpDocumentation()</slot>
-    <slot>helpContents()</slot>
-    <slot>helpIndex()</slot>
-    <slot>helpSearch()</slot>
-    <slot>helpNews()</slot>
-    <slot>helpAbout()</slot>
-    <slot>resizeEvent( QResizeEvent * event )</slot>
-    <slot>timerEvent( QTimerEvent * event )</slot>
-    <slot>fileTreeClicked( QListViewItem * item )</slot>
-    <slot>fileNewFolder()</slot>
-    <slot>fileTreeContextMenuRequested( QListViewItem * item, const QPoint &amp; pos, int unused_col )</slot>
-    <slot>fileNewCHeader()</slot>
-    <slot>fileNewGNUAssemblyHeader()</slot>
-    <slot>fileNewA68kAssemblyHeader()</slot>
-    <slot>fileNewCSourceFile()</slot>
-    <slot>fileNewGNUAssemblySourceFile()</slot>
-    <slot>fileNewA68kAssemblySourceFile()</slot>
-    <slot>fileNewQuillSourceFile()</slot>
-    <slot>fileNewTextFile()</slot>
-    <slot>statusBar_messageChanged( const QString &amp; message )</slot>
-    <slot>current_view_cursorPositionChanged()</slot>
-    <slot>current_view_textChanged()</slot>
-    <slot>current_view_undoChanged()</slot>
-    <slot>current_view_selectionChanged()</slot>
-    <slot>current_view_charactersInteractivelyInserted( int line, int col, const QString &amp; characters )</slot>
-    <slot>clipboard_dataChanged()</slot>
-    <slot>fileTreeItemRenamed( QListViewItem * item, const QString &amp; newName, int col )</slot>
-    <slot>KDirWatch_dirty( const QString &amp; fileName )</slot>
-</slots>
-<functions>
-    <function specifier="static">deleteErrorsForLVFile( QListViewItem * item )</function>
-    <function specifier="static">deleteErrorsForSrcFile( void * srcFile )</function>
-    <function specifier="static">createErrorCursorsForSourceFile( QListViewItem * item )</function>
-    <function specifier="static">deleteOverwrittenErrorsIn( void * srcFile )</function>
-    <function access="private" specifier="non virtual">clearProject()</function>
-    <function access="private" specifier="non virtual" returnType="QString">findFilter( unsigned short job )</function>
-    <function specifier="static" returnType="QString">SGetFileName( int mode, const QString &amp; fileFilter, const QString &amp; caption, QWidget * parent )</function>
-    <function specifier="static" returnType="QStringList">SGetFileName_Multiple( const QString &amp; fileFilter, const QString &amp; caption, QWidget * parent )</function>
-    <function access="private" specifier="non virtual">updateRecent()</function>
-    <function access="private" specifier="non virtual">addRecent( const QString &amp; fileName )</function>
-    <function access="private" specifier="non virtual" returnType="QListViewItem *">openFile( QListViewItem * category, QListViewItem * parent, const QString &amp; fileCaption, const QString &amp; fileName )</function>
-    <function access="private" specifier="static" returnType="QListViewItem *">createFolder( QListViewItem * parent, const QString &amp; name )</function>
-    <function specifier="non virtual" returnType="void *">createView( const QString &amp; fileName, const QString &amp; fileText, QListViewItem * category )</function>
-    <function>adoptSourceFile( void * srcFile )</function>
-    <function access="private" specifier="non virtual">fileOpen_addList( QListViewItem * category, void * fileListV, void * dir, const QString &amp; open_file )</function>
-    <function returnType="bool">openProject( const QString &amp; fileName )</function>
-    <function specifier="non virtual" returnType="int">fileSavePrompt( QListViewItem * fileItem )</function>
-    <function access="private" specifier="non virtual" returnType="int">savePrompt( void )</function>
-    <function access="private" specifier="non virtual">removeTrailingSpacesFromView( void * view )</function>
-    <function access="private" specifier="non virtual">fileSave_save( QListViewItem * theItem )</function>
-    <function access="private" specifier="non virtual">fileSave_saveAs( QListViewItem * theItem )</function>
-    <function access="private" specifier="non virtual">fileSave_loadList( QListViewItem * category, void * fileListV, const QString &amp; base_dir, void * dir_new, QString * open_file )</function>
-    <function>fileSave_fromto( const QString &amp; lastProj, const QString &amp; nextProj )</function>
-    <function access="private" specifier="non virtual">findReplace_next( bool firstTime )</function>
-    <function>findAndOpenFile( const QString &amp; fileName, void * category )</function>
-    <function>openHeader( const QString &amp; fileName, bool systemHeader, unsigned lineno )</function>
-    <function access="private" specifier="non virtual" returnType="int">projectAddFiles_oneFile( const QString &amp; fileName )</function>
-    <function returnType="QString">writeTempSourceFile( void * srcFile, bool inProject )</function>
-    <function access="private" specifier="non virtual">startCompiling()</function>
-    <function access="private" specifier="non virtual">stopCompiling()</function>
-    <function access="private" specifier="non virtual">compileFile( void * srcFile, bool inProject, bool force )</function>
-    <function access="private" specifier="non virtual">compileProject( bool forceAll )</function>
-    <function access="private" specifier="non virtual">linkProject()</function>
-    <function access="private" specifier="non virtual">showStats()</function>
-    <function>compileSourceFile( void * srcFile )</function>
-    <function access="private" specifier="non virtual" returnType="bool">tiemuInstance( void * instanceName )</function>
-    <function specifier="static" returnType="QString">tilibsErrorMessage( int err )</function>
-    <function access="private" specifier="non virtual">updateToolsMenu()</function>
-    <function access="private" specifier="non virtual">updateSizes()</function>
-    <function access="private" specifier="non virtual" returnType="bool">removeItem( QListViewItem * item )</function>
-    <function access="private" specifier="non virtual" returnType="QStringList">extractAllFileNames( void )</function>
-    <function access="private" specifier="non virtual">extractFileTreeInfo( QListViewItem * parent, QListViewItem * * p_category, QString * p_folderPath )</function>
-    <function access="private" specifier="non virtual">newFile( QListViewItem * parent, QString text, const QPixmap &amp; pixmap )</function>
-    <function access="private" specifier="non virtual">newFile( QListViewItem * parent )</function>
-    <function access="private" specifier="non virtual" returnType="QListViewItem *">resolveParent( QListViewItem * category )</function>
-    <function access="private" specifier="non virtual">updateLeftStatusLabel()</function>
-    <function access="private" specifier="non virtual">updateRightStatusLabel()</function>
-    <function access="private" specifier="non virtual">current_view_newLineHook()</function>
-    <function access="protected">closeEvent( QCloseEvent * e )</function>
-    <function access="private" specifier="non virtual" returnType="QString">pathInProject( QListViewItem * item )</function>
-    <function returnType="QString">textForHeader( const QString &amp; fileName )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="0" margin="0"/>
-<includehints>
-    <includehint>k3listview.h</includehint>
-</includehints>
-</UI>
+  </connections>
+</ui>

+ 38 - 0
ktigcc/newsdlg.cpp

@@ -0,0 +1,38 @@
+#include "newsdlg.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "newsdlg.ui.h"
+/*
+ *  Constructs a NewsDialog as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+NewsDialog::NewsDialog(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+NewsDialog::~NewsDialog()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void NewsDialog::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 26 - 0
ktigcc/newsdlg.h

@@ -0,0 +1,26 @@
+#ifndef NEWSDIALOG_H
+#define NEWSDIALOG_H
+
+#include "ui_newsdlg.h"
+
+class NewsDialog : public QDialog, public Ui::NewsDialog
+{
+    Q_OBJECT
+
+public:
+    NewsDialog(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~NewsDialog();
+
+    virtual bool loadNews();
+
+public slots:
+    virtual void proxySettingsButton_clicked();
+    virtual void refreshButton_clicked();
+    virtual void visitButton_clicked();
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // NEWSDIALOG_H

+ 124 - 140
ktigcc/newsdlg.ui

@@ -1,152 +1,136 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>NewsDialog</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>NewsDialog</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>NewsDialog</class>
+  <widget class="QDialog" name="NewsDialog" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>427</width>
+        <height>424</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>427</width>
-            <height>424</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>TIGCC/*nix News</string>
     </property>
-    <property name="caption">
-        <string>TIGCC/*nix News</string>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="KPushButton">
-            <property name="name">
-                <cstring>proxySettingsButton</cstring>
-            </property>
-            <property name="text">
-                <string>Change KDE HTTP &amp;proxy settings...</string>
-            </property>
-            <property name="accel">
-                <string>Alt+P</string>
-            </property>
-        </widget>
-        <widget class="K3ListBox">
-            <property name="name">
-                <cstring>newsListBox</cstring>
-            </property>
-            <property name="selectionMode">
-                <enum>NoSelection</enum>
-            </property>
+    <layout class="QVBoxLayout" >
+      <item>
+        <widget class="KPushButton" name="proxySettingsButton" >
+          <property name="text" >
+            <string>Change KDE HTTP &amp;proxy settings...</string>
+          </property>
+          <property name="shortcut" >
+            <string>Alt+P</string>
+          </property>
         </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout2</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>refreshButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Refresh</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+R</string>
-                    </property>
-                </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>visitButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Visit</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+V</string>
-                    </property>
-                </widget>
-                <spacer>
-                    <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>101</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>closeButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Close</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>13</number>
-                    </property>
-                </widget>
-            </hbox>
+      </item>
+      <item>
+        <widget class="K3ListBox" name="newsListBox" >
+          <property name="selectionMode" >
+            <enum>NoSelection</enum>
+          </property>
         </widget>
-    </vbox>
-</widget>
-<connections>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="KPushButton" name="refreshButton" >
+              <property name="text" >
+                <string>&amp;Refresh</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+R</string>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="visitButton" >
+              <property name="text" >
+                <string>&amp;Visit</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+V</string>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <spacer name="spacer1" >
+              <property name="sizeHint" >
+                <size>
+                  <width>101</width>
+                  <height>20</height>
+                </size>
+              </property>
+              <property name="sizeType" >
+                <enum>Expanding</enum>
+              </property>
+              <property name="orientation" >
+                <enum>Horizontal</enum>
+              </property>
+            </spacer>
+          </item>
+          <item>
+            <widget class="KPushButton" name="closeButton" >
+              <property name="text" >
+                <string>&amp;Close</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+C</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>13</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <customwidgets>
+    <customwidget>
+      <class>K3ListBox</class>
+      <extends>Q3ListBox</extends>
+      <header>k3listbox.h</header>
+    </customwidget>
+  </customwidgets>
+  <includes>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >k3listbox.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
     <connection>
-        <sender>proxySettingsButton</sender>
-        <signal>clicked()</signal>
-        <receiver>NewsDialog</receiver>
-        <slot>proxySettingsButton_clicked()</slot>
+      <sender>proxySettingsButton</sender>
+      <signal>clicked()</signal>
+      <receiver>NewsDialog</receiver>
+      <slot>proxySettingsButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>refreshButton</sender>
-        <signal>clicked()</signal>
-        <receiver>NewsDialog</receiver>
-        <slot>refreshButton_clicked()</slot>
+      <sender>refreshButton</sender>
+      <signal>clicked()</signal>
+      <receiver>NewsDialog</receiver>
+      <slot>refreshButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>visitButton</sender>
-        <signal>clicked()</signal>
-        <receiver>NewsDialog</receiver>
-        <slot>visitButton_clicked()</slot>
+      <sender>visitButton</sender>
+      <signal>clicked()</signal>
+      <receiver>NewsDialog</receiver>
+      <slot>visitButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>closeButton</sender>
-        <signal>clicked()</signal>
-        <receiver>NewsDialog</receiver>
-        <slot>close()</slot>
+      <sender>closeButton</sender>
+      <signal>clicked()</signal>
+      <receiver>NewsDialog</receiver>
+      <slot>close()</slot>
     </connection>
-</connections>
-<includes>
-    <include location="local" impldecl="in implementation">newsdlg.ui.h</include>
-</includes>
-<slots>
-    <slot>proxySettingsButton_clicked()</slot>
-    <slot>refreshButton_clicked()</slot>
-    <slot>visitButton_clicked()</slot>
-</slots>
-<functions>
-    <function returnType="bool">loadNews()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>k3listbox.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </connections>
+</ui>

+ 40 - 0
ktigcc/preferencesdlg.cpp

@@ -0,0 +1,40 @@
+#include "preferencesdlg.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "preferencesdlg.ui.h"
+/*
+ *  Constructs a Preferences as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+Preferences::Preferences(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+    init();
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+Preferences::~Preferences()
+{
+    destroy();
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void Preferences::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 49 - 0
ktigcc/preferencesdlg.h

@@ -0,0 +1,49 @@
+#ifndef PREFERENCES_H
+#define PREFERENCES_H
+
+#include "ui_preferencesdlg.h"
+
+class Preferences : public QDialog, public Ui::Preferences
+{
+    Q_OBJECT
+
+public:
+    Preferences(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~Preferences();
+
+public slots:
+    virtual void init();
+    virtual void destroy();
+    virtual void linkTarget_toggled( bool unused_on );
+    virtual void bgColorChange_clicked();
+    virtual void editorFontChange_clicked();
+    virtual void syntaxLanguage_activated( int index );
+    virtual void syntaxEnabled_toggled( bool on );
+    virtual void resetButton_clicked();
+    virtual void numberColorButton_clicked();
+    virtual void numberStyleButton_clicked();
+    virtual void symbolColorButton_clicked();
+    virtual void symbolStyleButton_clicked();
+    virtual void parenthesisColorsButton_clicked();
+    virtual void parenthesisStyleButton_clicked();
+    virtual void syntaxListView_selectionChanged();
+    virtual void syntaxListView_itemRenamed( Q3ListViewItem * item, const QString & str, int unused_col );
+    virtual void syntaxListViewAccel_activated( int id );
+    virtual void newStyleButton_clicked();
+    virtual void newListButton_clicked();
+    virtual void editButton_clicked();
+    virtual void editDialog_colorButton_clicked();
+    virtual void editDialog_styleButton_clicked();
+    virtual void clearSelectionButton_clicked();
+    virtual void applyButton_clicked();
+    virtual void templateListBox_selectionChanged();
+    virtual void templateListBox_currentChanged( Q3ListBoxItem * item );
+    virtual void templateIdentifier_textChanged( const QString & text );
+    virtual void regenCompletionInfoButton_clicked();
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // PREFERENCES_H

+ 1338 - 1480
ktigcc/preferencesdlg.ui

@@ -1,1571 +1,1429 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>Preferences</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>Preferences</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>Preferences</class>
+  <widget class="QDialog" name="Preferences" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>458</width>
+        <height>419</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>458</width>
-            <height>419</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>Preferences</string>
     </property>
-    <property name="caption">
-        <string>Preferences</string>
+    <property name="sizeGripEnabled" >
+      <bool>true</bool>
     </property>
-    <property name="sizeGripEnabled">
-        <bool>true</bool>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>11</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QTabWidget">
-            <property name="name">
-                <cstring>tabWidget</cstring>
-            </property>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>Widget8</cstring>
-                </property>
-                <attribute name="title">
-                    <string>&amp;General</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
+    <layout class="QVBoxLayout" >
+      <property name="margin" >
+        <number>11</number>
+      </property>
+      <property name="spacing" >
+        <number>6</number>
+      </property>
+      <item>
+        <widget class="QTabWidget" name="tabWidget" >
+          <widget class="QWidget" name="Widget8" >
+            <attribute name="title" >
+              <string>&amp;General</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="QCheckBox" name="stopAtFirstError" >
+                  <property name="text" >
+                    <string>&amp;Stop compilation at first file with errors</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+S</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="jumpToError" >
+                  <property name="text" >
+                    <string>Automatically &amp;jump to first error</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+J</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="successMessage" >
+                  <property name="text" >
+                    <string>Display &amp;message after successful compilation</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+M</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="deleteAsmFiles" >
+                  <property name="text" >
+                    <string>Delete assembly files after successful &amp;linking</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+L</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="deleteObjFiles" >
+                  <property name="text" >
+                    <string>Delete o&amp;bject files after successful linking</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+B</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="splitSourceFiles" >
+                  <property name="text" >
+                    <string>S&amp;plit C source files for error position extraction</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+P</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="allowImplicitDeclaration" >
+                  <property name="text" >
+                    <string>Allow &amp;implicit declaration of functions</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+I</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="autoSave" >
+                  <property name="text" >
+                    <string>&amp;Auto-save project before compiling</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+A</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="downloadHeadlines" >
+                  <property name="text" >
+                    <string>Download &amp;headlines on startup</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+H</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="deleteOverwrittenErrors" >
+                  <property name="text" >
+                    <string>Delete o&amp;verwritten errors</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+V</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="useSystemIcons" >
+                  <property name="text" >
+                    <string>&amp;Use system icons</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+U</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <spacer name="spacer10" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>20</width>
+                      <height>31</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
+                </spacer>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="Widget9" >
+            <attribute name="title" >
+              <string>&amp;Transfer</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="Q3ButtonGroup" name="linkTarget" >
+                  <property name="title" >
+                    <string>Target</string>
+                  </property>
+                  <layout class="QVBoxLayout" >
+                    <property name="margin" >
+                      <number>0</number>
                     </property>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>stopAtFirstError</cstring>
-                        </property>
-                        <property name="text">
-                            <string>&amp;Stop compilation at first file with errors</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+S</string>
-                        </property>
+                    <item>
+                      <widget class="QRadioButton" name="targetNone" >
+                        <property name="text" >
+                          <string>&amp;None</string>
+                        </property>
+                        <property name="shortcut" >
+                          <string>Alt+N</string>
+                        </property>
+                        <property name="checked" >
+                          <bool>true</bool>
+                        </property>
+                      </widget>
+                    </item>
+                    <item>
+                      <widget class="QRadioButton" name="targetTiEmu" >
+                        <property name="text" >
+                          <string>TiE&amp;mu</string>
+                        </property>
+                        <property name="shortcut" >
+                          <string>Alt+M</string>
+                        </property>
+                      </widget>
+                    </item>
+                    <item>
+                      <widget class="QRadioButton" name="targetRealCalc" >
+                        <property name="text" >
+                          <string>R&amp;eal Calculator</string>
+                        </property>
+                        <property name="shortcut" >
+                          <string>Alt+E</string>
+                        </property>
+                      </widget>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <spacer name="spacer59" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>16</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="Q3ButtonGroup" name="linkPort" >
+                            <property name="enabled" >
+                              <bool>false</bool>
+                            </property>
+                            <property name="title" >
+                              <string>Link Port</string>
+                            </property>
+                            <layout class="QVBoxLayout" >
+                              <property name="margin" >
+                                <number>0</number>
+                              </property>
+                              <item>
+                                <widget class="QRadioButton" name="port1" >
+                                  <property name="text" >
+                                    <string>#&amp;1</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+1</string>
+                                  </property>
+                                  <property name="checked" >
+                                    <bool>true</bool>
+                                  </property>
+                                </widget>
+                              </item>
+                              <item>
+                                <widget class="QRadioButton" name="port2" >
+                                  <property name="text" >
+                                    <string>#&amp;2</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+2</string>
+                                  </property>
+                                </widget>
+                              </item>
+                              <item>
+                                <widget class="QRadioButton" name="port3" >
+                                  <property name="text" >
+                                    <string>#&amp;3</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+3</string>
+                                  </property>
+                                </widget>
+                              </item>
+                              <item>
+                                <widget class="QRadioButton" name="port4" >
+                                  <property name="text" >
+                                    <string>#&amp;4</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+4</string>
+                                  </property>
+                                </widget>
+                              </item>
+                            </layout>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="Q3ButtonGroup" name="linkCable" >
+                            <property name="enabled" >
+                              <bool>false</bool>
+                            </property>
+                            <property name="title" >
+                              <string>Cable Type</string>
+                            </property>
+                            <layout class="QVBoxLayout" >
+                              <property name="margin" >
+                                <number>0</number>
+                              </property>
+                              <item>
+                                <widget class="QRadioButton" name="grayLink" >
+                                  <property name="text" >
+                                    <string>Gray &amp;Link Cable</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+L</string>
+                                  </property>
+                                  <property name="checked" >
+                                    <bool>true</bool>
+                                  </property>
+                                  <property name="toolTip" stdset="0" >
+                                    <string>The original serial TI-GraphLink cable</string>
+                                  </property>
+                                </widget>
+                              </item>
+                              <item>
+                                <widget class="QRadioButton" name="blackLink" >
+                                  <property name="text" >
+                                    <string>Blac&amp;k Link Cable</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+K</string>
+                                  </property>
+                                  <property name="toolTip" stdset="0" >
+                                    <string>The newer serial TI-GraphLink or a home-made serial cable</string>
+                                  </property>
+                                </widget>
+                              </item>
+                              <item>
+                                <widget class="QRadioButton" name="parallelLink" >
+                                  <property name="text" >
+                                    <string>&amp;Parallel Link Cable</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+P</string>
+                                  </property>
+                                  <property name="toolTip" stdset="0" >
+                                    <string>A home-made parallel link cable</string>
+                                  </property>
+                                </widget>
+                              </item>
+                              <item>
+                                <widget class="QRadioButton" name="silverLink" >
+                                  <property name="text" >
+                                    <string>&amp;Silver Link Cable</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+S</string>
+                                  </property>
+                                  <property name="toolTip" stdset="0" >
+                                    <string>The SilverLink (TI-GraphLink USB) cable</string>
+                                  </property>
+                                </widget>
+                              </item>
+                              <item>
+                                <widget class="QRadioButton" name="directLink" >
+                                  <property name="text" >
+                                    <string>Direct &amp;USB Cable</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+U</string>
+                                  </property>
+                                  <property name="toolTip" stdset="0" >
+                                    <string>A direct USB-to-USB connection to a USB calculator (TI-89 Titanium)</string>
+                                  </property>
+                                </widget>
+                              </item>
+                            </layout>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <spacer name="spacer12" >
+                        <property name="sizeHint" >
+                          <size>
+                            <width>20</width>
+                            <height>31</height>
+                          </size>
+                        </property>
+                        <property name="sizeType" >
+                          <enum>Expanding</enum>
+                        </property>
+                        <property name="orientation" >
+                          <enum>Vertical</enum>
+                        </property>
+                      </spacer>
+                    </item>
+                  </layout>
+                </widget>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="TabPage" >
+            <attribute name="title" >
+              <string>Edito&amp;r</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <widget class="QLabel" name="tabWidthCLabel" >
+                      <property name="text" >
+                        <string>C Tab &amp;Size:</string>
+                      </property>
+                      <property name="buddy" stdset="0" >
+                        <cstring>tabWidthC</cstring>
+                      </property>
+                      <property name="wordWrap" >
+                        <bool>false</bool>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>jumpToError</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Automatically &amp;jump to first error</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+J</string>
-                        </property>
+                  </item>
+                  <item>
+                    <widget class="KIntNumInput" name="tabWidthC" >
+                      <property name="value" >
+                        <number>2</number>
+                      </property>
+                      <property name="minValue" >
+                        <number>1</number>
+                      </property>
+                      <property name="maxValue" >
+                        <number>80</number>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>successMessage</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Display &amp;message after successful compilation</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+M</string>
-                        </property>
+                  </item>
+                  <item>
+                    <spacer name="spacer55" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>71</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Expanding</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
+                    </spacer>
+                  </item>
+                  <item>
+                    <widget class="QLabel" name="tabWidthAsmLabel" >
+                      <property name="text" >
+                        <string>&amp;ASM Tab Size:</string>
+                      </property>
+                      <property name="buddy" stdset="0" >
+                        <cstring>tabWidthAsm</cstring>
+                      </property>
+                      <property name="wordWrap" >
+                        <bool>false</bool>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>deleteAsmFiles</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Delete assembly files after successful &amp;linking</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+L</string>
-                        </property>
+                  </item>
+                  <item>
+                    <widget class="KIntNumInput" name="tabWidthAsm" >
+                      <property name="value" >
+                        <number>8</number>
+                      </property>
+                      <property name="minValue" >
+                        <number>1</number>
+                      </property>
+                      <property name="maxValue" >
+                        <number>80</number>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>deleteObjFiles</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Delete o&amp;bject files after successful linking</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+B</string>
-                        </property>
+                  </item>
+                  <item>
+                    <spacer name="spacer56" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>71</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Expanding</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
+                    </spacer>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <widget class="QCheckBox" name="useBgColor" >
+                      <property name="text" >
+                        <string>Specify &amp;background color</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+B</string>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>splitSourceFiles</cstring>
-                        </property>
-                        <property name="text">
-                            <string>S&amp;plit C source files for error position extraction</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+P</string>
-                        </property>
+                  </item>
+                  <item>
+                    <widget class="QLabel" name="bgColor" >
+                      <property name="sizePolicy" >
+                        <sizepolicy>
+                          <hsizetype>7</hsizetype>
+                          <vsizetype>5</vsizetype>
+                          <horstretch>0</horstretch>
+                          <verstretch>0</verstretch>
+                        </sizepolicy>
+                      </property>
+                      <property name="text" >
+                        <string/>
+                      </property>
+                      <property name="wordWrap" >
+                        <bool>false</bool>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>allowImplicitDeclaration</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Allow &amp;implicit declaration of functions</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+I</string>
-                        </property>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <widget class="KPushButton" name="bgColorChange" >
+                      <property name="text" >
+                        <string>C&amp;hange...</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+H</string>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>autoSave</cstring>
-                        </property>
-                        <property name="text">
-                            <string>&amp;Auto-save project before compiling</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+A</string>
-                        </property>
+                  </item>
+                  <item>
+                    <spacer name="spacer57" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>401</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Expanding</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
+                    </spacer>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <widget class="QLabel" name="editorFontLabel" >
+                      <property name="text" >
+                        <string>Editor font:</string>
+                      </property>
+                      <property name="wordWrap" >
+                        <bool>false</bool>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>downloadHeadlines</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Download &amp;headlines on startup</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+H</string>
-                        </property>
+                  </item>
+                  <item>
+                    <widget class="QLabel" name="editorFont" >
+                      <property name="sizePolicy" >
+                        <sizepolicy>
+                          <hsizetype>7</hsizetype>
+                          <vsizetype>5</vsizetype>
+                          <horstretch>0</horstretch>
+                          <verstretch>0</verstretch>
+                        </sizepolicy>
+                      </property>
+                      <property name="font" >
+                        <font>
+                          <family>Monospace</family>
+                        </font>
+                      </property>
+                      <property name="text" >
+                        <string>Monospace</string>
+                      </property>
+                      <property name="alignment" >
+                        <set>Qt::AlignCenter</set>
+                      </property>
+                      <property name="wordWrap" >
+                        <bool>true</bool>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>deleteOverwrittenErrors</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Delete o&amp;verwritten errors</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+V</string>
-                        </property>
-                    </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>useSystemIcons</cstring>
-                        </property>
-                        <property name="text">
-                            <string>&amp;Use system icons</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+U</string>
-                        </property>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <widget class="KPushButton" name="editorFontChange" >
+                      <property name="text" >
+                        <string>Cha&amp;nge...</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+N</string>
+                      </property>
                     </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer10</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>20</width>
-                                <height>31</height>
-                            </size>
-                        </property>
+                  </item>
+                  <item>
+                    <spacer name="spacer58" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>401</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Expanding</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
                     </spacer>
-                </vbox>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>Widget9</cstring>
-                </property>
-                <attribute name="title">
-                    <string>&amp;Transfer</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QButtonGroup">
-                        <property name="name">
-                            <cstring>linkTarget</cstring>
-                        </property>
-                        <property name="title">
-                            <string>Target</string>
-                        </property>
-                        <vbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <widget class="QRadioButton">
-                                <property name="name">
-                                    <cstring>targetNone</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>&amp;None</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+N</string>
-                                </property>
-                                <property name="checked">
-                                    <bool>true</bool>
-                                </property>
-                            </widget>
-                            <widget class="QRadioButton">
-                                <property name="name">
-                                    <cstring>targetTiEmu</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>TiE&amp;mu</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+M</string>
-                                </property>
-                            </widget>
-                            <widget class="QRadioButton">
-                                <property name="name">
-                                    <cstring>targetRealCalc</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>R&amp;eal Calculator</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+E</string>
-                                </property>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout40</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer59</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>16</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QButtonGroup">
-                                        <property name="name">
-                                            <cstring>linkPort</cstring>
-                                        </property>
-                                        <property name="enabled">
-                                            <bool>false</bool>
-                                        </property>
-                                        <property name="title">
-                                            <string>Link Port</string>
-                                        </property>
-                                        <vbox>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>port1</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>#&amp;1</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+1</string>
-                                                </property>
-                                                <property name="checked">
-                                                    <bool>true</bool>
-                                                </property>
-                                            </widget>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>port2</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>#&amp;2</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+2</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>port3</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>#&amp;3</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+3</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>port4</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>#&amp;4</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+4</string>
-                                                </property>
-                                            </widget>
-                                        </vbox>
-                                    </widget>
-                                    <widget class="QButtonGroup">
-                                        <property name="name">
-                                            <cstring>linkCable</cstring>
-                                        </property>
-                                        <property name="enabled">
-                                            <bool>false</bool>
-                                        </property>
-                                        <property name="title">
-                                            <string>Cable Type</string>
-                                        </property>
-                                        <vbox>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>grayLink</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>Gray &amp;Link Cable</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+L</string>
-                                                </property>
-                                                <property name="checked">
-                                                    <bool>true</bool>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>The original serial TI-GraphLink cable</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>blackLink</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>Blac&amp;k Link Cable</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+K</string>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>The newer serial TI-GraphLink or a home-made serial cable</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>parallelLink</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>&amp;Parallel Link Cable</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+P</string>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>A home-made parallel link cable</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>silverLink</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>&amp;Silver Link Cable</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+S</string>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>The SilverLink (TI-GraphLink USB) cable</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>directLink</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>Direct &amp;USB Cable</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+U</string>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>A direct USB-to-USB connection to a USB calculator (TI-89 Titanium)</string>
-                                                </property>
-                                            </widget>
-                                        </vbox>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer12</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Vertical</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Expanding</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>20</width>
-                                        <height>31</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                        </vbox>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="useCalcCharset" >
+                  <property name="text" >
+                    <string>&amp;Load/save files using calculator character set</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+L</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="lazyLoading" >
+                  <property name="text" >
+                    <string>Load &amp;files lazily (not at project load time)</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+F</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="autoBlocks" >
+                  <property name="text" >
+                    <string>A&amp;utomatic '{...}' blocks in C</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+U</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="removeTrailingSpaces" >
+                  <property name="text" >
+                    <string>R&amp;emove trailing spaces from lines</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+E</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <spacer name="spacer14" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>20</width>
+                      <height>20</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
+                </spacer>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="TabPage" >
+            <attribute name="title" >
+              <string>S&amp;yntax Highlighting</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="QLabel" name="settingsForLabel" >
+                  <property name="text" >
+                    <string>Settings &amp;for:</string>
+                  </property>
+                  <property name="buddy" stdset="0" >
+                    <cstring>syntaxLanguage</cstring>
+                  </property>
+                  <property name="wordWrap" >
+                    <bool>false</bool>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <widget class="KComboBox" name="syntaxLanguage" >
+                      <item>
+                        <property name="text" >
+                          <string>C Files</string>
+                        </property>
+                      </item>
+                      <item>
+                        <property name="text" >
+                          <string>GNU Assembly Files</string>
+                        </property>
+                      </item>
                     </widget>
-                </vbox>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>TabPage</cstring>
-                </property>
-                <attribute name="title">
-                    <string>Edito&amp;r</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout35</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <widget class="QLabel">
-                                <property name="name">
-                                    <cstring>tabWidthCLabel</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>C Tab &amp;Size:</string>
-                                </property>
-                                <property name="buddy" stdset="0">
-                                    <cstring>tabWidthC</cstring>
-                                </property>
-                            </widget>
-                            <widget class="KIntNumInput">
-                                <property name="name">
-                                    <cstring>tabWidthC</cstring>
-                                </property>
-                                <property name="value">
-                                    <number>2</number>
-                                </property>
-                                <property name="minValue">
-                                    <number>1</number>
-                                </property>
-                                <property name="maxValue">
-                                    <number>80</number>
-                                </property>
-                            </widget>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer55</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Expanding</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>71</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                            <widget class="QLabel">
-                                <property name="name">
-                                    <cstring>tabWidthAsmLabel</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>&amp;ASM Tab Size:</string>
-                                </property>
-                                <property name="buddy" stdset="0">
-                                    <cstring>tabWidthAsm</cstring>
-                                </property>
-                            </widget>
-                            <widget class="KIntNumInput">
-                                <property name="name">
-                                    <cstring>tabWidthAsm</cstring>
-                                </property>
-                                <property name="value">
-                                    <number>8</number>
-                                </property>
-                                <property name="minValue">
-                                    <number>1</number>
-                                </property>
-                                <property name="maxValue">
-                                    <number>80</number>
-                                </property>
-                            </widget>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer56</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Expanding</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>71</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                        </hbox>
+                  </item>
+                  <item>
+                    <widget class="QCheckBox" name="syntaxEnabled" >
+                      <property name="text" >
+                        <string>Ena&amp;bled</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+B</string>
+                      </property>
+                      <property name="checked" >
+                        <bool>true</bool>
+                      </property>
                     </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout7</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <widget class="QCheckBox">
-                                <property name="name">
-                                    <cstring>useBgColor</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>Specify &amp;background color</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+B</string>
-                                </property>
-                            </widget>
-                            <widget class="QLabel">
-                                <property name="name">
-                                    <cstring>bgColor</cstring>
-                                </property>
-                                <property name="sizePolicy">
-                                    <sizepolicy>
-                                        <hsizetype>7</hsizetype>
-                                        <vsizetype>5</vsizetype>
-                                        <horstretch>0</horstretch>
-                                        <verstretch>0</verstretch>
-                                    </sizepolicy>
-                                </property>
-                                <property name="paletteBackgroundColor">
-                                    <color>
-                                        <red>255</red>
-                                        <green>255</green>
-                                        <blue>255</blue>
-                                    </color>
-                                </property>
-                                <property name="text">
-                                    <string></string>
-                                </property>
-                            </widget>
-                        </hbox>
+                  </item>
+                  <item>
+                    <widget class="KPushButton" name="resetButton" >
+                      <property name="text" >
+                        <string>R&amp;eset</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+E</string>
+                      </property>
                     </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout36</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <widget class="KPushButton">
-                                <property name="name">
-                                    <cstring>bgColorChange</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>C&amp;hange...</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+H</string>
-                                </property>
-                            </widget>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer57</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Expanding</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>401</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                        </hbox>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <layout class="QGridLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item row="2" column="1" >
+                    <widget class="KPushButton" name="parenthesisStyleButton" >
+                      <property name="text" >
+                        <string>P&amp;arenthesis Style...</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+A</string>
+                      </property>
                     </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout38</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <widget class="QLabel">
-                                <property name="name">
-                                    <cstring>editorFontLabel</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>Editor font:</string>
-                                </property>
-                            </widget>
-                            <widget class="QLabel">
-                                <property name="name">
-                                    <cstring>editorFont</cstring>
-                                </property>
-                                <property name="sizePolicy">
-                                    <sizepolicy>
-                                        <hsizetype>7</hsizetype>
-                                        <vsizetype>5</vsizetype>
-                                        <horstretch>0</horstretch>
-                                        <verstretch>0</verstretch>
-                                    </sizepolicy>
-                                </property>
-                                <property name="paletteBackgroundColor">
-                                    <color>
-                                        <red>255</red>
-                                        <green>255</green>
-                                        <blue>255</blue>
-                                    </color>
-                                </property>
-                                <property name="font">
-                                    <font>
-                                        <family>Monospace</family>
-                                    </font>
-                                </property>
-                                <property name="text">
-                                    <string>Monospace</string>
-                                </property>
-                                <property name="alignment">
-                                    <set>WordBreak|AlignCenter</set>
-                                </property>
-                            </widget>
-                        </hbox>
+                  </item>
+                  <item row="2" column="0" >
+                    <widget class="KPushButton" name="parenthesisColorsButton" >
+                      <property name="text" >
+                        <string>&amp;Parenthesis Colors...</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+P</string>
+                      </property>
                     </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout37</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <widget class="KPushButton">
-                                <property name="name">
-                                    <cstring>editorFontChange</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>Cha&amp;nge...</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+N</string>
-                                </property>
-                            </widget>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer58</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Expanding</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>401</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                        </hbox>
+                  </item>
+                  <item row="1" column="1" >
+                    <widget class="KPushButton" name="symbolStyleButton" >
+                      <property name="text" >
+                        <string>Sy&amp;mbol Style...</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+M</string>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>useCalcCharset</cstring>
-                        </property>
-                        <property name="text">
-                            <string>&amp;Load/save files using calculator character set</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+L</string>
-                        </property>
+                  </item>
+                  <item row="0" column="1" >
+                    <widget class="KPushButton" name="numberStyleButton" >
+                      <property name="text" >
+                        <string>N&amp;umber Style...</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+U</string>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>lazyLoading</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Load &amp;files lazily (not at project load time)</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+F</string>
-                        </property>
+                  </item>
+                  <item row="1" column="0" >
+                    <widget class="KPushButton" name="symbolColorButton" >
+                      <property name="text" >
+                        <string>&amp;Symbol Color...</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+S</string>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>autoBlocks</cstring>
-                        </property>
-                        <property name="text">
-                            <string>A&amp;utomatic '{...}' blocks in C</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+U</string>
-                        </property>
+                  </item>
+                  <item row="0" column="0" >
+                    <widget class="KPushButton" name="numberColorButton" >
+                      <property name="text" >
+                        <string>&amp;Number Color...</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+N</string>
+                      </property>
                     </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>removeTrailingSpaces</cstring>
-                        </property>
-                        <property name="text">
-                            <string>R&amp;emove trailing spaces from lines</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+E</string>
-                        </property>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <widget class="K3ListView" name="syntaxListView" >
+                      <property name="allColumnsShowFocus" >
+                        <bool>true</bool>
+                      </property>
+                      <property name="itemsMovable" >
+                        <bool>false</bool>
+                      </property>
+                      <column>
+                        <property name="text" >
+                          <string>Name</string>
+                        </property>
+                        <property name="clickable" >
+                          <bool>false</bool>
+                        </property>
+                        <property name="resizable" >
+                          <bool>false</bool>
+                        </property>
+                      </column>
+                      <item>
+                        <property name="text" >
+                          <string>Highlighting</string>
+                        </property>
+                        <property name="pixmap" >
+                          <pixmap/>
+                        </property>
+                        <item>
+                          <property name="text" >
+                            <string>Custom Styles</string>
+                          </property>
+                          <property name="pixmap" >
+                            <pixmap/>
+                          </property>
+                        </item>
+                        <item>
+                          <property name="text" >
+                            <string>Word Lists</string>
+                          </property>
+                          <property name="pixmap" >
+                            <pixmap/>
+                          </property>
+                        </item>
+                      </item>
                     </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer14</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
+                  </item>
+                  <item>
+                    <layout class="QVBoxLayout" >
+                      <property name="margin" >
+                        <number>0</number>
+                      </property>
+                      <item>
+                        <widget class="KPushButton" name="newStyleButton" >
+                          <property name="text" >
+                            <string>Ne&amp;w Style</string>
+                          </property>
+                          <property name="shortcut" >
+                            <string>Alt+W</string>
+                          </property>
+                        </widget>
+                      </item>
+                      <item>
+                        <widget class="KPushButton" name="newListButton" >
+                          <property name="text" >
+                            <string>New &amp;List</string>
+                          </property>
+                          <property name="shortcut" >
+                            <string>Alt+L</string>
+                          </property>
+                        </widget>
+                      </item>
+                      <item>
+                        <widget class="KPushButton" name="editButton" >
+                          <property name="enabled" >
+                            <bool>false</bool>
+                          </property>
+                          <property name="text" >
+                            <string>Ed&amp;it...</string>
+                          </property>
+                          <property name="shortcut" >
+                            <string>Alt+I</string>
+                          </property>
+                        </widget>
+                      </item>
+                      <item>
+                        <spacer name="spacer15" >
+                          <property name="sizeHint" >
                             <size>
-                                <width>20</width>
-                                <height>20</height>
+                              <width>20</width>
+                              <height>21</height>
                             </size>
-                        </property>
-                    </spacer>
-                </vbox>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>TabPage</cstring>
-                </property>
-                <attribute name="title">
-                    <string>S&amp;yntax Highlighting</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
+                          </property>
+                          <property name="sizeType" >
+                            <enum>Expanding</enum>
+                          </property>
+                          <property name="orientation" >
+                            <enum>Vertical</enum>
+                          </property>
+                        </spacer>
+                      </item>
+                    </layout>
+                  </item>
+                </layout>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="TabPage" >
+            <attribute name="title" >
+              <string>Co&amp;ding</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="Q3GroupBox" name="templateGroupBox" >
+                  <property name="title" >
+                    <string>Code te&amp;mplates</string>
+                  </property>
+                  <layout class="QVBoxLayout" >
+                    <property name="margin" >
+                      <number>0</number>
                     </property>
-                    <widget class="QLabel">
-                        <property name="name">
-                            <cstring>settingsForLabel</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Settings &amp;for:</string>
-                        </property>
-                        <property name="buddy" stdset="0">
-                            <cstring>syntaxLanguage</cstring>
-                        </property>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout8</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                    <item>
+                      <widget class="K3ListBox" name="templateListBox" >
+                        <property name="sizePolicy" >
+                          <sizepolicy>
+                            <hsizetype>7</hsizetype>
+                            <vsizetype>7</vsizetype>
+                            <horstretch>0</horstretch>
+                            <verstretch>1</verstretch>
+                          </sizepolicy>
+                        </property>
+                        <property name="selectionMode" >
+                          <enum>Extended</enum>
+                        </property>
+                      </widget>
+                    </item>
+                    <item>
+                      <layout class="QGridLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item row="1" column="1" >
+                          <widget class="KTextEdit" name="templateCode" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>7</hsizetype>
+                                <vsizetype>7</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>1</verstretch>
+                              </sizepolicy>
                             </property>
-                            <widget class="KComboBox">
-                                <item>
-                                    <property name="text">
-                                        <string>C Files</string>
-                                    </property>
-                                </item>
-                                <item>
-                                    <property name="text">
-                                        <string>GNU Assembly Files</string>
-                                    </property>
-                                </item>
-                                <property name="name">
-                                    <cstring>syntaxLanguage</cstring>
-                                </property>
-                            </widget>
-                            <widget class="QCheckBox">
-                                <property name="name">
-                                    <cstring>syntaxEnabled</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>Ena&amp;bled</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+B</string>
-                                </property>
-                                <property name="checked">
-                                    <bool>true</bool>
-                                </property>
-                            </widget>
-                            <widget class="KPushButton">
-                                <property name="name">
-                                    <cstring>resetButton</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>R&amp;eset</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+E</string>
-                                </property>
-                            </widget>
-                        </hbox>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout9</cstring>
-                        </property>
-                        <grid>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                            <property name="textFormat" >
+                              <enum>Qt::PlainText</enum>
                             </property>
-                            <widget class="KPushButton" row="2" column="1">
-                                <property name="name">
-                                    <cstring>parenthesisStyleButton</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>P&amp;arenthesis Style...</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+A</string>
-                                </property>
-                            </widget>
-                            <widget class="KPushButton" row="2" column="0">
-                                <property name="name">
-                                    <cstring>parenthesisColorsButton</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>&amp;Parenthesis Colors...</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+P</string>
-                                </property>
-                            </widget>
-                            <widget class="KPushButton" row="1" column="1">
-                                <property name="name">
-                                    <cstring>symbolStyleButton</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>Sy&amp;mbol Style...</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+M</string>
-                                </property>
-                            </widget>
-                            <widget class="KPushButton" row="0" column="1">
-                                <property name="name">
-                                    <cstring>numberStyleButton</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>N&amp;umber Style...</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+U</string>
-                                </property>
-                            </widget>
-                            <widget class="KPushButton" row="1" column="0">
-                                <property name="name">
-                                    <cstring>symbolColorButton</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>&amp;Symbol Color...</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+S</string>
-                                </property>
-                            </widget>
-                            <widget class="KPushButton" row="0" column="0">
-                                <property name="name">
-                                    <cstring>numberColorButton</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>&amp;Number Color...</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+N</string>
-                                </property>
-                            </widget>
-                        </grid>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout19</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                            <property name="linkUnderline" >
+                              <bool>false</bool>
                             </property>
-                            <widget class="K3ListView">
-                                <column>
-                                    <property name="text">
-                                        <string>Name</string>
-                                    </property>
-                                    <property name="clickable">
-                                        <bool>false</bool>
-                                    </property>
-                                    <property name="resizable">
-                                        <bool>false</bool>
-                                    </property>
-                                </column>
-                            <item>
-                                <property name="text">
-                                    <string>Highlighting</string>
-                                </property>
-                                <property name="pixmap">
-                                    <pixmap></pixmap>
-                                </property>
-                                <item>
-                                    <property name="text">
-                                        <string>Custom Styles</string>
-                                    </property>
-                                    <property name="pixmap">
-                                        <pixmap></pixmap>
-                                    </property>
-                                </item>
-                                <item>
-                                    <property name="text">
-                                        <string>Word Lists</string>
-                                    </property>
-                                    <property name="pixmap">
-                                        <pixmap></pixmap>
-                                    </property>
-                                </item>
-                            </item>
-                                <property name="name">
-                                    <cstring>syntaxListView</cstring>
-                                </property>
-                                <property name="allColumnsShowFocus">
-                                    <bool>true</bool>
-                                </property>
-                                <property name="itemsMovable">
-                                    <bool>false</bool>
-                                </property>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout18</cstring>
-                                </property>
-                                <vbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="KPushButton">
-                                        <property name="name">
-                                            <cstring>newStyleButton</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Ne&amp;w Style</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+W</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="KPushButton">
-                                        <property name="name">
-                                            <cstring>newListButton</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>New &amp;List</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+L</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="KPushButton">
-                                        <property name="name">
-                                            <cstring>editButton</cstring>
-                                        </property>
-                                        <property name="enabled">
-                                            <bool>false</bool>
-                                        </property>
-                                        <property name="text">
-                                            <string>Ed&amp;it...</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+I</string>
-                                        </property>
-                                    </widget>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer15</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Vertical</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Expanding</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>20</width>
-                                                <height>21</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                </vbox>
-                            </widget>
-                        </hbox>
-                    </widget>
-                </vbox>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>TabPage</cstring>
-                </property>
-                <attribute name="title">
-                    <string>Co&amp;ding</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QGroupBox">
-                        <property name="name">
-                            <cstring>templateGroupBox</cstring>
-                        </property>
-                        <property name="title">
-                            <string>Code te&amp;mplates</string>
-                        </property>
-                        <vbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                            <property name="wordWrap" >
+                              <enum>NoWrap</enum>
                             </property>
-                            <widget class="K3ListBox">
-                                <property name="name">
-                                    <cstring>templateListBox</cstring>
-                                </property>
-                                <property name="sizePolicy">
-                                    <sizepolicy>
-                                        <hsizetype>7</hsizetype>
-                                        <vsizetype>7</vsizetype>
-                                        <horstretch>0</horstretch>
-                                        <verstretch>1</verstretch>
-                                    </sizepolicy>
-                                </property>
-                                <property name="selectionMode">
-                                    <enum>Extended</enum>
-                                </property>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout16</cstring>
-                                </property>
-                                <grid>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="KTextEdit" row="1" column="1">
-                                        <property name="name">
-                                            <cstring>templateCode</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>7</hsizetype>
-                                                <vsizetype>7</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>1</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="textFormat">
-                                            <enum>PlainText</enum>
-                                        </property>
-                                        <property name="linkUnderline">
-                                            <bool>false</bool>
-                                        </property>
-                                        <property name="wordWrap">
-                                            <enum>NoWrap</enum>
-                                        </property>
-                                        <property name="autoFormatting">
-                                            <set>AutoNone</set>
-                                        </property>
-                                    </widget>
-                                    <widget class="KLineEdit" row="0" column="1">
-                                        <property name="name">
-                                            <cstring>templateIdentifier</cstring>
-                                        </property>
-                                    </widget>
-                                    <widget class="QLabel" row="1" column="0">
-                                        <property name="name">
-                                            <cstring>codeLabel</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Cod&amp;e</string>
-                                        </property>
-                                        <property name="alignment">
-                                            <set>AlignTop</set>
-                                        </property>
-                                        <property name="buddy" stdset="0">
-                                            <cstring>templateCode</cstring>
-                                        </property>
-                                    </widget>
-                                    <widget class="QLabel" row="0" column="0">
-                                        <property name="name">
-                                            <cstring>identifierLabel</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;Identifier</string>
-                                        </property>
-                                        <property name="alignment">
-                                            <set>AlignTop</set>
-                                        </property>
-                                        <property name="buddy" stdset="0">
-                                            <cstring>templateIdentifier</cstring>
-                                        </property>
-                                    </widget>
-                                </grid>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout17</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer8</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Expanding</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>151</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="KPushButton">
-                                        <property name="name">
-                                            <cstring>clearSelectionButton</cstring>
-                                        </property>
-                                        <property name="enabled">
-                                            <bool>false</bool>
-                                        </property>
-                                        <property name="text">
-                                            <string>C&amp;lear selection</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+L</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="KPushButton">
-                                        <property name="name">
-                                            <cstring>applyButton</cstring>
-                                        </property>
-                                        <property name="enabled">
-                                            <bool>false</bool>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;Apply</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+A</string>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                        </vbox>
-                    </widget>
-                    <widget class="QGroupBox">
-                        <property name="name">
-                            <cstring>completionGroupBox</cstring>
-                        </property>
-                        <property name="title">
-                            <string>Code completion</string>
-                        </property>
-                        <vbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                            <property name="autoFormatting" >
+                              <set>AutoNone</set>
                             </property>
-                            <widget class="KPushButton">
-                                <property name="name">
-                                    <cstring>regenCompletionInfoButton</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>Generate system &amp;header completion info from help sources...</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+H</string>
-                                </property>
-                            </widget>
-                        </vbox>
-                    </widget>
-                </vbox>
-            </widget>
-        </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout18</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <spacer>
-                    <property name="name">
-                        <cstring>spacer28</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>291</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>okButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;OK</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+O</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>1</number>
-                    </property>
+                          </widget>
+                        </item>
+                        <item row="0" column="1" >
+                          <widget class="KLineEdit" name="templateIdentifier" />
+                        </item>
+                        <item row="1" column="0" >
+                          <widget class="QLabel" name="codeLabel" >
+                            <property name="text" >
+                              <string>Cod&amp;e</string>
+                            </property>
+                            <property name="alignment" >
+                              <set>Qt::AlignTop</set>
+                            </property>
+                            <property name="buddy" stdset="0" >
+                              <cstring>templateCode</cstring>
+                            </property>
+                            <property name="wordWrap" >
+                              <bool>false</bool>
+                            </property>
+                          </widget>
+                        </item>
+                        <item row="0" column="0" >
+                          <widget class="QLabel" name="identifierLabel" >
+                            <property name="text" >
+                              <string>&amp;Identifier</string>
+                            </property>
+                            <property name="alignment" >
+                              <set>Qt::AlignTop</set>
+                            </property>
+                            <property name="buddy" stdset="0" >
+                              <cstring>templateIdentifier</cstring>
+                            </property>
+                            <property name="wordWrap" >
+                              <bool>false</bool>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <spacer name="spacer8" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>151</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Expanding</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="KPushButton" name="clearSelectionButton" >
+                            <property name="enabled" >
+                              <bool>false</bool>
+                            </property>
+                            <property name="text" >
+                              <string>C&amp;lear selection</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+L</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="KPushButton" name="applyButton" >
+                            <property name="enabled" >
+                              <bool>false</bool>
+                            </property>
+                            <property name="text" >
+                              <string>&amp;Apply</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+A</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                  </layout>
                 </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>cancelButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Cancel</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>2</number>
+              </item>
+              <item>
+                <widget class="Q3GroupBox" name="completionGroupBox" >
+                  <property name="title" >
+                    <string>Code completion</string>
+                  </property>
+                  <layout class="QVBoxLayout" >
+                    <property name="margin" >
+                      <number>0</number>
                     </property>
+                    <item>
+                      <widget class="KPushButton" name="regenCompletionInfoButton" >
+                        <property name="text" >
+                          <string>Generate system &amp;header completion info from help sources...</string>
+                        </property>
+                        <property name="shortcut" >
+                          <string>Alt+H</string>
+                        </property>
+                      </widget>
+                    </item>
+                  </layout>
                 </widget>
-            </hbox>
+              </item>
+            </layout>
+          </widget>
         </widget>
-    </vbox>
-</widget>
-<connections>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <spacer name="spacer28" >
+              <property name="sizeHint" >
+                <size>
+                  <width>291</width>
+                  <height>20</height>
+                </size>
+              </property>
+              <property name="sizeType" >
+                <enum>Expanding</enum>
+              </property>
+              <property name="orientation" >
+                <enum>Horizontal</enum>
+              </property>
+            </spacer>
+          </item>
+          <item>
+            <widget class="KPushButton" name="okButton" >
+              <property name="text" >
+                <string>&amp;OK</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+O</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>1</number>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="cancelButton" >
+              <property name="text" >
+                <string>&amp;Cancel</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+C</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>2</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <customwidgets>
+    <customwidget>
+      <class>K3ListBox</class>
+      <extends>Q3ListBox</extends>
+      <header>k3listbox.h</header>
+    </customwidget>
+    <customwidget>
+      <class>K3ListView</class>
+      <extends>Q3ListView</extends>
+      <header>k3listview.h</header>
+    </customwidget>
+    <customwidget>
+      <class>KComboBox</class>
+      <extends>QComboBox</extends>
+      <header>kcombobox.h</header>
+    </customwidget>
+  </customwidgets>
+  <tabstops>
+    <tabstop>tabWidget</tabstop>
+    <tabstop>stopAtFirstError</tabstop>
+    <tabstop>jumpToError</tabstop>
+    <tabstop>successMessage</tabstop>
+    <tabstop>deleteAsmFiles</tabstop>
+    <tabstop>deleteObjFiles</tabstop>
+    <tabstop>splitSourceFiles</tabstop>
+    <tabstop>allowImplicitDeclaration</tabstop>
+    <tabstop>autoSave</tabstop>
+    <tabstop>downloadHeadlines</tabstop>
+    <tabstop>deleteOverwrittenErrors</tabstop>
+    <tabstop>useSystemIcons</tabstop>
+    <tabstop>targetNone</tabstop>
+    <tabstop>port1</tabstop>
+    <tabstop>grayLink</tabstop>
+    <tabstop>tabWidthC</tabstop>
+    <tabstop>tabWidthAsm</tabstop>
+    <tabstop>useBgColor</tabstop>
+    <tabstop>bgColorChange</tabstop>
+    <tabstop>editorFontChange</tabstop>
+    <tabstop>useCalcCharset</tabstop>
+    <tabstop>lazyLoading</tabstop>
+    <tabstop>autoBlocks</tabstop>
+    <tabstop>removeTrailingSpaces</tabstop>
+    <tabstop>syntaxLanguage</tabstop>
+    <tabstop>syntaxEnabled</tabstop>
+    <tabstop>resetButton</tabstop>
+    <tabstop>numberColorButton</tabstop>
+    <tabstop>numberStyleButton</tabstop>
+    <tabstop>symbolColorButton</tabstop>
+    <tabstop>symbolStyleButton</tabstop>
+    <tabstop>parenthesisColorsButton</tabstop>
+    <tabstop>parenthesisStyleButton</tabstop>
+    <tabstop>syntaxListView</tabstop>
+    <tabstop>newStyleButton</tabstop>
+    <tabstop>newListButton</tabstop>
+    <tabstop>editButton</tabstop>
+    <tabstop>templateListBox</tabstop>
+    <tabstop>templateIdentifier</tabstop>
+    <tabstop>templateCode</tabstop>
+    <tabstop>clearSelectionButton</tabstop>
+    <tabstop>applyButton</tabstop>
+    <tabstop>regenCompletionInfoButton</tabstop>
+    <tabstop>okButton</tabstop>
+    <tabstop>cancelButton</tabstop>
+  </tabstops>
+  <includes>
+    <include location="local" >knuminput.h</include>
+    <include location="local" >knuminput.h</include>
+    <include location="local" >knuminput.h</include>
+    <include location="local" >knuminput.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kcombobox.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >k3listview.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >k3listbox.h</include>
+    <include location="local" >ktextedit.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
     <connection>
-        <sender>cancelButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>reject()</slot>
+      <sender>cancelButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>reject()</slot>
     </connection>
     <connection>
-        <sender>okButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>accept()</slot>
+      <sender>okButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>accept()</slot>
     </connection>
     <connection>
-        <sender>targetNone</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>Preferences</receiver>
-        <slot>linkTarget_toggled(bool)</slot>
+      <sender>targetNone</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>Preferences</receiver>
+      <slot>linkTarget_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>targetTiEmu</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>Preferences</receiver>
-        <slot>linkTarget_toggled(bool)</slot>
+      <sender>targetTiEmu</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>Preferences</receiver>
+      <slot>linkTarget_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>targetRealCalc</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>Preferences</receiver>
-        <slot>linkTarget_toggled(bool)</slot>
+      <sender>targetRealCalc</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>Preferences</receiver>
+      <slot>linkTarget_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>bgColorChange</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>bgColorChange_clicked()</slot>
+      <sender>bgColorChange</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>bgColorChange_clicked()</slot>
     </connection>
     <connection>
-        <sender>editorFontChange</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>editorFontChange_clicked()</slot>
+      <sender>editorFontChange</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>editorFontChange_clicked()</slot>
     </connection>
     <connection>
-        <sender>syntaxLanguage</sender>
-        <signal>activated(int)</signal>
-        <receiver>Preferences</receiver>
-        <slot>syntaxLanguage_activated(int)</slot>
+      <sender>syntaxLanguage</sender>
+      <signal>activated(int)</signal>
+      <receiver>Preferences</receiver>
+      <slot>syntaxLanguage_activated(int)</slot>
     </connection>
     <connection>
-        <sender>resetButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>resetButton_clicked()</slot>
+      <sender>resetButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>resetButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>numberColorButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>numberColorButton_clicked()</slot>
+      <sender>numberColorButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>numberColorButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>numberStyleButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>numberStyleButton_clicked()</slot>
+      <sender>numberStyleButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>numberStyleButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>symbolColorButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>symbolColorButton_clicked()</slot>
+      <sender>symbolColorButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>symbolColorButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>symbolStyleButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>symbolStyleButton_clicked()</slot>
+      <sender>symbolStyleButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>symbolStyleButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>parenthesisColorsButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>parenthesisColorsButton_clicked()</slot>
+      <sender>parenthesisColorsButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>parenthesisColorsButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>parenthesisStyleButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>parenthesisStyleButton_clicked()</slot>
+      <sender>parenthesisStyleButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>parenthesisStyleButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>syntaxListView</sender>
-        <signal>selectionChanged()</signal>
-        <receiver>Preferences</receiver>
-        <slot>syntaxListView_selectionChanged()</slot>
+      <sender>syntaxListView</sender>
+      <signal>selectionChanged()</signal>
+      <receiver>Preferences</receiver>
+      <slot>syntaxListView_selectionChanged()</slot>
     </connection>
     <connection>
-        <sender>newStyleButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>newStyleButton_clicked()</slot>
+      <sender>newStyleButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>newStyleButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>newListButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>newListButton_clicked()</slot>
+      <sender>newListButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>newListButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>editButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>editButton_clicked()</slot>
+      <sender>editButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>editButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>syntaxListView</sender>
-        <signal>itemRenamed(QListViewItem*,const QString&amp;,int)</signal>
-        <receiver>Preferences</receiver>
-        <slot>syntaxListView_itemRenamed(QListViewItem*,const QString&amp;,int)</slot>
+      <sender>syntaxListView</sender>
+      <signal>itemRenamed(Q3ListViewItem*,QString,int)</signal>
+      <receiver>Preferences</receiver>
+      <slot>syntaxListView_itemRenamed(Q3ListViewItem*,QString,int)</slot>
     </connection>
     <connection>
-        <sender>syntaxEnabled</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>Preferences</receiver>
-        <slot>syntaxEnabled_toggled(bool)</slot>
+      <sender>syntaxEnabled</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>Preferences</receiver>
+      <slot>syntaxEnabled_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>templateListBox</sender>
-        <signal>selectionChanged()</signal>
-        <receiver>Preferences</receiver>
-        <slot>templateListBox_selectionChanged()</slot>
+      <sender>templateListBox</sender>
+      <signal>selectionChanged()</signal>
+      <receiver>Preferences</receiver>
+      <slot>templateListBox_selectionChanged()</slot>
     </connection>
     <connection>
-        <sender>templateListBox</sender>
-        <signal>currentChanged(QListBoxItem*)</signal>
-        <receiver>Preferences</receiver>
-        <slot>templateListBox_currentChanged(QListBoxItem*)</slot>
+      <sender>templateListBox</sender>
+      <signal>currentChanged(Q3ListBoxItem*)</signal>
+      <receiver>Preferences</receiver>
+      <slot>templateListBox_currentChanged(Q3ListBoxItem*)</slot>
     </connection>
     <connection>
-        <sender>templateIdentifier</sender>
-        <signal>textChanged(const QString&amp;)</signal>
-        <receiver>Preferences</receiver>
-        <slot>templateIdentifier_textChanged(const QString&amp;)</slot>
+      <sender>templateIdentifier</sender>
+      <signal>textChanged(QString)</signal>
+      <receiver>Preferences</receiver>
+      <slot>templateIdentifier_textChanged(QString)</slot>
     </connection>
     <connection>
-        <sender>clearSelectionButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>clearSelectionButton_clicked()</slot>
+      <sender>clearSelectionButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>clearSelectionButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>applyButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>applyButton_clicked()</slot>
+      <sender>applyButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>applyButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>regenCompletionInfoButton</sender>
-        <signal>clicked()</signal>
-        <receiver>Preferences</receiver>
-        <slot>regenCompletionInfoButton_clicked()</slot>
+      <sender>regenCompletionInfoButton</sender>
+      <signal>clicked()</signal>
+      <receiver>Preferences</receiver>
+      <slot>regenCompletionInfoButton_clicked()</slot>
     </connection>
-</connections>
-<tabstops>
-    <tabstop>tabWidget</tabstop>
-    <tabstop>stopAtFirstError</tabstop>
-    <tabstop>jumpToError</tabstop>
-    <tabstop>successMessage</tabstop>
-    <tabstop>deleteAsmFiles</tabstop>
-    <tabstop>deleteObjFiles</tabstop>
-    <tabstop>splitSourceFiles</tabstop>
-    <tabstop>allowImplicitDeclaration</tabstop>
-    <tabstop>autoSave</tabstop>
-    <tabstop>downloadHeadlines</tabstop>
-    <tabstop>deleteOverwrittenErrors</tabstop>
-    <tabstop>useSystemIcons</tabstop>
-    <tabstop>targetNone</tabstop>
-    <tabstop>port1</tabstop>
-    <tabstop>grayLink</tabstop>
-    <tabstop>tabWidthC</tabstop>
-    <tabstop>tabWidthAsm</tabstop>
-    <tabstop>useBgColor</tabstop>
-    <tabstop>bgColorChange</tabstop>
-    <tabstop>editorFontChange</tabstop>
-    <tabstop>useCalcCharset</tabstop>
-    <tabstop>lazyLoading</tabstop>
-    <tabstop>autoBlocks</tabstop>
-    <tabstop>removeTrailingSpaces</tabstop>
-    <tabstop>syntaxLanguage</tabstop>
-    <tabstop>syntaxEnabled</tabstop>
-    <tabstop>resetButton</tabstop>
-    <tabstop>numberColorButton</tabstop>
-    <tabstop>numberStyleButton</tabstop>
-    <tabstop>symbolColorButton</tabstop>
-    <tabstop>symbolStyleButton</tabstop>
-    <tabstop>parenthesisColorsButton</tabstop>
-    <tabstop>parenthesisStyleButton</tabstop>
-    <tabstop>syntaxListView</tabstop>
-    <tabstop>newStyleButton</tabstop>
-    <tabstop>newListButton</tabstop>
-    <tabstop>editButton</tabstop>
-    <tabstop>templateListBox</tabstop>
-    <tabstop>templateIdentifier</tabstop>
-    <tabstop>templateCode</tabstop>
-    <tabstop>clearSelectionButton</tabstop>
-    <tabstop>applyButton</tabstop>
-    <tabstop>regenCompletionInfoButton</tabstop>
-    <tabstop>okButton</tabstop>
-    <tabstop>cancelButton</tabstop>
-</tabstops>
-<includes>
-    <include location="local" impldecl="in implementation">preferencesdlg.ui.h</include>
-</includes>
-<slots>
-    <slot>init()</slot>
-    <slot>destroy()</slot>
-    <slot>linkTarget_toggled( bool unused_on )</slot>
-    <slot>bgColorChange_clicked()</slot>
-    <slot>editorFontChange_clicked()</slot>
-    <slot>syntaxLanguage_activated( int index )</slot>
-    <slot>syntaxEnabled_toggled( bool on )</slot>
-    <slot>resetButton_clicked()</slot>
-    <slot>numberColorButton_clicked()</slot>
-    <slot>numberStyleButton_clicked()</slot>
-    <slot>symbolColorButton_clicked()</slot>
-    <slot>symbolStyleButton_clicked()</slot>
-    <slot>parenthesisColorsButton_clicked()</slot>
-    <slot>parenthesisStyleButton_clicked()</slot>
-    <slot>syntaxListView_selectionChanged()</slot>
-    <slot>syntaxListView_itemRenamed( QListViewItem * item, const QString &amp; str, int unused_col )</slot>
-    <slot>syntaxListViewAccel_activated( int id )</slot>
-    <slot>newStyleButton_clicked()</slot>
-    <slot>newListButton_clicked()</slot>
-    <slot>editButton_clicked()</slot>
-    <slot>editDialog_colorButton_clicked()</slot>
-    <slot>editDialog_styleButton_clicked()</slot>
-    <slot>clearSelectionButton_clicked()</slot>
-    <slot>applyButton_clicked()</slot>
-    <slot>templateListBox_selectionChanged()</slot>
-    <slot>templateListBox_currentChanged( QListBoxItem * item )</slot>
-    <slot>templateIdentifier_textChanged( const QString &amp; text )</slot>
-    <slot>regenCompletionInfoButton_clicked()</slot>
-</slots>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>knuminput.h</includehint>
-    <includehint>knuminput.h</includehint>
-    <includehint>knuminput.h</includehint>
-    <includehint>knuminput.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kcombobox.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>k3listview.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>k3listbox.h</includehint>
-    <includehint>ktextedit.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </connections>
+</ui>

+ 38 - 0
ktigcc/programoptions.cpp

@@ -0,0 +1,38 @@
+#include "programoptions.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "programoptions.ui.h"
+/*
+ *  Constructs a ProgramOptions as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+ProgramOptions::ProgramOptions(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+ProgramOptions::~ProgramOptions()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void ProgramOptions::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 31 - 0
ktigcc/programoptions.h

@@ -0,0 +1,31 @@
+#ifndef PROGRAMOPTIONS_H
+#define PROGRAMOPTIONS_H
+
+#include "ui_programoptions.h"
+
+class ProgramOptions : public QDialog, public Ui::ProgramOptions
+{
+    Q_OBJECT
+
+public:
+    ProgramOptions(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~ProgramOptions();
+
+    void ImportSettings();
+    void ExportSettings();
+
+public slots:
+    virtual void CMinimumAMSVersion_toggled( bool on );
+    virtual void CalcCheckbox_toggled( bool on_unused );
+    virtual void KernelRadiobutton_toggled( bool on_unused );
+    virtual void RelocSettings_toggled( bool on_unused );
+
+protected:
+    virtual void mousePressEvent( QMouseEvent * e );
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // PROGRAMOPTIONS_H

+ 1450 - 1615
ktigcc/programoptions.ui

@@ -1,1680 +1,1515 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>ProgramOptions</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>ProgramOptions</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>ProgramOptions</class>
+  <widget class="QDialog" name="ProgramOptions" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>473</width>
+        <height>547</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>473</width>
-            <height>547</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>Program Options</string>
     </property>
-    <property name="caption">
-        <string>Program Options</string>
+    <property name="sizeGripEnabled" >
+      <bool>true</bool>
     </property>
-    <property name="sizeGripEnabled">
-        <bool>true</bool>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>11</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QTabWidget">
-            <property name="name">
-                <cstring>TabWidget</cstring>
-            </property>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>PageWelcome</cstring>
-                </property>
-                <attribute name="title">
-                    <string>&amp;Welcome</string>
-                </attribute>
-                <grid>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <spacer row="0" column="1">
-                        <property name="name">
-                            <cstring>spacer48</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Maximum</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>61</width>
-                                <height>22</height>
-                            </size>
-                        </property>
+    <layout class="QVBoxLayout" >
+      <property name="margin" >
+        <number>11</number>
+      </property>
+      <property name="spacing" >
+        <number>6</number>
+      </property>
+      <item>
+        <widget class="QTabWidget" name="TabWidget" >
+          <widget class="QWidget" name="PageWelcome" >
+            <attribute name="title" >
+              <string>&amp;Welcome</string>
+            </attribute>
+            <layout class="QGridLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item row="0" column="1" >
+                <spacer name="spacer48" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>61</width>
+                      <height>22</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Maximum</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
+                </spacer>
+              </item>
+              <item row="2" column="1" >
+                <spacer name="spacer51" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>61</width>
+                      <height>22</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
+                </spacer>
+              </item>
+              <item row="1" column="0" >
+                <spacer name="spacer49" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>61</width>
+                      <height>22</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Horizontal</enum>
+                  </property>
+                </spacer>
+              </item>
+              <item row="1" column="2" >
+                <spacer name="spacer52" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>61</width>
+                      <height>22</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Horizontal</enum>
+                  </property>
+                </spacer>
+              </item>
+              <item row="1" column="1" >
+                <widget class="QLabel" name="textLabel1" >
+                  <property name="sizePolicy" >
+                    <sizepolicy>
+                      <hsizetype>0</hsizetype>
+                      <vsizetype>0</vsizetype>
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                    </sizepolicy>
+                  </property>
+                  <property name="text" >
+                    <string>&lt;p>Welcome to the Program Options dialog.  All of the selections you make here are sent to TIGCC as preprocessor macros.&lt;/p>
+
+&lt;p>Moving the mouse over a specific option displays the macro name for that option.  You can look up this macro in the documentation by right-clicking on the item.  Always do this before using something with an exclamation mark.&lt;/p></string>
+                  </property>
+                  <property name="textFormat" >
+                    <enum>Qt::RichText</enum>
+                  </property>
+                  <property name="alignment" >
+                    <set>Qt::AlignTop|Qt::AlignLeft</set>
+                  </property>
+                  <property name="wordWrap" >
+                    <bool>true</bool>
+                  </property>
+                </widget>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="PageCalculator" >
+            <attribute name="title" >
+              <string>C&amp;alculator</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="QLabel" name="textLabel2" >
+                  <property name="sizePolicy" >
+                    <sizepolicy>
+                      <hsizetype>5</hsizetype>
+                      <vsizetype>0</vsizetype>
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                    </sizepolicy>
+                  </property>
+                  <property name="text" >
+                    <string>Please select which calculator(s) the program will support:</string>
+                  </property>
+                  <property name="textFormat" >
+                    <enum>Qt::PlainText</enum>
+                  </property>
+                  <property name="alignment" >
+                    <set>Qt::AlignVCenter</set>
+                  </property>
+                  <property name="wordWrap" >
+                    <bool>true</bool>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <spacer name="spacer54" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>20</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Fixed</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
                     </spacer>
-                    <spacer row="2" column="1">
-                        <property name="name">
-                            <cstring>spacer51</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>61</width>
-                                <height>22</height>
-                            </size>
-                        </property>
+                  </item>
+                  <item>
+                    <widget class="QCheckBox" name="TI89" >
+                      <property name="text" >
+                        <string>TI-&amp;89</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+8</string>
+                      </property>
+                      <property name="toolTip" stdset="0" >
+                        <string>USE_TI89</string>
+                      </property>
+                    </widget>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <spacer name="spacer54_2" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>20</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Fixed</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
                     </spacer>
-                    <spacer row="1" column="0">
-                        <property name="name">
-                            <cstring>spacer49</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Horizontal</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>61</width>
-                                <height>22</height>
-                            </size>
-                        </property>
+                  </item>
+                  <item>
+                    <widget class="QCheckBox" name="TI92Plus" >
+                      <property name="text" >
+                        <string>TI-&amp;92 Plus</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+9</string>
+                      </property>
+                      <property name="toolTip" stdset="0" >
+                        <string>USE_TI92PLUS</string>
+                      </property>
+                    </widget>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <spacer name="spacer54_3" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>20</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Fixed</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
                     </spacer>
-                    <spacer row="1" column="2">
-                        <property name="name">
-                            <cstring>spacer52</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Horizontal</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>61</width>
-                                <height>22</height>
-                            </size>
-                        </property>
+                  </item>
+                  <item>
+                    <widget class="QCheckBox" name="V200" >
+                      <property name="text" >
+                        <string>&amp;V200</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+V</string>
+                      </property>
+                      <property name="toolTip" stdset="0" >
+                        <string>USE_V200</string>
+                      </property>
+                    </widget>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <widget class="QLabel" name="textLabel3" >
+                  <property name="sizePolicy" >
+                    <sizepolicy>
+                      <hsizetype>1</hsizetype>
+                      <vsizetype>1</vsizetype>
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                    </sizepolicy>
+                  </property>
+                  <property name="text" >
+                    <string>&lt;p>If you write a program for more than one calculator, consider the differences in screen size.&lt;/p>
+&lt;p>Optimizing calculator pseudo-constants can decrease program size and increase performance, but it implies that programs cannot be transferred between calculators of different type.&lt;/p>&lt;/p></string>
+                  </property>
+                  <property name="textFormat" >
+                    <enum>Qt::RichText</enum>
+                  </property>
+                  <property name="wordWrap" >
+                    <bool>false</bool>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <spacer name="spacer54_4" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>20</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Fixed</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
                     </spacer>
-                    <widget class="QLabel" row="1" column="1">
-                        <property name="name">
-                            <cstring>textLabel1</cstring>
-                        </property>
-                        <property name="sizePolicy">
-                            <sizepolicy>
-                                <hsizetype>0</hsizetype>
-                                <vsizetype>0</vsizetype>
+                  </item>
+                  <item>
+                    <widget class="QCheckBox" name="OptimizeCalcConsts" >
+                      <property name="text" >
+                        <string>&amp;Optimize Calculator Constants</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+O</string>
+                      </property>
+                      <property name="toolTip" stdset="0" >
+                        <string>OPTIMIZE_CALC_CONSTS</string>
+                      </property>
+                    </widget>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <spacer name="spacer53" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>41</width>
+                      <height>22</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
+                </spacer>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="PageOperatingSystem" >
+            <attribute name="title" >
+              <string>Operating &amp;System</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="QLabel" name="textLabel4" >
+                  <property name="text" >
+                    <string>You also have to select the operating system it will run under.</string>
+                  </property>
+                  <property name="textFormat" >
+                    <enum>Qt::PlainText</enum>
+                  </property>
+                  <property name="alignment" >
+                    <set>Qt::AlignVCenter</set>
+                  </property>
+                  <property name="wordWrap" >
+                    <bool>true</bool>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <spacer name="spacer60" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>20</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Fixed</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
+                    </spacer>
+                  </item>
+                  <item>
+                    <widget class="Q3ButtonGroup" name="buttonGroup5" >
+                      <property name="title" >
+                        <string/>
+                      </property>
+                      <layout class="QVBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <widget class="QRadioButton" name="Nostub" >
+                            <property name="text" >
+                              <string>Any/no &amp;kernel</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+K</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="UseKernel" >
+                            <property name="text" >
+                              <string>Recent &amp;Doors-compatible kernels</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+D</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>USE_KERNEL</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="PreOS" >
+                            <property name="text" >
+                              <string>&amp;PreOS with compressed reloc table support</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+P</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>USE_PREOS_COMPRESSED_TABLES</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <spacer name="spacer58" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>20</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Vertical</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <layout class="QHBoxLayout" >
+                            <property name="margin" >
+                              <number>0</number>
+                            </property>
+                            <item>
+                              <widget class="QCheckBox" name="CMinimumAMSVersion" >
+                                <property name="text" >
+                                  <string>&amp;Minimum AMS version:</string>
+                                </property>
+                                <property name="shortcut" >
+                                  <string>Alt+M</string>
+                                </property>
+                                <property name="toolTip" stdset="0" >
+                                  <string>MIN_AMS</string>
+                                </property>
+                              </widget>
+                            </item>
+                            <item>
+                              <widget class="KLineEdit" name="MinimumAMSVersion" >
+                                <property name="text" >
+                                  <string>.</string>
+                                </property>
+                                <property name="inputMask" >
+                                  <string>9.99; </string>
+                                </property>
+                                <property name="toolTip" stdset="0" >
+                                  <string>MIN_AMS</string>
+                                </property>
+                              </widget>
+                            </item>
+                          </layout>
+                        </item>
+                        <item>
+                          <spacer name="spacer59" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>20</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Vertical</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="QCheckBox" name="UnofficialOSSupport" >
+                            <property name="text" >
+                              <string>&amp;Force unofficial operating system support</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+F</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>UNOFFICIAL_OS_SUPPORT</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </widget>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <spacer name="spacer61" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>20</width>
+                      <height>280</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
+                </spacer>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="PageRelocFormat" >
+            <attribute name="title" >
+              <string>&amp;Reloc Format</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="QLabel" name="textLabel1_2" >
+                  <property name="text" >
+                    <string>Choose the relocation format that suits your needs:</string>
+                  </property>
+                  <property name="wordWrap" >
+                    <bool>false</bool>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <spacer name="spacer16" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>20</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Fixed</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
+                    </spacer>
+                  </item>
+                  <item>
+                    <widget class="Q3ButtonGroup" name="buttonGroup1" >
+                      <property name="title" >
+                        <string/>
+                      </property>
+                      <property name="checkable" >
+                        <bool>false</bool>
+                      </property>
+                      <property name="checked" >
+                        <bool>false</bool>
+                      </property>
+                      <property name="exclusive" >
+                        <bool>false</bool>
+                      </property>
+                      <layout class="QVBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <widget class="QRadioButton" name="RelocAMS" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>1</hsizetype>
+                                <vsizetype>1</vsizetype>
                                 <horstretch>0</horstretch>
                                 <verstretch>0</verstretch>
-                            </sizepolicy>
-                        </property>
-                        <property name="text">
-                            <string>&lt;p&gt;Welcome to the Program Options dialog.  All of the selections you make here are sent to TIGCC as preprocessor macros.&lt;/p&gt;
-
-&lt;p&gt;Moving the mouse over a specific option displays the macro name for that option.  You can look up this macro in the documentation by right-clicking on the item.  Always do this before using something with an exclamation mark.&lt;/p&gt;</string>
-                        </property>
-                        <property name="textFormat">
-                            <enum>RichText</enum>
-                        </property>
-                        <property name="alignment">
-                            <set>WordBreak|AlignTop|AlignLeft</set>
-                        </property>
-                    </widget>
-                </grid>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>PageCalculator</cstring>
-                </property>
-                <attribute name="title">
-                    <string>C&amp;alculator</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QLabel">
-                        <property name="name">
-                            <cstring>textLabel2</cstring>
-                        </property>
-                        <property name="sizePolicy">
-                            <sizepolicy>
-                                <hsizetype>5</hsizetype>
-                                <vsizetype>0</vsizetype>
+                              </sizepolicy>
+                            </property>
+                            <property name="text" >
+                              <string>AMS (large calls, &amp;no stub)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+N</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="RelocKernel" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>1</hsizetype>
+                                <vsizetype>1</vsizetype>
                                 <horstretch>0</horstretch>
                                 <verstretch>0</verstretch>
-                            </sizepolicy>
-                        </property>
-                        <property name="text">
-                            <string>Please select which calculator(s) the program will support:</string>
-                        </property>
-                        <property name="textFormat">
-                            <enum>PlainText</enum>
-                        </property>
-                        <property name="alignment">
-                            <set>WordBreak|AlignVCenter</set>
-                        </property>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout55</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                              </sizepolicy>
                             </property>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer54</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Fixed</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>20</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                            <widget class="QCheckBox">
-                                <property name="name">
-                                    <cstring>TI89</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>TI-&amp;89</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+8</string>
-                                </property>
-                                <property name="toolTip" stdset="0">
-                                    <string>USE_TI89</string>
-                                </property>
-                            </widget>
-                        </hbox>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout56</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                            <property name="text" >
+                              <string>&amp;Kernel (medium calls, medium stub)</string>
                             </property>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer54_2</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Fixed</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>20</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                            <widget class="QCheckBox">
-                                <property name="name">
-                                    <cstring>TI92Plus</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>TI-&amp;92 Plus</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+9</string>
-                                </property>
-                                <property name="toolTip" stdset="0">
-                                    <string>USE_TI92PLUS</string>
-                                </property>
-                            </widget>
-                        </hbox>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout57</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                            <property name="shortcut" >
+                              <string>Alt+K</string>
                             </property>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer54_3</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Fixed</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>20</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                            <widget class="QCheckBox">
-                                <property name="name">
-                                    <cstring>V200</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>&amp;V200</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+V</string>
-                                </property>
-                                <property name="toolTip" stdset="0">
-                                    <string>USE_V200</string>
-                                </property>
-                            </widget>
-                        </hbox>
-                    </widget>
-                    <widget class="QLabel">
-                        <property name="name">
-                            <cstring>textLabel3</cstring>
-                        </property>
-                        <property name="sizePolicy">
-                            <sizepolicy>
+                            <property name="toolTip" stdset="0" >
+                              <string>KERNEL_FORMAT_RELOCS</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="RelocCompressed" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
                                 <hsizetype>1</hsizetype>
                                 <vsizetype>1</vsizetype>
                                 <horstretch>0</horstretch>
                                 <verstretch>0</verstretch>
-                            </sizepolicy>
-                        </property>
-                        <property name="text">
-                            <string>&lt;p&gt;If you write a program for more than one calculator, consider the differences in screen size.&lt;/p&gt;
-&lt;p&gt;Optimizing calculator pseudo-constants can decrease program size and increase performance, but it implies that programs cannot be transferred between calculators of different type.&lt;/p&gt;&lt;/p&gt;</string>
-                        </property>
-                        <property name="textFormat">
-                            <enum>RichText</enum>
-                        </property>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout58</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                              </sizepolicy>
                             </property>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer54_4</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Fixed</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>20</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                            <widget class="QCheckBox">
-                                <property name="name">
-                                    <cstring>OptimizeCalcConsts</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>&amp;Optimize Calculator Constants</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+O</string>
-                                </property>
-                                <property name="toolTip" stdset="0">
-                                    <string>OPTIMIZE_CALC_CONSTS</string>
-                                </property>
-                            </widget>
-                        </hbox>
-                    </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer53</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>41</width>
-                                <height>22</height>
-                            </size>
-                        </property>
-                    </spacer>
-                </vbox>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>PageOperatingSystem</cstring>
-                </property>
-                <attribute name="title">
-                    <string>Operating &amp;System</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QLabel">
-                        <property name="name">
-                            <cstring>textLabel4</cstring>
-                        </property>
-                        <property name="text">
-                            <string>You also have to select the operating system it will run under.</string>
-                        </property>
-                        <property name="textFormat">
-                            <enum>PlainText</enum>
-                        </property>
-                        <property name="alignment">
-                            <set>WordBreak|AlignVCenter</set>
-                        </property>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout18</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                            <property name="text" >
+                              <string>C&amp;ompressed (smallest calls, large stub)</string>
                             </property>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer60</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Fixed</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>20</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                            <widget class="QButtonGroup">
-                                <property name="name">
-                                    <cstring>buttonGroup5</cstring>
-                                </property>
-                                <property name="frameShape">
-                                    <enum>NoFrame</enum>
-                                </property>
-                                <property name="frameShadow">
-                                    <enum>Plain</enum>
-                                </property>
-                                <property name="title">
-                                    <string></string>
-                                </property>
-                                <vbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>Nostub</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Any/no &amp;kernel</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+K</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>UseKernel</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Recent &amp;Doors-compatible kernels</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+D</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>USE_KERNEL</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>PreOS</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;PreOS with compressed reloc table support</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+P</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>USE_PREOS_COMPRESSED_TABLES</string>
-                                        </property>
-                                    </widget>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer58</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Vertical</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>20</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QLayoutWidget">
-                                        <property name="name">
-                                            <cstring>layout60</cstring>
-                                        </property>
-                                        <hbox>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>CMinimumAMSVersion</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>&amp;Minimum AMS version:</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+M</string>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>MIN_AMS</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="KLineEdit">
-                                                <property name="name">
-                                                    <cstring>MinimumAMSVersion</cstring>
-                                                </property>
-                                                <property name="text">
-                                                    <string>.</string>
-                                                </property>
-                                                <property name="inputMask">
-                                                    <string>9.99; </string>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>MIN_AMS</string>
-                                                </property>
-                                            </widget>
-                                        </hbox>
-                                    </widget>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer59</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Vertical</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>20</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QCheckBox">
-                                        <property name="name">
-                                            <cstring>UnofficialOSSupport</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;Force unofficial operating system support</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+F</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>UNOFFICIAL_OS_SUPPORT</string>
-                                        </property>
-                                    </widget>
-                                </vbox>
-                            </widget>
-                        </hbox>
-                    </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer61</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>20</width>
-                                <height>280</height>
-                            </size>
-                        </property>
-                    </spacer>
-                </vbox>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>PageRelocFormat</cstring>
-                </property>
-                <attribute name="title">
-                    <string>&amp;Reloc Format</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QLabel">
-                        <property name="name">
-                            <cstring>textLabel1_2</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Choose the relocation format that suits your needs:</string>
-                        </property>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout11</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                            <property name="shortcut" >
+                              <string>Alt+O</string>
                             </property>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer16</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Fixed</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>20</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                            <widget class="QButtonGroup">
-                                <property name="name">
-                                    <cstring>buttonGroup1</cstring>
-                                </property>
-                                <property name="frameShape">
-                                    <enum>NoFrame</enum>
-                                </property>
-                                <property name="frameShadow">
-                                    <enum>Plain</enum>
-                                </property>
-                                <property name="title">
-                                    <string></string>
-                                </property>
-                                <property name="checkable">
-                                    <bool>false</bool>
-                                </property>
-                                <property name="checked">
-                                    <bool>false</bool>
-                                </property>
-                                <property name="exclusive">
-                                    <bool>false</bool>
-                                </property>
-                                <vbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>RelocAMS</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>AMS (large calls, &amp;no stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+N</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>RelocKernel</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;Kernel (medium calls, medium stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+K</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>KERNEL_FORMAT_RELOCS</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>RelocCompressed</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>C&amp;ompressed (smallest calls, large stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+O</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>COMPRESSED_FORMAT_RELOCS</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>RelocMlink</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;Mlink (small calls, medium stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+M</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>MLINK_FORMAT_RELOCS</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QCheckBox">
-                                        <property name="name">
-                                            <cstring>UseFLineJumps</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;F-Line (very small calls, no stub, but slow)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+F</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>USE_FLINE_JUMPS</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QLayoutWidget">
-                                        <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>Fixed</enum>
-                                                </property>
-                                                <property name="sizeHint">
-                                                    <size>
-                                                        <width>20</width>
-                                                        <height>20</height>
-                                                    </size>
-                                                </property>
-                                            </spacer>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>Use4ByteFLineJumps</cstring>
-                                                </property>
-                                                <property name="enabled">
-                                                    <bool>false</bool>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>&amp;4-Byte F-Line (even smaller) (!)</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+4</string>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>USE_4_BYTE_FLINE_JUMPS</string>
-                                                </property>
-                                            </widget>
-                                        </hbox>
-                                    </widget>
-                                </vbox>
-                            </widget>
-                        </hbox>
-                    </widget>
-                    <widget class="QLabel">
-                        <property name="name">
-                            <cstring>textLabel2_2</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Choose the ROM call format that suits your needs:</string>
-                        </property>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout12</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                            <property name="toolTip" stdset="0" >
+                              <string>COMPRESSED_FORMAT_RELOCS</string>
                             </property>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer16_2</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Fixed</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>20</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                            <widget class="QButtonGroup">
-                                <property name="name">
-                                    <cstring>buttonGroup2</cstring>
-                                </property>
-                                <property name="frameShape">
-                                    <enum>NoFrame</enum>
-                                </property>
-                                <property name="frameShadow">
-                                    <enum>Plain</enum>
-                                </property>
-                                <property name="title">
-                                    <string></string>
-                                </property>
-                                <vbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>ROMCallDirect</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;Direct (large calls, no stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+D</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>ROMCallKernel</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>K&amp;ernel (medium calls, medium stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+E</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>KERNEL_FORMAT_ROM_CALLS</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>ROMCallCompressed</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>Com&amp;pressed (smallest calls, large stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+P</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>COMPRESSED_FORMAT_ROM_CALLS</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>ROMCallMlink</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>Ml&amp;ink (small calls, medium stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+I</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>MLINK_FORMAT_ROM_CALLS</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>ROMCallFLine</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>F-&amp;Line (very small calls, no stub, but slow)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+L</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>USE_FLINE_ROM_CALLS</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QCheckBox">
-                                        <property name="name">
-                                            <cstring>OptimizeROMCalls</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>Op&amp;timized (medium calls, very small stub) (!)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+T</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>OPTIMIZE_ROM_CALLS</string>
-                                        </property>
-                                    </widget>
-                                </vbox>
-                            </widget>
-                        </hbox>
-                    </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>UseInternalFLineEmulator</cstring>
-                        </property>
-                        <property name="sizePolicy">
-                            <sizepolicy>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="RelocMlink" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
                                 <hsizetype>1</hsizetype>
                                 <vsizetype>1</vsizetype>
                                 <horstretch>0</horstretch>
                                 <verstretch>0</verstretch>
-                            </sizepolicy>
-                        </property>
-                        <property name="text">
-                            <string>&amp;Use internal F-Line emulator</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+U</string>
-                        </property>
-                        <property name="toolTip" stdset="0">
-                            <string>USE_INTERNAL_FLINE_EMULATOR</string>
-                        </property>
+                              </sizepolicy>
+                            </property>
+                            <property name="text" >
+                              <string>&amp;Mlink (small calls, medium stub)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+M</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>MLINK_FORMAT_RELOCS</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QCheckBox" name="UseFLineJumps" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>1</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="text" >
+                              <string>&amp;F-Line (very small calls, no stub, but slow)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+F</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>USE_FLINE_JUMPS</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <layout class="QHBoxLayout" >
+                            <property name="margin" >
+                              <number>0</number>
+                            </property>
+                            <item>
+                              <spacer name="spacer15" >
+                                <property name="sizeHint" >
+                                  <size>
+                                    <width>20</width>
+                                    <height>20</height>
+                                  </size>
+                                </property>
+                                <property name="sizeType" >
+                                  <enum>Fixed</enum>
+                                </property>
+                                <property name="orientation" >
+                                  <enum>Horizontal</enum>
+                                </property>
+                              </spacer>
+                            </item>
+                            <item>
+                              <widget class="QCheckBox" name="Use4ByteFLineJumps" >
+                                <property name="enabled" >
+                                  <bool>false</bool>
+                                </property>
+                                <property name="sizePolicy" >
+                                  <sizepolicy>
+                                    <hsizetype>1</hsizetype>
+                                    <vsizetype>1</vsizetype>
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                  </sizepolicy>
+                                </property>
+                                <property name="text" >
+                                  <string>&amp;4-Byte F-Line (even smaller) (!)</string>
+                                </property>
+                                <property name="shortcut" >
+                                  <string>Alt+4</string>
+                                </property>
+                                <property name="toolTip" stdset="0" >
+                                  <string>USE_4_BYTE_FLINE_JUMPS</string>
+                                </property>
+                              </widget>
+                            </item>
+                          </layout>
+                        </item>
+                      </layout>
                     </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer18</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>20</width>
-                                <height>20</height>
-                            </size>
-                        </property>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <widget class="QLabel" name="textLabel2_2" >
+                  <property name="text" >
+                    <string>Choose the ROM call format that suits your needs:</string>
+                  </property>
+                  <property name="wordWrap" >
+                    <bool>false</bool>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <spacer name="spacer16_2" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>20</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Fixed</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
                     </spacer>
-                </vbox>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>PageBSSDataFormat</cstring>
-                </property>
-                <attribute name="title">
-                    <string>&amp;BSS/Data Format</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QLabel">
-                        <property name="name">
-                            <cstring>textLabel3_2</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Choose the relocation format for BSS references (i.e. references to uninitialized global variables):</string>
-                        </property>
-                        <property name="alignment">
-                            <set>WordBreak|AlignVCenter</set>
-                        </property>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout14</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                  </item>
+                  <item>
+                    <widget class="Q3ButtonGroup" name="buttonGroup2" >
+                      <property name="title" >
+                        <string/>
+                      </property>
+                      <layout class="QVBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <widget class="QRadioButton" name="ROMCallDirect" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>1</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
                             </property>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer19</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Fixed</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>20</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                            <widget class="QButtonGroup">
-                                <property name="name">
-                                    <cstring>buttonGroup3</cstring>
-                                </property>
-                                <property name="frameShape">
-                                    <enum>NoFrame</enum>
-                                </property>
-                                <property name="frameShadow">
-                                    <enum>Plain</enum>
-                                </property>
-                                <property name="title">
-                                    <string></string>
-                                </property>
-                                <vbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>BSSMerge</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;Merge BSS section with data section</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+M</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>MERGE_BSS</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>BSSKernel</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;Kernel (medium calls, medium stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+K</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>KERNEL_FORMAT_BSS</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>BSSCompressed</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>C&amp;ompressed (smallest calls, large stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+O</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>COMPRESSED_FORMAT_BSS</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>BSSMlink</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>M&amp;link (small calls, medium stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+L</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>MLINK_FORMAT_BSS</string>
-                                        </property>
-                                    </widget>
-                                </vbox>
-                            </widget>
-                        </hbox>
-                    </widget>
-                    <widget class="QLabel">
-                        <property name="name">
-                            <cstring>textLabel4_2</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Choose the relocation format for references to a data variable, if it exists:</string>
-                        </property>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout15</cstring>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                            <property name="text" >
+                              <string>&amp;Direct (large calls, no stub)</string>
                             </property>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer19_2</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Fixed</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>20</width>
-                                        <height>20</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                            <widget class="QButtonGroup">
-                                <property name="name">
-                                    <cstring>buttonGroup4</cstring>
-                                </property>
-                                <property name="frameShape">
-                                    <enum>NoFrame</enum>
-                                </property>
-                                <property name="frameShadow">
-                                    <enum>Plain</enum>
-                                </property>
-                                <property name="title">
-                                    <string></string>
-                                </property>
-                                <vbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>DataVarKernel</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>K&amp;ernel (medium calls, medium stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+E</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>KERNEL_FORMAT_DATA_VAR</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>DataVarCompressed</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Com&amp;pressed (smallest calls, large stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+P</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>COMPRESSED_FORMAT_DATA_VAR</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>DataVarMlink</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Ml&amp;ink (small calls, medium stub)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+I</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>MLINK_FORMAT_DATA_VAR</string>
-                                        </property>
-                                    </widget>
-                                </vbox>
-                            </widget>
-                        </hbox>
+                            <property name="shortcut" >
+                              <string>Alt+D</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="ROMCallKernel" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>1</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="text" >
+                              <string>K&amp;ernel (medium calls, medium stub)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+E</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>KERNEL_FORMAT_ROM_CALLS</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="ROMCallCompressed" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>1</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="text" >
+                              <string>Com&amp;pressed (smallest calls, large stub)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+P</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>COMPRESSED_FORMAT_ROM_CALLS</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="ROMCallMlink" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>1</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="text" >
+                              <string>Ml&amp;ink (small calls, medium stub)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+I</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>MLINK_FORMAT_ROM_CALLS</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="ROMCallFLine" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>1</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="text" >
+                              <string>F-&amp;Line (very small calls, no stub, but slow)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+L</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>USE_FLINE_ROM_CALLS</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QCheckBox" name="OptimizeROMCalls" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>1</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="text" >
+                              <string>Op&amp;timized (medium calls, very small stub) (!)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+T</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>OPTIMIZE_ROM_CALLS</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
                     </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer21</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>20</width>
-                                <height>20</height>
-                            </size>
-                        </property>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="UseInternalFLineEmulator" >
+                  <property name="sizePolicy" >
+                    <sizepolicy>
+                      <hsizetype>1</hsizetype>
+                      <vsizetype>1</vsizetype>
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                    </sizepolicy>
+                  </property>
+                  <property name="text" >
+                    <string>&amp;Use internal F-Line emulator</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+U</string>
+                  </property>
+                  <property name="toolTip" stdset="0" >
+                    <string>USE_INTERNAL_FLINE_EMULATOR</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <spacer name="spacer18" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>20</width>
+                      <height>20</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
+                </spacer>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="PageBSSDataFormat" >
+            <attribute name="title" >
+              <string>&amp;BSS/Data Format</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="QLabel" name="textLabel3_2" >
+                  <property name="text" >
+                    <string>Choose the relocation format for BSS references (i.e. references to uninitialized global variables):</string>
+                  </property>
+                  <property name="alignment" >
+                    <set>Qt::AlignVCenter</set>
+                  </property>
+                  <property name="wordWrap" >
+                    <bool>true</bool>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <spacer name="spacer19" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>20</width>
+                          <height>20</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Fixed</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
                     </spacer>
-                </vbox>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>PageHomeScreen</cstring>
-                </property>
-                <attribute name="title">
-                    <string>&amp;Home Screen</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QButtonGroup">
-                        <property name="name">
-                            <cstring>buttonGroup6</cstring>
-                        </property>
-                        <property name="frameShape">
-                            <enum>NoFrame</enum>
-                        </property>
-                        <property name="frameShadow">
-                            <enum>Plain</enum>
-                        </property>
-                        <property name="title">
-                            <string></string>
-                        </property>
-                        <vbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                  </item>
+                  <item>
+                    <widget class="Q3ButtonGroup" name="buttonGroup3" >
+                      <property name="title" >
+                        <string/>
+                      </property>
+                      <layout class="QVBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <widget class="QRadioButton" name="BSSMerge" >
+                            <property name="text" >
+                              <string>&amp;Merge BSS section with data section</string>
                             </property>
-                            <widget class="QLabel">
-                                <property name="name">
-                                    <cstring>textLabel5</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>&lt;p&gt;The following options affect the program when it is run from the Home Screen.&lt;/p&gt;
-&lt;p&gt;Return Value:&lt;/p&gt;</string>
-                                </property>
-                                <property name="textFormat">
-                                    <enum>RichText</enum>
-                                </property>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout16</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer23</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>20</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>HomeDone</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>"&amp;Done"</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+D</string>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout17</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer23_2</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>20</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QRadioButton">
-                                        <property name="name">
-                                            <cstring>HomeCustomValue</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Custom &amp;value</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+V</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>RETURN_VALUE</string>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QLabel">
-                                <property name="name">
-                                    <cstring>textLabel6</cstring>
-                                </property>
-                                <property name="text">
-                                    <string>Note that you have to push a value to the expression stack if you use a custom return value, unless you throw an error.</string>
-                                </property>
-                                <property name="textFormat">
-                                    <enum>PlainText</enum>
-                                </property>
-                                <property name="alignment">
-                                    <set>WordBreak|AlignVCenter</set>
-                                </property>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout18</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer23_3</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>20</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QCheckBox">
-                                        <property name="name">
-                                            <cstring>EnableReturningErrors</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Enable returning &amp;errors to AMS</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+E</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>ENABLE_ERROR_RETURN</string>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout19</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer23_4</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>20</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QCheckBox">
-                                        <property name="name">
-                                            <cstring>SaveScreen</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>Save/restore &amp;LCD contents</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+L</string>
-                                        </property>
-                                        <property name="toolTip" stdset="0">
-                                            <string>SAVE_SCREEN</string>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                        </vbox>
+                            <property name="shortcut" >
+                              <string>Alt+M</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>MERGE_BSS</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="BSSKernel" >
+                            <property name="text" >
+                              <string>&amp;Kernel (medium calls, medium stub)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+K</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>KERNEL_FORMAT_BSS</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="BSSCompressed" >
+                            <property name="text" >
+                              <string>C&amp;ompressed (smallest calls, large stub)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+O</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>COMPRESSED_FORMAT_BSS</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="BSSMlink" >
+                            <property name="text" >
+                              <string>M&amp;link (small calls, medium stub)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+L</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>MLINK_FORMAT_BSS</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
                     </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer22</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>20</width>
-                                <height>51</height>
-                            </size>
-                        </property>
-                    </spacer>
-                </vbox>
-            </widget>
-        </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout34</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>textLabel1_3</cstring>
-                    </property>
-                    <property name="font">
-                        <font>
-                            <bold>1</bold>
-                        </font>
-                    </property>
-                    <property name="text">
-                        <string>Right-clicking on an option opens its help</string>
-                    </property>
-                    <property name="textFormat">
-                        <enum>AutoText</enum>
-                    </property>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <widget class="QLabel" name="textLabel4_2" >
+                  <property name="text" >
+                    <string>Choose the relocation format for references to a data variable, if it exists:</string>
+                  </property>
+                  <property name="wordWrap" >
+                    <bool>false</bool>
+                  </property>
                 </widget>
-                <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">
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <spacer name="spacer19_2" >
+                      <property name="sizeHint" >
                         <size>
-                            <width>343</width>
-                            <height>20</height>
+                          <width>20</width>
+                          <height>20</height>
                         </size>
-                    </property>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Fixed</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
+                    </spacer>
+                  </item>
+                  <item>
+                    <widget class="Q3ButtonGroup" name="buttonGroup4" >
+                      <property name="title" >
+                        <string/>
+                      </property>
+                      <layout class="QVBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <widget class="QRadioButton" name="DataVarKernel" >
+                            <property name="text" >
+                              <string>K&amp;ernel (medium calls, medium stub)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+E</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>KERNEL_FORMAT_DATA_VAR</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="DataVarCompressed" >
+                            <property name="text" >
+                              <string>Com&amp;pressed (smallest calls, large stub)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+P</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>COMPRESSED_FORMAT_DATA_VAR</string>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="DataVarMlink" >
+                            <property name="text" >
+                              <string>Ml&amp;ink (small calls, medium stub)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+I</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>MLINK_FORMAT_DATA_VAR</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </widget>
+                  </item>
+                </layout>
+              </item>
+              <item>
+                <spacer name="spacer21" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>20</width>
+                      <height>20</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
                 </spacer>
-                <widget class="KPushButton">
-                    <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>
-                    <property name="stdItem" stdset="0">
-                        <number>13</number>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="PageHomeScreen" >
+            <attribute name="title" >
+              <string>&amp;Home Screen</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="Q3ButtonGroup" name="buttonGroup6" >
+                  <property name="title" >
+                    <string/>
+                  </property>
+                  <layout class="QVBoxLayout" >
+                    <property name="margin" >
+                      <number>0</number>
                     </property>
+                    <item>
+                      <widget class="QLabel" name="textLabel5" >
+                        <property name="text" >
+                          <string>&lt;p>The following options affect the program when it is run from the Home Screen.&lt;/p>
+&lt;p>Return Value:&lt;/p></string>
+                        </property>
+                        <property name="textFormat" >
+                          <enum>Qt::RichText</enum>
+                        </property>
+                        <property name="wordWrap" >
+                          <bool>false</bool>
+                        </property>
+                      </widget>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <spacer name="spacer23" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>20</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="HomeDone" >
+                            <property name="text" >
+                              <string>"&amp;Done"</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+D</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <spacer name="spacer23_2" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>20</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="QRadioButton" name="HomeCustomValue" >
+                            <property name="text" >
+                              <string>Custom &amp;value</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+V</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>RETURN_VALUE</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <widget class="QLabel" name="textLabel6" >
+                        <property name="text" >
+                          <string>Note that you have to push a value to the expression stack if you use a custom return value, unless you throw an error.</string>
+                        </property>
+                        <property name="textFormat" >
+                          <enum>Qt::PlainText</enum>
+                        </property>
+                        <property name="alignment" >
+                          <set>Qt::AlignVCenter</set>
+                        </property>
+                        <property name="wordWrap" >
+                          <bool>true</bool>
+                        </property>
+                      </widget>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <spacer name="spacer23_3" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>20</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="QCheckBox" name="EnableReturningErrors" >
+                            <property name="text" >
+                              <string>Enable returning &amp;errors to AMS</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+E</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>ENABLE_ERROR_RETURN</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <spacer name="spacer23_4" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>20</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="QCheckBox" name="SaveScreen" >
+                            <property name="text" >
+                              <string>Save/restore &amp;LCD contents</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+L</string>
+                            </property>
+                            <property name="toolTip" stdset="0" >
+                              <string>SAVE_SCREEN</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                  </layout>
                 </widget>
-            </hbox>
+              </item>
+              <item>
+                <spacer name="spacer22" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>20</width>
+                      <height>51</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
+                </spacer>
+              </item>
+            </layout>
+          </widget>
         </widget>
-    </vbox>
-</widget>
-<connections>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="QLabel" name="textLabel1_3" >
+              <property name="font" >
+                <font>
+                  <bold>true</bold>
+                </font>
+              </property>
+              <property name="text" >
+                <string>Right-clicking on an option opens its help</string>
+              </property>
+              <property name="textFormat" >
+                <enum>Qt::AutoText</enum>
+              </property>
+              <property name="wordWrap" >
+                <bool>false</bool>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <spacer name="Horizontal Spacing2" >
+              <property name="sizeHint" >
+                <size>
+                  <width>343</width>
+                  <height>20</height>
+                </size>
+              </property>
+              <property name="sizeType" >
+                <enum>Expanding</enum>
+              </property>
+              <property name="orientation" >
+                <enum>Horizontal</enum>
+              </property>
+            </spacer>
+          </item>
+          <item>
+            <widget class="KPushButton" 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>
+              <property name="stdItem" stdset="0" >
+                <number>13</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <includes>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
     <connection>
-        <sender>buttonClose</sender>
-        <signal>clicked()</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>accept()</slot>
+      <sender>buttonClose</sender>
+      <signal>clicked()</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>accept()</slot>
     </connection>
     <connection>
-        <sender>CMinimumAMSVersion</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>CMinimumAMSVersion_toggled(bool)</slot>
+      <sender>CMinimumAMSVersion</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>CMinimumAMSVersion_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>TI89</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>CalcCheckbox_toggled(bool)</slot>
+      <sender>TI89</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>CalcCheckbox_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>TI92Plus</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>CalcCheckbox_toggled(bool)</slot>
+      <sender>TI92Plus</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>CalcCheckbox_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>V200</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>CalcCheckbox_toggled(bool)</slot>
+      <sender>V200</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>CalcCheckbox_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>Nostub</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>KernelRadiobutton_toggled(bool)</slot>
+      <sender>Nostub</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>KernelRadiobutton_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>UseKernel</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>KernelRadiobutton_toggled(bool)</slot>
+      <sender>UseKernel</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>KernelRadiobutton_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>PreOS</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>KernelRadiobutton_toggled(bool)</slot>
+      <sender>PreOS</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>KernelRadiobutton_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>UseFLineJumps</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>RelocSettings_toggled(bool)</slot>
+      <sender>UseFLineJumps</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>RelocSettings_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>ROMCallDirect</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>RelocSettings_toggled(bool)</slot>
+      <sender>ROMCallDirect</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>RelocSettings_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>ROMCallFLine</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>RelocSettings_toggled(bool)</slot>
+      <sender>ROMCallFLine</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>RelocSettings_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>Use4ByteFLineJumps</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProgramOptions</receiver>
-        <slot>RelocSettings_toggled(bool)</slot>
+      <sender>Use4ByteFLineJumps</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProgramOptions</receiver>
+      <slot>RelocSettings_toggled(bool)</slot>
     </connection>
-</connections>
-<includes>
-    <include location="local" impldecl="in implementation">programoptions.ui.h</include>
-</includes>
-<slots>
-    <slot>CMinimumAMSVersion_toggled( bool on )</slot>
-    <slot>CalcCheckbox_toggled( bool on_unused )</slot>
-    <slot>KernelRadiobutton_toggled( bool on_unused )</slot>
-    <slot>RelocSettings_toggled( bool on_unused )</slot>
-</slots>
-<functions>
-    <function specifier="non virtual">ImportSettings()</function>
-    <function specifier="non virtual">ExportSettings()</function>
-    <function access="protected">mousePressEvent( QMouseEvent * e )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>klineedit.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </connections>
+</ui>

+ 34 - 0
ktigcc/programoutput.cpp

@@ -0,0 +1,34 @@
+#include "programoutput.h"
+
+#include <qvariant.h>
+/*
+ *  Constructs a ProgramOutput as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+ProgramOutput::ProgramOutput(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+ProgramOutput::~ProgramOutput()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void ProgramOutput::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 19 - 0
ktigcc/programoutput.h

@@ -0,0 +1,19 @@
+#ifndef PROGRAMOUTPUT_H
+#define PROGRAMOUTPUT_H
+
+#include "ui_programoutput.h"
+
+class ProgramOutput : public QDialog, public Ui::ProgramOutput
+{
+    Q_OBJECT
+
+public:
+    ProgramOutput(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~ProgramOutput();
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // PROGRAMOUTPUT_H

+ 100 - 111
ktigcc/programoutput.ui

@@ -1,116 +1,105 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>ProgramOutput</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>ProgramOutput</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>ProgramOutput</class>
+  <widget class="QDialog" name="ProgramOutput" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>763</width>
+        <height>622</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>763</width>
-            <height>622</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>Program Output</string>
     </property>
-    <property name="caption">
-        <string>Program Output</string>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="KTextBrowser">
-            <property name="name">
-                <cstring>textBrowser</cstring>
-            </property>
-            <property name="font">
-                <font>
-                    <family>Monospace</family>
-                </font>
-            </property>
-            <property name="textFormat">
-                <enum>PlainText</enum>
-            </property>
-            <property name="wordWrap">
-                <enum>NoWrap</enum>
-            </property>
-            <property name="tabChangesFocus">
-                <bool>true</bool>
-            </property>
-            <property name="autoFormatting">
-                <set>AutoNone</set>
-            </property>
-        </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>Layout1</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>0</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </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="KPushButton">
-                    <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>
-                    <property name="default">
-                        <bool>true</bool>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>13</number>
-                    </property>
-                </widget>
-            </hbox>
+    <layout class="QVBoxLayout" >
+      <item>
+        <widget class="KTextBrowser" name="textBrowser" >
+          <property name="font" >
+            <font>
+              <family>Monospace</family>
+            </font>
+          </property>
+          <property name="textFormat" >
+            <enum>Qt::PlainText</enum>
+          </property>
+          <property name="wordWrap" >
+            <enum>NoWrap</enum>
+          </property>
+          <property name="tabChangesFocus" >
+            <bool>true</bool>
+          </property>
+          <property name="autoFormatting" >
+            <set>AutoNone</set>
+          </property>
         </widget>
-    </vbox>
-</widget>
-<connections>
-    <connection>
-        <sender>buttonClose</sender>
-        <signal>clicked()</signal>
-        <receiver>ProgramOutput</receiver>
-        <slot>close()</slot>
-    </connection>
-</connections>
-<tabstops>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <property name="spacing" >
+            <number>6</number>
+          </property>
+          <item>
+            <spacer name="Horizontal Spacing2" >
+              <property name="sizeHint" >
+                <size>
+                  <width>20</width>
+                  <height>20</height>
+                </size>
+              </property>
+              <property name="sizeType" >
+                <enum>Expanding</enum>
+              </property>
+              <property name="orientation" >
+                <enum>Horizontal</enum>
+              </property>
+            </spacer>
+          </item>
+          <item>
+            <widget class="KPushButton" 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>
+              <property name="default" >
+                <bool>true</bool>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>13</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <tabstops>
     <tabstop>buttonClose</tabstop>
     <tabstop>textBrowser</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>ktextbrowser.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </tabstops>
+  <includes>
+    <include location="local" >ktextbrowser.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
+    <connection>
+      <sender>buttonClose</sender>
+      <signal>clicked()</signal>
+      <receiver>ProgramOutput</receiver>
+      <slot>close()</slot>
+    </connection>
+  </connections>
+</ui>

+ 40 - 0
ktigcc/projectoptions.cpp

@@ -0,0 +1,40 @@
+#include "projectoptions.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "projectoptions.ui.h"
+/*
+ *  Constructs a ProjectOptions as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+ProjectOptions::ProjectOptions(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+    init();
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+ProjectOptions::~ProjectOptions()
+{
+    destroy();
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void ProjectOptions::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 34 - 0
ktigcc/projectoptions.h

@@ -0,0 +1,34 @@
+#ifndef PROJECTOPTIONS_H
+#define PROJECTOPTIONS_H
+
+#include "ui_projectoptions.h"
+
+class ProjectOptions : public QDialog, public Ui::ProjectOptions
+{
+    Q_OBJECT
+
+public:
+    ProjectOptions(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~ProjectOptions();
+
+public slots:
+    virtual void RegularProgram_toggled( bool state );
+    virtual void ExternalDataVariable_toggled( bool state );
+    virtual void CompressProgram_toggled( bool state );
+    virtual void CheckOncalcNames();
+    virtual void UpdateVisibilities();
+    virtual void ProgramOptionsFunc();
+    virtual void browseButton_clicked();
+
+protected slots:
+    virtual void languageChange();
+
+private:
+    void init();
+    void destroy();
+    void ImportSettings( void );
+    void ExportSettings( void );
+
+};
+
+#endif // PROJECTOPTIONS_H

+ 1423 - 1555
ktigcc/projectoptions.ui

@@ -1,1655 +1,1523 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>ProjectOptions</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>ProjectOptions</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>ProjectOptions</class>
+  <widget class="QDialog" name="ProjectOptions" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>465</width>
+        <height>457</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>465</width>
-            <height>457</height>
-        </rect>
+    <property name="sizePolicy" >
+      <sizepolicy>
+        <hsizetype>7</hsizetype>
+        <vsizetype>7</vsizetype>
+        <horstretch>0</horstretch>
+        <verstretch>0</verstretch>
+      </sizepolicy>
     </property>
-    <property name="sizePolicy">
-        <sizepolicy>
-            <hsizetype>7</hsizetype>
-            <vsizetype>7</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-        </sizepolicy>
+    <property name="windowTitle" >
+      <string>Project Options</string>
     </property>
-    <property name="caption">
-        <string>Project Options</string>
+    <property name="sizeGripEnabled" >
+      <bool>true</bool>
     </property>
-    <property name="sizeGripEnabled">
-        <bool>true</bool>
+    <property name="modal" >
+      <bool>false</bool>
     </property>
-    <property name="modal">
-        <bool>false</bool>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="QTabWidget">
-            <property name="name">
-                <cstring>PO_TabWidget</cstring>
-            </property>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>Widget8</cstring>
-                </property>
-                <attribute name="title">
-                    <string>Ge&amp;neral</string>
-                </attribute>
-                <hbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
+    <layout class="QVBoxLayout" >
+      <item>
+        <widget class="QTabWidget" name="PO_TabWidget" >
+          <widget class="QWidget" name="Widget8" >
+            <attribute name="title" >
+              <string>Ge&amp;neral</string>
+            </attribute>
+            <layout class="QHBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="Q3ButtonGroup" name="buttonGroup1" >
+                  <property name="sizePolicy" >
+                    <sizepolicy>
+                      <hsizetype>7</hsizetype>
+                      <vsizetype>7</vsizetype>
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                    </sizepolicy>
+                  </property>
+                  <property name="title" >
+                    <string>&amp;Target</string>
+                  </property>
+                  <layout class="QVBoxLayout" >
+                    <property name="margin" >
+                      <number>0</number>
                     </property>
-                    <widget class="QButtonGroup">
-                        <property name="name">
-                            <cstring>buttonGroup1</cstring>
+                    <item>
+                      <widget class="QRadioButton" name="RegularProgram" >
+                        <property name="sizePolicy" >
+                          <sizepolicy>
+                            <hsizetype>5</hsizetype>
+                            <vsizetype>1</vsizetype>
+                            <horstretch>0</horstretch>
+                            <verstretch>0</verstretch>
+                          </sizepolicy>
                         </property>
-                        <property name="sizePolicy">
-                            <sizepolicy>
-                                <hsizetype>7</hsizetype>
-                                <vsizetype>7</vsizetype>
+                        <property name="minimumSize" >
+                          <size>
+                            <width>0</width>
+                            <height>0</height>
+                          </size>
+                        </property>
+                        <property name="maximumSize" >
+                          <size>
+                            <width>32767</width>
+                            <height>32767</height>
+                          </size>
+                        </property>
+                        <property name="text" >
+                          <string>&amp;Regular Program (*.??z)</string>
+                        </property>
+                        <property name="shortcut" >
+                          <string>Alt+R</string>
+                        </property>
+                        <property name="checked" >
+                          <bool>true</bool>
+                        </property>
+                      </widget>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <spacer name="spacer10" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>20</width>
+                                <height>15</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="QCheckBox" name="ExternalDataVariable" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>5</hsizetype>
+                                <vsizetype>1</vsizetype>
                                 <horstretch>0</horstretch>
                                 <verstretch>0</verstretch>
-                            </sizepolicy>
+                              </sizepolicy>
+                            </property>
+                            <property name="minimumSize" >
+                              <size>
+                                <width>0</width>
+                                <height>0</height>
+                              </size>
+                            </property>
+                            <property name="maximumSize" >
+                              <size>
+                                <width>32767</width>
+                                <height>32767</height>
+                              </size>
+                            </property>
+                            <property name="text" >
+                              <string>External &amp;data variable (*-data.??y)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+D</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
                         </property>
-                        <property name="title">
-                            <string>&amp;Target</string>
+                        <item>
+                          <spacer name="spacer9" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>40</width>
+                                <height>15</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="QLabel" name="LOncalcVariableName_1" >
+                            <property name="enabled" >
+                              <bool>false</bool>
+                            </property>
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>5</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="minimumSize" >
+                              <size>
+                                <width>0</width>
+                                <height>0</height>
+                              </size>
+                            </property>
+                            <property name="maximumSize" >
+                              <size>
+                                <width>32767</width>
+                                <height>32767</height>
+                              </size>
+                            </property>
+                            <property name="text" >
+                              <string>On-calc &amp;variable name:</string>
+                            </property>
+                            <property name="alignment" >
+                              <set>Qt::AlignVCenter</set>
+                            </property>
+                            <property name="buddy" stdset="0" >
+                              <cstring>OncalcVariableName_1</cstring>
+                            </property>
+                            <property name="wordWrap" >
+                              <bool>false</bool>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="KLineEdit" name="OncalcVariableName_1" >
+                            <property name="enabled" >
+                              <bool>false</bool>
+                            </property>
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>7</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="minimumSize" >
+                              <size>
+                                <width>0</width>
+                                <height>0</height>
+                              </size>
+                            </property>
+                            <property name="maximumSize" >
+                              <size>
+                                <width>32767</width>
+                                <height>32767</height>
+                              </size>
+                            </property>
+                            <property name="maxLength" >
+                              <number>8</number>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
                         </property>
-                        <vbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                        <item>
+                          <spacer name="spacer8" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>40</width>
+                                <height>16</height>
+                              </size>
                             </property>
-                            <widget class="QRadioButton">
-                                <property name="name">
-                                    <cstring>RegularProgram</cstring>
-                                </property>
-                                <property name="sizePolicy">
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="QLabel" name="LCreateCopyNever" >
+                            <property name="enabled" >
+                              <bool>false</bool>
+                            </property>
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>0</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="minimumSize" >
+                              <size>
+                                <width>0</width>
+                                <height>0</height>
+                              </size>
+                            </property>
+                            <property name="maximumSize" >
+                              <size>
+                                <width>32767</width>
+                                <height>32767</height>
+                              </size>
+                            </property>
+                            <property name="text" >
+                              <string>Create copy:</string>
+                            </property>
+                            <property name="wordWrap" >
+                              <bool>false</bool>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="Q3ButtonGroup" name="buttonGroup7" >
+                            <property name="title" >
+                              <string/>
+                            </property>
+                            <layout class="QHBoxLayout" >
+                              <property name="margin" >
+                                <number>0</number>
+                              </property>
+                              <item>
+                                <widget class="QRadioButton" name="CreateCopyNever" >
+                                  <property name="enabled" >
+                                    <bool>false</bool>
+                                  </property>
+                                  <property name="sizePolicy" >
                                     <sizepolicy>
-                                        <hsizetype>5</hsizetype>
-                                        <vsizetype>1</vsizetype>
-                                        <horstretch>0</horstretch>
-                                        <verstretch>0</verstretch>
+                                      <hsizetype>1</hsizetype>
+                                      <vsizetype>1</vsizetype>
+                                      <horstretch>0</horstretch>
+                                      <verstretch>0</verstretch>
                                     </sizepolicy>
-                                </property>
-                                <property name="minimumSize">
+                                  </property>
+                                  <property name="minimumSize" >
                                     <size>
-                                        <width>0</width>
-                                        <height>0</height>
+                                      <width>0</width>
+                                      <height>0</height>
                                     </size>
-                                </property>
-                                <property name="maximumSize">
+                                  </property>
+                                  <property name="maximumSize" >
                                     <size>
-                                        <width>32767</width>
-                                        <height>32767</height>
+                                      <width>32767</width>
+                                      <height>32767</height>
                                     </size>
-                                </property>
-                                <property name="text">
-                                    <string>&amp;Regular Program (*.??z)</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+R</string>
-                                </property>
-                                <property name="checked">
+                                  </property>
+                                  <property name="text" >
+                                    <string>n&amp;ever</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+E</string>
+                                  </property>
+                                  <property name="checked" >
                                     <bool>true</bool>
-                                </property>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout12</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer10</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>20</width>
-                                                <height>15</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QCheckBox">
-                                        <property name="name">
-                                            <cstring>ExternalDataVariable</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>5</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="minimumSize">
-                                            <size>
-                                                <width>0</width>
-                                                <height>0</height>
-                                            </size>
-                                        </property>
-                                        <property name="maximumSize">
-                                            <size>
-                                                <width>32767</width>
-                                                <height>32767</height>
-                                            </size>
-                                        </property>
-                                        <property name="text">
-                                            <string>External &amp;data variable (*-data.??y)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+D</string>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout13</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer9</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>40</width>
-                                                <height>15</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QLabel">
-                                        <property name="name">
-                                            <cstring>LOncalcVariableName_1</cstring>
-                                        </property>
-                                        <property name="enabled">
-                                            <bool>false</bool>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>5</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="minimumSize">
-                                            <size>
-                                                <width>0</width>
-                                                <height>0</height>
-                                            </size>
-                                        </property>
-                                        <property name="maximumSize">
-                                            <size>
-                                                <width>32767</width>
-                                                <height>32767</height>
-                                            </size>
-                                        </property>
-                                        <property name="text">
-                                            <string>On-calc &amp;variable name:</string>
-                                        </property>
-                                        <property name="alignment">
-                                            <set>AlignVCenter</set>
-                                        </property>
-                                        <property name="buddy" stdset="0">
-                                            <cstring>OncalcVariableName_1</cstring>
-                                        </property>
-                                    </widget>
-                                    <widget class="KLineEdit">
-                                        <property name="name">
-                                            <cstring>OncalcVariableName_1</cstring>
-                                        </property>
-                                        <property name="enabled">
-                                            <bool>false</bool>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>7</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="minimumSize">
-                                            <size>
-                                                <width>0</width>
-                                                <height>0</height>
-                                            </size>
-                                        </property>
-                                        <property name="maximumSize">
-                                            <size>
-                                                <width>32767</width>
-                                                <height>32767</height>
-                                            </size>
-                                        </property>
-                                        <property name="maxLength">
-                                            <number>8</number>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout11</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer8</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>40</width>
-                                                <height>16</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QLabel">
-                                        <property name="name">
-                                            <cstring>LCreateCopyNever</cstring>
-                                        </property>
-                                        <property name="enabled">
-                                            <bool>false</bool>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>0</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="minimumSize">
-                                            <size>
-                                                <width>0</width>
-                                                <height>0</height>
-                                            </size>
-                                        </property>
-                                        <property name="maximumSize">
-                                            <size>
-                                                <width>32767</width>
-                                                <height>32767</height>
-                                            </size>
-                                        </property>
-                                        <property name="text">
-                                            <string>Create copy:</string>
-                                        </property>
-                                    </widget>
-                                    <widget class="QButtonGroup">
-                                        <property name="name">
-                                            <cstring>buttonGroup7</cstring>
-                                        </property>
-                                        <property name="frameShape">
-                                            <enum>NoFrame</enum>
-                                        </property>
-                                        <property name="frameShadow">
-                                            <enum>Plain</enum>
-                                        </property>
-                                        <property name="title">
-                                            <string></string>
-                                        </property>
-                                        <hbox>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>CreateCopyNever</cstring>
-                                                </property>
-                                                <property name="enabled">
-                                                    <bool>false</bool>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="minimumSize">
-                                                    <size>
-                                                        <width>0</width>
-                                                        <height>0</height>
-                                                    </size>
-                                                </property>
-                                                <property name="maximumSize">
-                                                    <size>
-                                                        <width>32767</width>
-                                                        <height>32767</height>
-                                                    </size>
-                                                </property>
-                                                <property name="text">
-                                                    <string>n&amp;ever</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+E</string>
-                                                </property>
-                                                <property name="checked">
-                                                    <bool>true</bool>
-                                                </property>
-                                            </widget>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>CreateCopyIfArchived</cstring>
-                                                </property>
-                                                <property name="enabled">
-                                                    <bool>false</bool>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="minimumSize">
-                                                    <size>
-                                                        <width>0</width>
-                                                        <height>0</height>
-                                                    </size>
-                                                </property>
-                                                <property name="maximumSize">
-                                                    <size>
-                                                        <width>32767</width>
-                                                        <height>32767</height>
-                                                    </size>
-                                                </property>
-                                                <property name="text">
-                                                    <string>if arc&amp;hived</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+H</string>
-                                                </property>
-                                                <property name="buttonGroupId">
-                                                    <number>1</number>
-                                                </property>
-                                            </widget>
-                                            <widget class="QRadioButton">
-                                                <property name="name">
-                                                    <cstring>CreateCopyAlways</cstring>
-                                                </property>
-                                                <property name="enabled">
-                                                    <bool>false</bool>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="minimumSize">
-                                                    <size>
-                                                        <width>0</width>
-                                                        <height>0</height>
-                                                    </size>
-                                                </property>
-                                                <property name="maximumSize">
-                                                    <size>
-                                                        <width>32767</width>
-                                                        <height>32767</height>
-                                                    </size>
-                                                </property>
-                                                <property name="text">
-                                                    <string>&amp;always</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+A</string>
-                                                </property>
-                                                <property name="buttonGroupId">
-                                                    <number>2</number>
-                                                </property>
-                                            </widget>
-                                        </hbox>
-                                    </widget>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer8_2</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Expanding</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>16</width>
-                                                <height>41</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                </hbox>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout18</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer11</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>20</width>
-                                                <height>15</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QCheckBox">
-                                        <property name="name">
-                                            <cstring>CompressProgram</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>5</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="minimumSize">
-                                            <size>
-                                                <width>0</width>
-                                                <height>0</height>
-                                            </size>
-                                        </property>
-                                        <property name="maximumSize">
-                                            <size>
-                                                <width>32767</width>
-                                                <height>32767</height>
-                                            </size>
-                                        </property>
-                                        <property name="text">
-                                            <string>Compre&amp;ss program (*.??y)</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+S</string>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout19</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer12</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Fixed</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>40</width>
-                                                <height>15</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QLabel">
-                                        <property name="name">
-                                            <cstring>LOncalcVariableName_2</cstring>
-                                        </property>
-                                        <property name="enabled">
-                                            <bool>false</bool>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>5</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="minimumSize">
-                                            <size>
-                                                <width>0</width>
-                                                <height>0</height>
-                                            </size>
-                                        </property>
-                                        <property name="maximumSize">
-                                            <size>
-                                                <width>32767</width>
-                                                <height>32767</height>
-                                            </size>
-                                        </property>
-                                        <property name="text">
-                                            <string>On-calc var&amp;iable name:</string>
-                                        </property>
-                                        <property name="alignment">
-                                            <set>AlignVCenter</set>
-                                        </property>
-                                        <property name="buddy" stdset="0">
-                                            <cstring>OncalcVariableName_2</cstring>
-                                        </property>
-                                    </widget>
-                                    <widget class="KLineEdit">
-                                        <property name="name">
-                                            <cstring>OncalcVariableName_2</cstring>
-                                        </property>
-                                        <property name="enabled">
-                                            <bool>false</bool>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>7</hsizetype>
-                                                <vsizetype>5</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="minimumSize">
-                                            <size>
-                                                <width>0</width>
-                                                <height>0</height>
-                                            </size>
-                                        </property>
-                                        <property name="maximumSize">
-                                            <size>
-                                                <width>32767</width>
-                                                <height>32767</height>
-                                            </size>
-                                        </property>
-                                        <property name="maxLength">
-                                            <number>8</number>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QRadioButton">
-                                <property name="name">
-                                    <cstring>FlashOperatingSystem</cstring>
-                                </property>
-                                <property name="sizePolicy">
-                                    <sizepolicy>
-                                        <hsizetype>5</hsizetype>
-                                        <vsizetype>1</vsizetype>
-                                        <horstretch>0</horstretch>
-                                        <verstretch>0</verstretch>
-                                    </sizepolicy>
-                                </property>
-                                <property name="minimumSize">
-                                    <size>
-                                        <width>0</width>
-                                        <height>0</height>
-                                    </size>
-                                </property>
-                                <property name="maximumSize">
-                                    <size>
-                                        <width>32767</width>
-                                        <height>32767</height>
-                                    </size>
-                                </property>
-                                <property name="text">
-                                    <string>Flash Operating S&amp;ystem  (experimental)</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+Y</string>
-                                </property>
-                            </widget>
-                            <widget class="QRadioButton">
-                                <property name="name">
-                                    <cstring>FargoProgram</cstring>
-                                </property>
-                                <property name="sizePolicy">
+                                  </property>
+                                </widget>
+                              </item>
+                              <item>
+                                <widget class="QRadioButton" name="CreateCopyIfArchived" >
+                                  <property name="enabled" >
+                                    <bool>false</bool>
+                                  </property>
+                                  <property name="sizePolicy" >
                                     <sizepolicy>
-                                        <hsizetype>5</hsizetype>
-                                        <vsizetype>1</vsizetype>
-                                        <horstretch>0</horstretch>
-                                        <verstretch>0</verstretch>
+                                      <hsizetype>1</hsizetype>
+                                      <vsizetype>1</vsizetype>
+                                      <horstretch>0</horstretch>
+                                      <verstretch>0</verstretch>
                                     </sizepolicy>
-                                </property>
-                                <property name="minimumSize">
+                                  </property>
+                                  <property name="minimumSize" >
                                     <size>
-                                        <width>0</width>
-                                        <height>0</height>
+                                      <width>0</width>
+                                      <height>0</height>
                                     </size>
-                                </property>
-                                <property name="maximumSize">
+                                  </property>
+                                  <property name="maximumSize" >
                                     <size>
-                                        <width>32767</width>
-                                        <height>32767</height>
+                                      <width>32767</width>
+                                      <height>32767</height>
                                     </size>
-                                </property>
-                                <property name="text">
-                                    <string>Far&amp;go Program (*.92p)  (experimental)</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+G</string>
-                                </property>
-                                <property name="checked">
+                                  </property>
+                                  <property name="text" >
+                                    <string>if arc&amp;hived</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+H</string>
+                                  </property>
+                                  <property name="buttonGroupId" >
+                                    <number>1</number>
+                                  </property>
+                                </widget>
+                              </item>
+                              <item>
+                                <widget class="QRadioButton" name="CreateCopyAlways" >
+                                  <property name="enabled" >
                                     <bool>false</bool>
-                                </property>
-                            </widget>
-                            <widget class="QRadioButton">
-                                <property name="name">
-                                    <cstring>FunctionArchive</cstring>
-                                </property>
-                                <property name="sizePolicy">
+                                  </property>
+                                  <property name="sizePolicy" >
                                     <sizepolicy>
-                                        <hsizetype>5</hsizetype>
-                                        <vsizetype>1</vsizetype>
-                                        <horstretch>0</horstretch>
-                                        <verstretch>0</verstretch>
+                                      <hsizetype>1</hsizetype>
+                                      <vsizetype>1</vsizetype>
+                                      <horstretch>0</horstretch>
+                                      <verstretch>0</verstretch>
                                     </sizepolicy>
-                                </property>
-                                <property name="minimumSize">
+                                  </property>
+                                  <property name="minimumSize" >
                                     <size>
-                                        <width>0</width>
-                                        <height>0</height>
+                                      <width>0</width>
+                                      <height>0</height>
                                     </size>
-                                </property>
-                                <property name="maximumSize">
+                                  </property>
+                                  <property name="maximumSize" >
                                     <size>
-                                        <width>32767</width>
-                                        <height>32767</height>
+                                      <width>32767</width>
+                                      <height>32767</height>
                                     </size>
-                                </property>
-                                <property name="text">
-                                    <string>&amp;Function Archive (*.a)</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+F</string>
-                                </property>
-                                <property name="buttonGroupId">
-                                    <number>1</number>
-                                </property>
-                            </widget>
-                        </vbox>
-                    </widget>
-                </hbox>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>Widget9</cstring>
-                </property>
-                <attribute name="title">
-                    <string>Co&amp;mpilation</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QButtonGroup">
-                        <property name="name">
-                            <cstring>buttonGroup2</cstring>
-                        </property>
-                        <property name="title">
-                            <string>S&amp;witches</string>
+                                  </property>
+                                  <property name="text" >
+                                    <string>&amp;always</string>
+                                  </property>
+                                  <property name="shortcut" >
+                                    <string>Alt+A</string>
+                                  </property>
+                                  <property name="buttonGroupId" >
+                                    <number>2</number>
+                                  </property>
+                                </widget>
+                              </item>
+                            </layout>
+                          </widget>
+                        </item>
+                        <item>
+                          <spacer name="spacer8_2" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>16</width>
+                                <height>41</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Expanding</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
                         </property>
-                        <vbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                        <item>
+                          <spacer name="spacer11" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>20</width>
+                                <height>15</height>
+                              </size>
                             </property>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout10</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QLabel">
-                                        <property name="name">
-                                            <cstring>LGCCSwitches</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>5</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;GCC Switches:</string>
-                                        </property>
-                                        <property name="alignment">
-                                            <set>AlignVCenter</set>
-                                        </property>
-                                        <property name="buddy" stdset="0">
-                                            <cstring>GCCSwitches</cstring>
-                                        </property>
-                                    </widget>
-                                    <widget class="KLineEdit">
-                                        <property name="name">
-                                            <cstring>GCCSwitches</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>7</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout11</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QLabel">
-                                        <property name="name">
-                                            <cstring>LAsSwitches</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>A&amp;s Switches:</string>
-                                        </property>
-                                        <property name="alignment">
-                                            <set>AlignVCenter</set>
-                                        </property>
-                                        <property name="buddy" stdset="0">
-                                            <cstring>AsSwitches</cstring>
-                                        </property>
-                                    </widget>
-                                    <widget class="KLineEdit">
-                                        <property name="name">
-                                            <cstring>AsSwitches</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>7</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout12</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QLabel">
-                                        <property name="name">
-                                            <cstring>LA68kSwitches</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;A68k Switches:</string>
-                                        </property>
-                                        <property name="alignment">
-                                            <set>AlignVCenter</set>
-                                        </property>
-                                        <property name="buddy" stdset="0">
-                                            <cstring>A68kSwitches</cstring>
-                                        </property>
-                                    </widget>
-                                    <widget class="KLineEdit">
-                                        <property name="name">
-                                            <cstring>A68kSwitches</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>7</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                        </vbox>
-                    </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer10_2</cstring>
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="QCheckBox" name="CompressProgram" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>5</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="minimumSize" >
+                              <size>
+                                <width>0</width>
+                                <height>0</height>
+                              </size>
+                            </property>
+                            <property name="maximumSize" >
+                              <size>
+                                <width>32767</width>
+                                <height>32767</height>
+                              </size>
+                            </property>
+                            <property name="text" >
+                              <string>Compre&amp;ss program (*.??y)</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+S</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
                         </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
+                        <item>
+                          <spacer name="spacer12" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>40</width>
+                                <height>15</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Fixed</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="QLabel" name="LOncalcVariableName_2" >
+                            <property name="enabled" >
+                              <bool>false</bool>
+                            </property>
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>5</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="minimumSize" >
+                              <size>
+                                <width>0</width>
+                                <height>0</height>
+                              </size>
+                            </property>
+                            <property name="maximumSize" >
+                              <size>
+                                <width>32767</width>
+                                <height>32767</height>
+                              </size>
+                            </property>
+                            <property name="text" >
+                              <string>On-calc var&amp;iable name:</string>
+                            </property>
+                            <property name="alignment" >
+                              <set>Qt::AlignVCenter</set>
+                            </property>
+                            <property name="buddy" stdset="0" >
+                              <cstring>OncalcVariableName_2</cstring>
+                            </property>
+                            <property name="wordWrap" >
+                              <bool>false</bool>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="KLineEdit" name="OncalcVariableName_2" >
+                            <property name="enabled" >
+                              <bool>false</bool>
+                            </property>
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>7</hsizetype>
+                                <vsizetype>5</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="minimumSize" >
+                              <size>
+                                <width>0</width>
+                                <height>0</height>
+                              </size>
+                            </property>
+                            <property name="maximumSize" >
+                              <size>
+                                <width>32767</width>
+                                <height>32767</height>
+                              </size>
+                            </property>
+                            <property name="maxLength" >
+                              <number>8</number>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <widget class="QRadioButton" name="FlashOperatingSystem" >
+                        <property name="sizePolicy" >
+                          <sizepolicy>
+                            <hsizetype>5</hsizetype>
+                            <vsizetype>1</vsizetype>
+                            <horstretch>0</horstretch>
+                            <verstretch>0</verstretch>
+                          </sizepolicy>
                         </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
+                        <property name="minimumSize" >
+                          <size>
+                            <width>0</width>
+                            <height>0</height>
+                          </size>
                         </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>51</width>
-                                <height>121</height>
-                            </size>
+                        <property name="maximumSize" >
+                          <size>
+                            <width>32767</width>
+                            <height>32767</height>
+                          </size>
                         </property>
-                    </spacer>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>GenerateDebugInformation</cstring>
+                        <property name="text" >
+                          <string>Flash Operating S&amp;ystem  (experimental)</string>
                         </property>
-                        <property name="text">
-                            <string>Generate &amp;debug information</string>
+                        <property name="shortcut" >
+                          <string>Alt+Y</string>
                         </property>
-                        <property name="accel">
-                            <string>Alt+D</string>
+                      </widget>
+                    </item>
+                    <item>
+                      <widget class="QRadioButton" name="FargoProgram" >
+                        <property name="sizePolicy" >
+                          <sizepolicy>
+                            <hsizetype>5</hsizetype>
+                            <vsizetype>1</vsizetype>
+                            <horstretch>0</horstretch>
+                            <verstretch>0</verstretch>
+                          </sizepolicy>
                         </property>
-                    </widget>
-                    <widget class="QLayoutWidget">
-                        <property name="name">
-                            <cstring>layout13</cstring>
+                        <property name="minimumSize" >
+                          <size>
+                            <width>0</width>
+                            <height>0</height>
+                          </size>
                         </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <spacer>
-                                <property name="name">
-                                    <cstring>spacer8_3</cstring>
-                                </property>
-                                <property name="orientation">
-                                    <enum>Horizontal</enum>
-                                </property>
-                                <property name="sizeType">
-                                    <enum>Expanding</enum>
-                                </property>
-                                <property name="sizeHint">
-                                    <size>
-                                        <width>291</width>
-                                        <height>30</height>
-                                    </size>
-                                </property>
-                            </spacer>
-                            <widget class="KPushButton">
-                                <property name="name">
-                                    <cstring>ProgramOptionsButton</cstring>
-                                </property>
-                                <property name="minimumSize">
-                                    <size>
-                                        <width>150</width>
-                                        <height>0</height>
-                                    </size>
-                                </property>
-                                <property name="text">
-                                    <string>P&amp;rogram Options...</string>
-                                </property>
-                                <property name="accel">
-                                    <string>Alt+R</string>
-                                </property>
-                            </widget>
-                        </hbox>
-                    </widget>
-                </vbox>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>TabPage</cstring>
-                </property>
-                <attribute name="title">
-                    <string>&amp;Linking</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QButtonGroup">
-                        <property name="name">
-                            <cstring>buttonGroup3</cstring>
+                        <property name="maximumSize" >
+                          <size>
+                            <width>32767</width>
+                            <height>32767</height>
+                          </size>
                         </property>
-                        <property name="title">
-                            <string>Optimi&amp;zation</string>
+                        <property name="text" >
+                          <string>Far&amp;go Program (*.92p)  (experimental)</string>
                         </property>
-                        <vbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout14</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QLayoutWidget">
-                                        <property name="name">
-                                            <cstring>layout12</cstring>
-                                        </property>
-                                        <vbox>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>NOPs</cstring>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>NOP&amp;s</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+S</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>ReturnSequences</cstring>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>&amp;Return Sequences</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+R</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>Branches</cstring>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>&amp;Branches</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+B</string>
-                                                </property>
-                                            </widget>
-                                        </vbox>
-                                    </widget>
-                                    <widget class="QLayoutWidget">
-                                        <property name="name">
-                                            <cstring>layout13</cstring>
-                                        </property>
-                                        <vbox>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>MoveLoadPushInstructions</cstring>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>Move/Load/Pus&amp;h Instructions</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+H</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>TestCompareInstructions</cstring>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>&amp;Test/Compare Instructions</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+T</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>CalculationInstructions</cstring>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>C&amp;alculation Instructions</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+A</string>
-                                                </property>
-                                            </widget>
-                                        </vbox>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout18</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer10_3</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Preferred</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>10</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QLayoutWidget">
-                                        <property name="name">
-                                            <cstring>layout16</cstring>
-                                        </property>
-                                        <vbox>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>RemoveUnusedSections</cstring>
-                                                </property>
-                                                <property name="enabled">
-                                                    <bool>true</bool>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>Remove &amp;unused sections</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+U</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>ReorderSections</cstring>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>R&amp;eorder sections</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+E</string>
-                                                </property>
-                                            </widget>
-                                        </vbox>
-                                    </widget>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer15_2</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Preferred</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>10</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="QLayoutWidget">
-                                        <property name="name">
-                                            <cstring>layout17</cstring>
-                                        </property>
-                                        <vbox>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>CutUnusedRanges</cstring>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>Cut unuse&amp;d ranges</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+D</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QCheckBox">
-                                                <property name="name">
-                                                    <cstring>MergeConstants</cstring>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>1</hsizetype>
-                                                        <vsizetype>1</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>Mer&amp;ge Constants</string>
-                                                </property>
-                                                <property name="accel">
-                                                    <string>Alt+G</string>
-                                                </property>
-                                            </widget>
-                                        </vbox>
-                                    </widget>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer11_2</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Preferred</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>10</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                </hbox>
-                            </widget>
-                        </vbox>
-                    </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>LinkAgainstStandardLibrary</cstring>
+                        <property name="shortcut" >
+                          <string>Alt+G</string>
                         </property>
-                        <property name="sizePolicy">
-                            <sizepolicy>
-                                <hsizetype>5</hsizetype>
-                                <vsizetype>1</vsizetype>
-                                <horstretch>0</horstretch>
-                                <verstretch>0</verstretch>
-                            </sizepolicy>
+                        <property name="checked" >
+                          <bool>false</bool>
                         </property>
-                        <property name="text">
-                            <string>Lin&amp;k against standard library (tigcc.a)</string>
+                      </widget>
+                    </item>
+                    <item>
+                      <widget class="QRadioButton" name="FunctionArchive" >
+                        <property name="sizePolicy" >
+                          <sizepolicy>
+                            <hsizetype>5</hsizetype>
+                            <vsizetype>1</vsizetype>
+                            <horstretch>0</horstretch>
+                            <verstretch>0</verstretch>
+                          </sizepolicy>
                         </property>
-                        <property name="accel">
-                            <string>Alt+K</string>
+                        <property name="minimumSize" >
+                          <size>
+                            <width>0</width>
+                            <height>0</height>
+                          </size>
                         </property>
-                    </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>InitializeBSSSection</cstring>
+                        <property name="maximumSize" >
+                          <size>
+                            <width>32767</width>
+                            <height>32767</height>
+                          </size>
                         </property>
-                        <property name="sizePolicy">
-                            <sizepolicy>
-                                <hsizetype>5</hsizetype>
-                                <vsizetype>1</vsizetype>
-                                <horstretch>0</horstretch>
-                                <verstretch>0</verstretch>
-                            </sizepolicy>
+                        <property name="text" >
+                          <string>&amp;Function Archive (*.a)</string>
                         </property>
-                        <property name="text">
-                            <string>&amp;Initialize BSS section</string>
+                        <property name="shortcut" >
+                          <string>Alt+F</string>
                         </property>
-                        <property name="accel">
-                            <string>Alt+I</string>
+                        <property name="buttonGroupId" >
+                          <number>1</number>
                         </property>
-                    </widget>
-                    <widget class="QCheckBox">
-                        <property name="name">
-                            <cstring>OutputVariableImageWithoutWrapper</cstring>
+                      </widget>
+                    </item>
+                  </layout>
+                </widget>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="Widget9" >
+            <attribute name="title" >
+              <string>Co&amp;mpilation</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="Q3ButtonGroup" name="buttonGroup2" >
+                  <property name="title" >
+                    <string>S&amp;witches</string>
+                  </property>
+                  <layout class="QVBoxLayout" >
+                    <property name="margin" >
+                      <number>0</number>
+                    </property>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
                         </property>
-                        <property name="sizePolicy">
-                            <sizepolicy>
+                        <item>
+                          <widget class="QLabel" name="LGCCSwitches" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
                                 <hsizetype>5</hsizetype>
                                 <vsizetype>1</vsizetype>
                                 <horstretch>0</horstretch>
                                 <verstretch>0</verstretch>
-                            </sizepolicy>
-                        </property>
-                        <property name="text">
-                            <string>Output &amp;variable image without wrapper (binary mode)</string>
-                        </property>
-                        <property name="accel">
-                            <string>Alt+V</string>
-                        </property>
-                    </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer15</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
+                              </sizepolicy>
+                            </property>
+                            <property name="text" >
+                              <string>&amp;GCC Switches:</string>
+                            </property>
+                            <property name="alignment" >
+                              <set>Qt::AlignVCenter</set>
+                            </property>
+                            <property name="buddy" stdset="0" >
+                              <cstring>GCCSwitches</cstring>
+                            </property>
+                            <property name="wordWrap" >
+                              <bool>false</bool>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="KLineEdit" name="GCCSwitches" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>7</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
                         </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>20</width>
-                                <height>30</height>
-                            </size>
+                        <item>
+                          <widget class="QLabel" name="LAsSwitches" >
+                            <property name="text" >
+                              <string>A&amp;s Switches:</string>
+                            </property>
+                            <property name="alignment" >
+                              <set>Qt::AlignVCenter</set>
+                            </property>
+                            <property name="buddy" stdset="0" >
+                              <cstring>AsSwitches</cstring>
+                            </property>
+                            <property name="wordWrap" >
+                              <bool>false</bool>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="KLineEdit" name="AsSwitches" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>7</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
                         </property>
+                        <item>
+                          <widget class="QLabel" name="LA68kSwitches" >
+                            <property name="text" >
+                              <string>&amp;A68k Switches:</string>
+                            </property>
+                            <property name="alignment" >
+                              <set>Qt::AlignVCenter</set>
+                            </property>
+                            <property name="buddy" stdset="0" >
+                              <cstring>A68kSwitches</cstring>
+                            </property>
+                            <property name="wordWrap" >
+                              <bool>false</bool>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <widget class="KLineEdit" name="A68kSwitches" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>7</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                  </layout>
+                </widget>
+              </item>
+              <item>
+                <spacer name="spacer10_2" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>51</width>
+                      <height>121</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
+                </spacer>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="GenerateDebugInformation" >
+                  <property name="text" >
+                    <string>Generate &amp;debug information</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+D</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <layout class="QHBoxLayout" >
+                  <property name="margin" >
+                    <number>0</number>
+                  </property>
+                  <item>
+                    <spacer name="spacer8_3" >
+                      <property name="sizeHint" >
+                        <size>
+                          <width>291</width>
+                          <height>30</height>
+                        </size>
+                      </property>
+                      <property name="sizeType" >
+                        <enum>Expanding</enum>
+                      </property>
+                      <property name="orientation" >
+                        <enum>Horizontal</enum>
+                      </property>
                     </spacer>
-                </vbox>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>TabPage</cstring>
-                </property>
-                <attribute name="title">
-                    <string>&amp;Post-Build</string>
-                </attribute>
-                <vbox>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
+                  </item>
+                  <item>
+                    <widget class="KPushButton" name="ProgramOptionsButton" >
+                      <property name="minimumSize" >
+                        <size>
+                          <width>150</width>
+                          <height>0</height>
+                        </size>
+                      </property>
+                      <property name="text" >
+                        <string>P&amp;rogram Options...</string>
+                      </property>
+                      <property name="shortcut" >
+                        <string>Alt+R</string>
+                      </property>
+                    </widget>
+                  </item>
+                </layout>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="TabPage" >
+            <attribute name="title" >
+              <string>&amp;Linking</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="Q3ButtonGroup" name="buttonGroup3" >
+                  <property name="title" >
+                    <string>Optimi&amp;zation</string>
+                  </property>
+                  <layout class="QVBoxLayout" >
+                    <property name="margin" >
+                      <number>0</number>
                     </property>
-                    <widget class="QButtonGroup">
-                        <property name="name">
-                            <cstring>buttonGroup4</cstring>
-                        </property>
-                        <property name="title">
-                            <string>Po&amp;st-Build Processing</string>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
                         </property>
-                        <vbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                        <item>
+                          <layout class="QVBoxLayout" >
+                            <property name="margin" >
+                              <number>0</number>
                             </property>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout24</cstring>
+                            <item>
+                              <widget class="QCheckBox" name="NOPs" >
+                                <property name="sizePolicy" >
+                                  <sizepolicy>
+                                    <hsizetype>1</hsizetype>
+                                    <vsizetype>1</vsizetype>
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                  </sizepolicy>
                                 </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QLabel">
-                                        <property name="name">
-                                            <cstring>LCallAfterBuilding</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>1</hsizetype>
-                                                <vsizetype>1</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>Call &amp;after building:</string>
-                                        </property>
-                                        <property name="alignment">
-                                            <set>AlignVCenter</set>
-                                        </property>
-                                        <property name="buddy" stdset="0">
-                                            <cstring>CallAfterBuilding</cstring>
-                                        </property>
-                                    </widget>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer16</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Expanding</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>121</width>
-                                                <height>20</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                    <widget class="KPushButton">
-                                        <property name="name">
-                                            <cstring>browseButton</cstring>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;Browse...</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+B</string>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="KLineEdit">
-                                <property name="name">
-                                    <cstring>CallAfterBuilding</cstring>
+                                <property name="text" >
+                                  <string>NOP&amp;s</string>
                                 </property>
-                            </widget>
-                        </vbox>
-                    </widget>
-                    <widget class="QButtonGroup">
-                        <property name="name">
-                            <cstring>buttonGroup5</cstring>
-                        </property>
-                        <property name="title">
-                            <string>&amp;Execution</string>
-                        </property>
-                        <hbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
+                                <property name="shortcut" >
+                                  <string>Alt+S</string>
+                                </property>
+                              </widget>
+                            </item>
+                            <item>
+                              <widget class="QCheckBox" name="ReturnSequences" >
+                                <property name="sizePolicy" >
+                                  <sizepolicy>
+                                    <hsizetype>1</hsizetype>
+                                    <vsizetype>1</vsizetype>
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                  </sizepolicy>
+                                </property>
+                                <property name="text" >
+                                  <string>&amp;Return Sequences</string>
+                                </property>
+                                <property name="shortcut" >
+                                  <string>Alt+R</string>
+                                </property>
+                              </widget>
+                            </item>
+                            <item>
+                              <widget class="QCheckBox" name="Branches" >
+                                <property name="sizePolicy" >
+                                  <sizepolicy>
+                                    <hsizetype>1</hsizetype>
+                                    <vsizetype>1</vsizetype>
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                  </sizepolicy>
+                                </property>
+                                <property name="text" >
+                                  <string>&amp;Branches</string>
+                                </property>
+                                <property name="shortcut" >
+                                  <string>Alt+B</string>
+                                </property>
+                              </widget>
+                            </item>
+                          </layout>
+                        </item>
+                        <item>
+                          <layout class="QVBoxLayout" >
+                            <property name="margin" >
+                              <number>0</number>
                             </property>
-                            <widget class="QLabel">
-                                <property name="name">
-                                    <cstring>LParameters</cstring>
+                            <item>
+                              <widget class="QCheckBox" name="MoveLoadPushInstructions" >
+                                <property name="sizePolicy" >
+                                  <sizepolicy>
+                                    <hsizetype>1</hsizetype>
+                                    <vsizetype>1</vsizetype>
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                  </sizepolicy>
                                 </property>
-                                <property name="sizePolicy">
-                                    <sizepolicy>
-                                        <hsizetype>1</hsizetype>
-                                        <vsizetype>1</vsizetype>
-                                        <horstretch>0</horstretch>
-                                        <verstretch>0</verstretch>
-                                    </sizepolicy>
+                                <property name="text" >
+                                  <string>Move/Load/Pus&amp;h Instructions</string>
                                 </property>
-                                <property name="text">
-                                    <string>Pa&amp;rameters:</string>
+                                <property name="shortcut" >
+                                  <string>Alt+H</string>
                                 </property>
-                                <property name="buddy" stdset="0">
-                                    <cstring>Parameters</cstring>
+                              </widget>
+                            </item>
+                            <item>
+                              <widget class="QCheckBox" name="TestCompareInstructions" >
+                                <property name="sizePolicy" >
+                                  <sizepolicy>
+                                    <hsizetype>1</hsizetype>
+                                    <vsizetype>1</vsizetype>
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                  </sizepolicy>
                                 </property>
-                            </widget>
-                            <widget class="KLineEdit">
-                                <property name="name">
-                                    <cstring>Parameters</cstring>
+                                <property name="text" >
+                                  <string>&amp;Test/Compare Instructions</string>
                                 </property>
-                            </widget>
-                        </hbox>
-                    </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer17</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Vertical</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>41</width>
-                                <height>40</height>
-                            </size>
+                                <property name="shortcut" >
+                                  <string>Alt+T</string>
+                                </property>
+                              </widget>
+                            </item>
+                            <item>
+                              <widget class="QCheckBox" name="CalculationInstructions" >
+                                <property name="sizePolicy" >
+                                  <sizepolicy>
+                                    <hsizetype>1</hsizetype>
+                                    <vsizetype>1</vsizetype>
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                  </sizepolicy>
+                                </property>
+                                <property name="text" >
+                                  <string>C&amp;alculation Instructions</string>
+                                </property>
+                                <property name="shortcut" >
+                                  <string>Alt+A</string>
+                                </property>
+                              </widget>
+                            </item>
+                          </layout>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
                         </property>
-                    </spacer>
-                </vbox>
-            </widget>
-        </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout11</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <spacer>
-                    <property name="name">
-                        <cstring>spacer7</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>240</width>
-                            <height>30</height>
-                        </size>
-                    </property>
+                        <item>
+                          <spacer name="spacer10_3" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>10</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Preferred</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <layout class="QVBoxLayout" >
+                            <property name="margin" >
+                              <number>0</number>
+                            </property>
+                            <item>
+                              <widget class="QCheckBox" name="RemoveUnusedSections" >
+                                <property name="enabled" >
+                                  <bool>true</bool>
+                                </property>
+                                <property name="sizePolicy" >
+                                  <sizepolicy>
+                                    <hsizetype>1</hsizetype>
+                                    <vsizetype>1</vsizetype>
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                  </sizepolicy>
+                                </property>
+                                <property name="text" >
+                                  <string>Remove &amp;unused sections</string>
+                                </property>
+                                <property name="shortcut" >
+                                  <string>Alt+U</string>
+                                </property>
+                              </widget>
+                            </item>
+                            <item>
+                              <widget class="QCheckBox" name="ReorderSections" >
+                                <property name="sizePolicy" >
+                                  <sizepolicy>
+                                    <hsizetype>1</hsizetype>
+                                    <vsizetype>1</vsizetype>
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                  </sizepolicy>
+                                </property>
+                                <property name="text" >
+                                  <string>R&amp;eorder sections</string>
+                                </property>
+                                <property name="shortcut" >
+                                  <string>Alt+E</string>
+                                </property>
+                              </widget>
+                            </item>
+                          </layout>
+                        </item>
+                        <item>
+                          <spacer name="spacer15_2" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>10</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Preferred</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <layout class="QVBoxLayout" >
+                            <property name="margin" >
+                              <number>0</number>
+                            </property>
+                            <item>
+                              <widget class="QCheckBox" name="CutUnusedRanges" >
+                                <property name="sizePolicy" >
+                                  <sizepolicy>
+                                    <hsizetype>1</hsizetype>
+                                    <vsizetype>1</vsizetype>
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                  </sizepolicy>
+                                </property>
+                                <property name="text" >
+                                  <string>Cut unuse&amp;d ranges</string>
+                                </property>
+                                <property name="shortcut" >
+                                  <string>Alt+D</string>
+                                </property>
+                              </widget>
+                            </item>
+                            <item>
+                              <widget class="QCheckBox" name="MergeConstants" >
+                                <property name="sizePolicy" >
+                                  <sizepolicy>
+                                    <hsizetype>1</hsizetype>
+                                    <vsizetype>1</vsizetype>
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                  </sizepolicy>
+                                </property>
+                                <property name="text" >
+                                  <string>Mer&amp;ge Constants</string>
+                                </property>
+                                <property name="shortcut" >
+                                  <string>Alt+G</string>
+                                </property>
+                              </widget>
+                            </item>
+                          </layout>
+                        </item>
+                        <item>
+                          <spacer name="spacer11_2" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>10</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Preferred</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                      </layout>
+                    </item>
+                  </layout>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="LinkAgainstStandardLibrary" >
+                  <property name="sizePolicy" >
+                    <sizepolicy>
+                      <hsizetype>5</hsizetype>
+                      <vsizetype>1</vsizetype>
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                    </sizepolicy>
+                  </property>
+                  <property name="text" >
+                    <string>Lin&amp;k against standard library (tigcc.a)</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+K</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="InitializeBSSSection" >
+                  <property name="sizePolicy" >
+                    <sizepolicy>
+                      <hsizetype>5</hsizetype>
+                      <vsizetype>1</vsizetype>
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                    </sizepolicy>
+                  </property>
+                  <property name="text" >
+                    <string>&amp;Initialize BSS section</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+I</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QCheckBox" name="OutputVariableImageWithoutWrapper" >
+                  <property name="sizePolicy" >
+                    <sizepolicy>
+                      <hsizetype>5</hsizetype>
+                      <vsizetype>1</vsizetype>
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                    </sizepolicy>
+                  </property>
+                  <property name="text" >
+                    <string>Output &amp;variable image without wrapper (binary mode)</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+V</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <spacer name="spacer15" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>20</width>
+                      <height>30</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
                 </spacer>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>buttonOk</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;OK</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+O</string>
-                    </property>
-                    <property name="autoRepeat">
-                        <bool>false</bool>
-                    </property>
-                    <property name="autoDefault">
-                        <bool>true</bool>
-                    </property>
-                    <property name="default">
-                        <bool>true</bool>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>1</number>
+              </item>
+            </layout>
+          </widget>
+          <widget class="QWidget" name="TabPage" >
+            <attribute name="title" >
+              <string>&amp;Post-Build</string>
+            </attribute>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="Q3ButtonGroup" name="buttonGroup4" >
+                  <property name="title" >
+                    <string>Po&amp;st-Build Processing</string>
+                  </property>
+                  <layout class="QVBoxLayout" >
+                    <property name="margin" >
+                      <number>0</number>
                     </property>
+                    <item>
+                      <layout class="QHBoxLayout" >
+                        <property name="margin" >
+                          <number>0</number>
+                        </property>
+                        <item>
+                          <widget class="QLabel" name="LCallAfterBuilding" >
+                            <property name="sizePolicy" >
+                              <sizepolicy>
+                                <hsizetype>1</hsizetype>
+                                <vsizetype>1</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                              </sizepolicy>
+                            </property>
+                            <property name="text" >
+                              <string>Call &amp;after building:</string>
+                            </property>
+                            <property name="alignment" >
+                              <set>Qt::AlignVCenter</set>
+                            </property>
+                            <property name="buddy" stdset="0" >
+                              <cstring>CallAfterBuilding</cstring>
+                            </property>
+                            <property name="wordWrap" >
+                              <bool>false</bool>
+                            </property>
+                          </widget>
+                        </item>
+                        <item>
+                          <spacer name="spacer16" >
+                            <property name="sizeHint" >
+                              <size>
+                                <width>121</width>
+                                <height>20</height>
+                              </size>
+                            </property>
+                            <property name="sizeType" >
+                              <enum>Expanding</enum>
+                            </property>
+                            <property name="orientation" >
+                              <enum>Horizontal</enum>
+                            </property>
+                          </spacer>
+                        </item>
+                        <item>
+                          <widget class="KPushButton" name="browseButton" >
+                            <property name="text" >
+                              <string>&amp;Browse...</string>
+                            </property>
+                            <property name="shortcut" >
+                              <string>Alt+B</string>
+                            </property>
+                          </widget>
+                        </item>
+                      </layout>
+                    </item>
+                    <item>
+                      <widget class="KLineEdit" name="CallAfterBuilding" />
+                    </item>
+                  </layout>
                 </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>buttonCancel</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Cancel</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
-                    <property name="autoDefault">
-                        <bool>true</bool>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>2</number>
+              </item>
+              <item>
+                <widget class="Q3ButtonGroup" name="buttonGroup5" >
+                  <property name="title" >
+                    <string>&amp;Execution</string>
+                  </property>
+                  <layout class="QHBoxLayout" >
+                    <property name="margin" >
+                      <number>0</number>
                     </property>
+                    <item>
+                      <widget class="QLabel" name="LParameters" >
+                        <property name="sizePolicy" >
+                          <sizepolicy>
+                            <hsizetype>1</hsizetype>
+                            <vsizetype>1</vsizetype>
+                            <horstretch>0</horstretch>
+                            <verstretch>0</verstretch>
+                          </sizepolicy>
+                        </property>
+                        <property name="text" >
+                          <string>Pa&amp;rameters:</string>
+                        </property>
+                        <property name="buddy" stdset="0" >
+                          <cstring>Parameters</cstring>
+                        </property>
+                        <property name="wordWrap" >
+                          <bool>false</bool>
+                        </property>
+                      </widget>
+                    </item>
+                    <item>
+                      <widget class="KLineEdit" name="Parameters" />
+                    </item>
+                  </layout>
                 </widget>
-            </hbox>
+              </item>
+              <item>
+                <spacer name="spacer17" >
+                  <property name="sizeHint" >
+                    <size>
+                      <width>41</width>
+                      <height>40</height>
+                    </size>
+                  </property>
+                  <property name="sizeType" >
+                    <enum>Expanding</enum>
+                  </property>
+                  <property name="orientation" >
+                    <enum>Vertical</enum>
+                  </property>
+                </spacer>
+              </item>
+            </layout>
+          </widget>
         </widget>
-    </vbox>
-</widget>
-<connections>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <spacer name="spacer7" >
+              <property name="sizeHint" >
+                <size>
+                  <width>240</width>
+                  <height>30</height>
+                </size>
+              </property>
+              <property name="sizeType" >
+                <enum>Expanding</enum>
+              </property>
+              <property name="orientation" >
+                <enum>Horizontal</enum>
+              </property>
+            </spacer>
+          </item>
+          <item>
+            <widget class="KPushButton" name="buttonOk" >
+              <property name="text" >
+                <string>&amp;OK</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+O</string>
+              </property>
+              <property name="autoRepeat" >
+                <bool>false</bool>
+              </property>
+              <property name="autoDefault" >
+                <bool>true</bool>
+              </property>
+              <property name="default" >
+                <bool>true</bool>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>1</number>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="buttonCancel" >
+              <property name="text" >
+                <string>&amp;Cancel</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+C</string>
+              </property>
+              <property name="autoDefault" >
+                <bool>true</bool>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>2</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <includes>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
     <connection>
-        <sender>buttonCancel</sender>
-        <signal>clicked()</signal>
-        <receiver>ProjectOptions</receiver>
-        <slot>reject()</slot>
+      <sender>buttonCancel</sender>
+      <signal>clicked()</signal>
+      <receiver>ProjectOptions</receiver>
+      <slot>reject()</slot>
     </connection>
     <connection>
-        <sender>buttonOk</sender>
-        <signal>clicked()</signal>
-        <receiver>ProjectOptions</receiver>
-        <slot>accept()</slot>
+      <sender>buttonOk</sender>
+      <signal>clicked()</signal>
+      <receiver>ProjectOptions</receiver>
+      <slot>accept()</slot>
     </connection>
     <connection>
-        <sender>RegularProgram</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProjectOptions</receiver>
-        <slot>RegularProgram_toggled(bool)</slot>
+      <sender>RegularProgram</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProjectOptions</receiver>
+      <slot>RegularProgram_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>ExternalDataVariable</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProjectOptions</receiver>
-        <slot>ExternalDataVariable_toggled(bool)</slot>
+      <sender>ExternalDataVariable</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProjectOptions</receiver>
+      <slot>ExternalDataVariable_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>CompressProgram</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProjectOptions</receiver>
-        <slot>CompressProgram_toggled(bool)</slot>
+      <sender>CompressProgram</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProjectOptions</receiver>
+      <slot>CompressProgram_toggled(bool)</slot>
     </connection>
     <connection>
-        <sender>OncalcVariableName_1</sender>
-        <signal>textChanged(const QString&amp;)</signal>
-        <receiver>ProjectOptions</receiver>
-        <slot>CheckOncalcNames()</slot>
+      <sender>OncalcVariableName_1</sender>
+      <signal>textChanged(QString)</signal>
+      <receiver>ProjectOptions</receiver>
+      <slot>CheckOncalcNames()</slot>
     </connection>
     <connection>
-        <sender>OncalcVariableName_2</sender>
-        <signal>textChanged(const QString&amp;)</signal>
-        <receiver>ProjectOptions</receiver>
-        <slot>CheckOncalcNames()</slot>
+      <sender>OncalcVariableName_2</sender>
+      <signal>textChanged(QString)</signal>
+      <receiver>ProjectOptions</receiver>
+      <slot>CheckOncalcNames()</slot>
     </connection>
     <connection>
-        <sender>FunctionArchive</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>ProjectOptions</receiver>
-        <slot>UpdateVisibilities()</slot>
+      <sender>FunctionArchive</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>ProjectOptions</receiver>
+      <slot>UpdateVisibilities()</slot>
     </connection>
     <connection>
-        <sender>PO_TabWidget</sender>
-        <signal>currentChanged(QWidget*)</signal>
-        <receiver>ProjectOptions</receiver>
-        <slot>UpdateVisibilities()</slot>
+      <sender>PO_TabWidget</sender>
+      <signal>currentChanged(QWidget*)</signal>
+      <receiver>ProjectOptions</receiver>
+      <slot>UpdateVisibilities()</slot>
     </connection>
     <connection>
-        <sender>ProgramOptionsButton</sender>
-        <signal>clicked()</signal>
-        <receiver>ProjectOptions</receiver>
-        <slot>ProgramOptionsFunc()</slot>
+      <sender>ProgramOptionsButton</sender>
+      <signal>clicked()</signal>
+      <receiver>ProjectOptions</receiver>
+      <slot>ProgramOptionsFunc()</slot>
     </connection>
     <connection>
-        <sender>browseButton</sender>
-        <signal>clicked()</signal>
-        <receiver>ProjectOptions</receiver>
-        <slot>browseButton_clicked()</slot>
+      <sender>browseButton</sender>
+      <signal>clicked()</signal>
+      <receiver>ProjectOptions</receiver>
+      <slot>browseButton_clicked()</slot>
     </connection>
-</connections>
-<includes>
-    <include location="local" impldecl="in implementation">projectoptions.ui.h</include>
-</includes>
-<slots>
-    <slot>RegularProgram_toggled( bool state )</slot>
-    <slot>ExternalDataVariable_toggled( bool state )</slot>
-    <slot>CompressProgram_toggled( bool state )</slot>
-    <slot>CheckOncalcNames()</slot>
-    <slot>UpdateVisibilities()</slot>
-    <slot>ProgramOptionsFunc()</slot>
-    <slot>browseButton_clicked()</slot>
-</slots>
-<functions>
-    <function access="private" specifier="non virtual">init()</function>
-    <function access="private" specifier="non virtual">destroy()</function>
-    <function access="private" specifier="non virtual">ImportSettings( void )</function>
-    <function access="private" specifier="non virtual">ExportSettings( void )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>klineedit.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </connections>
+</ui>

+ 38 - 0
ktigcc/selectcolors.cpp

@@ -0,0 +1,38 @@
+#include "selectcolors.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "selectcolors.ui.h"
+/*
+ *  Constructs a SelectColors as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+SelectColors::SelectColors(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+SelectColors::~SelectColors()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void SelectColors::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 25 - 0
ktigcc/selectcolors.h

@@ -0,0 +1,25 @@
+#ifndef SELECTCOLORS_H
+#define SELECTCOLORS_H
+
+#include "ui_selectcolors.h"
+
+class SelectColors : public QDialog, public Ui::SelectColors
+{
+    Q_OBJECT
+
+public:
+    SelectColors(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~SelectColors();
+
+public slots:
+    virtual void colorList_selectionChanged();
+    virtual void addButton_clicked();
+    virtual void removeButton_clicked();
+    virtual void editButton_clicked();
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // SELECTCOLORS_H

+ 161 - 183
ktigcc/selectcolors.ui

@@ -1,200 +1,178 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>SelectColors</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>SelectColors</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>SelectColors</class>
+  <widget class="QDialog" name="SelectColors" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>215</width>
+        <height>173</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>215</width>
-            <height>173</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>Select Colors</string>
     </property>
-    <property name="caption">
-        <string>Select Colors</string>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout41</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="K3ListBox">
-                    <property name="name">
-                        <cstring>colorList</cstring>
-                    </property>
-                </widget>
-                <widget class="QLayoutWidget">
-                    <property name="name">
-                        <cstring>layout40</cstring>
-                    </property>
-                    <vbox>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <widget class="KPushButton">
-                            <property name="name">
-                                <cstring>addButton</cstring>
-                            </property>
-                            <property name="text">
-                                <string>&amp;Add...</string>
-                            </property>
-                            <property name="accel">
-                                <string>Alt+A</string>
-                            </property>
-                        </widget>
-                        <widget class="KPushButton">
-                            <property name="name">
-                                <cstring>removeButton</cstring>
-                            </property>
-                            <property name="enabled">
-                                <bool>false</bool>
-                            </property>
-                            <property name="text">
-                                <string>&amp;Remove</string>
-                            </property>
-                            <property name="accel">
-                                <string>Alt+R</string>
-                            </property>
-                        </widget>
-                        <widget class="KPushButton">
-                            <property name="name">
-                                <cstring>editButton</cstring>
-                            </property>
-                            <property name="enabled">
-                                <bool>false</bool>
-                            </property>
-                            <property name="text">
-                                <string>&amp;Edit...</string>
-                            </property>
-                            <property name="accel">
-                                <string>Alt+E</string>
-                            </property>
-                        </widget>
-                    </vbox>
+    <layout class="QVBoxLayout" >
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="K3ListBox" name="colorList" />
+          </item>
+          <item>
+            <layout class="QVBoxLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item>
+                <widget class="KPushButton" name="addButton" >
+                  <property name="text" >
+                    <string>&amp;Add...</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+A</string>
+                  </property>
                 </widget>
-            </hbox>
-        </widget>
-        <spacer>
-            <property name="name">
-                <cstring>spacer18</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Vertical</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Expanding</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>20</width>
-                    <height>3</height>
-                </size>
-            </property>
-        </spacer>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout2</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>okButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;OK</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+O</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>1</number>
-                    </property>
+              </item>
+              <item>
+                <widget class="KPushButton" name="removeButton" >
+                  <property name="enabled" >
+                    <bool>false</bool>
+                  </property>
+                  <property name="text" >
+                    <string>&amp;Remove</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+R</string>
+                  </property>
                 </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>cancelButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Cancel</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>2</number>
-                    </property>
+              </item>
+              <item>
+                <widget class="KPushButton" name="editButton" >
+                  <property name="enabled" >
+                    <bool>false</bool>
+                  </property>
+                  <property name="text" >
+                    <string>&amp;Edit...</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+E</string>
+                  </property>
                 </widget>
-            </hbox>
-        </widget>
-    </vbox>
-</widget>
-<connections>
+              </item>
+            </layout>
+          </item>
+        </layout>
+      </item>
+      <item>
+        <spacer name="spacer18" >
+          <property name="sizeHint" >
+            <size>
+              <width>20</width>
+              <height>3</height>
+            </size>
+          </property>
+          <property name="sizeType" >
+            <enum>Expanding</enum>
+          </property>
+          <property name="orientation" >
+            <enum>Vertical</enum>
+          </property>
+        </spacer>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="KPushButton" name="okButton" >
+              <property name="text" >
+                <string>&amp;OK</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+O</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>1</number>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="cancelButton" >
+              <property name="text" >
+                <string>&amp;Cancel</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+C</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>2</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <customwidgets>
+    <customwidget>
+      <class>K3ListBox</class>
+      <extends>Q3ListBox</extends>
+      <header>k3listbox.h</header>
+    </customwidget>
+  </customwidgets>
+  <includes>
+    <include location="local" >k3listbox.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
     <connection>
-        <sender>okButton</sender>
-        <signal>clicked()</signal>
-        <receiver>SelectColors</receiver>
-        <slot>accept()</slot>
+      <sender>okButton</sender>
+      <signal>clicked()</signal>
+      <receiver>SelectColors</receiver>
+      <slot>accept()</slot>
     </connection>
     <connection>
-        <sender>cancelButton</sender>
-        <signal>clicked()</signal>
-        <receiver>SelectColors</receiver>
-        <slot>reject()</slot>
+      <sender>cancelButton</sender>
+      <signal>clicked()</signal>
+      <receiver>SelectColors</receiver>
+      <slot>reject()</slot>
     </connection>
     <connection>
-        <sender>colorList</sender>
-        <signal>selectionChanged()</signal>
-        <receiver>SelectColors</receiver>
-        <slot>colorList_selectionChanged()</slot>
+      <sender>colorList</sender>
+      <signal>selectionChanged()</signal>
+      <receiver>SelectColors</receiver>
+      <slot>colorList_selectionChanged()</slot>
     </connection>
     <connection>
-        <sender>addButton</sender>
-        <signal>clicked()</signal>
-        <receiver>SelectColors</receiver>
-        <slot>addButton_clicked()</slot>
+      <sender>addButton</sender>
+      <signal>clicked()</signal>
+      <receiver>SelectColors</receiver>
+      <slot>addButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>removeButton</sender>
-        <signal>clicked()</signal>
-        <receiver>SelectColors</receiver>
-        <slot>removeButton_clicked()</slot>
+      <sender>removeButton</sender>
+      <signal>clicked()</signal>
+      <receiver>SelectColors</receiver>
+      <slot>removeButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>editButton</sender>
-        <signal>clicked()</signal>
-        <receiver>SelectColors</receiver>
-        <slot>editButton_clicked()</slot>
+      <sender>editButton</sender>
+      <signal>clicked()</signal>
+      <receiver>SelectColors</receiver>
+      <slot>editButton_clicked()</slot>
     </connection>
-</connections>
-<includes>
-    <include location="local" impldecl="in implementation">selectcolors.ui.h</include>
-</includes>
-<slots>
-    <slot>colorList_selectionChanged()</slot>
-    <slot>addButton_clicked()</slot>
-    <slot>removeButton_clicked()</slot>
-    <slot>editButton_clicked()</slot>
-</slots>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>k3listbox.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </connections>
+</ui>

+ 38 - 0
ktigcc/selectstyle.cpp

@@ -0,0 +1,38 @@
+#include "selectstyle.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "selectstyle.ui.h"
+/*
+ *  Constructs a SelectStyle as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+SelectStyle::SelectStyle(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+SelectStyle::~SelectStyle()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void SelectStyle::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 22 - 0
ktigcc/selectstyle.h

@@ -0,0 +1,22 @@
+#ifndef SELECTSTYLE_H
+#define SELECTSTYLE_H
+
+#include "ui_selectstyle.h"
+
+class SelectStyle : public QDialog, public Ui::SelectStyle
+{
+    Q_OBJECT
+
+public:
+    SelectStyle(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~SelectStyle();
+
+public slots:
+    virtual void customStyle_toggled( bool on );
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // SELECTSTYLE_H

+ 183 - 210
ktigcc/selectstyle.ui

@@ -1,206 +1,167 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>SelectStyle</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>SelectStyle</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>SelectStyle</class>
+  <widget class="QDialog" name="SelectStyle" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>200</width>
+        <height>143</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>200</width>
-            <height>143</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>Select Style</string>
     </property>
-    <property name="caption">
-        <string>Select Style</string>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="QCheckBox">
-            <property name="name">
-                <cstring>customStyle</cstring>
-            </property>
-            <property name="text">
-                <string>Custom &amp;Style</string>
-            </property>
-            <property name="accel">
-                <string>Alt+S</string>
-            </property>
-        </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout38</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <spacer>
-                    <property name="name">
-                        <cstring>spacer42</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>33</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="QLayoutWidget">
-                    <property name="name">
-                        <cstring>layout37</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <widget class="QCheckBox" row="0" column="1">
-                            <property name="name">
-                                <cstring>underlineChk</cstring>
-                            </property>
-                            <property name="enabled">
-                                <bool>false</bool>
-                            </property>
-                            <property name="text">
-                                <string>&amp;Underline</string>
-                            </property>
-                            <property name="accel">
-                                <string>Alt+U</string>
-                            </property>
-                        </widget>
-                        <widget class="QCheckBox" row="0" column="0">
-                            <property name="name">
-                                <cstring>boldChk</cstring>
-                            </property>
-                            <property name="enabled">
-                                <bool>false</bool>
-                            </property>
-                            <property name="text">
-                                <string>&amp;Bold</string>
-                            </property>
-                            <property name="accel">
-                                <string>Alt+B</string>
-                            </property>
-                        </widget>
-                        <widget class="QCheckBox" row="1" column="0">
-                            <property name="name">
-                                <cstring>italicChk</cstring>
-                            </property>
-                            <property name="enabled">
-                                <bool>false</bool>
-                            </property>
-                            <property name="text">
-                                <string>&amp;Italic</string>
-                            </property>
-                            <property name="accel">
-                                <string>Alt+I</string>
-                            </property>
-                        </widget>
-                        <widget class="QCheckBox" row="1" column="1">
-                            <property name="name">
-                                <cstring>strikeoutChk</cstring>
-                            </property>
-                            <property name="enabled">
-                                <bool>false</bool>
-                            </property>
-                            <property name="text">
-                                <string>S&amp;trike Out</string>
-                            </property>
-                            <property name="accel">
-                                <string>Alt+T</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </hbox>
+    <layout class="QVBoxLayout" >
+      <item>
+        <widget class="QCheckBox" name="customStyle" >
+          <property name="text" >
+            <string>Custom &amp;Style</string>
+          </property>
+          <property name="shortcut" >
+            <string>Alt+S</string>
+          </property>
         </widget>
-        <spacer>
-            <property name="name">
-                <cstring>spacer18</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Vertical</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Expanding</enum>
-            </property>
-            <property name="sizeHint">
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <spacer name="spacer42" >
+              <property name="sizeHint" >
                 <size>
-                    <width>20</width>
-                    <height>3</height>
+                  <width>33</width>
+                  <height>20</height>
                 </size>
-            </property>
-        </spacer>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout2</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>okButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;OK</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+O</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>1</number>
-                    </property>
+              </property>
+              <property name="sizeType" >
+                <enum>Expanding</enum>
+              </property>
+              <property name="orientation" >
+                <enum>Horizontal</enum>
+              </property>
+            </spacer>
+          </item>
+          <item>
+            <layout class="QGridLayout" >
+              <property name="margin" >
+                <number>0</number>
+              </property>
+              <item row="0" column="1" >
+                <widget class="QCheckBox" name="underlineChk" >
+                  <property name="enabled" >
+                    <bool>false</bool>
+                  </property>
+                  <property name="text" >
+                    <string>&amp;Underline</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+U</string>
+                  </property>
                 </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>cancelButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Cancel</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>2</number>
-                    </property>
+              </item>
+              <item row="0" column="0" >
+                <widget class="QCheckBox" name="boldChk" >
+                  <property name="enabled" >
+                    <bool>false</bool>
+                  </property>
+                  <property name="text" >
+                    <string>&amp;Bold</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+B</string>
+                  </property>
                 </widget>
-            </hbox>
-        </widget>
-    </vbox>
-</widget>
-<connections>
-    <connection>
-        <sender>okButton</sender>
-        <signal>clicked()</signal>
-        <receiver>SelectStyle</receiver>
-        <slot>accept()</slot>
-    </connection>
-    <connection>
-        <sender>cancelButton</sender>
-        <signal>clicked()</signal>
-        <receiver>SelectStyle</receiver>
-        <slot>reject()</slot>
-    </connection>
-    <connection>
-        <sender>customStyle</sender>
-        <signal>toggled(bool)</signal>
-        <receiver>SelectStyle</receiver>
-        <slot>customStyle_toggled(bool)</slot>
-    </connection>
-</connections>
-<tabstops>
+              </item>
+              <item row="1" column="0" >
+                <widget class="QCheckBox" name="italicChk" >
+                  <property name="enabled" >
+                    <bool>false</bool>
+                  </property>
+                  <property name="text" >
+                    <string>&amp;Italic</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+I</string>
+                  </property>
+                </widget>
+              </item>
+              <item row="1" column="1" >
+                <widget class="QCheckBox" name="strikeoutChk" >
+                  <property name="enabled" >
+                    <bool>false</bool>
+                  </property>
+                  <property name="text" >
+                    <string>S&amp;trike Out</string>
+                  </property>
+                  <property name="shortcut" >
+                    <string>Alt+T</string>
+                  </property>
+                </widget>
+              </item>
+            </layout>
+          </item>
+        </layout>
+      </item>
+      <item>
+        <spacer name="spacer18" >
+          <property name="sizeHint" >
+            <size>
+              <width>20</width>
+              <height>3</height>
+            </size>
+          </property>
+          <property name="sizeType" >
+            <enum>Expanding</enum>
+          </property>
+          <property name="orientation" >
+            <enum>Vertical</enum>
+          </property>
+        </spacer>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="KPushButton" name="okButton" >
+              <property name="text" >
+                <string>&amp;OK</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+O</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>1</number>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="cancelButton" >
+              <property name="text" >
+                <string>&amp;Cancel</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+C</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>2</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <tabstops>
     <tabstop>customStyle</tabstop>
     <tabstop>boldChk</tabstop>
     <tabstop>underlineChk</tabstop>
@@ -208,17 +169,29 @@
     <tabstop>strikeoutChk</tabstop>
     <tabstop>okButton</tabstop>
     <tabstop>cancelButton</tabstop>
-</tabstops>
-<includes>
-    <include location="local" impldecl="in implementation">selectstyle.ui.h</include>
-</includes>
-<slots>
-    <slot>customStyle_toggled( bool on )</slot>
-</slots>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </tabstops>
+  <includes>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
+    <connection>
+      <sender>okButton</sender>
+      <signal>clicked()</signal>
+      <receiver>SelectStyle</receiver>
+      <slot>accept()</slot>
+    </connection>
+    <connection>
+      <sender>cancelButton</sender>
+      <signal>clicked()</signal>
+      <receiver>SelectStyle</receiver>
+      <slot>reject()</slot>
+    </connection>
+    <connection>
+      <sender>customStyle</sender>
+      <signal>toggled(bool)</signal>
+      <receiver>SelectStyle</receiver>
+      <slot>customStyle_toggled(bool)</slot>
+    </connection>
+  </connections>
+</ui>

+ 38 - 0
ktigcc/srcfilewin.cpp

@@ -0,0 +1,38 @@
+#include "srcfilewin.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "srcfilewin.ui.h"
+/*
+ *  Constructs a SourceFileWindow as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ */
+SourceFileWindow::SourceFileWindow(QWidget* parent, const char* name, Qt::WindowFlags fl)
+    : Q3MainWindow(parent, name, fl)
+{
+    setupUi(this);
+
+    (void)statusBar();
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+SourceFileWindow::~SourceFileWindow()
+{
+    destroy();
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void SourceFileWindow::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 85 - 0
ktigcc/srcfilewin.h

@@ -0,0 +1,85 @@
+#ifndef SOURCEFILEWINDOW_H
+#define SOURCEFILEWINDOW_H
+
+#include "ui_srcfilewin.h"
+
+class SourceFileWindow : public Q3MainWindow, public Ui::SourceFileWindow
+{
+    Q_OBJECT
+
+public:
+    SourceFileWindow(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = Qt::WType_TopLevel);
+    ~SourceFileWindow();
+
+    virtual void initBase();
+    void * createView( const QString & fileName, const QString & fileText, const QString & hlModeName, unsigned tabWidth );
+    virtual int savePrompt( void );
+    virtual void applyPreferences();
+
+public slots:
+    virtual void destroy();
+    virtual void te_popup_aboutToShow();
+    virtual void te_popup_activated( int index );
+    virtual void accel_activated( int index );
+    virtual void fileSave();
+    virtual void fileSaveAs();
+    virtual void fileAddToProject();
+    virtual void fileCompile();
+    virtual void filePrint();
+    virtual void filePrintQuickly();
+    virtual void editUndo();
+    virtual void editRedo();
+    virtual void editClear();
+    virtual void editCut();
+    virtual void editCopy();
+    virtual void editPaste();
+    virtual void editSelectAll();
+    virtual void editIncreaseIndent();
+    virtual void editDecreaseIndent();
+    virtual void findFind();
+    virtual void findFind_next();
+    virtual void findFind_highlight( const QString & unused_text, int matchingindex, int matchedlength );
+    virtual void findFind_stop();
+    virtual void findReplace();
+    virtual void findReplace_next();
+    virtual void findReplace_highlight( const QString & unused_text, int matchingindex, int matchedlength );
+    virtual void findReplace_replace( const QString & text, int replacementIndex, int replacedLength, int matchedLength );
+    virtual void findReplace_stop();
+    virtual void findFunctions();
+    virtual void findFunctions_functionListBox_highlighted( int index );
+    virtual void findFunctions_functionListBox_selected( int index );
+    virtual void findFunctions_prototypeButton_clicked();
+    virtual void findFunctions_implementationButton_clicked();
+    virtual void findFunctionsPopup_aboutToShow();
+    virtual void findFunctionsPopup_aboutToHide();
+    virtual void findFunctionsPopup_aboutToHide_async();
+    virtual void findFunctionsPopup_activated( int id );
+    virtual void findOpenFileAtCursor();
+    virtual void findFindSymbolDeclaration();
+    virtual void resizeEvent( QResizeEvent * event );
+    virtual void statusBar_messageChanged( const QString & message );
+    virtual void current_view_cursorPositionChanged();
+    virtual void current_view_textChanged();
+    virtual void current_view_undoChanged();
+    virtual void current_view_selectionChanged();
+    virtual void current_view_charactersInteractivelyInserted( int line, int col, const QString & characters );
+    virtual void clipboard_dataChanged();
+    virtual void KDirWatch_dirty( const QString & fileName );
+    virtual void completionPopup_closed();
+
+protected:
+    virtual void closeEvent( QCloseEvent * e );
+
+protected slots:
+    virtual void languageChange();
+
+private:
+    void removeTrailingSpacesFromView( void * view );
+    void findReplace_next( bool firstTime );
+    void updateSizes();
+    void updateRightStatusLabel();
+    void current_view_newLineHook();
+
+};
+
+#endif // SOURCEFILEWINDOW_H

+ 551 - 617
ktigcc/srcfilewin.ui

@@ -1,682 +1,616 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>SourceFileWindow</class>
-<widget class="QMainWindow">
-    <property name="name">
-        <cstring>SourceFileWindow</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>SourceFileWindow</class>
+  <widget class="Q3MainWindow" name="SourceFileWindow" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>794</width>
+        <height>513</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>794</width>
-            <height>513</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>TIGCC IDE for KDE</string>
     </property>
-    <property name="caption">
-        <string>TIGCC IDE for KDE</string>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-    </vbox>
-</widget>
-<menubar>
-    <property name="name">
-        <cstring>menubar</cstring>
-    </property>
-    <item text="&amp;File" name="fileMenu">
-        <action name="fileSaveAction"/>
-        <action name="fileSaveAsAction"/>
-        <separator/>
-        <action name="fileAddToProjectAction"/>
-        <separator/>
-        <action name="fileCompileAction"/>
-        <separator/>
-        <action name="filePrintAction"/>
-        <separator/>
-        <action name="fileCloseAction"/>
-    </item>
-    <item text="&amp;Edit" name="editMenu">
-        <action name="editUndoAction"/>
-        <action name="editRedoAction"/>
-        <separator/>
-        <action name="editClearAction"/>
-        <action name="editCutAction"/>
-        <action name="editCopyAction"/>
-        <action name="editPasteAction"/>
-        <separator/>
-        <action name="editSelectAllAction"/>
-        <separator/>
-        <action name="editIncreaseIndentAction"/>
-        <action name="editDecreaseIndentAction"/>
-    </item>
-    <item text="F&amp;ind" name="PopupMenu">
-        <action name="findFindAction"/>
-        <action name="findReplaceAction"/>
-        <separator/>
-        <action name="findFunctionsAction"/>
-        <separator/>
-        <action name="findOpenFileAtCursorAction"/>
-        <action name="findFindSymbolDeclarationAction"/>
-    </item>
-</menubar>
-<toolbars>
-    <toolbar dock="2">
-        <property name="name">
-            <cstring>toolBar</cstring>
-        </property>
-        <property name="movingEnabled">
-            <bool>false</bool>
-        </property>
-        <property name="label">
-            <string>Tools</string>
-        </property>
-        <action name="fileSaveAction"/>
-        <separator/>
-        <action name="filePrintQuicklyAction"/>
-        <separator/>
-        <action name="editClearAction"/>
-        <action name="editCutAction"/>
-        <action name="editCopyAction"/>
-        <action name="editPasteAction"/>
-        <separator/>
-        <action name="editUndoAction"/>
-        <action name="editRedoAction"/>
-        <separator/>
-        <action name="findFindAction"/>
-        <action name="findReplaceAction"/>
-        <action name="findFunctionsAction"/>
-        <separator/>
-        <action name="fileAddToProjectAction"/>
-    </toolbar>
-</toolbars>
-<actions>
-    <action>
-        <property name="name">
-            <cstring>fileSaveAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>02</iconset>
-        </property>
-        <property name="text">
-            <string>Save</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Save</string>
-        </property>
-        <property name="statusTip">
-            <string>Save the file</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+S</string>
-        </property>
+    <widget class="QWidget" >
+      <layout class="QVBoxLayout" />
+    </widget>
+    <widget class="Q3ToolBar" name="toolBar" >
+      <property name="movingEnabled" >
+        <bool>false</bool>
+      </property>
+      <property name="label" >
+        <string>Tools</string>
+      </property>
+      <addaction name="fileSaveAction" />
+      <addaction name="separator" />
+      <addaction name="filePrintQuicklyAction" />
+      <addaction name="separator" />
+      <addaction name="editClearAction" />
+      <addaction name="editCutAction" />
+      <addaction name="editCopyAction" />
+      <addaction name="editPasteAction" />
+      <addaction name="separator" />
+      <addaction name="editUndoAction" />
+      <addaction name="editRedoAction" />
+      <addaction name="separator" />
+      <addaction name="findFindAction" />
+      <addaction name="findReplaceAction" />
+      <addaction name="findFunctionsAction" />
+      <addaction name="separator" />
+      <addaction name="fileAddToProjectAction" />
+    </widget>
+    <widget class="QMenuBar" name="menubar" >
+      <widget class="QMenu" name="fileMenu" >
+        <property name="title" >
+          <string>&amp;File</string>
+        </property>
+        <addaction name="fileSaveAction" />
+        <addaction name="fileSaveAsAction" />
+        <addaction name="separator" />
+        <addaction name="fileAddToProjectAction" />
+        <addaction name="separator" />
+        <addaction name="fileCompileAction" />
+        <addaction name="separator" />
+        <addaction name="filePrintAction" />
+        <addaction name="separator" />
+        <addaction name="fileCloseAction" />
+      </widget>
+      <widget class="QMenu" name="editMenu" >
+        <property name="title" >
+          <string>&amp;Edit</string>
+        </property>
+        <addaction name="editUndoAction" />
+        <addaction name="editRedoAction" />
+        <addaction name="separator" />
+        <addaction name="editClearAction" />
+        <addaction name="editCutAction" />
+        <addaction name="editCopyAction" />
+        <addaction name="editPasteAction" />
+        <addaction name="separator" />
+        <addaction name="editSelectAllAction" />
+        <addaction name="separator" />
+        <addaction name="editIncreaseIndentAction" />
+        <addaction name="editDecreaseIndentAction" />
+      </widget>
+      <widget class="QMenu" name="PopupMenu" >
+        <property name="title" >
+          <string>F&amp;ind</string>
+        </property>
+        <addaction name="findFindAction" />
+        <addaction name="findReplaceAction" />
+        <addaction name="separator" />
+        <addaction name="findFunctionsAction" />
+        <addaction name="separator" />
+        <addaction name="findOpenFileAtCursorAction" />
+        <addaction name="findFindSymbolDeclarationAction" />
+      </widget>
+      <addaction name="fileMenu" />
+      <addaction name="editMenu" />
+      <addaction name="PopupMenu" />
+    </widget>
+    <action name="fileSaveAction" >
+      <property name="name" >
+        <cstring>fileSaveAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>02</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Save</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Save</string>
+      </property>
+      <property name="statusTip" >
+        <string>Save the file</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+S</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>fileSaveAsAction</cstring>
-        </property>
-        <property name="text">
-            <string>Save As...</string>
-        </property>
-        <property name="menuText">
-            <string>Save &amp;As...</string>
-        </property>
-        <property name="statusTip">
-            <string>Save the file with another name, or in another folder</string>
-        </property>
-        <property name="accel">
-            <string></string>
-        </property>
+    <action name="fileSaveAsAction" >
+      <property name="name" >
+        <cstring>fileSaveAsAction</cstring>
+      </property>
+      <property name="iconText" >
+        <string>Save As...</string>
+      </property>
+      <property name="text" >
+        <string>Save &amp;As...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Save the file with another name, or in another folder</string>
+      </property>
+      <property name="shortcut" >
+        <string/>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>filePrintAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>03</iconset>
-        </property>
-        <property name="text">
-            <string>Print File</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Print...</string>
-        </property>
-        <property name="statusTip">
-            <string>Print this file</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+P</string>
-        </property>
+    <action name="filePrintAction" >
+      <property name="name" >
+        <cstring>filePrintAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>03</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Print File</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Print...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Print this file</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+P</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>fileCloseAction</cstring>
-        </property>
-        <property name="text">
-            <string>Close</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Close</string>
-        </property>
-        <property name="statusTip">
-            <string>Close this window</string>
-        </property>
-        <property name="accel">
-            <string></string>
-        </property>
+    <action name="fileCloseAction" >
+      <property name="name" >
+        <cstring>fileCloseAction</cstring>
+      </property>
+      <property name="iconText" >
+        <string>Close</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Close</string>
+      </property>
+      <property name="statusTip" >
+        <string>Close this window</string>
+      </property>
+      <property name="shortcut" >
+        <string/>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editUndoAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>16</iconset>
-        </property>
-        <property name="text">
-            <string>Undo</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Undo</string>
-        </property>
-        <property name="statusTip">
-            <string>Undo the last operation in the editor</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+Z</string>
-        </property>
+    <action name="editUndoAction" >
+      <property name="name" >
+        <cstring>editUndoAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>16</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Undo</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Undo</string>
+      </property>
+      <property name="statusTip" >
+        <string>Undo the last operation in the editor</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+Z</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editRedoAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>17</iconset>
-        </property>
-        <property name="text">
-            <string>Redo</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Redo</string>
-        </property>
-        <property name="statusTip">
-            <string>Redo the last undone operation in the editor</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+Y</string>
-        </property>
+    <action name="editRedoAction" >
+      <property name="name" >
+        <cstring>editRedoAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>17</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Redo</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Redo</string>
+      </property>
+      <property name="statusTip" >
+        <string>Redo the last undone operation in the editor</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+Y</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editCutAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>05</iconset>
-        </property>
-        <property name="text">
-            <string>Cut</string>
-        </property>
-        <property name="menuText">
-            <string>Cu&amp;t</string>
-        </property>
-        <property name="statusTip">
-            <string>Copy the selected text into the clipboard and delete it</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+X</string>
-        </property>
+    <action name="editCutAction" >
+      <property name="name" >
+        <cstring>editCutAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>05</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Cut</string>
+      </property>
+      <property name="text" >
+        <string>Cu&amp;t</string>
+      </property>
+      <property name="statusTip" >
+        <string>Copy the selected text into the clipboard and delete it</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+X</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editCopyAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>06</iconset>
-        </property>
-        <property name="text">
-            <string>Copy</string>
-        </property>
-        <property name="menuText">
-            <string>C&amp;opy</string>
-        </property>
-        <property name="statusTip">
-            <string>Copy the selected text into the clipboard without deleting it</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+C</string>
-        </property>
+    <action name="editCopyAction" >
+      <property name="name" >
+        <cstring>editCopyAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>06</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Copy</string>
+      </property>
+      <property name="text" >
+        <string>C&amp;opy</string>
+      </property>
+      <property name="statusTip" >
+        <string>Copy the selected text into the clipboard without deleting it</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+C</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editPasteAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>07</iconset>
-        </property>
-        <property name="text">
-            <string>Paste</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Paste</string>
-        </property>
-        <property name="statusTip">
-            <string>Paste text from the clipboard</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+V</string>
-        </property>
+    <action name="editPasteAction" >
+      <property name="name" >
+        <cstring>editPasteAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>07</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Paste</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Paste</string>
+      </property>
+      <property name="statusTip" >
+        <string>Paste text from the clipboard</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+V</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>findFindAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>13</iconset>
-        </property>
-        <property name="text">
-            <string>Find</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Find...</string>
-        </property>
-        <property name="toolTip">
-            <string>Find Text</string>
-        </property>
-        <property name="statusTip">
-            <string>Find the specified text in the current source file</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+F</string>
-        </property>
+    <action name="findFindAction" >
+      <property name="name" >
+        <cstring>findFindAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>13</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Find</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Find...</string>
+      </property>
+      <property name="toolTip" >
+        <string>Find Text</string>
+      </property>
+      <property name="statusTip" >
+        <string>Find the specified text in the current source file</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+F</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editClearAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>04</iconset>
-        </property>
-        <property name="text">
-            <string>Clear</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Clear</string>
-        </property>
-        <property name="statusTip">
-            <string>Delete the selected text in the editor</string>
-        </property>
+    <action name="editClearAction" >
+      <property name="name" >
+        <cstring>editClearAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>04</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Clear</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Clear</string>
+      </property>
+      <property name="statusTip" >
+        <string>Delete the selected text in the editor</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editSelectAllAction</cstring>
-        </property>
-        <property name="text">
-            <string>Select All</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Select All</string>
-        </property>
-        <property name="statusTip">
-            <string>Select the whole text in the editor</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+A</string>
-        </property>
+    <action name="editSelectAllAction" >
+      <property name="name" >
+        <cstring>editSelectAllAction</cstring>
+      </property>
+      <property name="iconText" >
+        <string>Select All</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Select All</string>
+      </property>
+      <property name="statusTip" >
+        <string>Select the whole text in the editor</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+A</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editIncreaseIndentAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>19</iconset>
-        </property>
-        <property name="text">
-            <string>Increase Indent</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Increase Indent</string>
-        </property>
-        <property name="statusTip">
-            <string>Insert tabs so that the text is moved to the right</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+I</string>
-        </property>
+    <action name="editIncreaseIndentAction" >
+      <property name="name" >
+        <cstring>editIncreaseIndentAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>19</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Increase Indent</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Increase Indent</string>
+      </property>
+      <property name="statusTip" >
+        <string>Insert tabs so that the text is moved to the right</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+I</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>editDecreaseIndentAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>20</iconset>
-        </property>
-        <property name="text">
-            <string>Decrease Indent</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Decrease Indent</string>
-        </property>
-        <property name="statusTip">
-            <string>Remove tabs and spaces so that the text is moved to the left</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+D</string>
-        </property>
+    <action name="editDecreaseIndentAction" >
+      <property name="name" >
+        <cstring>editDecreaseIndentAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>20</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Decrease Indent</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Decrease Indent</string>
+      </property>
+      <property name="statusTip" >
+        <string>Remove tabs and spaces so that the text is moved to the left</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+D</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>findReplaceAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>14</iconset>
-        </property>
-        <property name="text">
-            <string>Replace</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Replace...</string>
-        </property>
-        <property name="toolTip">
-            <string>Replace Text</string>
-        </property>
-        <property name="statusTip">
-            <string>Find the specified text in the current source file and replace it with something else</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+R</string>
-        </property>
+    <action name="findReplaceAction" >
+      <property name="name" >
+        <cstring>findReplaceAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>14</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Replace</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Replace...</string>
+      </property>
+      <property name="toolTip" >
+        <string>Replace Text</string>
+      </property>
+      <property name="statusTip" >
+        <string>Find the specified text in the current source file and replace it with something else</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+R</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>findFunctionsAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>18</iconset>
-        </property>
-        <property name="text">
-            <string>Functions...</string>
-        </property>
-        <property name="menuText">
-            <string>F&amp;unctions...</string>
-        </property>
-        <property name="statusTip">
-            <string>Display a list of all functions in the current file</string>
-        </property>
+    <action name="findFunctionsAction" >
+      <property name="name" >
+        <cstring>findFunctionsAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>18</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Functions...</string>
+      </property>
+      <property name="text" >
+        <string>F&amp;unctions...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Display a list of all functions in the current file</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>findOpenFileAtCursorAction</cstring>
-        </property>
-        <property name="text">
-            <string>Open File at Cursor</string>
-        </property>
-        <property name="menuText">
-            <string>&amp;Open File at Cursor</string>
-        </property>
-        <property name="statusTip">
-            <string>Open the file the cursor is on</string>
-        </property>
-        <property name="accel">
-            <string>Ctrl+Enter</string>
-        </property>
+    <action name="findOpenFileAtCursorAction" >
+      <property name="name" >
+        <cstring>findOpenFileAtCursorAction</cstring>
+      </property>
+      <property name="iconText" >
+        <string>Open File at Cursor</string>
+      </property>
+      <property name="text" >
+        <string>&amp;Open File at Cursor</string>
+      </property>
+      <property name="statusTip" >
+        <string>Open the file the cursor is on</string>
+      </property>
+      <property name="shortcut" >
+        <string>Ctrl+Enter</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>fileAddToProjectAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>08</iconset>
-        </property>
-        <property name="text">
-            <string>Add to Project</string>
-        </property>
-        <property name="menuText">
-            <string>A&amp;dd to Project...</string>
-        </property>
-        <property name="statusTip">
-            <string>Add this file to the current project</string>
-        </property>
+    <action name="fileAddToProjectAction" >
+      <property name="name" >
+        <cstring>fileAddToProjectAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>08</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Add to Project</string>
+      </property>
+      <property name="text" >
+        <string>A&amp;dd to Project...</string>
+      </property>
+      <property name="statusTip" >
+        <string>Add this file to the current project</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>fileCompileAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>09</iconset>
-        </property>
-        <property name="text">
-            <string>Compile</string>
-        </property>
-        <property name="menuText">
-            <string>C&amp;ompile</string>
-        </property>
-        <property name="statusTip">
-            <string>Compile the file</string>
-        </property>
+    <action name="fileCompileAction" >
+      <property name="name" >
+        <cstring>fileCompileAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>09</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Compile</string>
+      </property>
+      <property name="text" >
+        <string>C&amp;ompile</string>
+      </property>
+      <property name="statusTip" >
+        <string>Compile the file</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>findFindSymbolDeclarationAction</cstring>
-        </property>
-        <property name="text">
-            <string>F&amp;ind symbol declaration</string>
-        </property>
-        <property name="menuText">
-            <string>F&amp;ind symbol declaration</string>
-        </property>
-        <property name="statusTip">
-            <string>Find symbol declaration</string>
-        </property>
+    <action name="findFindSymbolDeclarationAction" >
+      <property name="name" >
+        <cstring>findFindSymbolDeclarationAction</cstring>
+      </property>
+      <property name="iconText" >
+        <string>F&amp;ind symbol declaration</string>
+      </property>
+      <property name="text" >
+        <string>F&amp;ind symbol declaration</string>
+      </property>
+      <property name="statusTip" >
+        <string>Find symbol declaration</string>
+      </property>
     </action>
-    <action>
-        <property name="name">
-            <cstring>filePrintQuicklyAction</cstring>
-        </property>
-        <property name="iconSet">
-            <iconset>03</iconset>
-        </property>
-        <property name="text">
-            <string>Print File</string>
-        </property>
-        <property name="statusTip">
-            <string>Print this file</string>
-        </property>
+    <action name="filePrintQuicklyAction" >
+      <property name="name" >
+        <cstring>filePrintQuicklyAction</cstring>
+      </property>
+      <property name="icon" >
+        <iconset>03</iconset>
+      </property>
+      <property name="iconText" >
+        <string>Print File</string>
+      </property>
+      <property name="statusTip" >
+        <string>Print this file</string>
+      </property>
     </action>
-</actions>
-<connections>
+  </widget>
+  <layoutdefault spacing="0" margin="0" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <connections>
     <connection>
-        <sender>editClearAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>editClear()</slot>
+      <sender>editClearAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>editClear()</slot>
     </connection>
     <connection>
-        <sender>editCopyAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>editCopy()</slot>
+      <sender>editCopyAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>editCopy()</slot>
     </connection>
     <connection>
-        <sender>editCutAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>editCut()</slot>
+      <sender>editCutAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>editCut()</slot>
     </connection>
     <connection>
-        <sender>editDecreaseIndentAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>editDecreaseIndent()</slot>
+      <sender>editDecreaseIndentAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>editDecreaseIndent()</slot>
     </connection>
     <connection>
-        <sender>editIncreaseIndentAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>editIncreaseIndent()</slot>
+      <sender>editIncreaseIndentAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>editIncreaseIndent()</slot>
     </connection>
     <connection>
-        <sender>editPasteAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>editPaste()</slot>
+      <sender>editPasteAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>editPaste()</slot>
     </connection>
     <connection>
-        <sender>editRedoAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>editRedo()</slot>
+      <sender>editRedoAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>editRedo()</slot>
     </connection>
     <connection>
-        <sender>editSelectAllAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>editSelectAll()</slot>
+      <sender>editSelectAllAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>editSelectAll()</slot>
     </connection>
     <connection>
-        <sender>editUndoAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>editUndo()</slot>
+      <sender>editUndoAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>editUndo()</slot>
     </connection>
     <connection>
-        <sender>fileCloseAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>close()</slot>
+      <sender>fileCloseAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>close()</slot>
     </connection>
     <connection>
-        <sender>filePrintAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>filePrint()</slot>
+      <sender>filePrintAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>filePrint()</slot>
     </connection>
     <connection>
-        <sender>fileSaveAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>fileSave()</slot>
+      <sender>fileSaveAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>fileSave()</slot>
     </connection>
     <connection>
-        <sender>fileSaveAsAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>fileSaveAs()</slot>
+      <sender>fileSaveAsAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>fileSaveAs()</slot>
     </connection>
     <connection>
-        <sender>findFindAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>findFind()</slot>
+      <sender>findFindAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>findFind()</slot>
     </connection>
     <connection>
-        <sender>findFindSymbolDeclarationAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>findFindSymbolDeclaration()</slot>
+      <sender>findFindSymbolDeclarationAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>findFindSymbolDeclaration()</slot>
     </connection>
     <connection>
-        <sender>findFunctionsAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>findFunctions()</slot>
+      <sender>findFunctionsAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>findFunctions()</slot>
     </connection>
     <connection>
-        <sender>findOpenFileAtCursorAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>findOpenFileAtCursor()</slot>
+      <sender>findOpenFileAtCursorAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>findOpenFileAtCursor()</slot>
     </connection>
     <connection>
-        <sender>findReplaceAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>findReplace()</slot>
+      <sender>findReplaceAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>findReplace()</slot>
     </connection>
     <connection>
-        <sender>fileAddToProjectAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>fileAddToProject()</slot>
+      <sender>fileAddToProjectAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>fileAddToProject()</slot>
     </connection>
     <connection>
-        <sender>fileCompileAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>fileCompile()</slot>
+      <sender>fileCompileAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>fileCompile()</slot>
     </connection>
     <connection>
-        <sender>filePrintQuicklyAction</sender>
-        <signal>activated()</signal>
-        <receiver>SourceFileWindow</receiver>
-        <slot>filePrintQuickly()</slot>
+      <sender>filePrintQuicklyAction</sender>
+      <signal>activated()</signal>
+      <receiver>SourceFileWindow</receiver>
+      <slot>filePrintQuickly()</slot>
     </connection>
-</connections>
-<includes>
-    <include location="local" impldecl="in implementation">srcfilewin.ui.h</include>
-</includes>
-<slots>
-    <slot>destroy()</slot>
-    <slot>te_popup_aboutToShow()</slot>
-    <slot>te_popup_activated( int index )</slot>
-    <slot>accel_activated( int index )</slot>
-    <slot>fileSave()</slot>
-    <slot>fileSaveAs()</slot>
-    <slot>fileAddToProject()</slot>
-    <slot>fileCompile()</slot>
-    <slot>filePrint()</slot>
-    <slot>filePrintQuickly()</slot>
-    <slot>editUndo()</slot>
-    <slot>editRedo()</slot>
-    <slot>editClear()</slot>
-    <slot>editCut()</slot>
-    <slot>editCopy()</slot>
-    <slot>editPaste()</slot>
-    <slot>editSelectAll()</slot>
-    <slot>editIncreaseIndent()</slot>
-    <slot>editDecreaseIndent()</slot>
-    <slot>findFind()</slot>
-    <slot>findFind_next()</slot>
-    <slot>findFind_highlight( const QString &amp; unused_text, int matchingindex, int matchedlength )</slot>
-    <slot>findFind_stop()</slot>
-    <slot>findReplace()</slot>
-    <slot>findReplace_next()</slot>
-    <slot>findReplace_highlight( const QString &amp; unused_text, int matchingindex, int matchedlength )</slot>
-    <slot>findReplace_replace( const QString &amp; text, int replacementIndex, int replacedLength, int matchedLength )</slot>
-    <slot>findReplace_stop()</slot>
-    <slot>findFunctions()</slot>
-    <slot>findFunctions_functionListBox_highlighted( int index )</slot>
-    <slot>findFunctions_functionListBox_selected( int index )</slot>
-    <slot>findFunctions_prototypeButton_clicked()</slot>
-    <slot>findFunctions_implementationButton_clicked()</slot>
-    <slot>findFunctionsPopup_aboutToShow()</slot>
-    <slot>findFunctionsPopup_aboutToHide()</slot>
-    <slot>findFunctionsPopup_aboutToHide_async()</slot>
-    <slot>findFunctionsPopup_activated( int id )</slot>
-    <slot>findOpenFileAtCursor()</slot>
-    <slot>findFindSymbolDeclaration()</slot>
-    <slot>resizeEvent( QResizeEvent * event )</slot>
-    <slot>statusBar_messageChanged( const QString &amp; message )</slot>
-    <slot>current_view_cursorPositionChanged()</slot>
-    <slot>current_view_textChanged()</slot>
-    <slot>current_view_undoChanged()</slot>
-    <slot>current_view_selectionChanged()</slot>
-    <slot>current_view_charactersInteractivelyInserted( int line, int col, const QString &amp; characters )</slot>
-    <slot>clipboard_dataChanged()</slot>
-    <slot>KDirWatch_dirty( const QString &amp; fileName )</slot>
-    <slot>completionPopup_closed()</slot>
-</slots>
-<functions>
-    <function>initBase()</function>
-    <function specifier="non virtual" returnType="void *">createView( const QString &amp; fileName, const QString &amp; fileText, const QString &amp; hlModeName, unsigned tabWidth )</function>
-    <function returnType="int">savePrompt( void )</function>
-    <function access="private" specifier="non virtual">removeTrailingSpacesFromView( void * view )</function>
-    <function>applyPreferences()</function>
-    <function access="private" specifier="non virtual">findReplace_next( bool firstTime )</function>
-    <function access="private" specifier="non virtual">updateSizes()</function>
-    <function access="private" specifier="non virtual">updateRightStatusLabel()</function>
-    <function access="private" specifier="non virtual">current_view_newLineHook()</function>
-    <function access="protected">closeEvent( QCloseEvent * e )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="0" margin="0"/>
-</UI>
+  </connections>
+</ui>

+ 39 - 0
ktigcc/toolprops.cpp

@@ -0,0 +1,39 @@
+#include "toolprops.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "toolprops.ui.h"
+/*
+ *  Constructs a ToolProperties as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+ToolProperties::ToolProperties(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+    init();
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+ToolProperties::~ToolProperties()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void ToolProperties::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 25 - 0
ktigcc/toolprops.h

@@ -0,0 +1,25 @@
+#ifndef TOOLPROPERTIES_H
+#define TOOLPROPERTIES_H
+
+#include "ui_toolprops.h"
+
+class ToolProperties : public QDialog, public Ui::ToolProperties
+{
+    Q_OBJECT
+
+public:
+    ToolProperties(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~ToolProperties();
+
+public slots:
+    virtual void init();
+    virtual void accept();
+    virtual void validate();
+    virtual void browseButton_clicked();
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // TOOLPROPERTIES_H

+ 220 - 243
ktigcc/toolprops.ui

@@ -1,259 +1,236 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>ToolProperties</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>ToolProperties</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>ToolProperties</class>
+  <widget class="QDialog" name="ToolProperties" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>600</width>
+        <height>184</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>600</width>
-            <height>184</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>Tool Properties</string>
     </property>
-    <property name="caption">
-        <string>Tool Properties</string>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout24</cstring>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="QLabel" row="1" column="0">
-                    <property name="name">
-                        <cstring>commandLineLabel</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Command &amp;Line:</string>
-                    </property>
-                    <property name="alignment">
-                        <set>AlignVCenter|AlignRight</set>
-                    </property>
-                    <property name="buddy" stdset="0">
-                        <cstring>commandLine</cstring>
-                    </property>
-                </widget>
-                <widget class="QLabel" row="2" column="0" rowspan="2" colspan="1">
-                    <property name="name">
-                        <cstring>workingDirectoryLabel</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Working Directory:</string>
-                    </property>
-                    <property name="alignment">
-                        <set>AlignVCenter|AlignRight</set>
-                    </property>
-                    <property name="buddy" stdset="0">
-                        <cstring>workingDirectory</cstring>
-                    </property>
-                </widget>
-                <widget class="KURLRequester" row="3" column="1" rowspan="1" colspan="2">
-                    <property name="name">
-                        <cstring>workingDirectory</cstring>
-                    </property>
-                    <property name="mode">
-                        <number>26</number>
-                    </property>
-                </widget>
-                <widget class="KLineEdit" row="1" column="1" rowspan="2" colspan="1">
-                    <property name="name">
-                        <cstring>commandLine</cstring>
-                    </property>
-                </widget>
-                <widget class="QCheckBox" row="4" column="0" rowspan="1" colspan="3">
-                    <property name="name">
-                        <cstring>runInTerminal</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Run in Terminal</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+R</string>
-                    </property>
-                </widget>
-                <widget class="KLineEdit" row="0" column="1" rowspan="1" colspan="2">
-                    <property name="name">
-                        <cstring>toolTitle</cstring>
-                    </property>
-                </widget>
-                <widget class="KPushButton" row="1" column="2" rowspan="2" colspan="1">
-                    <property name="name">
-                        <cstring>browseButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Browse...</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+B</string>
-                    </property>
-                </widget>
-                <widget class="QLabel" row="0" column="0">
-                    <property name="name">
-                        <cstring>toolTitleLabel</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Title:</string>
-                    </property>
-                    <property name="alignment">
-                        <set>AlignVCenter|AlignRight</set>
-                    </property>
-                    <property name="buddy" stdset="0">
-                        <cstring>toolTitle</cstring>
-                    </property>
-                </widget>
-            </grid>
-        </widget>
-        <spacer>
-            <property name="name">
-                <cstring>spacer18</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Vertical</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Expanding</enum>
-            </property>
-            <property name="sizeHint">
+    <layout class="QVBoxLayout" >
+      <item>
+        <layout class="QGridLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item row="1" column="0" >
+            <widget class="QLabel" name="commandLineLabel" >
+              <property name="text" >
+                <string>Command &amp;Line:</string>
+              </property>
+              <property name="alignment" >
+                <set>Qt::AlignVCenter|Qt::AlignRight</set>
+              </property>
+              <property name="buddy" stdset="0" >
+                <cstring>commandLine</cstring>
+              </property>
+              <property name="wordWrap" >
+                <bool>false</bool>
+              </property>
+            </widget>
+          </item>
+          <item rowspan="2" row="2" column="0" colspan="1" >
+            <widget class="QLabel" name="workingDirectoryLabel" >
+              <property name="text" >
+                <string>&amp;Working Directory:</string>
+              </property>
+              <property name="alignment" >
+                <set>Qt::AlignVCenter|Qt::AlignRight</set>
+              </property>
+              <property name="buddy" stdset="0" >
+                <cstring>workingDirectory</cstring>
+              </property>
+              <property name="wordWrap" >
+                <bool>false</bool>
+              </property>
+            </widget>
+          </item>
+          <item rowspan="1" row="3" column="1" colspan="2" >
+            <widget class="KURLRequester" name="workingDirectory" >
+              <property name="mode" >
+                <number>26</number>
+              </property>
+            </widget>
+          </item>
+          <item rowspan="2" row="1" column="1" colspan="1" >
+            <widget class="KLineEdit" name="commandLine" />
+          </item>
+          <item rowspan="1" row="4" column="0" colspan="3" >
+            <widget class="QCheckBox" name="runInTerminal" >
+              <property name="text" >
+                <string>&amp;Run in Terminal</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+R</string>
+              </property>
+            </widget>
+          </item>
+          <item rowspan="1" row="0" column="1" colspan="2" >
+            <widget class="KLineEdit" name="toolTitle" />
+          </item>
+          <item rowspan="2" row="1" column="2" colspan="1" >
+            <widget class="KPushButton" name="browseButton" >
+              <property name="text" >
+                <string>&amp;Browse...</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+B</string>
+              </property>
+            </widget>
+          </item>
+          <item row="0" column="0" >
+            <widget class="QLabel" name="toolTitleLabel" >
+              <property name="text" >
+                <string>&amp;Title:</string>
+              </property>
+              <property name="alignment" >
+                <set>Qt::AlignVCenter|Qt::AlignRight</set>
+              </property>
+              <property name="buddy" stdset="0" >
+                <cstring>toolTitle</cstring>
+              </property>
+              <property name="wordWrap" >
+                <bool>false</bool>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+      <item>
+        <spacer name="spacer18" >
+          <property name="sizeHint" >
+            <size>
+              <width>20</width>
+              <height>21</height>
+            </size>
+          </property>
+          <property name="sizeType" >
+            <enum>Expanding</enum>
+          </property>
+          <property name="orientation" >
+            <enum>Vertical</enum>
+          </property>
+        </spacer>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <spacer name="spacer2" >
+              <property name="sizeHint" >
                 <size>
-                    <width>20</width>
-                    <height>21</height>
+                  <width>321</width>
+                  <height>20</height>
                 </size>
-            </property>
-        </spacer>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout2</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <spacer>
-                    <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>321</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>okButton</cstring>
-                    </property>
-                    <property name="enabled">
-                        <bool>false</bool>
-                    </property>
-                    <property name="text">
-                        <string>&amp;OK</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+O</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>1</number>
-                    </property>
-                </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>cancelButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Cancel</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>2</number>
-                    </property>
-                </widget>
-            </hbox>
-        </widget>
-    </vbox>
-</widget>
-<connections>
+              </property>
+              <property name="sizeType" >
+                <enum>Expanding</enum>
+              </property>
+              <property name="orientation" >
+                <enum>Horizontal</enum>
+              </property>
+            </spacer>
+          </item>
+          <item>
+            <widget class="KPushButton" name="okButton" >
+              <property name="enabled" >
+                <bool>false</bool>
+              </property>
+              <property name="text" >
+                <string>&amp;OK</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+O</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>1</number>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="cancelButton" >
+              <property name="text" >
+                <string>&amp;Cancel</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+C</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>2</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <tabstops>
+    <tabstop>toolTitle</tabstop>
+    <tabstop>commandLine</tabstop>
+    <tabstop>workingDirectory</tabstop>
+    <tabstop>runInTerminal</tabstop>
+    <tabstop>browseButton</tabstop>
+    <tabstop>okButton</tabstop>
+    <tabstop>cancelButton</tabstop>
+  </tabstops>
+  <includes>
+    <include location="local" >kurlrequester.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
     <connection>
-        <sender>okButton</sender>
-        <signal>clicked()</signal>
-        <receiver>ToolProperties</receiver>
-        <slot>accept()</slot>
+      <sender>okButton</sender>
+      <signal>clicked()</signal>
+      <receiver>ToolProperties</receiver>
+      <slot>accept()</slot>
     </connection>
     <connection>
-        <sender>cancelButton</sender>
-        <signal>clicked()</signal>
-        <receiver>ToolProperties</receiver>
-        <slot>reject()</slot>
+      <sender>cancelButton</sender>
+      <signal>clicked()</signal>
+      <receiver>ToolProperties</receiver>
+      <slot>reject()</slot>
     </connection>
     <connection>
-        <sender>toolTitle</sender>
-        <signal>textChanged(const QString&amp;)</signal>
-        <receiver>ToolProperties</receiver>
-        <slot>validate()</slot>
+      <sender>toolTitle</sender>
+      <signal>textChanged(QString)</signal>
+      <receiver>ToolProperties</receiver>
+      <slot>validate()</slot>
     </connection>
     <connection>
-        <sender>commandLine</sender>
-        <signal>textChanged(const QString&amp;)</signal>
-        <receiver>ToolProperties</receiver>
-        <slot>validate()</slot>
+      <sender>commandLine</sender>
+      <signal>textChanged(QString)</signal>
+      <receiver>ToolProperties</receiver>
+      <slot>validate()</slot>
     </connection>
     <connection>
-        <sender>workingDirectory</sender>
-        <signal>textChanged(const QString&amp;)</signal>
-        <receiver>ToolProperties</receiver>
-        <slot>validate()</slot>
+      <sender>workingDirectory</sender>
+      <signal>textChanged(QString)</signal>
+      <receiver>ToolProperties</receiver>
+      <slot>validate()</slot>
     </connection>
     <connection>
-        <sender>browseButton</sender>
-        <signal>clicked()</signal>
-        <receiver>ToolProperties</receiver>
-        <slot>browseButton_clicked()</slot>
+      <sender>browseButton</sender>
+      <signal>clicked()</signal>
+      <receiver>ToolProperties</receiver>
+      <slot>browseButton_clicked()</slot>
     </connection>
-</connections>
-<tabstops>
-    <tabstop>toolTitle</tabstop>
-    <tabstop>commandLine</tabstop>
-    <tabstop>workingDirectory</tabstop>
-    <tabstop>runInTerminal</tabstop>
-    <tabstop>browseButton</tabstop>
-    <tabstop>okButton</tabstop>
-    <tabstop>cancelButton</tabstop>
-</tabstops>
-<includes>
-    <include location="local" impldecl="in implementation">toolprops.ui.h</include>
-</includes>
-<slots>
-    <slot>init()</slot>
-    <slot>accept()</slot>
-    <slot>validate()</slot>
-    <slot>browseButton_clicked()</slot>
-</slots>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>kurlrequester.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </connections>
+</ui>

+ 39 - 0
ktigcc/toolsdlg.cpp

@@ -0,0 +1,39 @@
+#include "toolsdlg.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "toolsdlg.ui.h"
+/*
+ *  Constructs a ToolsDialog as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+ToolsDialog::ToolsDialog(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+    init();
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+ToolsDialog::~ToolsDialog()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void ToolsDialog::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 27 - 0
ktigcc/toolsdlg.h

@@ -0,0 +1,27 @@
+#ifndef TOOLSDIALOG_H
+#define TOOLSDIALOG_H
+
+#include "ui_toolsdlg.h"
+
+class ToolsDialog : public QDialog, public Ui::ToolsDialog
+{
+    Q_OBJECT
+
+public:
+    ToolsDialog(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~ToolsDialog();
+
+public slots:
+    virtual void init();
+    virtual void addButton_clicked();
+    virtual void editButton_clicked();
+    virtual void removeButton_clicked();
+    virtual void listView_selectionChanged();
+    virtual void accept();
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // TOOLSDIALOG_H

+ 196 - 213
ktigcc/toolsdlg.ui

@@ -1,232 +1,215 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>ToolsDialog</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>ToolsDialog</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>ToolsDialog</class>
+  <widget class="QDialog" name="ToolsDialog" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>598</width>
+        <height>266</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>598</width>
-            <height>266</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>Configure Tools</string>
     </property>
-    <property name="caption">
-        <string>Configure Tools</string>
-    </property>
-    <hbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="K3ListView">
-            <column>
-                <property name="text">
-                    <string>Title</string>
-                </property>
-                <property name="clickable">
-                    <bool>false</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>Command Line</string>
-                </property>
-                <property name="clickable">
-                    <bool>false</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>Working Directory</string>
-                </property>
-                <property name="clickable">
-                    <bool>false</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>Terminal</string>
-                </property>
-                <property name="clickable">
-                    <bool>false</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <property name="name">
-                <cstring>listView</cstring>
+    <layout class="QHBoxLayout" >
+      <item>
+        <widget class="K3ListView" name="listView" >
+          <property name="allColumnsShowFocus" >
+            <bool>true</bool>
+          </property>
+          <property name="itemsMovable" >
+            <bool>false</bool>
+          </property>
+          <column>
+            <property name="text" >
+              <string>Title</string>
             </property>
-            <property name="allColumnsShowFocus">
-                <bool>true</bool>
+            <property name="clickable" >
+              <bool>false</bool>
             </property>
-            <property name="itemsMovable">
-                <bool>false</bool>
+            <property name="resizable" >
+              <bool>true</bool>
             </property>
-        </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout1</cstring>
+          </column>
+          <column>
+            <property name="text" >
+              <string>Command Line</string>
+            </property>
+            <property name="clickable" >
+              <bool>false</bool>
+            </property>
+            <property name="resizable" >
+              <bool>true</bool>
+            </property>
+          </column>
+          <column>
+            <property name="text" >
+              <string>Working Directory</string>
+            </property>
+            <property name="clickable" >
+              <bool>false</bool>
             </property>
-            <vbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>addButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Add...</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+A</string>
-                    </property>
-                </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>editButton</cstring>
-                    </property>
-                    <property name="enabled">
-                        <bool>false</bool>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Edit...</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+E</string>
-                    </property>
-                </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>removeButton</cstring>
-                    </property>
-                    <property name="enabled">
-                        <bool>false</bool>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Remove</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+R</string>
-                    </property>
-                </widget>
-                <spacer>
-                    <property name="name">
-                        <cstring>spacer1</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Vertical</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>20</width>
-                            <height>211</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>okButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;OK</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+O</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>1</number>
-                    </property>
-                </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>cancelButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Cancel</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>2</number>
-                    </property>
-                </widget>
-            </vbox>
+            <property name="resizable" >
+              <bool>true</bool>
+            </property>
+          </column>
+          <column>
+            <property name="text" >
+              <string>Terminal</string>
+            </property>
+            <property name="clickable" >
+              <bool>false</bool>
+            </property>
+            <property name="resizable" >
+              <bool>true</bool>
+            </property>
+          </column>
         </widget>
-    </hbox>
-</widget>
-<connections>
+      </item>
+      <item>
+        <layout class="QVBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="KPushButton" name="addButton" >
+              <property name="text" >
+                <string>&amp;Add...</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+A</string>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="editButton" >
+              <property name="enabled" >
+                <bool>false</bool>
+              </property>
+              <property name="text" >
+                <string>&amp;Edit...</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+E</string>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="removeButton" >
+              <property name="enabled" >
+                <bool>false</bool>
+              </property>
+              <property name="text" >
+                <string>&amp;Remove</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+R</string>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <spacer name="spacer1" >
+              <property name="sizeHint" >
+                <size>
+                  <width>20</width>
+                  <height>211</height>
+                </size>
+              </property>
+              <property name="sizeType" >
+                <enum>Expanding</enum>
+              </property>
+              <property name="orientation" >
+                <enum>Vertical</enum>
+              </property>
+            </spacer>
+          </item>
+          <item>
+            <widget class="KPushButton" name="okButton" >
+              <property name="text" >
+                <string>&amp;OK</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+O</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>1</number>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="cancelButton" >
+              <property name="text" >
+                <string>&amp;Cancel</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+C</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>2</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <customwidgets>
+    <customwidget>
+      <class>K3ListView</class>
+      <extends>Q3ListView</extends>
+      <header>k3listview.h</header>
+    </customwidget>
+  </customwidgets>
+  <includes>
+    <include location="local" >k3listview.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
     <connection>
-        <sender>okButton</sender>
-        <signal>clicked()</signal>
-        <receiver>ToolsDialog</receiver>
-        <slot>accept()</slot>
+      <sender>okButton</sender>
+      <signal>clicked()</signal>
+      <receiver>ToolsDialog</receiver>
+      <slot>accept()</slot>
     </connection>
     <connection>
-        <sender>cancelButton</sender>
-        <signal>clicked()</signal>
-        <receiver>ToolsDialog</receiver>
-        <slot>reject()</slot>
+      <sender>cancelButton</sender>
+      <signal>clicked()</signal>
+      <receiver>ToolsDialog</receiver>
+      <slot>reject()</slot>
     </connection>
     <connection>
-        <sender>addButton</sender>
-        <signal>clicked()</signal>
-        <receiver>ToolsDialog</receiver>
-        <slot>addButton_clicked()</slot>
+      <sender>addButton</sender>
+      <signal>clicked()</signal>
+      <receiver>ToolsDialog</receiver>
+      <slot>addButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>editButton</sender>
-        <signal>clicked()</signal>
-        <receiver>ToolsDialog</receiver>
-        <slot>editButton_clicked()</slot>
+      <sender>editButton</sender>
+      <signal>clicked()</signal>
+      <receiver>ToolsDialog</receiver>
+      <slot>editButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>removeButton</sender>
-        <signal>clicked()</signal>
-        <receiver>ToolsDialog</receiver>
-        <slot>removeButton_clicked()</slot>
+      <sender>removeButton</sender>
+      <signal>clicked()</signal>
+      <receiver>ToolsDialog</receiver>
+      <slot>removeButton_clicked()</slot>
     </connection>
     <connection>
-        <sender>listView</sender>
-        <signal>selectionChanged()</signal>
-        <receiver>ToolsDialog</receiver>
-        <slot>listView_selectionChanged()</slot>
+      <sender>listView</sender>
+      <signal>selectionChanged()</signal>
+      <receiver>ToolsDialog</receiver>
+      <slot>listView_selectionChanged()</slot>
     </connection>
-</connections>
-<includes>
-    <include location="local" impldecl="in implementation">toolsdlg.ui.h</include>
-</includes>
-<slots>
-    <slot>init()</slot>
-    <slot>addButton_clicked()</slot>
-    <slot>editButton_clicked()</slot>
-    <slot>removeButton_clicked()</slot>
-    <slot>listView_selectionChanged()</slot>
-    <slot>accept()</slot>
-</slots>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>k3listview.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </connections>
+</ui>

+ 37 - 0
ktigcc/wordlist.cpp

@@ -0,0 +1,37 @@
+#include "wordlist.h"
+
+#include <qvariant.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+/*
+ *  Constructs a WordList as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  true to construct a modal dialog.
+ */
+WordList::WordList(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
+{
+    setupUi(this);
+
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+WordList::~WordList()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void WordList::languageChange()
+{
+    retranslateUi(this);
+}
+

+ 19 - 0
ktigcc/wordlist.h

@@ -0,0 +1,19 @@
+#ifndef WORDLIST_H
+#define WORDLIST_H
+
+#include "ui_wordlist.h"
+
+class WordList : public QDialog, public Ui::WordList
+{
+    Q_OBJECT
+
+public:
+    WordList(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+    ~WordList();
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // WORDLIST_H

+ 161 - 174
ktigcc/wordlist.ui

@@ -1,184 +1,171 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>WordList</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>WordList</cstring>
+<ui version="4.0" stdsetdef="1" >
+  <author></author>
+  <comment></comment>
+  <exportmacro></exportmacro>
+  <class>WordList</class>
+  <widget class="QDialog" name="WordList" >
+    <property name="geometry" >
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>213</width>
+        <height>346</height>
+      </rect>
     </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>213</width>
-            <height>346</height>
-        </rect>
+    <property name="windowTitle" >
+      <string>Edit Word List</string>
     </property>
-    <property name="caption">
-        <string>Edit Word List</string>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="KEditListBox">
-            <property name="name">
-                <cstring>wordList</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <property name="buttons">
-                <set>Remove|Add</set>
-            </property>
-        </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout48</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <spacer>
-                    <property name="name">
-                        <cstring>spacer48</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>41</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="QCheckBox">
-                    <property name="name">
-                        <cstring>caseSensitive</cstring>
-                    </property>
-                    <property name="text">
-                        <string>C&amp;ase Sensitive</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+A</string>
-                    </property>
-                </widget>
-            </hbox>
+    <layout class="QVBoxLayout" >
+      <item>
+        <widget class="KEditListBox" name="wordList" >
+          <property name="title" >
+            <string/>
+          </property>
+          <property name="buttons" >
+            <set>Remove|Add</set>
+          </property>
         </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout44</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>colorButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Co&amp;lor...</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+L</string>
-                    </property>
-                </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>styleButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Style...</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+S</string>
-                    </property>
-                </widget>
-            </hbox>
-        </widget>
-        <spacer>
-            <property name="name">
-                <cstring>spacer18</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Vertical</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Preferred</enum>
-            </property>
-            <property name="sizeHint">
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <spacer name="spacer48" >
+              <property name="sizeHint" >
                 <size>
-                    <width>20</width>
-                    <height>3</height>
+                  <width>41</width>
+                  <height>20</height>
                 </size>
-            </property>
+              </property>
+              <property name="sizeType" >
+                <enum>Expanding</enum>
+              </property>
+              <property name="orientation" >
+                <enum>Horizontal</enum>
+              </property>
+            </spacer>
+          </item>
+          <item>
+            <widget class="QCheckBox" name="caseSensitive" >
+              <property name="text" >
+                <string>C&amp;ase Sensitive</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+A</string>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="KPushButton" name="colorButton" >
+              <property name="text" >
+                <string>Co&amp;lor...</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+L</string>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="styleButton" >
+              <property name="text" >
+                <string>&amp;Style...</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+S</string>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+      <item>
+        <spacer name="spacer18" >
+          <property name="sizeHint" >
+            <size>
+              <width>20</width>
+              <height>3</height>
+            </size>
+          </property>
+          <property name="sizeType" >
+            <enum>Preferred</enum>
+          </property>
+          <property name="orientation" >
+            <enum>Vertical</enum>
+          </property>
         </spacer>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout2</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>okButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;OK</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+O</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>1</number>
-                    </property>
-                </widget>
-                <widget class="KPushButton">
-                    <property name="name">
-                        <cstring>cancelButton</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Cancel</string>
-                    </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
-                    <property name="stdItem" stdset="0">
-                        <number>2</number>
-                    </property>
-                </widget>
-            </hbox>
-        </widget>
-    </vbox>
-</widget>
-<connections>
+      </item>
+      <item>
+        <layout class="QHBoxLayout" >
+          <property name="margin" >
+            <number>0</number>
+          </property>
+          <item>
+            <widget class="KPushButton" name="okButton" >
+              <property name="text" >
+                <string>&amp;OK</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+O</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>1</number>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="KPushButton" name="cancelButton" >
+              <property name="text" >
+                <string>&amp;Cancel</string>
+              </property>
+              <property name="shortcut" >
+                <string>Alt+C</string>
+              </property>
+              <property name="stdItem" stdset="0" >
+                <number>2</number>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <layoutdefault spacing="6" margin="11" />
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <customwidgets>
+    <customwidget>
+      <class>KEditListBox</class>
+      <extends>Q3ListBox</extends>
+      <header>keditlistbox.h</header>
+    </customwidget>
+  </customwidgets>
+  <includes>
+    <include location="local" >keditlistbox.h</include>
+    <include location="local" >klineedit.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+    <include location="local" >kpushbutton.h</include>
+  </includes>
+  <connections>
     <connection>
-        <sender>okButton</sender>
-        <signal>clicked()</signal>
-        <receiver>WordList</receiver>
-        <slot>accept()</slot>
+      <sender>okButton</sender>
+      <signal>clicked()</signal>
+      <receiver>WordList</receiver>
+      <slot>accept()</slot>
     </connection>
     <connection>
-        <sender>cancelButton</sender>
-        <signal>clicked()</signal>
-        <receiver>WordList</receiver>
-        <slot>reject()</slot>
+      <sender>cancelButton</sender>
+      <signal>clicked()</signal>
+      <receiver>WordList</receiver>
+      <slot>reject()</slot>
     </connection>
-</connections>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>keditlistbox.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-</includehints>
-</UI>
+  </connections>
+</ui>