Added slotOK()
authorMichael Andreen <harv@ruin.nu>
Sat, 2 Dec 2000 14:38:55 +0000 (14:38 +0000)
committerMichael Andreen <harv@ruin.nu>
Sat, 2 Dec 2000 14:38:55 +0000 (14:38 +0000)
OKButton now calls slotOK() instead of apply().

ui/contactmodifyerbase.ui

index 47f8536..e4ed576 100644 (file)
@@ -12,8 +12,8 @@
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>538</width>
-            <height>201</height>
+            <width>430</width>
+            <height>175</height>
         </rect>
     </property>
     <property stdset="1">
 </widget>
 <connections>
     <connection>
-        <sender>buttonOk</sender>
+        <sender>buttonCancel</sender>
         <signal>clicked()</signal>
         <receiver>MyDialog</receiver>
-        <slot>accept()</slot>
+        <slot>reject()</slot>
     </connection>
     <connection>
-        <sender>buttonCancel</sender>
+        <sender>buttonOk</sender>
         <signal>clicked()</signal>
         <receiver>MyDialog</receiver>
-        <slot>reject()</slot>
+        <slot>accept()</slot>
     </connection>
+    <slot access="public">slotOK()</slot>
 </connections>
 </UI>