]> ruin.nu Git - adress.git/commitdiff
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 47f8536d2bc49a04a0930b58888583fb6021337b..e4ed5763817d2bbf8759ae03aad5d9e7cc93f51e 100644 (file)
@@ -12,8 +12,8 @@
         <rect>
             <x>0</x>
             <y>0</y>
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>538</width>
-            <height>201</height>
+            <width>430</width>
+            <height>175</height>
         </rect>
     </property>
     <property stdset="1">
         </rect>
     </property>
     <property stdset="1">
 </widget>
 <connections>
     <connection>
 </widget>
 <connections>
     <connection>
-        <sender>buttonOk</sender>
+        <sender>buttonCancel</sender>
         <signal>clicked()</signal>
         <receiver>MyDialog</receiver>
         <signal>clicked()</signal>
         <receiver>MyDialog</receiver>
-        <slot>accept()</slot>
+        <slot>reject()</slot>
     </connection>
     <connection>
     </connection>
     <connection>
-        <sender>buttonCancel</sender>
+        <sender>buttonOk</sender>
         <signal>clicked()</signal>
         <receiver>MyDialog</receiver>
         <signal>clicked()</signal>
         <receiver>MyDialog</receiver>
-        <slot>reject()</slot>
+        <slot>accept()</slot>
     </connection>
     </connection>
+    <slot access="public">slotOK()</slot>
 </connections>
 </UI>
 </connections>
 </UI>