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

List:       kde-commits
Subject:    KDE/kdeaccessibility/kmouth
From:       Laurent Montel <montel () kde ! org>
Date:       2005-12-19 15:42:43
Message-ID: 1135006963.205937.9853.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 489724 by mlaurent:

Compile


 M  +3 -4      phrasebook/phrasebook.cpp  
 M  +1 -1      wordcompletion/dictionarycreationwizard.h  


--- trunk/KDE/kdeaccessibility/kmouth/phrasebook/phrasebook.cpp #489723:489724
@@ -247,7 +247,7 @@
       save (*tempFile.textStream(), asPhrasebook);
       tempFile.close();
 
-      return KIO::NetAccess::upload(tempFile.name(), url);
+      return KIO::NetAccess::upload(tempFile.name(), url,0L);
    }
 }
 
@@ -275,7 +275,7 @@
       return -1;
    }
 
-   if (KIO::NetAccess::exists(url)) {
+   if (KIO::NetAccess::exists(url,false,0L)) {
       if (KMessageBox::warningContinueCancel(0,QString("<qt>%1</qt>").arg(i18n("The \
file %1 already exists. "  "Do you want to overwrite it?").arg(url.url())),i18n("File \
Exists"),i18n("&Overwrite"))==KMessageBox::Cancel) {  return 0;
@@ -336,7 +336,7 @@
       fileUrl.setPath (url.url());
    }
 
-   if (KIO::NetAccess::download (fileUrl, tempFile)) {
+   if (KIO::NetAccess::download (fileUrl, tempFile,0L)) {
       QStringList list = QStringList();
 
       // First: try to load it as a normal phrase book
@@ -368,7 +368,6 @@
 
       return !error;
    }
-   else
       return false;
 }
 
--- trunk/KDE/kdeaccessibility/kmouth/wordcompletion/dictionarycreationwizard.h \
#489723:489724 @@ -22,7 +22,7 @@
 
 #include <QList>
 #include <QMap>
-
+#include <Q3Dict>
 #include <kwizard.h>
 #include <knuminput.h>
 #include "kdedocsourceui.h"


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

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