[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kutils
From:       Ravikiran Rajagopal <ravi () kde ! org>
Date:       2004-02-09 21:04:37
Message-ID: 20040209210437.D5B829191 () office ! kde ! org
[Download RAW message or body]

CVS commit by ravi: 

Bye, bye, obsolete setButtonOKText!


  M +4 -4      kfinddialog.cpp   1.20


--- kdelibs/kutils/kfinddialog.cpp  #1.19:1.20
@@ -226,16 +226,16 @@ void KFindDialog::init(bool forReplace, 
     if (forReplace)
     {
-       setButtonOKText(i18n("&Replace"),
+      setButtonOK(KGuiItem( i18n("&Replace"), QString::null,
                     i18n("Start replace"),
                     i18n("<qt>If you press the <b>Replace</b> button, the text you entered "
                          "above is searched for within the document and any occurrence is "
-                         "replaced with the replacement text.</qt>"));
+                         "replaced with the replacement text.</qt>")));
     }
     else
     {
-       setButtonOKText(i18n("&Find"),
+      setButtonOK(KGuiItem( i18n("&Find"), QString::null,
                     i18n("Start searching"),
                     i18n("<qt>If you press the <b>Find</b> button, the text you entered "
-                         "above is searched for within the document.</qt>"));
+                         "above is searched for within the document.</qt>")));
     }
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic