From 038377a6029a354b06b6b087b76f9e2d796ae914 Mon Sep 17 00:00:00 2001 From: mlaurent Date: Mon, 19 Dec 2005 15:42:41 +0000 Subject: [PATCH] Compile git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeaccessibility@489724 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmouth/phrasebook/phrasebook.cpp | 7 +++---- kmouth/wordcompletion/dictionarycreationwizard.h | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/kmouth/phrasebook/phrasebook.cpp b/kmouth/phrasebook/phrasebook.cpp index 15b87be1..368cc1ec 100644 --- a/kmouth/phrasebook/phrasebook.cpp +++ b/kmouth/phrasebook/phrasebook.cpp @@ -247,7 +247,7 @@ bool PhraseBook::save (const KURL &url, bool asPhrasebook) { 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 @@ int PhraseBook::save (QWidget *parent, const QString &title, KURL &url, bool phr return -1; } - if (KIO::NetAccess::exists(url)) { + if (KIO::NetAccess::exists(url,false,0L)) { if (KMessageBox::warningContinueCancel(0,QString("%1").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 @@ bool PhraseBook::open (const KURL &url) { 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 @@ bool PhraseBook::open (const KURL &url) { return !error; } - else return false; } diff --git a/kmouth/wordcompletion/dictionarycreationwizard.h b/kmouth/wordcompletion/dictionarycreationwizard.h index c609636a..70e291f5 100644 --- a/kmouth/wordcompletion/dictionarycreationwizard.h +++ b/kmouth/wordcompletion/dictionarycreationwizard.h @@ -22,7 +22,7 @@ #include #include - +#include #include #include #include "kdedocsourceui.h" -- 2.11.4.GIT