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

List:       kde-commits
Subject:    KDE/kdenetwork/kppp
From:       Will Entriken <kde.org () phor ! net>
Date:       2006-09-13 18:27:20
Message-ID: 1158172040.551550.1807.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 583886 by entriken:

use kguiitem ctor explicitly
thx Thomas


 M  +1 -1      accounts.cpp  
 M  +1 -1      kpppwidget.cpp  
 M  +1 -1      logview/monthly.cpp  
 M  +1 -1      main.cpp  
 M  +1 -1      ppplog.cpp  


--- trunk/KDE/kdenetwork/kppp/accounts.cpp #583885:583886
@@ -277,7 +277,7 @@
 	"very special settings, you might want to try the standard, "
 		"dialog-based setup."),
 		i18n("Create New Account"),
-		i18n("&Wizard"), i18n("&Manual Setup"));
+		KGuiItem(i18n("&Wizard")), KGuiItem(i18n("&Manual Setup")));
 
   switch(query) {
   case KMessageBox::Yes:
--- trunk/KDE/kdenetwork/kppp/kpppwidget.cpp #583885:583886
@@ -673,7 +673,7 @@
 	    }
 	}
 
-	if(KMessageBox::warningYesNo(0, msg, i18n("Error"), KStdGuiItem::ok(), \
i18n("&Details")) == KMessageBox::No) +	if(KMessageBox::warningYesNo(0, msg, \
i18n("Error"), KStdGuiItem::ok(), KGuiItem(i18n("&Details"))) == KMessageBox::No)  \
PPPL_ShowLog();  } else { /* reconnect on disconnect */
         if(gpppdata.waitCallback())
--- trunk/KDE/kdenetwork/kppp/logview/monthly.cpp #583885:583886
@@ -474,7 +474,7 @@
     return;
   }
   if (QFile::exists(wizard->filename)) {  // overwrite?
-    if (KMessageBox::Continue!=KMessageBox::warningContinueCancel(0, i18n("A \
document with this name already exists."), i18n("Overwrite file?"), \
i18n("&Overwrite") /*, true*/)) { // no +    if \
(KMessageBox::Continue!=KMessageBox::warningContinueCancel(0, i18n("A document with \
this name already exists."), i18n("Overwrite file?"), KStdGuiItem::overwrite() /*, \
true*/)) { // no  return;
     }
   }
--- trunk/KDE/kdenetwork/kppp/main.cpp #583885:583886
@@ -285,7 +285,7 @@
                        "click Continue to begin.",
                    pidfile, pid);
     int button = KMessageBox::warningYesNo(0, msg, i18n("Error"),
-                                      i18n("Exit"), KStdGuiItem::cont());
+                                      KGuiItem(i18n("Exit")), KStdGuiItem::cont());
     if (button == KMessageBox::Yes)            /* exit */
        return 1;
 
--- trunk/KDE/kdenetwork/kppp/ppplog.cpp #583885:583886
@@ -217,7 +217,7 @@
 				     "that pppd was started without the \"debug\" option.\n"
 				     "Without this option it's difficult to find out PPP "
 				     "problems, so you should turn on the debug option.\n"
-				     "Shall I turn it on now?"), QString::null, i18n("Restart pppd"), i18n("Do \
Not Restart")); +				     "Shall I turn it on now?"), QString::null, \
KGuiItem(i18n("Restart pppd")), KGuiItem(i18n("Do Not Restart")));  
     if(result == KMessageBox::Yes) {
       gpppdata.setPPPDebug(TRUE);


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

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